X3d.

[TOC] x3d # 3d format introduction https://all3dp.com/3d-file-format-3d-files-3d-printer-3d-cad-vrml-stl-obj/ # x3d resources https://www.web3d.org/x3d/content/examples/X3dResources.html https://en.wikipedia.org/wiki/X3D standard https://www.web3d.org/standards ## open source C++ implementations http://libx3d.sourceforge.net/ https://h3dapi.org/ # file formats OBJ, FBX, 3DS, PLY, STL, STL, OBJ, FBX, COLLADA, 3DS, IGES; STEP, and VRML/X3D. | **3D file format** | **Type** | | ------------------------------------------------------------ | ------------------------------------------------------- | | [STL](https://all3dp.com/3d-file-format-3d-files-3d-printer-3d-cad-vrml-stl-obj/#stl) | Neutral | | [OBJ](https://all3dp.com/3d-file-format-3d-files-3d-printer-3d-cad-vrml-stl-obj/#obj) | ASCII variant is neutral, binary variant is proprietary | | [FBX](https://all3dp.com/3d-file-format-3d-files-3d-printer-3d-cad-vrml-stl-obj/#fbx) | Proprietary | | [COLLADA](https://all3dp.com/3d-file-format-3d-files-3d-printer-3d-cad-vrml-stl-obj/#collada) | Neutral | | [3DS](https://all3dp.com/3d-file-format-3d-files-3d-printer-3d-cad-vrml-stl-obj/#threeds) | Proprietary | | [IGES](https://all3dp.com/3d-file-format-3d-files-3d-printer-3d-cad-vrml-stl-obj/#iges) | Neutral | | [STEP](https://all3dp.com/3d-file-format-3d-files-3d-printer-3d-cad-vrml-stl-obj/#step) | Neutral | | [VRML/X3D](https://all3dp.com/3d-file-format-3d-files-3d-printer-3d-cad-vrml-stl-obj/#vrml) | Neutral | ### 1. Feature matrix of the 8 most popular 3D file formats | File format | Geometry | Appearance | Scene | Animation | | | | | | | | ----------- | ---------------- | ------------ | ----- | --------- | -------- | ------- | ------ | ------ | -------------------- | ---- | | | Approximate mesh | Precise mesh | CSG | Color | Material | Texture | Camera | Lights | Relative positioning | | | STL | | | | | | | | | | | | OBJ | | | | | | | | | | | | FBX | | | | | | | | | | | | COLLADA | | | | | | | | | | | | 3DS | | | | | | | | | | | | IGES | | | | | | | | | | | | STEP | | | | | | | | | | | | X3D | | | | | | | | | | | ### 2. Import/Export support in popular 3D modeling software and engines | | STL | OBJ | FBX | COLLADA | 3DS | IGES | STEP | VRML | X3D | | ------------------------------------------------------------ | ---- | ------ | ------ | ------- | ------ | ------ | ------ | ------ | ------ | | [Sketchup](https://help.sketchup.com/sv/article/3000153) | No | Export | Export | Both | Both | None | No | Export | No | | [Solidworks](http://www.solidworks.com/sw/products/3d-cad/cad-import-export.htm) | Both | Both | No | No | Both | Both | Both | Both | No | | [Fusion 360](https://forums.autodesk.com/t5/fusion-360-design-validate/data-exchange-in-fusion-360-build-2-0-1291/td-p/5335113) | Both | Import | Both | No | No | Both | Both | No | No | | [AutoCAD](https://knowledge.autodesk.com/support/autocad/learn-explore/caas/CloudHelp/cloudhelp/2016/ENU/AutoCAD-Core/files/GUID-81A5EE76-39A7-40A4-A5C5-E4921C03B33A-htm.html) | No | No | Both | No | Import | Both | Import | No | No | | [Blender](https://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts#Import-Export_Scripts) | Both | Both | Both | Both | Both | No | No | Both | Both | | [Rhino](https://docs.mcneel.com/rhino/5/help/en-us/fileio/_index_of_import_export_file_types.htm) | Both | Both | Both | Export | Import | Import | Import | Both | Export | | [Cinema4D](https://www.maxon.net/en/products/workflow-integration/file-exchange/) | Both | Both | Both | Both | Both | Import | No | Both | No | | [Unity](https://docs.unity3d.com/Manual/3D-formats.html) | No | Import | Import | Import | Import | No | No | No | No | ### x3d format General guideline Coordinate system https://doc.x3dom.org/tutorials/basics/hello/index.html ![img](https://doc.x3dom.org/tutorials/basics/hello/coordSystem.png) Viewer Unit projection to 2D | Item | Desc | | -------------------------------------- | ------------------------------------------------------------ | | Basic Geometry shape, and its size | Model by Shape node | | Position of object | Model by Transform node | | Component, combination of basic shapes | Model by Group | | Device attributes | Model by metadata? | | 3d profile | Model by ElevationGrid https://www.web3d.org/x3d/content/examples/Vrml2.0Sourcebook/Chapter14ElevationGrid/Figure14_2ElevationGridMountainIndex.html | | | | Vision parts in x3d | Item | X3d | | --------------- | ------------------------------------------------------------ | | Die | Box | | Circular pad | Cylinder | | Wire | Extrusion?
https://www.web3d.org/x3d/content/examples/Vrml2.0Sourcebook/Chapter15Extrusion/Figure15_11ExtrudedPlaygroundSlideIndex.html
![1571026020414](1571026020414.png) | | half circle pad | Extrusion? https://www.web3d.org/x3d/content/examples/Vrml2.0Sourcebook/Chapter15Extrusion/Figure15_08ExtrudedHalfCylinderWithCapsIndex.html | | | | | | | | | | | | | | | | Die ```xml ``` Circular Pad ```xml ``` Circle rectangle pad ?? # FAQ Q: does it support user defined node type? eg. Wire A: Yes. But the data structure may not be what we expected does a node support user defined attribute?

Powered by Jekyll and Theme by solid

本站总访问量