Files
modeling-app/rust/kcl-lib/tests/out_of_band_sketches/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

26 lines
950 B
Plaintext

---
source: kcl-lib/src/simulation_tests.rs
description: Result of unparsing out_of_band_sketches.kcl
---
sketch001 = startSketchOn(XZ)
profile001 = startProfile(sketch001, at = [27.67, 239.34])
// enter sketch mode, start path, move path pen, disable sketch mode
|> line(end = [414.61, 0]) // extend path
|> line(end = [33.98, -389.36]) // extend path
sketch002 = startSketchOn(XY)
profile002 = startProfile(sketch002, at = [67.04, -63.5])
// enter sketch mode, start path, move path pen, disable sketch mode
|> line(end = [282.37, 0]) // extend path
|> line(end = [-12.77, -178.07]) // extend path
profile001extended = profile001
|> line(end = [-455.38, 0]) // extend path
|> close() // close
profile002extended = profile002
|> line(end = [-299.39, 21.28]) // extend path
|> close() // close
extrude([profile001extended, profile002extended], length = 10.14) // for each extrude: enter sketch mode, extrude, exit sketch mode