-
Notifications
You must be signed in to change notification settings - Fork 26
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
Subtle difference between solidpython object and bos2l object with left(), right(), back(), forward() #54
Comments
Hmmmm... sh**...... The reason is that bosl2 brings it's own I think we need to changed it, but this will cause another major backwards compatible breaking change...... I'll think about it for a couple of days, but I don't see any other way than a backward compatible breaking change. Thanks a lot for finding this! |
Btw: Take a look at the distributors from bosl2, https://github.com/BelfrySCAD/BOSL2/wiki/distributors.scad#functionmodule-grid_copies |
BOSL2 seems to be twisting your nerves quite a bit. Thanks for the grid_copies() hint, thought there might be a BOSL way, but it was just too easy doing it in Python (which is closer to my base :-) ) |
On Sat, 16 Dec 2023 06:54:23 -0800 taliesin ***@***.***> wrote:
BOSL2 seems to be twisting your nerves quite a bit.
Well, actually it's not bosl2, but making the heritage of
SolidPython(v1) consistent with bosl2 (which is probably "more correct"
in detail - how back/forward are defined and the cylinder parameters up
until now).
But I think it's worth it, a good (and consistent) bosl2 integration
into SolidPython is the path I think is the right way to go in the long
term. Unfortunately it causes backwards compatibility issues in the
short term.
|
In other words: bosl2 is pointing out some "fundamental" issues (like
what's `back` and what's `forward`) in SolidPython itself which did not
get questioned before....
As mentioned before, I'm convinced it makes sense to fix these issues
for the long term but I'm concerned in the short term. And I don't see
any alternative that makes sense in the long term....
|
I've got a python function, that
which produces the expected results when used with cylinder.
but not if 'something' is a bosl object like
It's because it's translated differently, for the cylinder example it becomes
for the b2.cylinder it is:
NOTE: I'm not much of an OpenSCAD programmer, so I might be missing something obvious.
The text was updated successfully, but these errors were encountered: