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 | |
ty | NumericType | 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: MixedArray | 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 |
Type: object
Properties
Property | Type | Description | Required |
---|---|---|---|
type | enum: Plane | No | |
value | Plane | No |
Type: object
Properties
Property | Type | Description | Required |
---|---|---|---|
type | enum: Face | No | |
value | Face | A face. | No |
Type: object
Properties
Property | Type | Description | Required |
---|---|---|---|
type | enum: Sketch | No | |
value | Sketch | No |
Type: object
Properties
Property | Type | Description | Required |
---|---|---|---|
type | enum: Sketches | No | |
value | [ Sketch ] | No |
Type: object
Properties
Property | Type | Description | Required |
---|---|---|---|
type | enum: Solid | No | |
value | Solid | No |
Type: object
Properties
Property | Type | Description | Required |
---|---|---|---|
type | enum: Solids | No | |
value | [ Solid ] | No |
Type: object
Properties
Property | Type | Description | Required |
---|---|---|---|
type | enum: Helix | No | |
value | Helix | A helix. | 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 | |
__meta | [ Metadata ] | No |
Type: object
Properties
Property | Type | Description | Required |
---|---|---|---|
type | enum: Module | No | |
value | ModuleId | Identifier of a source file. Uses a u32 to keep the size small. | No |
__meta | [ Metadata ] | No |
Type: object
Properties
Property | Type | Description | Required |
---|---|---|---|
type | enum: Type | No | |
__meta | [ Metadata ] | No |
Type: object
Properties
Property | Type | Description | Required |
---|---|---|---|
type | enum: KclNone | No | |
value | KclNone | KCL value for an optional parameter which was not given an argument. (remember, parameters are in the function declaration, arguments are in the function call/application). | No |
__meta | [ Metadata ] | No |
Type: object
Properties
Property | Type | Description | Required |
---|---|---|---|
type | enum: Tombstone | No | |
value | null | No | |
__meta | [ Metadata ] | No |