Skip to main content

Crate kcl_api

Crate kcl_api 

Source

Re-exports§

pub use ast::node_path::NodePath;
pub use ast::node_path::Step;
pub use kittycad_point as point;
pub use kcl_value_view::*;

Modules§

artifact
ast
kcl_value_view

Structs§

Angle
Arc
ArcCtor
ArtifactId
Cap
CapSource
Circle
CircleCtor
Coincident
ConstraintSource
ControlPointSpline
ControlPointSplineCtor
DefaultPlanes
There’s six standard planes (XY/XZ/YZ, and their negations). They get created by the engine, and the engine needs to tell clients what each plane’s ID is.
Diameter
Distance
EqualRadius
Face
Fixed
Multiple fixed constraints, allowing callers to add fixed constraints on multiple points at once.
FixedPoint
A fixed constraint on a single point.
Line
LineCtor
LinesEqualLength
Midpoint
Number
NumericSuffixTypeConvertError
Object
ObjectId
OpArg
An argument to a CAD modeling operation.
OpHelix
OpSketch
OpSolid
OperationsByModule
Parallel
Perpendicular
Point
Point2d
PointCtor
PrimitiveFacePlane
An indexed face on a solid which has not yet been materialized as a KCL Face value.
Radius
Sketch
SketchCtor
Arguments for creating a new sketch. This is similar to the constructor of other kinds of objects in that it is the inputs to the sketch, not the outputs.
SourceRefRange
Symmetric
Tangent
Wall
WallSource

Enums§

ArcDirection
The direction that an arc sweeps from its start point to its end point.
CapKind
Constraint
ConstraintSegment
Expr
Freedom
Group
Horizontal
NumericSuffix
NumericType
ObjectKind
OpKclValue
A KCL value used in Operations. ArtifactIds are used to refer to the actual scene objects. Any data not needed in the UI may be omitted.
Operation
A CAD modeling operation for display in the feature tree, AKA operations timeline.
OriginLiteral
Plane
Segment
SegmentCtor
SourceRef
UnitAngle
The valid types of angle formats.
UnitArea
The valid types of area units.
UnitDensity
The valid types for density units.
UnitLength
The valid types of length units.
UnitMass
The valid types of mass units.
UnitType
UnitVolume
The valid types of volume units.
Vertical

Type Aliases§

OpKclObjectFields