Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- Be respectful, on topic and if you see a problem, Flag it.
If you would like to contact our Community Manager personally, feel free to send a private message or an email.
Contributing to standard library documentation
traveler_hauptman
Member, OS Professional, Mentor, Developers Posts: 419 PRO
I'm finally have a few spare moments to start experimenting with featurescript. I'm in that brief stage of everything is new, and I am having lots of questions pop up, which once I get up to speed will be obvious and forgotten details.
An example is, 'How do I set the origin of a sketch?', which, after digging through the std library is 'It's inherited from the plane it is created on.' A breadcrumb in the documentation for newSketch() would have saved me some time stabbing in the dark trying to figure it out.
I would happily add a line or two of documentation here and there if there were a way to do that. If not directly usable, it would show you what concepts are not obvious for someone coming in fresh. Are you able to push/pull between documents if I create a copy of the std lib?
An example is, 'How do I set the origin of a sketch?', which, after digging through the std library is 'It's inherited from the plane it is created on.' A breadcrumb in the documentation for newSketch() would have saved me some time stabbing in the dark trying to figure it out.
I would happily add a line or two of documentation here and there if there were a way to do that. If not directly usable, it would show you what concepts are not obvious for someone coming in fresh. Are you able to push/pull between documents if I create a copy of the std lib?
Tagged:
0
Comments
Glad you have time to start experimenting -- your feedback on what is not obvious is very welcome.
In terms of the specific mechanism of contributing (documentation or code) to std, we still need to figure it out -- there are copyright issues, attribution, the technical mechanism, and our own processes for review, QA, etc. to consider. Technically, we can't easily push/pull between documents -- the most convenient way at this point is probably for you to just point out where you'd like additional info (in a forum post -- your example in newSketch is a good one) and we'll add it.
In this case, we will also point to newSketchOnPlane, which can be used for full control over the sketch coordinate system (whereas newSketch orients the plane canonically and sets the origin to be the projection of the world origin onto the plane).
and
Changing the sense convention is really annoying by the way.
Plus there is a bug if [-1*startDepth < endDepth < 0] ([-1*startDepth < 0 < endDepth] & [0 < -1*startDepth < endDepth] work fine as expected)
(but add a second function because I'm using this one now. Hurray legacy )
Was a little opaque. Maybe hint that there is probably a type mismatch?
I hit this comparing a number to another number (which was really a ValueWithUnits).
We really appreciate this feedback, thanks!