Optional
entities: MakeShapeCollectionInputRest
...args: any[]Array API - for consitent API with Array
Add entities (geometry and shapes) to Shape Collection
Optional
entities: MakeShapeCollectionInputOptional
group: stringShape API
Check and filter all shapes in ShapeCollection that are Vertices
Combining Linear Shapes (Edges and Wires) into Wires connected by Vertices !!!! NEEDS WORK !!!! For Edges that overlap this does not work ( union could work: TODO ) All other Shapes except Edges are kept in the collection
Shape API: Copy entire ShapeCollection and its Shapes and return a new one
Optional
shapes: ShapeCollectionShape API: Generate elevation from a given side without adding to Scene
Optional
side: SideOptional
all: booleanGet all edges of 2D XY Shapes in this collection
Shape API
Shape API: Generate isometric view from Side or corner of ViewCube ('frontlefttop') or PointLike coordinate Does not add to Scene Use showHidden=true to output with hidden lines
Shape API - Mirror copies of Shapes relative to XZ plane with its collection center as pivot or given offset y-coord
Optional
offset: numberShape API - Mirror copies of Shapes relative to XZ plane with its collection center as pivot or given offset x-coord
Optional
offset: numberShape API - Mirror copies of Shapes relative to XZ plane with its collection center as pivot or given offset z-coord
Optional
offset: numberShape API: Project 3D Shapes on XY plane
Optional
planeNormal: PointLikeOptional
all: booleanRemoving Shapes that are contained by others in the Collection
The same as _removeContained but returns a new Collection
Try to sew Shapes (like Edges, Wires, Faces, Shells) together to create a Face, Shell, Solid or Compound
Shape API - Try to union all shapes in Collection (without adding to Scene)
Optional
other: AnyShapeOrCollectionAdd Shape to ShapeCollection
Optional
shapes: AnyShapeOrCollection | AnyShapeOrCollection[]Rest
...args: any[]Add Shape to right of current ShapeCollection
Add entities as named group
Optional
group: stringOptional
entities: MakeShapeCollectionInputShape API - Add all shapes in the collection to the Scene
Shape API - Align Shapecollection to other Shape or ShapeCollection
Optional
pivot: PivotOptional
alignment: AlignmentShape API -
Rest
...args: any[]Shape API -
Rest
...args: any[]Shape API - Make an geometric array by offset ShapeCollection
Set attribute to all shapes
Check downgrade
Collapse ShapeCollection into one Shape if there is only one
Combine two ShapeCollections and also try to upgrade Shapes that might be combined into higher order Shapes
Array API - For consistency with Array
Find Shapes within ShapeCollection that entirely contain given other Shape
Shape API
Shape API: Copy entire ShapeCollection and its Shapes and return a new one (add to Scene)
Make all Shapes in this ShapeCollection dashed lines
Remove doubles based on OC hash
Shape API
Shape API: Generate elevation from a given side and add to Scene
Optional
side: SideOptional
all: booleanTest is the collections are the same
Shape API - Extrude Shapes in ShapeCollection a certain amount in a given direction (default: [0,0,1])
Optional
amount: numberOptional
direction: PointLikeShape API - Extrude Shapes in ShapeCollection a certain amount in a given direction (default: [0,0,1])
Optional
amount: numberOptional
direction: PointLikeShape API
Array API - Filter Shapes in this Collection and return a new ShapeCollection
Array API - Alias for find to have compatitibility with Array
Array API - Alias for ForEach to have compatitibility with Array
Try to turn anything into a VertexCollection (based on ShapeCollection._addEntities) )
Optional
entities: MakeShapeCollectionInputRest
...args: any[]Get the Shapes in current collection that are also in the other one with the same Geometry
Get the Shapes that the same, but might be translated NOTE: this might not be enough to establish
Get shapes in group as ShapeCollection
Get Shapes of given type in ShapeCollection
Shape API - Get all subshapes of type from Shapes in Collection
Alias for getGroup
check if this Collection has a specific instance of a Geometry
Shape API - hide all Shapes in Collection
Get Shapes that intersect with given Shape(s)
Create intersecting Shapes between Shapes in this collection and other Shape or Collection
Alias for intersecting
Shape API: Generate isometric view from Side or corner of ViewCube ('frontlefttop') or PointLike coordinate Add to scene Use showHidden=true to output with hidden lines
Layout Shapes on XY plane within a given Layout order
Array API - For consistency with Array
Shape API - Mirror Shapes relative to XZ plane with its collection center as pivot or given offset y-coord
Optional
offset: numberShape API - Mirror Shapes relative to XZ plane with its collection center as pivot or given offset x-coord
Optional
offset: numberShape API - Mirror Shapes relative to XZ plane with its collection center as pivot or given offset z-coord
Optional
offset: numberShape API - Mirror Shapes in ShapeCollection with mirror plane defined by planeNormal and origin
Shape API - Mirror copies of Shapes relative to XZ plane with its collection center as pivot or given offset y-coord
Optional
offset: numberShape API - Mirror copies of Shapes relative to XZ plane with its collection center as pivot or given offset x-coord
Optional
offset: numberShape API - Mirror copies of Shapes relative to XZ plane with its collection center as pivot or given offset z-coord
Optional
offset: numberShape API - move all Shapes in ShapeCollection
Rest
...args: any[]Shape API - Move center of Collection to a given point
Rest
...args: any[]Center Shape so that the center of the Shape is at the origin
Aliass for move along x-direction
Aliass for move along x-direction
Aliass for move along x-direction
Shape API - move a copy of all Shapes in ShapeCollection
Rest
...args: any[]Exclude given Shape from current collection
Shape API - offset Shapes in Collection
Optional
amount: numberOptional
type: stringOptional
onPlaneNormal: PointLikeShape API - create copeis and offset Shapes in Collection
Optional
amount: numberOptional
type: stringOptional
onPlaneNormal: PointLikeReturn new ShapeCollection with only the visible Shapes
Array API - Pop last Shape from ShapeCollection
Add Shape at beginning of collection
Add Shape at beginning of collection
Shape API: Public Project 3D Shapes on XY plane and add result to Scene
Optional
planeNormal: PointLikeOptional
all: booleanArray API - Add Shape to ShapeCollection
Remove Shapes from ShapeCollection
Rest
...args: any[]Shape API
Reverse order of the Shapes
Shape API - Rotate all Shapes around their centers with a given x,y,z angles
Rest
...args: any[]Shape API - Rotate all Shapes around a specific axis with a given angle (default: [0,0,1]) and given pivot (default: center)
Shape API
Optional
degX: numberOptional
degY: numberOptional
degZ: numberOptional
pivot: PointLikeShape API -
Rest
...args: any[]Shape API - Rotate all Shapes around the x-axis with a given angle and given pivot (default: center)
Optional
pivot: PivotShape API - Rotate all Shapes around the y-axis with a given angle and given pivot (default: center)
Optional
pivot: PivotShape API - Rotate all Shapes around the z-axis with a given angle and given pivot (default: center of ShapeCollection)
Optional
pivot: PivotShape API
Optional
degX: numberOptional
degY: numberOptional
degZ: numberOptional
pivot: PointLikeScale entire ShapeCollection
Optional
factor: numberOptional
pivot: PointLikeScale entire ShapeCollection and return copy
Optional
factor: numberOptional
pivot: PointLikeShape API
Make new ShapeCollection without copying the Shapes
Shape API
Array API -
Shape API
Array API - Alias for sort to have compatitibility with Array
Shape API - Style all Shapes in Collection
Subtract Shape or ShapeCollection from current ShapeCollection and return new ShapeCollection
Optional
direction: stringCreate a new ShapeCollection with thickened Shapes
Optional
direction: stringOutput all Shapes in Collection to a single ShapeMeshBuffer
Shape API - Turn Edges (Line, Arc, Spline etc) into discreet (straight) edges for use in THREE JS Flattens all Shapes into one array of edges
Optional
quality: MeshingQualitySettingsShape API - Try to union all shapes in Collection
Shape API - Try to union all shapes in Collection and add to Scene
Optional
other: AnyShapeOrCollectionForce unique Geometry based on the isEqual method ( not hash )
Try to combine collection of shapes into a higher order ShapeCollection
Try to combine collection of shapes into a higher order ShapeCollection
Shape API
Shape API
Static
fromClass method
Rest
...args: any[]Static
isGenerated using TypeDoc
A ShapeCollection with only Vertices