4 ms·
Build123d and Cadquery procedural CAD output and input support would be a cool feature. Copilot + GPT-4 can generate build123d Python code; procedural CAD gena
by westurner 1y ago
Build123d and Cadquery procedural CAD output and input support would be a cool feature.
Copilot + GPT-4 can generate build123d Python code; procedural CAD genai. It's spatially incoherent sometimes like there's not much RLHF for 3d in the coding LLM model, but the code examples are close to compiling and helpful. There's also an ocp-vscode extension to render build123d and cadquery CAD models in a tab in the vscode IDE: https://build123d.readthedocs.io/en/latest/external.html#ocp-vscode https://build123d.readthedocs.io/en/latest/external.html#ocp...
PartCAD is probably useful for your application as well.
Are there metadata standards for CAD parts, assemblies, and scenes? For example in PartCAD or in a BIM Building Information Model that catalogs part numbers and provenance for the boardroom hinge screws and maybe also 3D-printable or otherwise fab-able CAD models?
nething is an LLM with build123d output: https://nething.xyz/ https://nething.xyz/
FWIU it's possible to transform B-rep (boundary representation) to NURBS with a different tool.
B-rep:
https://en.wikipedia.org/wiki/Boundary_representation https://en.wikipedia.org/wiki/Boundary_representation
NURBS: https://en.wikipedia.org/wiki/Non-uniform_rational_B-spline https://en.wikipedia.org/wiki/Non-uniform_rational_B-spline
glTF 2.0 > Adoption of: https://en.wikipedia.org/wiki/GlTF#Adoption_of_glTF_2.0 https://en.wikipedia.org/wiki/GlTF#Adoption_of_glTF_2.0
PartCAD > Features > Generative AI:
https://partcad.readthedocs.io/en/latest/features.html#generative-ai https://partcad.readthedocs.io/en/latest/features.html#gener... :
> Individual parts, assemblies and scenes can also can be exported into 3D model file formats, including: STEP, BREP, STL, 3MF, ThreeJS, OBJ, GLTF, IGES
- avipeltz 1y agoThanks! We've done a good amount of experimenting with cadquery and build123d and actually got it to the point where it can reliably generate compiling code, the problem is the generation quality is still more limited than openscad. We may still release it so that users can export to STEP/BREP formats but we have been going back and forth internally on how to highly to prioritize it. We definitely want to build about the ability to generate multiple parts in parallel and assemblies. Thanks for all this :)
- westurner 1y agoMultiple export formats ftw, watermarking, and metadata (/?hnlog "NURBS") ... https://news.ycombinator.com/item?id=40131766 https://news.ycombinator.com/item?id=40131766 : > ai-game-development tools lists a few CAD LLM apps like blenderGPT and blender-GPT: https://github.com/Yuan-ManX/ai-game-development-tools#3d-model https://github.com/Yuan-ManX/ai-game-development-tools#3d-mo... Justifying OCCT CAD as an alternative; from comments on a post re: "GhostSCAD: Marrying OpenSCAD and Golang" https://news.ycombinator.com/item?id=30940563 https://news.ycombinator.com/item?id=30940563 : > > CadQuery's CAD kernel Open CASCADE Technology (OCCT) is much more powerful than the CGAL used by OpenSCAD. Features supported natively by OCCT include NURBS, splines, surface sewing, STL repair, STEP import/export, and other complex operations, in addition to the standard CSG operations supported by CGAL > Ability to import/export STEP and the ability to begin with a STEP model, created in a CAD package, and then add parametric features. This is possible in OpenSCAD using STL, but STL is a lossy format. > [...] CadQuery scripts can build STL, STEP, and AMF faster than OpenSCAD. AMF: Additive manufacturing file format: https://en.wikipedia.org/wiki/Additive_manufacturing_file_format https://en.wikipedia.org/wiki/Additive_manufacturing_file_fo... Watermarking: /? synthID site:github.com https://www.google.com/search?q=SynthID+site%3Agithub.com https://www.google.com/search?q=SynthID+site%3Agithub.com /? SynthID site:github.com inurl:awesome https://www.google.com/search?q=SynthID+site%3Agithub.com+inurl:awesome https://www.google.com/search?q=SynthID+site%3Agithub.com+in... : - and-mill/Awesome-GenAI-Watermarking: https://github.com/and-mill/Awesome-GenAI-Watermarking https://github.com/and-mill/Awesome-GenAI-Watermarking CAD Metadata; CAD Linked Data: /? "CAD" Metadata standards: https://www.google.com/search?q="CAD"+metadata+standards https://www.google.com/search?q="CAD"+metadata+standards /? CAD 3d design formats and their metadata and RDF: https://www.google.com/search?q=CAD+3d+design+formats+and+their+metadata+and+RDF https://www.google.com/search?q=CAD+3d+design+formats+and+th... - OCX; shipbuilding BIM metadata; https://3docx.org/en/ https://3docx.org/en/ /? "CAD" "BIM" "RDF": https://www.google.com/search?q=%22CAD%22+%22BIM%22+%22RDF%22 https://www.google.com/search?q=%22CAD%22+%22BIM%22+%22RDF%2... : - "Scan-to-graph: Semantic enrichment of existing building geometry" (2020) https://www.sciencedirect.com/science/article/abs/pii/S0926580520300674 https://www.sciencedirect.com/science/article/abs/pii/S09265... .. https://scholar.google.com/scholar?cites=11993673634181023386&as_sdt=5,43&sciodt=0,43&hl=en https://scholar.google.com/scholar?cites=1199367363418102338... : > Scan-to-Graph focuses on creating an RDF-based model of an existing asset. schema.org/CreativeWork > :Drawing, :SoftwareSourceCode YAML-LD is JSON-LD (RDF) in YAML; with a W3C spec. PartCAD is plain YAML; but there could probably be an @context to map each YAML metadata attribute to a URI so that Linked Data can be parsed and indexed (for example by search engines which index some schema.org RDFS Classes and Properties). PartCAD index / electronics / sbcs / partcad.yml: https://github.com/partcad/partcad-index/blob/main/electronics/sbcs/partcad.yaml https://github.com/partcad/partcad-index/blob/main/electroni... partcad.yml: partcad/partcad-electronics-sbcs-intel/blob/main/partcad.yaml: https://github.com/partcad/partcad-electronics-sbcs-intel/blob/main/partcad.yaml https://github.com/partcad/partcad-electronics-sbcs-intel/bl... In construction, the building inspector requires the spec sheet for basically every part of a house. Linked Data is presumably advantageous for traceability given linked provenence metadata from CAD design (w or w/o AI), part manufacturing w/ batch number, assembly assemblage, and supply chain lineage.