2025-03-20 11:06:27 +13:00
|
|
|
---
|
|
|
|
source: kcl-lib/src/simulation_tests.rs
|
|
|
|
description: Result of unparsing tests/assembly_mixed_units_cubes/cube-mm.kcl
|
|
|
|
---
|
|
|
|
@settings(defaultLengthUnit = mm)
|
|
|
|
|
2025-03-21 22:39:12 +13:00
|
|
|
sketch001 = startSketchOn(XY)
|
2025-03-20 11:06:27 +13:00
|
|
|
cubeMm = startProfileAt([10, 10], sketch001)
|
|
|
|
|> xLine(length = 5)
|
|
|
|
|> yLine(length = -5)
|
|
|
|
|> xLine(length = -5)
|
|
|
|
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
|
|
|
|> close()
|
|
|
|
|> extrude(%, length = 5)
|