Move axes to std constants; move helix, revolve, and mirror2d to be declared in KCL (#6105)
Move axes to std constants; move helix, revolve, and mirror2d to be declated in KCL Signed-off-by: Nick Cameron <nrc@ncameron.org>
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
@settings(defaultLengthUnit = mm)
|
||||
|
||||
export part001 = startSketchOn('XY')
|
||||
export part001 = startSketchOn(XY)
|
||||
|> startProfileAt([4, 12], %)
|
||||
|> line(end = [2, 0])
|
||||
|> line(end = [0, -6])
|
||||
@ -10,7 +10,7 @@ export part001 = startSketchOn('XY')
|
||||
|> line(end = [0, -5.5])
|
||||
|> line(end = [-2, 0])
|
||||
|> close()
|
||||
|> revolve(axis = 'y') // default angle is 360
|
||||
|> revolve(axis = Y) // default angle is 360
|
||||
|
||||
export fn two() {
|
||||
return 5
|
||||
|
||||
@ -14,7 +14,7 @@ export part001 = startSketchOn(XY)
|
||||
|> line(end = [0, -5.5])
|
||||
|> line(end = [-2, 0])
|
||||
|> close()
|
||||
|> revolve(axis = 'y') // default angle is 360
|
||||
|> revolve(axis = Y) // default angle is 360
|
||||
|
||||
export fn two() {
|
||||
return 5
|
||||
|
||||
Reference in New Issue
Block a user