<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>AutoCAD Tips Blog &#187; geometric constraints</title>
	<atom:link href="http://www.ellenfinkelstein.com/acadblog/tag/geometric-constraints/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ellenfinkelstein.com/acadblog</link>
	<description>AutoCAD tips &#38; tutorials to help you work faster &#38; smarter</description>
	<lastBuildDate>Tue, 07 Sep 2010 02:40:15 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>AutoCAD Tutorial: Use parametric constraints to constrain models</title>
		<link>http://www.ellenfinkelstein.com/acadblog/autocad-tutorial-use-parametric-constraints-to-constrain-models/</link>
		<comments>http://www.ellenfinkelstein.com/acadblog/autocad-tutorial-use-parametric-constraints-to-constrain-models/#comments</comments>
		<pubDate>Thu, 03 Dec 2009 17:56:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Drawing]]></category>
		<category><![CDATA[dimensional constraints]]></category>
		<category><![CDATA[geometric constraints]]></category>
		<category><![CDATA[parametric constraints]]></category>

		<guid isPermaLink="false">http://www.ellenfinkelstein.com/acadblog/?p=111</guid>
		<description><![CDATA[<p>AutoCAD 2010 introduced a great new feature, parametric constraints. You can constraint objects in two ways:</p>

Geometrically: You can constrain objects to meet at a point, be horizontal, be vertical, be perpendicular, be concentric, and more
Dimensionally: You can constrain the dimensions of objects. For example, a you can constraint a line&#160; to be 4 units long, [...]]]></description>
			<content:encoded><![CDATA[<p>AutoCAD 2010 introduced a great new feature, parametric constraints. You can constraint objects in two ways:</p>
<ul>
<li><b>Geometrically: </b>You can constrain objects to meet at a point, be horizontal, be vertical, be perpendicular, be concentric, and more</li>
<li><b>Dimensionally: </b>You can constrain the dimensions of objects. For example, a you can constraint a line&nbsp; to be 4 units long, or two lines to be 4 units apart.</li>
</ul>
<p>This tutorial, adapted from my book, <a href="http://www.amazon.com/gp/product/0470436409?ie=UTF8&amp;tag=ellenfinkelstein&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=0470436409" mce_href="http://www.amazon.com/gp/product/0470436409?ie=UTF8&amp;tag=ellenfinkelstein&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=0470436409">AutoCAD 2010 &amp; AutoCAD LT 2010 Bible,</a> takes you through the process of constraining the simple model you see here. The goal is to constraint the objects so that all you can do is stretch the model, keeping the relationships the same. However, you want the circle&#8217;s diameter to remain unchanged, because it represents a hole for a fixed-size axle.</p>
<div class="mceTemp mceIEcenter">
<dl id="" class="wp-caption aligncenter" style="width: 461px;">
<dt class="wp-caption-dt"><img title="A simple model for constraining" src="http://www.ellenfinkelstein.com/autocadtips/images/acadtips_use_parametric_constraints-1.png" mce_src="http://www.ellenfinkelstein.com/autocadtips/images/acadtips_use_parametric_constraints-1.png" alt="Parametric constraints in AutoCAD" height="404" width="451"></dt>
<dd class="wp-caption-dd">Parametric constraints in AutoCAD</dd>
</dl>
</div>
<ol>
<li>Starting at Point 1, draw a horizontal line to the left, 4 units long.</li>
<li>Continue to draw a line segment vertically down, 4 units long.</li>
<li>Continue to draw a line segment horizontally to the right, 4 units long. End the LINE command.</li>
<li>Start the ARC command. At the <span class="prompt">Specify start point of arc or [Center]:</span> prompt, select the endpoint at Point 2.</li>
<li>At the <span class="prompt">Specify second point of arc or [Center/End]:</span> prompt, choose the End option. Then choose the endpoint at Point 1.</li>
<li>At the <span class="prompt">Specify center point of arc or [Angle/Direction/Radius]:</span> prompt, press Shift + right-click to open the OSNAP shortcut menu. Choose Mid Between 2 Points. then choose the endpoint at Point 1 and the endpoint at Point 2.</li>
<li>Start the CIRCLE command. At the prompt for the center, specify the center object snap of the arc. Set the radius to 0.75 units.</li>
<li>Click the Parametric tab in AutoCAD 2010. Choose AutoConstrain in the Geometric panel.</li>
</ol>
<p>Notice that AutoCAD adds the following constraints:</p>
<ul>
<li>Perpendicular</li>
<li>Parallel</li>
<li>Horizontal</li>
<li>Tangent</li>
<li>Concentric</li>
<li>Coincident</li>
</ul>
<div class="mceTemp mceIEcenter">
<dl id="" class="wp-caption aligncenter" style="width: 497px;">
<dt class="wp-caption-dt"><img title="Geometric constraints in AutoCAD" src="http://www.ellenfinkelstein.com/autocadtips/images/acadtips_use_parametric_constraints-2.png" mce_src="http://www.ellenfinkelstein.com/autocadtips/images/acadtips_use_parametric_constraints-2.png" alt="Geometric constraints in AutoCAD" height="355" width="487"></dt>
<dd class="wp-caption-dd">Geometric constraints in AutoCAD</dd>
</dl>
</div>
<p>You can see which constraint is which by hovering your cursor over a constraint icon; a tooltip appears with the name of the constraint. Coincident constraints don&#8217;t display an icon at first, so put your cursor over the small blue square until the icon appears; then move your cursor over the icon to see the tooltip.</p>
<div class="mceTemp mceIEcenter">
<dl id="" class="wp-caption aligncenter" style="width: 502px;">
<dt class="wp-caption-dt"><img title="Parametric constraints in AutoCAD" src="http://www.ellenfinkelstein.com/autocadtips/images/acadtips_use_parametric_constraints-3.png" mce_src="http://www.ellenfinkelstein.com/autocadtips/images/acadtips_use_parametric_constraints-3.png" alt="Parametric constraints in AutoCAD" height="360" width="492"></dt>
<dd class="wp-caption-dd">Parametric constraints in AutoCAD</dd>
</dl>
</div>
<ol start="9">
<li>To constrain the three lines to be of equal length, click the Equal button in the Geometric panel of the Parametric tab.&nbsp; Then pick at Point 3 and Point 4 in the model above. Because of the other constraints, you don&#8217;t need to constraint the bottom horizontal line.</li>
<li>To fix the circle&#8217;s diameter, in the Dimensional panel, click the Diameter button. Select the circle and specify a location for the dimension line as prompted. Press Enter to end the command.</li>
<li>Start the SCALE command and select all the objects in the model. Using the lower-left corner endpoint as the basepoint and 1.5 as the scale factor. The model just moves!! That&#8217;s because you&#8217;ve constrained the size of the circle.</li>
<li>Undo the SCALE operation.</li>
<li>Repeat the SCALE command. Select all the objects in the model, but this time, press Shift and select the circle to deselect it. Now try the same scaling operation. This time it works.</li>
<li>Now start the STRETCH command. Specify a crossing window (from right to left) from Point 5 to Point 6 in the above model. and again use the lower-left corner as the base point. Drag to the right. Notice that you can&#8217;t elongate the model, because the 3 lines are constrained to be equal. You can only scale the model, which is just what you want. The circle stays the same size.</li>
</ol>
<div class="mceTemp mceIEcenter">
<dl id="" class="wp-caption aligncenter" style="width: 550px;">
<dt class="wp-caption-dt"><img title="Stretching the model with parametric constraints in AutoCAD 2010" src="http://www.ellenfinkelstein.com/autocadtips/images/acadtips_use_parametric_constraints-4.png" mce_src="http://www.ellenfinkelstein.com/autocadtips/images/acadtips_use_parametric_constraints-4.png" alt="Stretching the model with parametric constraints in AutoCAD 2010" height="400" width="540"></dt>
<dd class="wp-caption-dd">Stretching the model with parametric constraints in AutoCAD 2010</dd>
</dl>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.ellenfinkelstein.com/acadblog/autocad-tutorial-use-parametric-constraints-to-constrain-models/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>AutoCAD Tutorial: Create a rectangle with an adjustable corner</title>
		<link>http://www.ellenfinkelstein.com/acadblog/create-a-rectangle-with-an-adjustable-corner/</link>
		<comments>http://www.ellenfinkelstein.com/acadblog/create-a-rectangle-with-an-adjustable-corner/#comments</comments>
		<pubDate>Mon, 05 Oct 2009 20:09:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Drawing]]></category>
		<category><![CDATA[constraints]]></category>
		<category><![CDATA[geometric constraints]]></category>
		<category><![CDATA[rectangle]]></category>
		<category><![CDATA[viewport]]></category>

		<guid isPermaLink="false">http://www.ellenfinkelstein.com/acadblog/?p=83</guid>
		<description><![CDATA[<p>Have you noticed how grip-editing a viewport is different from grip-editing a rectangle?</p>
<p>When you grip-edit the upper-right corner of a viewport to stretch it, the viewport keeps its rectangular shape. You can freely choose your new corner location, so you&#8217;re not just scaling. You can change the proportion between the width and height, all without [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.ellenfinkelstein.com/autocadtips/images/acadtips_flexible_rectangle-6.swf"></a>Have you noticed how grip-editing a viewport is different from grip-editing a rectangle?</p>
<p>When you grip-edit the upper-right corner of a viewport to stretch it, the viewport keeps its rectangular shape. You can freely choose your new corner location, so you&#8217;re not just scaling. You can change the proportion between the width and height, all without losing its rectangle-ness.</p>
<div class="wp-caption aligncenter" style="width: 357px"><img title="Stretching a viewport in AutoCAD" src="http://www.ellenfinkelstein.com/autocadtips/images/acadtips_flexible_rectangle-1.png" alt="Stretching a viewport" width="347" height="210" /><p class="wp-caption-text">Stretching a viewport</p></div>
<p>But when you grip-edit the upper-right corner of a rectangle, the rectangle is distorted. The rectangle doesn&#8217;t know that it&#8217;s supposed to remain a rectangle. AutoCAD just thinks of it as a 4-sided, closed polyline. Indeed, select it and check in the Properties palette (Ctrl+1) and you&#8217;ll discover that it is indeed just a polyline.</p>
<div class="wp-caption aligncenter" style="width: 489px"><img title="Stretching a rectangle in AutoCAD" src="http://www.ellenfinkelstein.com/autocadtips/images/acadtips_flexible_rectangle-2.png" alt="Stretching a rectangle in AutoCAD" width="479" height="266" /><p class="wp-caption-text">Stretching a rectangle in AutoCAD</p></div>
<p>AutoCAD 2010&#8217;s geometric parameters can help you easily create a rectangle that knows it&#8217;s a rectangle. And, what is a rectangle? Well, &#8220;rect&#8221; means right, as in 90°. &#8220;Angle&#8221; is self-explanatory. So, we need to ensure that the angles will stay 90°.</p>
<p>Here&#8217;s how:</p>
<ol>
<li>Draw a rectangle.</li>
<li>Go to Parametric tab&gt; Geometric panel, and click the Perpendicular button.</li>
<li>At the <span class="prompt">Select first object: </span>prompt, click the top horizontal line of the rectangle.</li>
<li>At the <span class="prompt">Select second object: </span>prompt, click the left vertical line. You&#8217;ll see the Perpendicular icon near the upper-left corner of the rectangle.</li>
<li>Repeat the process for the two lines that meet at the lower-left corner and the lower-right corner.</li>
</ol>
<div class="wp-caption aligncenter" style="width: 425px"><img title="A rectangle with 3 perpendicular geometric constraints" src="http://www.ellenfinkelstein.com/autocadtips/images/acadtips_flexible_rectangle-4.png" alt="A rectangle with 3 perpendicular geometric constraints" width="415" height="253" /><p class="wp-caption-text">A rectangle with 3 perpendicular geometric constraints</p></div>
<p>Note: If you try to do all 4 corners, you&#8217;ll get a message telling you that AutoCAD can&#8217;t apply the constraint. That&#8217;s because when you have 3 corners constrained to perpendicular, the last corner is superfluous, and is therefore an overconstraint.</p>
<div class="wp-caption aligncenter" style="width: 409px"><img title="You cant overconstrain an object in AutoCAD" src="http://www.ellenfinkelstein.com/autocadtips/images/acadtips_flexible_rectangle-3.png" alt="You cant overconstrain an object in AutoCAD" width="399" height="195" /><p class="wp-caption-text">You can&#39;t overconstrain an object in AutoCAD</p></div>
<p>Now, you can grip-edit that upper-right corner and it will behave just like a viewport!</p>
<div class="wp-caption aligncenter" style="width: 510px"><img title="The rectangle now stretches like a viewport!" src="http://www.ellenfinkelstein.com/autocadtips/images/acadtips_flexible_rectangle-5.png" alt="The rectangle now stretches like a viewport!" width="500" height="275" /><p class="wp-caption-text">The rectangle now stretches like a viewport!</p></div>
<p>Here&#8217;s a video of the same operation:</p>
<p style="text-align: center;"><object id="csSWF" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="400" height="318" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://www.ellenfinkelstein.com/autocadtips/images/acadtips_flexible_rectangle-6.swf" /><param name="bgcolor" value="#1a1a1a" /><param name="quality" value="best" /><param name="allowScriptAccess" value="always" /><param name="allowFullScreen" value="false" /><param name="scale" value="noscale" /><param name="flashVars" value="autostart=false" /><param name="name" value="csSWF" /><param name="flashvars" value="autostart=false" /><param name="allowfullscreen" value="false" /><embed id="csSWF" type="application/x-shockwave-flash" width="400" height="318" src="http://www.ellenfinkelstein.com/autocadtips/images/acadtips_flexible_rectangle-6.swf" name="csSWF" flashvars="autostart=false" scale="noscale" allowfullscreen="false" allowscriptaccess="always" quality="best" bgcolor="#1a1a1a"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ellenfinkelstein.com/acadblog/create-a-rectangle-with-an-adjustable-corner/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
	</channel>
</rss>
