Kwargs: startProfileAt (#6424)
Previous: ``` startProfileAt([x, y], %) startProfileAt([x, y], sketch001) ``` New: ``` startProfile(%, at = [x, y]) startProfile(sketch001, at = [x, y]) ```
This commit is contained in:
@ -3,7 +3,7 @@ source: kcl-lib/src/simulation_tests.rs
|
||||
description: Result of unparsing artifact_graph_example_code1.kcl
|
||||
---
|
||||
sketch001 = startSketchOn(XY)
|
||||
|> startProfileAt([-5, -5], %)
|
||||
|> startProfile(at = [-5, -5])
|
||||
|> line(end = [0, 10])
|
||||
|> line(end = [10.55, 0], tag = $seg01)
|
||||
|> line(end = [0, -10], tag = $seg02)
|
||||
@ -12,7 +12,7 @@ sketch001 = startSketchOn(XY)
|
||||
extrude001 = extrude(sketch001, length = -10)
|
||||
|> fillet(radius = 5, tags = [seg01])
|
||||
sketch002 = startSketchOn(extrude001, face = seg02)
|
||||
|> startProfileAt([-2, -6], %)
|
||||
|> startProfile(at = [-2, -6])
|
||||
|> line(end = [2, 3])
|
||||
|> line(end = [2, -3])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|
||||
Reference in New Issue
Block a user