U3D Reader
U3D Format | |
File Extension | U3D |
Supported Versions | ECMA-363 |
Platforms | ![]() ![]() ![]() ![]() ![]() |
Assembly | |
B-rep | ![]() |
PMI | ![]() |
Tessellation | ![]() |
Views | ![]() |
Visualization | ![]() |
The U3D Reader provides access to the visualization data stored within a particular U3D file. A file does not need to have a particular extension to be read correctly by HOOPS Exchange however the file extension of U3D files that you can expect to be loaded by HOOPS Exchange are:
- .U3D
How to Import From U3D
To load a U3D file, use A3DAsmModelFileLoadFromFile()
.
The A3DParamsLoadData
structure is used to customize the loading behavior:
A3DAsmModelFile* pModelFile = 0;
A3DRWParamsLoadData sReadParam;
A3D_INITIALIZE_DATA(A3DRWParamsLoadData, sReadParam);
sReadParam.m_sGeneral.m_bReadSolids = true;
// ... set other A3DRWParamsLoadData fields as necessary
A3DAsmModelFileLoadFromFile("path/to/file.u3d", &sReadParam, &pModelFile);
See Simple Load and Export for more about loading model files.
Assembly
This concept is not supported by U3D.
B-Rep
This concept is not supported by U3D.
Visualization
This concept is not supported by U3D.
Views
HOOPS Exchange does not currently support U3D views.
PMI
This concept is not supported by U3D.
Miscellaneous
Construction geometries are handled by the reader.
Limitations
The animation stored within a particular file is not exposed to developers. However, if you are providing a U3D file to HOOPS Publish to put into a PDF document then the U3D remains unchanged and the animation remains available and can be exposed in the PDF document.