Members
depth :number
The depth of the model.
Type:
- number
- Source:
height :number
The height of the model.
Type:
- number
- Source:
output :string
The extracted output from execution of the .scad file.
Type:
- string
- Source:
triangles :Array.<Triangle>
The triangles which make up the model. See https://en.wikipedia.org/wiki/Triangle_mesh.
Type:
- Array.<Triangle>
- Source:
vertices :Array.<Vertex>
A list of 3D vertices returned from the .scad file execution.
Type:
- Array.<Vertex>
- Source:
width :number
The width of the model.
Type:
- number
- Source:
Methods
isWithinBoundingBox(boundingBox) → {boolean}
Parameters:
Name | Type | Description |
---|---|---|
boundingBox |
BoundingBox | The 3D box which the model should fit inside. It is considered 'within' if any coordinate is equal to, or within the box. |
- Source:
Returns:
True if the model fits within the bounding box.
- Type
- boolean