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.

How to "Fix" a part created in context

HARDWOODFP_ENGINEERINGHARDWOODFP_ENGINEERING Member Posts: 23 ✭✭

When I create a part in context, it inserts into the assembly as loose. If, I want to lock it in that exact position. Using the Fix constraint seems like the obvious solution, but it often causes the assembly to become overdefined.

Currently, I have to go through the full mating process to get it to stay put.

Is there a simpler method to lock an in-context part to the geometry it was created from?

Thanks for the help!

Comments

  • Ste_WilsonSte_Wilson Member Posts: 573 EDU
    edited February 16

    I might be answering a question you're not asking as you mention in context.

    Apologies if I've got the wrong end of the stick.

    Try the assembly tutorial at https://learn.onshape.com/

    Fix (right click on the part, choose fix from the menu) is used to lock the base part in place. All other parts move relative to that. On the assembly toolbar on the left are relationships you would like your parts to have. This allows you to select a mate connector on each part. Onshape glues the mate connectors together with that relationship. So fastened, the two parts are stuck together. Slider, the parts will slide along the mate connectors z axis.

  • nick_papageorge_dayjobnick_papageorge_dayjob Member, csevp Posts: 1,075 PRO
    edited February 16

    Best and simplest, imo, is to assemble it using the MC the context was created from. In the in-context part studio, make a MC at the origin. In the asm, mate that MC to the MC used to create the context. (their location is the same). Takes 30 seconds, and is super robust.

    Fix, in general, is asking for trouble, imo. I'd go so far as to avoid it in about every asm scenario..

  • HARDWOODFP_ENGINEERINGHARDWOODFP_ENGINEERING Member Posts: 23 ✭✭

    hat I mean is this: when you create a part in context in the Assembly workspace, once the part is finished it remains loose in the assembly. If I use the Fix option you mentioned, the assembly becomes over-constrained, since the assembly is already fully defined. That leaves me having to manually mate the new in-context part afterward.

    I’m wondering if there could be an easier workflow, such as automatically fixing the new part relative to the context it was created from.

  • martin_kopplowmartin_kopplow Member Posts: 1,279 PRO

    I believe that @HARDWOODFP_ENGINEERING has a point here.

    If we specify a mate connector to create an in-context part upon, that is already a valid definition where the in-contect part is meant to be placed. A fixed mate should be automatically created. It could later be modified to be a rotate mate or whatever, or deleted, but design intent is IMHO best served by automatically creating a fixed mate with the mate connector specified as the origin of the in-context part.

    Else, the user would have to manually move the in-context part out of the way first thing as he gets back to the assembly, in order to be able to pick the mates required. There is not much use in in-context design with parts moved out of context, as part of the very process, right?

  • martin_kopplowmartin_kopplow Member Posts: 1,279 PRO
Sign In or Register to comment.