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 way to have multiple, identical features in a model
øyvind_kaurstad
Member Posts: 234 ✭✭✭
Being a CAD novice, I've got a question regarding modelling.
The other day I was drawing a circuit board (PCB) holder for two sandwiched circuit boards. The curcuit boards are connected with one connector, and sits in different heights.
Now, the holder is simple. It's a base plate with vertical standoffs at the hole posistions for the PCBs, and the standoffs have different heights (since there are two PCBs). The standoffs have a diameter that is larger than the PCB holes, and at the top of the standoffs I wanted to have snap-in mechanism. However, in the first iteration I just had a small cylindrical peg that would just keep the PCB in place sideways.
Now comes the question: This snap-in mechanism would be identical for all of the standoffs, and it would be tedious to re-draw it at each standoff. Creating the snap-in as a separate part therefore seems logical, but what is the correct way to copy and align this part to each standoff? Mate connectors?
The other day I was drawing a circuit board (PCB) holder for two sandwiched circuit boards. The curcuit boards are connected with one connector, and sits in different heights.
Now, the holder is simple. It's a base plate with vertical standoffs at the hole posistions for the PCBs, and the standoffs have different heights (since there are two PCBs). The standoffs have a diameter that is larger than the PCB holes, and at the top of the standoffs I wanted to have snap-in mechanism. However, in the first iteration I just had a small cylindrical peg that would just keep the PCB in place sideways.
Now comes the question: This snap-in mechanism would be identical for all of the standoffs, and it would be tedious to re-draw it at each standoff. Creating the snap-in as a separate part therefore seems logical, but what is the correct way to copy and align this part to each standoff? Mate connectors?
0
Best Answers
-
3dcad Member, OS Professional, Mentor Posts: 2,475 PRO@øyvind_kaurstad Did you try creating part in new studio and derive it to your main studio and move in place using mate connectors as I suggested in the beginning?
I have done many parametric models with this workflow and I don't see any reason why it wouldn't work in your case too.//rami5 -
noa Onshape Employees, Developers Posts: 141øyvind_kaurstad if you want to keep all the parts in the same Part Studio and use Mate Connectors, you can with Transform. First add mate connectors everywhere that you would like to copy the part to, as well as on the part you'd like to copy. Then, use the Transform feature: switch from "Translate by line" to "Translate by mate connectors" and check the box "Copy part." You'll have to repeat this for each copy but this should work.Noa Flaherty / Customer Success / Onshape Inc.5
Answers
Derived seems to be for use between different part studios. In this case, I could of course create a separate part studio for my snap-in part, but somehow that seems a bit weird.
Are there any major downsides to use mate connectors like I've outlined above?
I offer this up because no one else has, it's probably how I would attempt your challenge.
I think I have the same question on my model that 'm trying to build. I'm looking for a way to COPY sketch entities from one sketch into a different sketch on a different plane, then be able to snap those entities into place.
Here is the thread I started that i think is related to your question.
Creating this as a separate part then makes sense, but I also want to attach it to some other features on my main part. If I translate copies by x/y/z, my part will break if I then need to resize or move the feature that the copied part is attached to.
It sounds like you want to to the same thing as me. Copy entities from one sketch into another and modify it to add it to an existing part.
My questions on this method are does it copy the sketches too? I don't think so as it would have to copy all the steps to create the copied part. Can you move it around, snap it in place to a point on a sketch or a face / edge of another part? I don't think so but it appears you can transform it around.
So the three methods of creating duplicate parts discussed so far:
- Multi-part extrusions as described in this OS tutorial,
- Copy entities from one sketch into another
- Duplicate a part
Anyone else?But you would have to redraw the sketch then extrude them all at once as described in the tutorial. Not sure this would work with complex sketches. The tutorial shows multipart extrusions on spacer pins, a relatively simple sketch to multi-extrude together.
I believe this allows you to not just modify the sketch, but copy parts of the entities you want and modify it. I wanted to copy a sketch, modify it and extrude / add it to another part. By copying part of a prior sketch I hope to save some time and not have to redraw everything from scratch. My question is posted to this thread
As described in this post.
I have done many parametric models with this workflow and I don't see any reason why it wouldn't work in your case too.