Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

First time visiting? Here are some places to start:
  1. Looking for a certain topic? Check out the categories filter or use Search (upper right).
  2. Need support? Ask a question to our Community Support category.
  3. Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
  4. 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.

Assembly Replicate Behavior - Need to replicate multiple components & maintain constraints

I'm looking to replicate in the same feature a set of fastener components that have constraints applied to them already. There are two variables I have to account for, bracket thickness and housing thickness. These thicknesses will change as I iterate the design so I want the constraints in my assembly to update automatically.

The required constraints:
  • face of Slotted-post co-planar (mated) with bracket top face
  • top face of Bushing co-planar with Bracket bottom face
  • bottom face of Bushing co-planar with Housing top face
  • face of Chicago Screw co-planar with Housing bottom face
  • Slotted-post axial with each hole in the Housing




I've been able to replicate the component group. Unfortunately, the "Mate to be matched" section only allows for choosing a single mate as opposed to a collection of mates.

To fully constrain the assembly as desired, I've had to manually add additional constraints to each member of the replicate. I'm hoping there is a way to avoid needing to do this. Any advice is appreciated.


Vince Haley
Creative and Technical Skill Development Coach
Design Inspiration
LinkedIn Bio

Comments

  • eric_pestyeric_pesty Member Posts: 1,947 PRO
    I had a quick look and it seems you had too many different mates so simplifying helps a bit... Replicate can't quite handle this directly but here are a couple way to handle it.

    The two screws have to bottom out against each other (otherwise they will loosen) so if you change your thickenesses you will need to change screw lengths so I'm not sure it makes sense to have the top screw follow the bracket face.

    For items on both sides of the housing, I find the "quick and dirty" way to handle that is to just create several replicate features. Otherwise your can use an offset in your mate that matches the thickness, which is not a bad option if you can use a variable to drive it.

    Another option would be to create a sub-assembly with the stack of fasteners and replicate that. You could use a sketch or something to set the spacing in there so that it would update automatically, this simple to implement and scales well...

    See the three examples: assemblies: https://cad.onshape.com/documents/12139a066dce89184a85c452/w/5349afa3c00acb8366f323ff/e/9acf3350477293948f103d9d

    Hope that helps...
  • VinceHaley_SkillCoachVinceHaley_SkillCoach Member Posts: 11 ✭✭
    @eric_pesty thank you for taking a look at this. I'll review your examples shortly.
    Vince Haley
    Creative and Technical Skill Development Coach
    Design Inspiration
    LinkedIn Bio
  • VinceHaley_SkillCoachVinceHaley_SkillCoach Member Posts: 11 ✭✭
    @eric_pesty Nice examples! I've got plenty of options now. I frequently use variables in part studio, but have not in assemblies. Variable studios is the ticket. I've gleaned from your example how to incorporate variable studios. Thanks again!
    Vince Haley
    Creative and Technical Skill Development Coach
    Design Inspiration
    LinkedIn Bio
  • eric_pestyeric_pesty Member Posts: 1,947 PRO
    Glad to help. The only downside with the variable studio is that you have to drive it from there so can't make an extrude "up to" something which can be a bit limiting.
    The fastener stack assembly driven by the helper sketch works well as a an alternative, the only downside there being you have to hide the sketches in the assembly...
Sign In or Register to comment.