<p>Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.</p></p><strong>First time visiting? Here are some places to start:</strong></p><ol style="list-style:inherit;margin-left:25px;"><li>Looking for a certain topic? Check out the <a href="https://forum.onshape.com/categories">categories filter</a> or use Search (upper right).</li><li>Need support? <a href="https://forum.onshape.com/post/question/community-support">Ask a question</a> to our <a href="https://forum.onshape.com/categories/community-support">Community Support</a> category.</li><li>Please submit support tickets for bugs but you can request improvements in the <a href="https://forum.onshape.com/categories/product-feedback">Product Feedback category</a>.</li><li>Be respectful, on topic and if you see a problem, Flag it.</li></ol><p>If you would like to contact our Community Manager personally, feel free to <a href="https://forum.onshape.com/profile/6/LouGallo">send a private message</a> or <a href="mailto:lgallo@onshape.com">an email</a>.
</p>
</p>
Best Workflow for Symmetric Assemblies
steve_cohen
Member Posts: 29 EDU
I'm working on an assembly that has planar symmetry without mirroring, i.e. all the parts on the left are the same on the right, with each part the same distance from the center as its twin. I tried linear patterns, but every distance is different, and I need to change two different dimensions to move both parts. Symmetry is not easily preserved.
I can just make two instances and offset a fastened mate for both from a central mate connector, but then when I move one side, I have to find the other side and change that mate too. I can't use variables to make them consistent, since that is not available in assemblies, but at least the distances are the same.
Is there a better way?
And is there a better way to simulate a central plane?
I can just make two instances and offset a fastened mate for both from a central mate connector, but then when I move one side, I have to find the other side and change that mate too. I can't use variables to make them consistent, since that is not available in assemblies, but at least the distances are the same.
Is there a better way?
And is there a better way to simulate a central plane?
0
Best Answers
-
I think the answer might be what John said.
Layout sketches (in a PartStudio) can have symmetry, and can then be inserted in to an assembly. The symmetrical parts can then be mated to the sketch in the assembly. One dimension moves both parts, keeping them symmetric. It is a little awkward, but it works.
Even better would be a way to make planes symmetric in a part studio.0 -
Implemented.
https://cad.onshape.com/help/Content/assembly-mirror.htm
Just use Derived for Mirror action (default)0
Answers
-
Could you share the assembly you are trying to work with?I will often add a mate connector at the origin or the center of the part if you can and use that to make an assembly circular patter with two instances. Only requires mating one side and works just like a mirror.0
-
you could make a sketch with mirror symmetry using points.
then use a transform/copy in the part studio using two adjacent points.
or use those points to create mate connector offsets.
0 -
edit: double post.. forum glitched and I posted the image twice... ignore this0
-
@steve_cohen Here is another solution.
After creating the parts on the left, use Transform by XYZ and check Copy parts.
When using configurations you can adjust the parameters and toggle on and off0 -
Transform by XYZ is just in Part Studios?0
-
In an assembly you would use a mate to do the same work as a transform0
-
Looking back, I don't think the Transform addresses the issue either. I would like a way to make sure that two of the same part are the same distance from a center plane/Mate Connector in an assembly. Two unlinked dimensions do not do this, as far as I can tell.john_mcclary said:In an assembly you would use a mate to do the same work as a transform0 -
If you want to link dimensions and do it with equations, try measure value
https://cad.onshape.com/documents/77baa8153589a7fc5f289829/v/f34206305bd673c93758b47b/e/181cb871f3008e6b885df46a
it lets you take a measurement of pretty much anything, then saves the result in a variable0 -
Can you do equations in assemblies?0
-
No
But you could make an in-context reference0 -
So I should make two mates, e.g. fasten mates, with offsets. Then I use the FeatureScript function Measure Value, which saves it in a variable. But as far as I know, variables are not available in assemblies. So I need to make an in-context reference to the assembly, so in that in-context part studio, I get two variables from the Measure Value, then use equations to make them equal? That doesn't seem like it would drive the mates.
Could you please explain the process from beginning to end? Thank you for your patience.0 -
I assumed you needed to measure something in the assembly.
If you just want something like a global variable:
Create a blank featurescript,FeatureScript 736;import(path : "onshape/std/geometry.fs", version : "736.0");annotation { "Feature Type Name" : "Globals" }export const globalsFeature = defineFeature(function(context is Context, id is Id, definition is map)precondition{}{
// Global variables here
setVariable(context,"NameOfVar", 7);
};
Then you insert that featurescript at the top of every partstudio that you want to reference that global variable #NameOfVar
you can do all of your calculations in the featurescript and store all of your variables there if you like.
Then output the results using setVariable();
You can have as many as you like.
---------------------------------
Otherwise, you can create a layout sketch:
Make a partstudio that contains layout sketches that you can mate to
all your calculations would be done in this part studio, then derive this layout sketch into any partstudio/assembly that you want to attach to.
Dose that make any sense?
Here is a video from Onshape showing how it works
https://www.youtube.com/watch?v=Rvu9763-2I40 -
I think the answer might be what John said.
Layout sketches (in a PartStudio) can have symmetry, and can then be inserted in to an assembly. The symmetrical parts can then be mated to the sketch in the assembly. One dimension moves both parts, keeping them symmetric. It is a little awkward, but it works.
Even better would be a way to make planes symmetric in a part studio.0 -
Here's a link where you can vote on this improvement request: https://forum.onshape.com/discussion/5763/mirror-feature-for-assembly-workflow/p10
-
Implemented.
https://cad.onshape.com/help/Content/assembly-mirror.htm
Just use Derived for Mirror action (default)0


