-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] round3d() in combination with any form of transform along Y #1548
Comments
The
The rounded cube has length 50 regardless of how the original cube's y dimension is set. It works only as long as the y dimension is less than 50. It seems like a hard-coded limit somewhere but I haven't looked at the code yet. |
Thank you @amatulic that's one step more to get that fixed. |
It turns out all dimensions get truncated. Investigating further.... If you set the parameter
I note the documentation says:
Based on that, I suspect it wasn't tested extensively either. It probably wouldn't hurt to make the default Because I didn't write this (I started looking closer into BOSL2 only a couple months ago) I defer to @adrianVmariano or @revarbat to recommend how this should be fixed, but for now you know how to solve it. |
Thank you again, i did a work around for the model i was working on. To put some shame on me, i did not do a "Go to definition" in code. That teaches me to look into modules that bother. That is what i made today: |
round3d() acts wrong full if combined with translations.
This cide snip shows the effect:
round3d(or=2) fwd(20) cube([20, 100, 10], );
up(10) cuboid([20, 100, 10]);
expected is that booth cubes have the same size,
but the rounded one is shorter by the amount the cube is moved.
Used the nightly openscad snap and cloned the BOSL2 today to ensure the bug is i the newest version.
The text was updated successfully, but these errors were encountered: