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.
Using previous sketch to define/constrain another..
steve_maietta
Member Posts: 54 PRO
Can I specify a sketch (earlier up in the tree) for use in defining or constraining another sketch? For example "sketch 1", make an hexagon with a circle in the middle, extrude it (a simple hex nut solid) and then create another "sketch 2" that references the circle (bore)?
can't seem to find this..
thanks!
~Steve
can't seem to find this..
thanks!
~Steve
0
Best Answers
-
jakeramsley Member, Moderator, Onshape Employees, Developers, csevp Posts: 661The constraint buttons are the last couple icons of the sketch tool bar. If you select 2+ sketch entities and then select a constraint, you will apply it to those entities.
For example, if I have a circle on sketch 1 located on the Top plane and want to constrain a center-point rectangle to it that is 4in off of it:
1. Sketch my center point rectangle on the offset plane.
2. I want my rectangle to be centered on the projected edge of the circle. I select the center of the rectangle and the edge of the circle to select both. I click the coincident constraint to make the point defining the center of the rectangle on the circle.
3. I want the bottom edge of my rectangle to be tangent to the circle. I select the bottom edge of the rectangle and the circle and choose tangent.
4. I want the left edge of my rectangle to be tangent to the circle. Like step 3, I select the left edge of the rectangle and the edge of the circle and choose tangent.
5. The last thing I am going to do is set a distance between the top edge of the rectangle and the top of the circle. I select the dimension tool and with it active I select the top edge of the rectangle and the edge of the circle. This give me the ability to drop the dimension where I want it lie. From here I edit it to 1.25"
In this case, my rectangle is fully defined relative to the circle. It looks a bit funky in this isometric view, but viewing the top plane you can see where the constraints are applied.
Jake RamsleyDirector of Quality Engineering & Release Manager onshape.com6 -
jakeramsley Member, Moderator, Onshape Employees, Developers, csevp Posts: 661steve_maietta said:Got it working.. Now, is there a way to copy sketch geometry and "paste" it into another sketch?Jake RamsleyDirector of Quality Engineering & Release Manager onshape.com5
Answers
For example, if I have a circle on sketch 1 located on the Top plane and want to constrain a center-point rectangle to it that is 4in off of it:
1. Sketch my center point rectangle on the offset plane.
2. I want my rectangle to be centered on the projected edge of the circle. I select the center of the rectangle and the edge of the circle to select both. I click the coincident constraint to make the point defining the center of the rectangle on the circle.
3. I want the bottom edge of my rectangle to be tangent to the circle. I select the bottom edge of the rectangle and the circle and choose tangent.
4. I want the left edge of my rectangle to be tangent to the circle. Like step 3, I select the left edge of the rectangle and the edge of the circle and choose tangent.
5. The last thing I am going to do is set a distance between the top edge of the rectangle and the top of the circle. I select the dimension tool and with it active I select the top edge of the rectangle and the edge of the circle. This give me the ability to drop the dimension where I want it lie. From here I edit it to 1.25"
In this case, my rectangle is fully defined relative to the circle. It looks a bit funky in this isometric view, but viewing the top plane you can see where the constraints are applied.