20 lines
506 B
Plaintext
20 lines
506 B
Plaintext
![]() |
---
|
||
|
source: kcl-lib/src/simulation_tests.rs
|
||
|
description: Result of unparsing sketch_on_face.kcl
|
||
|
---
|
||
|
part001 = startSketchOn('XY')
|
||
|
|> startProfileAt([11.19, 28.35], %)
|
||
|
|> line(end = [28.67, -13.25], tag = $here)
|
||
|
|> line(end = [-4.12, -22.81])
|
||
|
|> line(end = [-33.24, 14.55])
|
||
|
|> close(%)
|
||
|
|> extrude(length = 5)
|
||
|
|
||
|
part002 = startSketchOn(part001, here)
|
||
|
|> startProfileAt([0, 0], %)
|
||
|
|> line(end = [0, 10])
|
||
|
|> line(end = [10, 0])
|
||
|
|> line(end = [0, -10])
|
||
|
|> close(%)
|
||
|
|> extrude(length = 5)
|