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.
Best Of
Re: Why does this assembly fail when I add one more revolute mate?
The revolutes are likely "fighting" each other in the "Z" direction.
Change some of your revolutes to cylindrical to fix the issue
Re: Understanding Managed In-Context Design, In context design within a doc, step 28
The "Profile inspector" tool is made to find these… I just wish it highlighted points that are "on an edge" as well:
It finds these:
But not these:
Or alternatively a filter option in the constraint manager for "under constrained"
Re: Custom Feature: Query Variable+
Dang, you've been busy. Nice implementation of nearly parallel edges, I could see that being useful for putting fillets in the XY coordinates on 3d printed parts and not on the top or bottom where they'd look terrible and mess with printability.
I did develop the qAdjacent filter with the exact opposite case in mind where I wanted to query everything around the seed and exclude the seed on purpose to support draft features, but I could see some use cases where you might want to include the seed as well. I'll get to work on plugging these edits into the main feature.
Re: Custom Feature: Query Variable+
some additional feedback @Derek_Van_Allen_BD:
I used your query Variable + in qAdjancy mode. I wanted to query a face AND all its adjacent faces. I think this is a common use for it. However the qAdjacent only queries the adjacents, and omits the seed faces. I had to add those by uniting with an additional query. It works, but it cumbersome and less robust. if i want to edit the seed faces, i'll have to edit them in two different places.
a simple boolean in the UI predicate would be nice:
annotation { "Name" : "Include seeds", "Default" : true }
definition.includeSeeds is boolean;
and a subsequent conditional qUnion in the function.
Re: Trouble with default values in feature script
If you are starting to write FeatureScript, get familiar with the standard library here:
https://cad.onshape.com/documents/12312312345abcabcabcdeff/v/abf8418eca794c31e027950d/e/87b09e244a234eb791b47826
It is documented here:
https://cad.onshape.com/FsDoc/library.html#module-valueBounds.fs
What you are looking for is the valueBounds.fs which describes the LengthBoundSpec @Matt_Shields helped you with but also the IntegerBoundSpec which is the next thing you are looking for.
Also take this course if you haven't already. It's not going to take you to the full depths of FeatureScript but it will get you started:
https://learn.onshape.com/courses/featurescript-fundamentals
I also strongly recommend getting a local repo of the Onshape std library. It makes searching much quicker:
https://github.com/javawizard/onshape-std-library-mirror
jnewth
Re: .... How do I 'Mate' RHS 50 x25 Pieces
Hey Keith. Welcome to Onshape. I'm guessing you mean that since the pieces are hollow a mate connector won't be available at the center of a piece's end. While selecting a point to place a mate connector on an end, when Onshape 'wakes up' locations to place the connector, hold down the shift key which tells Onshape to 'stay on this plane' and you can then move your cursor to the center which will 'wake up' a connector there. - Scotty




