Archives
 
 
 
  Special
 
 
 
  About Us
 
 
 

Newsletter
Free E-mail Newsletter from BYTE.com

 
    
           
Visit the home page Browse the four-year online archive Download platform-neutral CPU/FPU benchmarks Find information for advertisers, authors, vendors, subscribers Request free information on products written about or advertised in BYTE Submit a press release, or scan recent announcements Talk with BYTE's staff and readers about products and technologies

ArticlesA 3-D Feature Presentation: Anatomy of a Model


January 1995 / Reviews / Bringing 3-D Modeling to PCs / A 3-D Feature Presentation: Anatomy of a Model

Although creating a part in AutoCAD Designer is, for the most part, pretty simple, it is not completely painless. For this review, I created an automotive connecting rod, a process that is depicted in the photo sequence that follows.

First, you create a simple sketch of the part's outline. The sketch doesn't have to be dimensionally accurate or even very neat. You then turn the sketch into a profile with the ADPROFILE command, and Designer automatically applies constraints that clean up your sketch ( photograph 1 ). In the process, Designer makes some assumptions about the intended shape of the sketch. For example, it adjusts lines that almost touch, so that they do touch; it makes lines that are nearly vertical or horizontal, exactly vertical or horizontal; and it makes arcs that are nearly tangential to lines, exactly tangential to those lines. In some cases, the assumptions that Designer makes are incorrect, but you can override them manually.

After you turn a sketch into a profile, you must apply some further constraints and dimensions to achieve the shape you really want. If a profile is underconstrained (i.e., if you do not give a profile all the constraints and dimensions that are required to achieve the desired shape), then there are no guarantees that Designer won't turn the profile into something unrecognizable the next time you change a dimension.

Fully constraining a profile can be a tedious job. One reason is that the dimensions and constraints that are necessary to accomplish the task are not obvious. In the connecting rod example, in addition to adding the required dimensions, I had to constrain the top and bottom arcs so that they had the same X value, and I had to set the dimensions of the lines so that they had the same Y value ( photograph 2 ).

Once you fully constrain the profile, you can turn it into a feature. In the rod example, this is a simple extrusion ( photograph 3 ). At this point, the part is a solid model, although it is not yet complete; the rod still needs journal holes. You add the holes as sketches ( photograph 4 ), turn them into profiles, constrain them to be concentric to the ends of the rod, and then subtract them as extrusions from the base feature ( photograph 5 ).

Profiles must be constrained with respect to the base feature. This is where feature-based modeling departs from simple solid modelers, such as AME (the AutoCAD Modeling Extension). Although it might initially seem like a restriction, this requirement lets you build a part with little regard to what its final dimensions will be. In the case of the rod, its overall length, width, and end diameters can be changed just by updating their dimensions ( photograph 6 ). From a design perspective, this is an advantage, because it lets you design parts before you finalize their dimensions.

After you have established the basic features of a part, you can add fillets and chamfers (i.e., beveled edges). On the rod, I added chamfers in the journal holes and fillets at the base and top of the shank and around the outer edges ( photograph 7 ). To show what the rod looks like, I asked Designer to apply a mesh to its surface and render it, which created the image shown with the article "Bringing 3-D Modeling to PCs."

Because Designer parts are solid models, the program is able to calculate their mass properties. You use the ADMASSPROP command in Designer to display a dialog box listing a part's mass, volume, center of gravity, principal axes, and moments of inertia. An entry field lets you specify the dens ity of the material. All the entries in this dialog box have no default unit of measurement, so they are based on whatever units you used to create the part.

Once you have essentially completed a part, Designer has the capability to create a multiview drawing from it. The drawing can incorporate orthogonal and isometric views, as well as sections.

An important characteristic of Designer is that the part and the drawing are bidirectionally associative. This means that any change you make in one is automatically reflected in the other, making the drawing truly intelligent. After a designer or engineer creates a complex part, anyone who has a minimum of AutoCAD experience will be able to modify its dimensions. For example, the rod design could be modified to be any length, with any journal diameter, thickness, and beam width.

From the creation of one part, you can grow a whole family of parts. That, at least, is the theory behind Designer.


1. Clean up your sket ch

photo_link (1 Kbytes)


2. Rod example

photo_link (2 Kbytes)


3. Simple extrusion

photo_link (3 Kbytes)


4. Turn sketches into profiles

photo_link (3 Kbytes)


5. Extrusions from the base feature

photo_link (3 Kbytes)


6. Update their dimensions

photo_link (4 Kbytes)


7. Add chamfers in the journal holes and fillets

photo_link (10 Kbytes)


Up to the Reviews section contentsGo to previous article: Bringing 3-D Modeling to PCsGo to next article: Is AutoCAD Designer a Baby Pro/Engineer?SearchSend a comment on this articleSubscribe to BYTE or BYTE on CD-ROM  
Flexible C++
Matthew Wilson
My approach to software engineering is far more pragmatic than it is theoretical--and no language better exemplifies this than C++.

more...

BYTE Digest

BYTE Digest editors every month analyze and evaluate the best articles from Information Week, EE Times, Dr. Dobb's Journal, Network Computing, Sys Admin, and dozens of other CMP publications—bringing you critical news and information about wireless communication, computer security, software development, embedded systems, and more!

Find out more

BYTE.com Store

BYTE CD-ROM
NOW, on one CD-ROM, you can instantly access more than 8 years of BYTE.
 
The Best of BYTE Volume 1: Programming Languages
The Best of BYTE
Volume 1: Programming Languages
In this issue of Best of BYTE, we bring together some of the leading programming language designers and implementors...

Copyright © 2005 CMP Media LLC, Privacy Policy, Your California Privacy rights, Terms of Service
Site comments: webmaster@byte.com
SDMG Web Sites: BYTE.com, C/C++ Users Journal, Dr. Dobb's Journal, MSDN Magazine, New Architect, SD Expo, SD Magazine, Sys Admin, The Perl Journal, UnixReview.com, Windows Developer Network