Fix mixed units assemblies to work, regardless of project settings (#5818)

* Add mixed units test

* Add incorrect output

* Change to always set units since old units are not accurate

* Update output after fix
This commit is contained in:
Jonathan Tran
2025-03-17 11:26:56 -04:00
committed by GitHub
parent a8b0e1a771
commit dc82b4c8ea
31 changed files with 1727 additions and 273 deletions

View File

@ -0,0 +1,10 @@
@settings(defaultLengthUnit = in)
sketch001 = startSketchOn('XY')
cubeIn = startProfileAt([-10, -10], sketch001)
|> xLine(length = 5)
|> yLine(length = -5)
|> xLine(length = -5)
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|> close()
|> extrude(%, length = 5)