Files
modeling-app/rust/kcl-lib/tests/assembly_mixed_units_cubes/unparsed@cube-mm.kcl.snap
Nick Cameron a7e09a89ef Improve snapshot testing (#5856)
* Improve snapshot testing

Signed-off-by: Nick Cameron <nrc@ncameron.org>

* A snapshot a day keeps the bugs away! 📷🐛

* A snapshot a day keeps the bugs away! 📷🐛

---------

Signed-off-by: Nick Cameron <nrc@ncameron.org>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-03-19 15:06:27 -07:00

16 lines
413 B
Plaintext

---
source: kcl-lib/src/simulation_tests.rs
description: Result of unparsing tests/assembly_mixed_units_cubes/cube-mm.kcl
---
@settings(defaultLengthUnit = mm)
sketch001 = startSketchOn('XY')
cubeMm = startProfileAt([10, 10], sketch001)
|> xLine(length = 5)
|> yLine(length = -5)
|> xLine(length = -5)
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|> close()
|> extrude(%, length = 5)