kcl → types

GeometryWithImportedGeometry

A geometry including an imported geometry.

This schema accepts exactly one of the following:

Type: object

Properties

PropertyTypeDescriptionRequired
typeenum: SketchNo
idstringThe id of the sketch (this will change when the engine's reference to it changes).No
paths[ Path ]The paths in the sketch.No
onSketchSurfaceWhat the sketch is on (can be a plane or a face).No
startBasePathThe starting path.No
tagsobjectTag identifiers that have been declared in this sketch.No
artifactIdstringThe original id of the sketch. This stays the same even if the sketch is is sketched on face etc.No
originalIdstringNo
unitsUnitLenA unit of length.No

Type: object

Properties

PropertyTypeDescriptionRequired
typeenum: SolidNo
idstringThe id of the solid.No
artifactIdstringThe artifact ID of the solid. Unlike id, this doesn't change.No
value[ ExtrudeSurface ]The extrude surfaces.No
sketchSketchThe sketch.No
heightnumberThe height of the solid.No
startCapIdstringThe id of the extrusion start capNo
endCapIdstringThe id of the extrusion end capNo
edgeCuts[ EdgeCut ]Chamfers or fillets on this solid.No
unitsUnitLenThe units of the solid.No
sectionalbooleanIs this a sectional solid?No

Data for an imported geometry.

Type: object

Properties

PropertyTypeDescriptionRequired
typeenum: ImportedGeometryNo
idstringThe ID of the imported geometry.No
value[ string ]The original file paths.No