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.

Making dimensions EQUAL = whilst in a sketch

null_null3941null_null3941 Member Posts: 17
When in a sketch, it would be great if we could make dimensions equal so the dimensions change together when I make a dimensional change. 

Comments

  • Matt_ShieldsMatt_Shields Member, Onshape Employees Posts: 893 PRO
    Yeah, Onshape doesn't do dimension relations.  But you can make a variable on the fly.  



    Or you can use constraints.


  • Urs_Egger_REACTUrs_Egger_REACT Member Posts: 118 PRO
    does already an enhancement request exist?

  • steve_shubinsteve_shubin Member Posts: 1,118 ✭✭✭✭
    edited August 2024
    When in a sketch, it would be great if we could make dimensions equal so the dimensions change together when I make a dimensional change. 
    Maybe this would work for you.

    Using the EQUALS CONSTRAINT

    The darker lined dimension in the upper rectangle is DRIVING the gray lined dimension in the lower rectangle
    ALSO, all lines on the upper rectangle have the EQUALS constraint applied
    Whereas in the lower rectangle, only the right most line has the EQUALS constraint applied





  • Andrew_GunstoneAndrew_Gunstone Member Posts: 3

    @Matt_Shields this, as mentioned (in one of the posts i saw with regards to this) creates a feature tree full of functions.. is there really no way that onshape will take on this mod to enable the dims to have equations in them? this is a really neat function of most cad systems that ive used anyway..

  • john_mcclaryjohn_mcclary Member, Developers Posts: 4,027 PRO

    Dimensions do have equations in them. You can even use comments and such.

    I used to miss being able to set dims equal to other dims from SolidWorks. But then after a while in Onshape I found it is not necessary at all.

    The on the fly variable works just fine, you can also create a variable from the measuring tool with a single click.

    Between that and the equal constraint, you're fully covered.

    If you end up with a bunch of variables on the tree, then you can use the variable menu on the right side flyout to manage them quickly. Otherwise you may just be abusing that style of relationships. I actually like the variable method since you can see at a glance the design intent without even opening the sketch. Whereas in SolidWorks this was hidden until you edited the dimension.

    you can also check the show expressions option in the sketch to see all your equations.

    image.png
  • jelte_steur_infojelte_steur_info Member Posts: 634 PRO
    edited January 9

    I sometimes use construction lines as well. E.g. if I want to make a rectangle with L = 2*W, I'll have two construction lines through the middle of the long axis of the rectangle and set those two equal to the width.

  • john_mcclaryjohn_mcclary Member, Developers Posts: 4,027 PRO

    Agreed, I use construction lines and relations most of the time.

    It helps make it obvious what the design intent is at a glance without the need for variables or hidden constraints

Sign In or Register to comment.