← Back to context

Comment by westurner

2 days 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...

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/

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

NURBS: 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

PartCAD > Features > 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

Thanks! 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 :)