Deserializer of X3D source data (XML) to JSCAD geometries.
- Source:
- See:
-
- README for supported conversion of X3D entities.
Example
const { deserializer, extension } = require('@jscad/x3d-deserializer')
Methods
(static) deserialize(optionsopt, input) → {Array|String}
- Source:
- See:
-
- X3D File Format
- README for supported conversions.
Deserialize the given X3D source (XML Encoding) into either a script or an array of geometry
Parameters:
Name | Type | Attributes | Description | |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
<optional> |
options used during deserializing Properties
|
|||||||||||||||||||||||||
input |
String | X3D source data (XML) |
Returns:
either an array of objects (geometry) or a string (script)
- Type
- Array | String