2025-03-20 11:06:27 +13:00
|
|
|
---
|
|
|
|
source: kcl-lib/src/simulation_tests.rs
|
|
|
|
description: Result of unparsing sketch_on_face.kcl
|
|
|
|
---
|
2025-03-21 22:39:12 +13:00
|
|
|
part001 = startSketchOn(XY)
|
2025-03-20 11:06:27 +13:00
|
|
|
|> 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)
|