editor › Globals › IAssemblingSvgSurface
Interface: IAssemblingSvgSurface
An SVGSurface that can be used to assemble the object. Will either be an SvgSurfaceDescriptor or a VirtualAssemblingSvgSurface
Hierarchy
- IAssemblingSvgSurface
Implemented by
Index
Methods
- applyJointsAndTransformToOriginal
- getJointManager
- getOriginalMesh
- getTransforms
- getTransformsDefiner
- setTransformsDefiner
- transferToAssembly
Methods
applyJointsAndTransformToOriginal
▸ applyJointsAndTransformToOriginal(): void
Defined in src/modules/kyub.core.plateImport/src/IAssemblingSvgSurface.ts:36
Applies the transform and the used joints of a virtual mesh back to its underlying SvgSurfaceDescriptor
Returns: void
getJointManager
▸ getJointManager(): SvgJointManager
Defined in src/modules/kyub.core.plateImport/src/IAssemblingSvgSurface.ts:41
Returns: SvgJointManager
the SvgJointManager that manages the used joints of this object.
getOriginalMesh
▸ getOriginalMesh(): SvgSurfaceDescriptor
Defined in src/modules/kyub.core.plateImport/src/IAssemblingSvgSurface.ts:14
Returns: SvgSurfaceDescriptor
the actual physical mesh this references to.
getTransforms
▸ getTransforms(): IReadOnlyTransforms
Defined in src/modules/kyub.core.plateImport/src/IAssemblingSvgSurface.ts:46
Retrieve how the plate is oriented in 3D space
Returns: IReadOnlyTransforms
getTransformsDefiner
▸ getTransformsDefiner(): IPositioningAnchor | null
Defined in src/modules/kyub.core.plateImport/src/IAssemblingSvgSurface.ts:25
Returns: IPositioningAnchor | null
the anchor for this meshes transform, which will either be the original transform or a virtual one.
setTransformsDefiner
▸ setTransformsDefiner(anchor: IPositioningAnchor | null): void
Defined in src/modules/kyub.core.plateImport/src/IAssemblingSvgSurface.ts:31
Set a new anchor. The virtual meshes don't move the actual meshes.
Parameters:
| Name | Type | Description |
|---|---|---|
anchor |
IPositioningAnchor | null | the new anchor. |
Returns: void
transferToAssembly
▸ transferToAssembly(destinationMesh: IAssemblingSvgSurface): void
Defined in src/modules/kyub.core.plateImport/src/IAssemblingSvgSurface.ts:20
Ensures that the two (this and the destinationMesh) meshes are in the same assembly. Not needed for virtual meshes.
Parameters:
| Name | Type | Description |
|---|---|---|
destinationMesh |
IAssemblingSvgSurface | - |
Returns: void