cadquery
cadquery copied to clipboard
Workplane.save()
I like the simplicity of Assembly.save():
asm = ( cq.Assembly()
.add(box)
.save('box.step')
)
To export a model, in the other hand, the syntax is not as nice:
box = cq.Workplane().box(1, 2, 3)
cq.exporters.export(box, 'box.step')
I wonder if the assembly export syntax could be applied on a model as well, for consistency and simplicity:
box = ( cq.Workplane()
.box(1, 2, 3)
.save('box.step')
)