xml3d

Can i use xml3d with stl models?

两盒软妹~` 提交于 2020-01-05 08:36:12
问题 I'd really like to use STL models with XML3d. Is there a way to convert back and forth between these formats? 回答1: You can convert STL files to XML3D using the Blender exporter for instance: https://github.com/ksons/xml3d-blender-exporter Another option is to write a plug-in for STL files that allow to reference STL files from <mesh> and <data> elements: <mesh src="foo/bar.stl"/> This would be very similar to the existing plug-ins for MeshLab/JSON and OpenCTM files: http://xml3d.github.io

Can i use xml3d with stl models?

喜欢而已 提交于 2020-01-05 08:36:10
问题 I'd really like to use STL models with XML3d. Is there a way to convert back and forth between these formats? 回答1: You can convert STL files to XML3D using the Blender exporter for instance: https://github.com/ksons/xml3d-blender-exporter Another option is to write a plug-in for STL files that allow to reference STL files from <mesh> and <data> elements: <mesh src="foo/bar.stl"/> This would be very similar to the existing plug-ins for MeshLab/JSON and OpenCTM files: http://xml3d.github.io

Export ThreeJS Geometry to JSON

我怕爱的太早我们不能终老 提交于 2019-12-24 03:07:54
问题 I need to export Three Geometry to JSON so I can used with xml3D. I am trying to find the THREE.GeometryExporter() but I can't. Has it been completely deprecated? It is mentioned here Once I have the Three JSON I should be able to use this converter to obtain the xml3D JSON. Has anyone tried this before? 回答1: You should try the toJSON() method : var json = geometry.toJSON(); This method is available for geometries, materials, lights, mesh ... 回答2: Realease 68 seems to be the last one with