Closed dimitre closed 3 years ago
The result suggests that there's some problem with a bounding box calculation.
Minimal reproducer: rotate(30) cube(10);
.
Reproduced with the original code. investigating.
I'm unable to reproduce in the Haskell library:
main :: IO ()
main = writeSTL 1 "/tmp/yo.stl" $
let cube = cubeR 0 True (10, 20, 5)
in union
[ cube
, rotate3 (degZ 30) $ translate (0, 30, 0) $ union
[ cube
, rotate3 (degZ 30) $ translate (0, 30, 0) cube
]
]
produces:
Fixed. Closing.
I know the project isn't meant to be 100% compatible with OpenSCAD but I've noticed a very basic issue trying to run the following code in both of them
and ImplicitCAD doens't seem to understand the cumulative translation and rotation