-
Notifications
You must be signed in to change notification settings - Fork 503
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
CSG.Path2D.append{Point,Points,Bezier} are inconsistent and underdocumented #165
Comments
Also, appendArc() is undocumented. |
@fischman thanks, but we would like our fans to change the documentation as well. it's now available on Wikibooks, so go for it! |
What about the behavior? Do you simply want the inconsistency documented On Wed, Aug 10, 2016, 6:25 PM Z3 Development notifications@github.com
|
We'll have to discuss the inconsistencies with Joost as the CSG library is imported from another project. However, I believe that CSG and CAG functions should always return a new object, rather than modifying the original. The documentation from Joost also suggests this as well. |
Documentation edited: https://en.wikibooks.org/w/index.php?title=OpenJSCAD_User_Guide&diff=prev&oldid=3105676 |
This issue was moved to jscad/csg.js#16 |
CSG.Path2D's appendPoints and appendBezier methods are not mentioned in https://en.wikibooks.org/wiki/OpenJSCAD_User_Guide (only appendPoint (singular) is documented). More confusingly, appendBezier and appendPoint don't modify their |this| parameter, while appendPoints (plural) does. It would be nice if:
Code below demonstrates the issue in pairs: bezier in 1&2, point in 3&4, points in 5&6.
Thanks for providing this great resource, BTW :)
The text was updated successfully, but these errors were encountered: