cadquery
cadquery copied to clipboard
Update the TJS export format
trafficstars
Issue
The format that uses the TJS exporter is no longer supported by Three.js.
Request
Update the TJS exporter to align with the currently supported format. Refer to the JSON Object Scene format 4 documentation.
This update would allow users to load 3D scenes into Three.js in an online environment.
How about adding GLTF support to non-assy exporters instead?
that would be better instead! currently, is there a way to export to GLTF?
Yes, via cq.Assembly, something like this should work:
cq.Assembly().add(obj).save('filename.gltf')