Add KCL constants for sweep relativeTo strings (#6974)
* Add KCL constants for sweep relativeTo strings Before: ``` sweep(pill, path = sweepPath, relativeTo = "trajectoryCurve") ``` After: ``` sweep(pill, path = sweepPath, relativeTo = sweep::TRAJECTORY) ``` * Update docs
This commit is contained in:
5
rust/kcl-lib/std/sweep.kcl
Normal file
5
rust/kcl-lib/std/sweep.kcl
Normal file
@ -0,0 +1,5 @@
|
||||
/// Local/relative to the trajectory curve
|
||||
export TRAJECTORY = 'trajectoryCurve'
|
||||
|
||||
/// Local/relative to a position centered within the plane being sketched on
|
||||
export SKETCH_PLANE = 'sketchPlane'
|
Reference in New Issue
Block a user