kcl → types →
KclValue
Any KCL value.
This schema accepts exactly one of the following:
Type: object
Properties
Property | Type | Description | Required |
---|---|---|---|
type | enum: Uuid | No | |
value | string | No | |
__meta | [ Metadata ] | No |
Type: object
Properties
Property | Type | Description | Required |
---|---|---|---|
type | enum: Bool | No | |
value | boolean | No | |
__meta | [ Metadata ] | No |
Type: object
Properties
Property | Type | Description | Required |
---|---|---|---|
type | enum: Number | No | |
value | number | No | |
__meta | [ Metadata ] | No |
Type: object
Properties
Property | Type | Description | Required |
---|---|---|---|
type | enum: Int | No | |
value | integer | No | |
__meta | [ Metadata ] | No |
Type: object
Properties
Property | Type | Description | Required |
---|---|---|---|
type | enum: String | No | |
value | string | No | |
__meta | [ Metadata ] | No |
Type: object
Properties
Property | Type | Description | Required |
---|---|---|---|
type | enum: Array | No | |
value | [ KclValue ] | No | |
__meta | [ Metadata ] | No |
Type: object
Properties
Property | Type | Description | Required |
---|---|---|---|
type | enum: Object | No | |
value | object | No | |
__meta | [ Metadata ] | No |
Type: object
Properties
Property | Type | Description | Required |
---|---|---|---|
type | enum: TagIdentifier | No | |
value | string | No | |
info | TagEngineInfo | No | |
__meta | [ Metadata ] | No |
Type: object
Properties
Property | Type | Description | Required |
---|---|---|---|
type | enum: TagDeclarator | No | |
value | string | No | |
digest | [, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer] | No | |
start | integer | No | |
end | integer | No |
A plane.
Type: object
Properties
Property | Type | Description | Required |
---|---|---|---|
type | enum: Plane | No | |
id | string | The id of the plane. | No |
value | PlaneType | Any KCL value. | No |
origin | Point3d | Origin of the plane. | No |
xAxis | Point3d | What should the plane’s X axis be? | No |
yAxis | Point3d | What should the plane’s Y axis be? | No |
zAxis | Point3d | The z-axis (normal). | No |
__meta | [ Metadata ] | No |
A face.
Type: object
Properties
Property | Type | Description | Required |
---|---|---|---|
type | enum: Face | No | |
id | string | The id of the face. | No |
value | string | The tag of the face. | No |
xAxis | Point3d | What should the face’s X axis be? | No |
yAxis | Point3d | What should the face’s Y axis be? | No |
zAxis | Point3d | The z-axis (normal). | No |
solid | Solid | The solid the face is on. | No |
__meta | [ Metadata ] | No |
Type: object
Properties
Property | Type | Description | Required |
---|---|---|---|
type | enum: Sketch | No | |
value | Sketch | Any KCL value. | No |
Type: object
Properties
Property | Type | Description | Required |
---|---|---|---|
type | enum: Sketches | No | |
value | [ Sketch ] | No |
An solid is a collection of extrude surfaces.
Type: object
Properties
Property | Type | Description | Required |
---|---|---|---|
type | enum: Solid | No | |
id | string | The id of the solid. | No |
value | [ ExtrudeSurface ] | The extrude surfaces. | No |
sketch | Sketch | The sketch. | No |
height | number | The height of the solid. | No |
startCapId | string | The id of the extrusion start cap | No |
endCapId | string | The id of the extrusion end cap | No |
edgeCuts | [ EdgeCut ] | Chamfers or fillets on this solid. | No |
__meta | [ Metadata ] | Metadata. | No |
Type: object
Properties
Property | Type | Description | Required |
---|---|---|---|
type | enum: Solids | No | |
value | [ Solid ] | No |
Data for an imported geometry.
Type: object
Properties
Property | Type | Description | Required |
---|---|---|---|
type | enum: ImportedGeometry | No | |
id | string | The ID of the imported geometry. | No |
value | [ string ] | The original file paths. | No |
__meta | [ Metadata ] | No |
Type: object
Properties
Property | Type | Description | Required |
---|---|---|---|
type | enum: Function | No | |
expression | FunctionExpression | Any KCL value. | No |
memory | ProgramMemory | Any KCL value. | No |
__meta | [ Metadata ] | No |
Type: object
Properties
Property | Type | Description | Required |
---|---|---|---|
type | enum: KclNone | No | |
value | KclNone | Any KCL value. | No |
__meta | [ Metadata ] | No |