Files
modeling-app/rust/kcl-lib/tests/artifact_graph_example_code1/input.kcl
Nick Cameron bae875382c Replace plane strings with literals (#6592)
Signed-off-by: Nick Cameron <nrc@ncameron.org>
2025-04-30 05:13:11 +00:00

17 lines
584 B
Plaintext

sketch001 = startSketchOn(XY)
|> startProfile(at = [-5, -5])
|> line(end = [0, 10])
|> line(end = [10.55, 0], tag = $seg01)
|> line(end = [0, -10], tag = $seg02)
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|> close()
extrude001 = extrude(sketch001, length = -10)
|> fillet(radius = 5, tags = [seg01])
sketch002 = startSketchOn(extrude001, face = seg02)
|> startProfile(at = [-2, -6])
|> line(end = [2, 3])
|> line(end = [2, -3])
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|> close()
extrude002 = extrude(sketch002, length = 5)