kcl → types

SolidOrImportedGeometry

Data for a solid or an imported geometry.

This schema accepts exactly one of the following:

Type: object

Properties

PropertyTypeDescriptionRequired
typeenum: solidNo
idstringThe id of the solid.No
artifactIdArtifactIdThe 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
unitsUnitLenA unit of length.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

Type: [object, array]

[ Solid ]

Properties

PropertyTypeDescriptionRequired
typeenum: solidSetNo