-
Notifications
You must be signed in to change notification settings - Fork 178
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
Add to documentation #69
Comments
All sounds good. The docs were generated in a big pull request by some very helpful guy a few months back, and tbh I'm not sure how to regenerate them. I spent a couple hours with tox trying to work that out a couple months ago but then I saw something shiny and ran off to look at that. Would welcome any extra knowledge about that. Definitely open to adding some more pythonic syntax for those aspects, although I try to balance that with retaining some similarity to the underlying OpenSCAD structure. If you get anyplace with these issues I'd be grateful, otherwise I'll address it some Sunday. Cheers! |
There's no harm in enabling it both ways - that is, allow both That was already done with up(), down(), etc. vs. translate(). Someday if I have time (ha ha) I may pull the documentation, convert it to plain HTML, and add that stuff (and other things) myself. SolidPython is too useful to not be fully documented! :-) |
Is there any documentation on:
It is Oct 2020 now. |
Well, pull requests are always welcome... |
Okay I have made a pull request. |
Things that should be added to the documentation:
How to use
.add_param()
to add special variables - for examplesphere(20).add_param('$fn', 10)
How to use
.set_modifier()
for debugging - for example.set_modifier("#")
How to pass an alpha value to
color()
(I still don't know how to do it).(Altho personally I'd find the syntax
object.highlight()
,object.showOnly()
,object.background(
),object.disable()
more convenient and obvious...)I'm not sure if there's a way for me to edit the docs on GitHub directly (if there is, I didn't find it); I'd take a crack at adding these myself.
The text was updated successfully, but these errors were encountered: