Previous: ``` startProfileAt([x, y], %) startProfileAt([x, y], sketch001) ``` New: ``` startProfile(%, at = [x, y]) startProfile(sketch001, at = [x, y]) ```
11 lines
350 B
Plaintext
11 lines
350 B
Plaintext
---
|
|
source: kcl-lib/src/simulation_tests.rs
|
|
description: Result of unparsing revolve_about_edge.kcl
|
|
---
|
|
sketch001 = startSketchOn(XY)
|
|
|> startProfile(at = [-25, 25])
|
|
|> yLine(length = -50, tag = $rectangleSegmentB001)
|
|
sketch002 = startSketchOn(XY)
|
|
|> circle(center = [-50, 0], radius = 10)
|
|
|> revolve(angle = 90, axis = rectangleSegmentB001)
|