Jump to content

Make a rectangle centered around center point?


Recommended Posts

Posted

Hey all, i'm a huge noob here. I used to work with inventor in a class and now i am kind of used to that and autocad 2012 is confusing me a bit.

 

so, lets say i draw a circle of an arbitrary radius/diameter. I mark the center of the circle using the dimcenter command.

 

I draw a small rectangle around this center mark (this rectangle fits inside of the original circle.)

 

I want to make each side of the rectange equally distant from this center point. Since I roughly drew the rectangle around the center point, all sides are not equally distant. How can I do this?

 

In inventor, I would dimension each side out (dimension from the center point to each side of the rectangle), and double click the dimension and edit the numbers. I would make all the numbers on each side two for example, therefor each side of the rectangle would be two units distance from the center point. I guess autocad isnt that simple, huh? :lol:

Posted

There is a mathmatical formula for a square inside a circle you can use constraints and have any size circle and square will adjust. Just thinking the square diagonal equals the radius remember pythagoras theorem thats your answer. R^2=sqrt(a^2+b^2)

Posted

ok, come on. theres gotta be a simpler way to do such a simple task inside of such a powerful software.

Posted

Try drawing your circle and setting osnaps so you also have centre included. Then draw a polygon with four sides, pick the centre of your circle as the center of the polygon, select inside and either enter the length of each side or pick a corner point.

Posted

- Draw a circle

- Draw a rectangle, first point on center of circle, second at half width and height of final rectangle

- scale rectangle by 2, using right-upper corner as base point

Posted
Try drawing your circle and setting osnaps so you also have centre included. Then draw a polygon with four sides, pick the centre of your circle as the center of the polygon, select inside and either enter the length of each side or pick a corner point.

 

Thanks Tyke, I didn't want to have to explain that! :beer:

 

Is the rectangle you are describing actually a square?

When you say it fits, do you mean it is not larger than, as in fits inside? Or fits EXACTLY, like BIGAL is describing?

Do it the other way around.

 

Command: CIRCLE

Specify center point for circle or [3P/2P/Ttr (tan tan radius)]:

Specify radius of circle or [Diameter] :

Command: POLYGON

Enter number of sides :

Specify center of polygon or [Edge]:

Enter an option [inscribed in circle/Circumscribed about circle] :

Specify radius of circle: 100

 

If you truly want the circle to be of a random radius then you can just move your mouse to define the radius instead of entering it numerically.

The commands listed above recreate Tyke's suggestion.

You could alternatively, as you are using 2012, define it parametrically, if you were so inclined.

Posted

Unless I'm missing something....

 

1 random Circle + 1 random Rectangle + OSnap Tracking = perfectly centered Rectangle.

 

OSnap Tracking.gif

Posted

I looked at Camtasia8 but I believe it's still technically a "pre-release"..... I'll upgrade after it's been thoroughly tested.

Posted

Check the Parametric tab in AutoCAD.

You can use geometry constraints and parametric dimensions like Inventor.

Posted

Wow, let's see how complicated we can make this.

 

Nestly's solution is the one I would use or instead of object tracking, you could use M2P snap to get the base point.

Posted

Another possibility is to create a block containing a square, each side 1 unit long, and put its insertion point at the center of the square. Insert the block at the center of the circle. Scale to match the circle's radius. QED.

Posted
Wow, let's see how complicated we can make this.

 

Nestly's solution is the one I would use or instead of object tracking, you could use M2P snap to get the base point.

 

+1

 

..................................

Posted
Thanks Tyke, I didn't want to have to explain that! :beer:

 

Is the rectangle you are describing actually a square?

When you say it fits, do you mean it is not larger than, as in fits inside? Or fits EXACTLY, like BIGAL is describing?

Do it the other way around.

 

Command: CIRCLE

Specify center point for circle or [3P/2P/Ttr (tan tan radius)]:

Specify radius of circle or [Diameter] :

Command: POLYGON

Enter number of sides :

Specify center of polygon or [Edge]:

Enter an option [inscribed in circle/Circumscribed about circle] :

Specify radius of circle:100 - should be 50

If you truly want the circle to be of a random radius then you can just move your mouse to define the radius instead of entering it numerically.

The commands listed above recreate Tyke's suggestion.

You could alternatively, as you are using 2012, define it parametrically, if you were so inclined.

 

daggad's and tyke's way is much easier. :)

Posted (edited)

Or you could download FREE Inventor Fusion which has a CenterPoint Rectangle tool.

http://labs.autodesk.com

 

Center Point Rectangle.png

Edited by JD Mather
Posted

Woot! Finally an inventor tip that is totally appropriate for the AutoCAD forum.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...