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.
How to improve the onshape featurescript manual
robert_carpenter114
Member Posts: 8 ✭✭
As the shopworn cliche has it, a picture is worth a thousand words. Now it is scandalous that the manual for a highly visual system like onshape cad lacks so much as a single illustration. One is left to try to picture in his mind the concepts being explained in the manual as best he can. This will never do if onshape wants to make good on its bid to take cad into the realm of user created code specific to his specialty. Its got to be example pictures galore illustrating the featurescript concepts explained in the manual if the language is ever going to have widespread user adoption.
Tagged:
1
Comments
Eduardo Magdalena C2i Change 2 improve ☑ ¿Por qué no organizamos una reunión online?
Partner de PTC - Onshape Averigua a quién conocemos en común
ctrl-shift-F
(orcmd-shift-F
on a mac)In any case we will continue with our current method, because we also have our own code in FeatureScript in the same repository
Eduardo Magdalena C2i Change 2 improve ☑ ¿Por qué no organizamos una reunión online?
Partner de PTC - Onshape Averigua a quién conocemos en común
@robert_carpenter114
On the documentation, we've got lots of improvement requests that we continue to work on. I think 2D images could certainly helpful in places. If you submit an improvement request here, and others vote on it, that will substantially increase the likelihood that we prioritize this.
Is there some concept in particular that you wish was better illustrated? For many cases, the operation can be complex, and the best solution is not a 2D image but a 3D working example.
https://cad.onshape.com/FsDoc/tutorials/add-sketch-geometry.html
In particular it illuminates the distinction between Queries and Geometric Objects which was crucial to helping me 'get it' finally:
NOTE
FeatureScript has two completely separate ways of representing entities and geometry:Queries, like
endPoints
are objects which specify criteria for finding a particular entity or set of entities in the Part Studio. These are just specifications, and they contain no information about the geometric or topological properties of any entities. Depending on the context it is evaluated in, aQuery
may resolve to zero, one, or many entities.Geometric objects, like
endPosition
, contain data about geometric positions and orientations (includingVectors
,Planes
,CoordSystems
, and more). These are just data, and are not contextually associated with any entities in the Part Studio.This design gives Onshape Part Studios and features the robust tools needed to maintain fully parametric references.
To get geometric information from a query, use an evaluation function, found in the evaluate module.
I dont find it comprehinsive at all. Feels like a lot of missing information.
i just cant tell when i need to use certain functions in order to read/use a query properly.