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.

Options

Constraints in assemblies?

spapadimspapadim Member Posts: 1 EDU
I am doing a rough model of a Kossel 3D printer (link to public doc of what I have so far). I've created parts for the vertices, the horizontal aluminum extrusions and the circular build plate.  The circular build plate needs to be centered within the triangular frame. My question is: what would be the easiest and cleanest way to achieve that?

Is it somehow possible to do a construction for the centroid (here, same as orthocenter) of the three extrusion parts directly in the assembly, so I can fasten the center of the build plate to that?

Or, could I instead create the triangular frame assembly as a part instead (using a secondary part studio, importing three vertex and three extrusion instances)?  But, how would I easily fasten those instances (see current doc) within the studio? (If that could be done, then I can project the extrusion edges onto a sketch to do a construction of the orthocenter, and place a mate there, then import the derived "frame part" in the assembly, instead of the individual vertices and edges)

Or, perhaps, some other approach that I haven't thought of? The intent, btw, is that when the extrusion #side_len parameter is updated, then everything changes correctly.

Thanks in advance!


PS. Going off on a tangent, I find OnShape by far the most intuitive "cloud-based" CAD. I've just started using MCAD a week ago (trying out OnShape and a few other options), but this model took me less than an hour to "hack together".  E.g., the drag-and-drop UI for re-ordering variable and operation scope was super-intuitive. I didn't even have to read any docs: once you realize that each "feature" is an operator that possibly depends on previous features' outputs and, in turn, produces another output, with the entire feature sequence representing an expression or simple sequential-flow program, all the rest just falls into place! Very nice!

Answers

  • Options
    lougallolougallo Member, Moderator, Onshape Employees, Developers Posts: 2,001
    @spiros_papadimitriou You can use one of two methods.  
    1. FIXED restraint - By right clicking on any part you can fix it in place where it sits.  This is a contextual restraint and will only exist in this assembly environment.  Once this assembly is added to a top level (if applicable) that part will no longer be locked by that fixed restraint.  This is good for locking down something that may act as a "base" that many other parts mate to.
    2. MATE TO ORIGIN - If you want to add something that will work very similar to the FIXED restraint but WILL transfer to the top level, Click on the fastened mate, select a face and then hover over the assembly origin and click once you see the axis you want.  See below:


    Lou Gallo / PD/UX - Support - Community / Onshape, Inc.
Sign In or Register to comment.