Real-World Example of Using 2D Constraints in AutoCAD

Learning
2D Constraints AutoCAD

AutoCAD has had 2D geometric and dimensional constraints for a while, but most drafters don’t leverage their functionality in everyday use. I sometimes think it is because they can’t think of an everyday use for them. In this post, let’s look at a real-world example of using constraints that really saves you a good bit of time and automates a workflow that aids you in designing. (And be sure to check out my TuesdayTipsarticle with an overview of 2D constraints.)

Borehole Construction

The specific example I will cover here is for constructing utilities under a major road or highway where we cannot dig a trench due to the high volume of traffic on the road. Instead, we will propose borehole construction which will dig a hole underneath the road using a casing pipe that will carry the utility pipe. The diagram below shows the design standards that we must follow for this project

AutoCAD design standards example

So, looking at the diagram, we can see that the standards call for a range of deflection angles for the entrance and exit of the pipe. Note though that the entrance and exit can be swapped based upon the existing conditions on either side of the road. Now, in an “orthogonal” world, this wouldn’t be that difficult as you could simply have a block that has these deflection angles. But, in the real world, the existing ground will vary, the depth to the pipe will need to be adjusted, and the deflection angle will need to follow this adjustment. 2D geometric and dimensional constraints to the rescue.

Drawing the Criteria

Below is our area of design. I have a profile view (cut with Civil3D) at a scale of 1:1 so that we can design this without having to worry about an exaggerated scale.

Profile view Civil 3D
The first thing I’ll do is to draw the basic geometric components as it really doesn’t matter how they are initially drawn because the constraints will “fix” the geometry for me.

geometry constraints AutoCAD

Use the AUTOCONSTRAIN tool to automatically constrain the geometry.

AUTOCONSTRAIN

Now since I don’t always have “flat” ground, I’m going to delete the horizontal and perpendicular constraints.

horizontal and perpendicular constraints AutoCAD

To finalize the geometric constraints, I will add a vertical constraint to one of the vertical lines as there is already a parallel constraint associated to the two lines.

Now, we will need to add the geometric constraints to add the appropriate angle of deflection on either side. Navigate to the Dimensional panel in the Parametric tab and add an angular dimensional constraint.

Now, you want to select the vertical line first and then the adjacent line, and define an angle of 78 (90-12).

Constraints Angle

And add one to the other side for a value of 82 (90-8).

Now, we can position our lines to the correct location in the profile to see where the entrance and exit pipes will go. Some little tricks to working with the geometry are listed below:

  • Use the STRETCH command – Sometimes grip editing or moving will not work when trying to get the geometry into the correct position. Don’t forget to use a crossing window when stretching.
  • You can use grip-editing (sometimes) – Grip-editing can be used to modify your geometry. However, sometimes it will “break” the constraints if you do. When using grip-editing, and you want to define a total length for a line, pick the Length option from the multi-functional grip menu…..

Constraints Lengthen

Press TAB on the keyboard to access the total length field and type in a distance.

Constraints Total Length Field

This workflow will maintain the constraints.

Now with my geometry in the right location, I can stretch the line and see where my pipe location will enter/exit.

Constraints Stretching Line

Don’t forget, the cool thing about the angular constraints is that you can change them as you need it. Remember, the detail doesn’t say which side has to be the entrance/exit.

I hope this real-world example makes your brain think of many other uses of using 2D constraints.

Try AutoCAD free for 15 days
The AutoCAD Blog is all about helping you get the most out of AutoCAD. It's also the best way for you to connect with the makers of AutoCAD. Subscribe to keep up with AutoCAD

______
icon-svg-close-thick

Cookie preferences

Your privacy is important to us and so is an optimal experience. To help us customize information and build applications, we collect data about your use of this site.

May we collect and use your data?

Learn more about the Third Party Services we use and our Privacy Statement.

Strictly necessary – required for our site to work and to provide services to you

These cookies allow us to record your preferences or login information, respond to your requests or fulfill items in your shopping cart.

Improve your experience – allows us to show you what is relevant to you

These cookies enable us to provide enhanced functionality and personalization. They may be set by us or by third party providers whose services we use to deliver information and experiences tailored to you. If you do not allow these cookies, some or all of these services may not be available for you.

Customize your advertising – permits us to offer targeted advertising to you

These cookies collect data about you based on your activities and interests in order to show you relevant ads and to track effectiveness. By collecting this data, the ads you see will be more tailored to your interests. If you do not allow these cookies, you will experience less targeted advertising.

icon-svg-close-thick

THIRD PARTY SERVICES

Learn more about the Third-Party Services we use in each category, and how we use the data we collect from you online.

icon-svg-hide-thick

icon-svg-show-thick

Strictly necessary – required for our site to work and to provide services to you

Qualtrics
W
Akamai mPulse
W
Digital River
W
Dynatrace
W
Khoros
W
Launch Darkly
W
New Relic
W
Salesforce Live Agent
W
Wistia
W
Tealium
W
Upsellit
W
CJ Affiliates
W
Commission Factory
W
Google Analytics (Strictly Necessary)
W
Typepad Stats
W
Geo Targetly
W
SpeedCurve
W
Qualified
#

icon-svg-hide-thick

icon-svg-show-thick

Improve your experience – allows us to show you what is relevant to you

Google Optimize
W
ClickTale
W
OneSignal
W
Optimizely
W
Amplitude
W
Snowplow
W
UserVoice
W
Clearbit
#
YouTube
#

icon-svg-hide-thick

icon-svg-show-thick

Customize your advertising – permits us to offer targeted advertising to you

Adobe Analytics
W
Google Analytics (Web Analytics)
W
AdWords
W
Marketo
W
Doubleclick
W
HubSpot
W
Twitter
W
Facebook
W
LinkedIn
W
Yahoo! Japan
W
Naver
W
Quantcast
W
Call Tracking
W
Wunderkind
W
ADC Media
W
AgrantSEM
W
Bidtellect
W
Bing
W
G2Crowd
W
NMPI Display
W
VK
W
Adobe Target
W
Google Analytics (Advertising)
W
Trendkite
W
Hotjar
W
6 Sense
W
Terminus
W
StackAdapt
W
The Trade Desk
W
RollWorks
W

Are you sure you want a less customized experience?

We can access your data only if you select "yes" for the categories on the previous screen. This lets us tailor our marketing so that it's more relevant for you. You can change your settings at any time by visiting our privacy statement

Your experience. Your choice.

We care about your privacy. The data we collect helps us understand how you use our products, what information you might be interested in, and what we can improve to make your engagement with Autodesk more rewarding.

May we collect and use your data to tailor your experience?

Explore the benefits of a customized experience by managing your privacy settings for this site or visit our Privacy Statement to learn more about your options.