OptionalstepData: string | ArrayBuffer | File | Blob | Uint8Array<ArrayBufferLike>The STEP file as text, ArrayBuffer, Uint8Array, File or Blob; gzip-compressed .stpz content
is unpacked on its own.
How closely triangles follow curved surfaces: with meshRelative true a fraction of each
edge's length, otherwise an absolute distance in model units.
The largest angle, in radians, between the normals of neighboring triangles; smaller gives smoother curves and more triangles.
When true, meshPrecision scales with each part's size, so small fasteners and large
housings both mesh well; when false it is an absolute distance.
When true, extra vertices are added inside curved faces for a closer fit, at the cost of speed.
When true, an extra pass refines triangles that bulge beyond the precision, at the cost of speed.
When true, the geometry is compressed with Draco.
How hard Draco compresses, from 0 for fastest and largest to 10 for slowest and smallest.
How many bits each vertex position keeps; fewer bits mean a smaller file and less precision.
How many bits each normal keeps; fewer bits mean a smaller file and less precision.
How many bits each texture coordinate keeps; fewer bits mean a smaller file and less precision.
How many bits each vertex color keeps; fewer bits mean a smaller file and less precision.
How many bits other vertex attributes keep; fewer bits mean a smaller file and less precision.
When true, one quantization grid is used for every attribute instead of one per attribute.
A STEP file, meshing settings and Draco settings for
io.convertStepToGltfWithDraco, which converts it into a Draco-compressed binary glTF.