
centering a circle on a square?
Bill Reuss Sep 9, 2008 1:01 PM (in response to Ali Abdul)Draw a construction line from corner to corner. Add a midpoint relationship for the center of the circle to the construction line.

centering a circle on a square?
Ali Abdul Sep 9, 2008 1:02 PM (in response to Bill Reuss)ya i guess that woudl do it, but its almost more steps than just adding dims. i was thinking if there is such a feature/relation to just tell it to center itself between edges or something.
thanks,

centering a circle on a square?
170W0UV Sep 9, 2008 1:11 PM (in response to Ali Abdul)Depending what you are doing you could use a center rectangle in the sketch to create the box then make the circle coincident the the center point.
Or use a center rectangle and put the origin in the center of the box, then you can base the circle off the origin. 
centering a circle on a square?
Alan Stoldt Sep 9, 2008 4:23 PM (in response to Ali Abdul)Ali A wrote:
ya i guess that woudl do it, but its almost more steps than just adding dims. i was thinking if there is such a feature/relation to just tell it to center itself between edges or something.
thanks,
If you define the hole center with dims from the edge, that is where it stays, relative to those edges.
Just a thought.
centering a circle on a square?
Pilun Chen Oct 30, 2008 7:57 PM (in response to Alan Stoldt)Drawing a diagonal construction line and a circle on its midpoint takes too long?? Sometimes you gotta wonder.




centering a circle on a square?
Troy Peterson Sep 9, 2008 1:04 PM (in response to Ali Abdul)There are several way to do this.
Add a construction line diagonally to the square and constrain the center of the circle to the midpoint of the construction line.
Constrain the center of the circle to the midpoints of the square using horizontal and vertical.
Draw two construction lines from the midpoints of two of the sides of the square till they meet in the center then constrain the center of the circle to the intersection of the two construction lines.
*Edit  If you created the square where the origin is the center of the squre you could just constrain the center of the circle to the origin  one constraint.

centering a circle on a square?
Ali Abdul Sep 9, 2008 1:07 PM (in response to Troy Peterson)"Constrain the center of the circle to the midpoints of the square using horizontal and vertical. "
Troy, how coudl I do that? if i highlight teh circle and anyone of the square edges it only shows me a tangental relation.
Thanks,

centering a circle on a square?
Brian Lindahl Sep 9, 2008 1:12 PM (in response to Ali Abdul)RMB on a vertical edge of the square and "Select Midpoint", then CTRLclick on the sketch circle center point. Make the two points "Horizontal". Repeat with the midpoint of a Horizontal edge and the circle center point, and make vertical. No construction lines required. 
centering a circle on a square?
Troy Peterson Sep 9, 2008 1:19 PM (in response to Ali Abdul)Ali A wrote:
"Constrain the center of the circle to the midpoints of the square using horizontal and vertical. "
Troy, how coudl I do that? if i highlight teh circle and anyone of the square edges it only shows me a tangental relation.
Thanks,
constrain.zip 24.4 KB

constrain.JPG 149.8 KB

centering a circle on a square?
Ali Abdul Sep 9, 2008 1:29 PM (in response to Troy Peterson)guys thanks for all of ur comments.
troy,
I just cann;t see the vertical and horizontal relations. I highligh both the circle and the edge (sometimes i pick the circle from teh origin and sometimes from its edge) and i still cann;t see those two relations. i must be doing something wrong.
Thanks,

centering a circle on a square?
Ali Abdul Sep 9, 2008 1:33 PM (in response to Ali Abdul)troy,
nevermind i think i coudln;t see them because the origin of my square/box is not in the center, but its off to one of teh corners.
Thanks

centering a circle on a square?
Ali Abdul Sep 9, 2008 1:46 PM (in response to Ali Abdul)Thanks guys i think i got it figured out.
case closed.


centering a circle on a square?
Dwight Livingston Sep 9, 2008 4:11 PM (in response to Ali Abdul)Ali A wrote:
guys thanks for all of ur comments.
troy,
I just cann;t see the vertical and horizontal relations. I highligh both the circle and the edge (sometimes i pick the circle from teh origin and sometimes from its edge) and i still cann;t see those two relations. i must be doing something wrong.
Thanks,

centering a circle on a square?
Kevin De Smet Oct 31, 2008 7:15 AM (in response to Dwight Livingston)Dwight Livingston wrote:
Don't pick the edge; pick the midpoint of the edge. Don't pick the circle; pick the center of the circle. Once you have these two POINTS selected, you may choose a horizontal or vertical relation.
Anyway  as an added possibility, you can create a Reference Geometry > Point, which has the option "Center of Face". Particularly useful for extravagant shapes whose center is not easily determined by a simple construction line or two.
centering a circle on a square?
Devi Prasad Samal Oct 31, 2008 8:16 AM (in response to Kevin De Smet)Hi all,
May be the best way or fastest way to place a circle at the centre point of a rectangle plate is
click the centre point of circle then drag it to the one edge of the rectangle, it will show the mid point of the edge ... then drag the circle point to that mid point of edge and mid point relation(of auto snap option) will appear,
then drag the circle perpendicular to the edge and then go to second edge and do as above.
now move the point to the middle automatically 2 refference line from the edges appear which merge at a point and that will be the centre point of rectangle.
please see the jpeg images for better understanding.

centering a circle on a square?
Pilun Chen Nov 3, 2008 10:34 PM (in response to Devi Prasad Samal)That dragging method is fine but I'm sure most people in most cases would want that sketch contrained and fully defined so that if the rectangle changes, the circle remains in the center.







centering a circle on a square?
Matt McKendrick Sep 9, 2008 1:15 PM (in response to Troy Peterson)If you face is truly a square, then you could use the polygon sketch feature. Open the sketch on the face of the square, select sketch entities>polygon, select number of faces = 4, select inscribed circle, then place the polygon (square) somewhere, it doesn't matter on the size and position at this point. Then select an edge of your square face and an line from the square sketch, and add the relations, equal and colinear. Repeat for an adjacent edge, and viola...., you have a circle inscribed in the square. All you have to do now is convert the square sketch to construction lines and the inscribed circle to regular lines.


centering a circle on a square?
Kelvin Lamport Oct 31, 2008 1:26 AM (in response to Ali Abdul)Pilun ... you mirrored my thoughts exactly.
Ali ... you do not have to actually apply a constraint. After drawing the diagonal, simply start drawing the circle by placing its centre at the midpoint of the diagonal. 
centering a circle on a square?
Kevin De Smet Nov 5, 2008 12:32 PM (in response to Ali Abdul)The method of relationing to the midpoint is quite tricky. You can't filter midpoints  click midpoint  (optionally) turn filter off  click circle centre. It only allows "Fix".
You can do it, however, by rightclicking the edge and from the menu "Select midpoint" and then clicking the circle centre  horizontal or vertical and even coincident join fix in the possible relationships. Cool!
centering a circle on a square?
Eddie Cyganik Nov 6, 2008 3:27 PM (in response to Kevin De Smet)
Tricky?
RMB  "Select Midpoint"


centering a circle on a square?
Roland Schwarz Nov 6, 2008 12:23 PM (in response to Ali Abdul)Regardless of which method one uses to geometrically center a circle, none is "too much work". If one finds drawing and constraining a few construction lines is too hard or time consuming, then one ought to consider putting effort into refining one's sketch skills. Sketchin is THE core skill that can make or break a new SW user.
My personal preference is to center using the intersection of two centerlines constrained symmetric to the sides of the square. This method is most robust, and would withstand the most variation in geometry and still hold the geometric center of the foursided shape. 
centering a circle on a square?
Kelvin Lamport Nov 7, 2008 6:15 PM (in response to Ali Abdul)Kevin,
Do you have the Automatic Relations and Snapping functions enabled?
Relations1.jpg 49.6 KB


centering a circle on a square?
Kevin De Smet Nov 10, 2008 5:51 AM (in response to Ali Abdul)Yes I do.