Files
modeling-app/rust/kcl-lib/tests/artifact_graph_example_code1/unparsed.snap
Adam Chalmers ffbe20b586 Kwargs: startProfileAt (#6424)
Previous:

```
startProfileAt([x, y], %)
startProfileAt([x, y], sketch001)
```

New:
```
startProfile(%, at = [x, y])
startProfile(sketch001, at = [x, y])
```
2025-04-25 21:01:35 +00:00

21 lines
698 B
Plaintext

---
source: kcl-lib/src/simulation_tests.rs
description: Result of unparsing artifact_graph_example_code1.kcl
---
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)