-
Notifications
You must be signed in to change notification settings - Fork 192
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
Cleanup #71
Cleanup #71
Conversation
…d to use all children, not just the first child.
…ransformations.scad to operate on all children.
…odule fromTo (didn't take time to fully understand), but no load/run errors.
…d error in test code: no $center parm for sphere().
…hould. Also made modules work on all childen, rather than only the first. Check spin() particulary, as I changed it the most.
…confirmed no other refs in MCAD files.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good except for the few comments I left
Co-Authored-By: Chow Loong Jin <[email protected]>
Co-Authored-By: Chow Loong Jin <[email protected]>
I just checked, the Also, I parameterized to remove the Final change for the day... Thanks! |
for (i = [0 : $children-1]) child(i); | ||
} | ||
} | ||
// Copy everything $no of times around an $axis, spread over $angle |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Variables can begin with $
in openscad, so don't use $no
, $axis
, et. al. to denote the no
and axis
parameters; it'll cause confusion in the future.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good call. I saw that in multiply.scad and thought I was following this library's format for comments. I'll work on another pull request to fix those comments in other files.
… indent tabs, and shorten for loop.
I replaced the deprecated child() and assign() in the library. I also made a few changes while testing/validating my updates:
I tried to make the changes clear in each commit comment.
Thanks for a great library!