kcl → types

Path

A path.

This schema accepts exactly one of the following:

A path that goes to a point.

Type: object

Properties

PropertyTypeDescriptionRequired
typeenum: ToPointNo
from[number, number]The from point.No
to[number, number]The to point.No
tagTagDeclaratorThe tag of the path.No
__geoMetaGeoMetaMetadata.No

A arc that is tangential to the last path segment that goes to a point

Type: object

Properties

PropertyTypeDescriptionRequired
typeenum: TangentialArcToNo
center[number, number]the arc's centerNo
ccwbooleanarc's directionNo
from[number, number]The from point.No
to[number, number]The to point.No
tagTagDeclaratorThe tag of the path.No
__geoMetaGeoMetaMetadata.No

A arc that is tangential to the last path segment

Type: object

Properties

PropertyTypeDescriptionRequired
typeenum: TangentialArcNo
center[number, number]the arc's centerNo
ccwbooleanarc's directionNo
from[number, number]The from point.No
to[number, number]The to point.No
tagTagDeclaratorThe tag of the path.No
__geoMetaGeoMetaMetadata.No

a complete arc

Type: object

Properties

PropertyTypeDescriptionRequired
typeenum: CircleNo
center[number, number]the arc's centerNo
radiusnumberthe arc's radiusNo
ccwbooleanarc's directionNo
from[number, number]The from point.No
to[number, number]The to point.No
tagTagDeclaratorThe tag of the path.No
__geoMetaGeoMetaMetadata.No

A path that is horizontal.

Type: object

Properties

PropertyTypeDescriptionRequired
typeenum: HorizontalNo
xnumberThe x coordinate.No
from[number, number]The from point.No
to[number, number]The to point.No
tagTagDeclaratorThe tag of the path.No
__geoMetaGeoMetaMetadata.No

An angled line to.

Type: object

Properties

PropertyTypeDescriptionRequired
typeenum: AngledLineToNo
xnumberThe x coordinate.No
ynumberThe y coordinate.No
from[number, number]The from point.No
to[number, number]The to point.No
tagTagDeclaratorThe tag of the path.No
__geoMetaGeoMetaMetadata.No

A base path.

Type: object

Properties

PropertyTypeDescriptionRequired
typeenum: BaseNo
from[number, number]The from point.No
to[number, number]The to point.No
tagTagDeclaratorThe tag of the path.No
__geoMetaGeoMetaMetadata.No