CAD参数化绘图第1章
- 格式:ppt
- 大小:390.00 KB
- 文档页数:11
第1章 AutoCAD 2004简介AutoCAD 2004中文版是AutoDesk 公司发行的AutoCAD 的最新版本。
为了保持软件的兼容性,AutoDesk 公司不仅保留了以前版本的诸多优点,如操作方便、绘图快捷等,同时在易用性和提高工作效率方面增加了许多新的功能和特性。
本章主要介绍了总体概况以及如何管理图形文件、图形显示控制方面的知识。
1.1 总体介绍1.1.1 运行环境从AutoCAD R14开始,AutoDesk 公司对软件每升级一次,对硬件的要求也随之升高。
1. 硬件要求CPU :PIII500(最低),推荐PIII800以上;RAM :128MB (最低),推荐256MB 以上;显卡:1024×768真彩;显示器:1024×768真彩的VGA ;硬盘:300MB 的空余空间,至少64MB 的交换空间。
此外,还应有定点设备(如鼠标器或数字化仪)、光驱(用于安装AutoCAD 2004中文版)、打印机或绘图仪(用于图形的输出)、调制解调器(或其他设备,用于连接互1、 图形文件管理2、图形显示控制方法灵活运用各种图形显示控制方法讲授2学时联网,非必需设备)等。
2. 软件要求AutoCAD 2004中文版运行于NT架构的Windows操作系统,如Windows 2000 系列,Windows NT &SP6,Windows XP系列等。
如果要使用互联网,应具备相应的网络环境。
AutoCAD 2004中文版的安装,要求操作系统使用Microsoft Internet Explorer 6.0的浏览器。
其中Windows XP 是内嵌的,Windows 2000默认的是5.0,可以免费升级到6.0。
提示、注意、技巧:此要求不需要很高的水平,有一定的了解即可。
1.1.2 安装AutoCAD 2004中文版的安装较为简单,按照软件的提示操作即可。
因为有很多这方面的介绍,本书将略过这方面的介绍。
AutoCAD初级绘图指南第一章:AutoCAD软件简介AutoCAD是一种流行的计算机辅助设计(CAD)软件,广泛应用于建筑、工程和制图领域。
它具备强大的绘图和编辑功能,能够帮助用户创建高质量的二维和三维设计图纸。
1.1 AutoCAD的发展历史AutoCAD由美国建筑师John Walker于1982年开发,最初用于简化机械工程设计流程。
随着技术的发展,AutoCAD逐渐扩展到其他领域,并成为全球领先的CAD软件之一。
1.2 AutoCAD的应用领域AutoCAD广泛应用于建筑设计、土木工程、电气工程、室内设计等领域。
它可以用于制作平面图、立体图、流程图、零件图等不同类型的图纸。
第二章:AutoCAD界面和基本操作2.1 AutoCAD界面介绍AutoCAD界面由菜单栏、工具栏、绘图区、命令行和属性编辑器等组成。
熟悉界面布局对于提高工作效率至关重要。
2.2 AutoCAD基本操作在开始使用AutoCAD之前,我们需要掌握一些基本的操作技巧。
这包括选择、移动、复制、删除、缩放和旋转图形等基本操作。
第三章:绘图命令和工具3.1 绘图命令介绍AutoCAD提供了许多绘图命令,用于创建和编辑图形。
我们将介绍常用的绘图命令,包括线段、圆、矩形、多边形和椭圆等。
3.2 图形编辑工具除了绘图命令外,AutoCAD还提供了强大的图形编辑工具,用于修改和调整已有的图形。
这些工具包括偏移、修剪、延伸和镜像等。
第四章:图层管理4.1 图层概念和作用图层是AutoCAD中一种重要的管理工具,用于控制和组织绘图中的不同元素。
通过使用图层,我们可以对图形进行分组、控制显示和管理图形属性等。
4.2 图层操作在AutoCAD中,我们可以创建、重命名、删除和切换图层。
此外,我们还可以调整图层的显示属性、颜色、线型和线宽等。
第五章:尺寸和标注5.1 尺寸和标注的作用尺寸和标注对于图纸的理解和使用至关重要。
通过尺寸和标注,我们可以表达图形的大小、距离和角度等信息。
A Practical Guide to Parametric Drawing in AutoCAD Rick Ellis – Cadapult Software Solutions, Inc.Parametric design tools aren’t just for programs like Inventor software, Revit software, or AutoCAD Civil 3D software; there is also a set of parametric drawing tools that you can use to create dynamic relationships and constraints between objects in AutoCAD software. The parametric drawing tools will revolutionize the way that you draw and edit objects in AutoCAD software. This class will introduce you to parametric drawing in AutoCAD software by using both geometric and dimensional constraints to add intelligence to your objects. You will learn how using Auto Constrain and Inferred Constraints can help you quickly add constraints and change your process from drafting to modeling. If you’ve ever wanted geometry in your drawing to update based on changes that you’ve made to other objects, or if you’ve wanted to type a new value into a dimension and have the object update based on this new value, this class is for you.Learning ObjectivesAt the end of this class, you will be able to:1. Learn how to create geometric relationships between objects by adding constraints2. Learn how to define dimensional constraints3. Learn how to identity and edit constrained objects4. Learn how to use inferred constraints to have AutoCAD automatically define constraints for you Your AU ExpertsRick Ellis is the President of CADapult Software Solutions, Inc., where he provides training and consulting services to clients around the country, helping them get the most out of their design software investment. Rick specializes in AutoCAD® Civil 3D®, AutoCAD® Map 3D, Autodesk® InfraWorks™, AutoCAD® Raster Design, and AutoCAD®. He is a member of the Autodesk Developer Network, and author of several critically acclaimed books on AutoCAD Civil3D, and AutoCAD Map 3D; including the Practical Guide series. Rick continues to use AutoCAD Civil 3D on projects in a production environment, in addition to teaching classes to organizations both large and small around the country. This practical background and approach has made him a sought after instructor by organizations around the world.**************************@theRickEllisOverviewWhat is parametric drawing?The Autodesk Definition: “Feature in AutoCAD that assigns constraints to objects, establishing the distance, location, and orientation of objects with respect to other objects.”If the defini tion above didn’t answer all of your questions about parametric drawing, I’ll expand on that and go into a bit more detail. AutoCAD 2010 introduced Parametric drawing. This is not only a relatively new feature for AutoCAD, it is a new concept that will change the way that you create and edit drawings in AutoCAD. While this is a somewhat new feature for AutoCAD, similar tools for parametric design have been in other products like Inventor, Revit, and Civil 3D for some time and you may be familiar with them. Put simply, the idea of parametric drawing is that objects can be related to each other. For example, if you want two lines to be parallel, they would always be parallel. If you change one line then the other will update to match it. This is just one example. However, if you think about all the possibilities, and all the time that you have spent editing drawings to make sure that all the necessary and related changes have been made for a simple change to the design, these tools have the potential to revolutionize the way that you work.AutoCAD uses two types of Parametric Constraints:▪Geometric Constraints∙The Autodesk Definition: “Rules that define the geometric relationships of objects (or points of objects) elements and control how an object can change shape or size.Geometric constraints are coincident, collinear, concentric, equal, fix, horizontal, parallel,perpendicular, tangent, and vertical.”∙Sticky Object Snaps. They maintain the geometric relationship between objects rather than setting it once at the time you use the object snap and then allowing it to change inthe future.∙Add intelligence to your drawings.∙Allow you to think more about modeling and less about drafting.▪Dimensional Constraints∙The Autodesk Definition: “Parametric dimensions tha t control the size, angle, or position of geometry relative to the drawing or other objects. When dimensions are changed, theobject resizes.”∙You can type the value into a dimension and the object updates. It’s the opposite of associative dimensions. With Dimensional Constraints the dimension value drives thegeometry rather than the geometry driving the dimension.∙Can include equations.∙Can even reference other objects. For example, line 1 is twice the length of line 2.Exercise 1 – Working with Existing Constraints1. Open the drawing Widget Assembly complete.dwg from the folder called Completed Assemblyin the dataset.2. Select the block representing the slider on the shaft (identified by callout number 2).3. Move the block.4. Notice the block can only move along the shaft and the arm rotates as it moves.5. Double click the dimension d1 and change the value to 1.56. Notice that changing the value of the dimension moves the block.7. Select and move one of the callouts.8. Notice the entire row of callouts moves together.9. Try moving other pieces of this assembly to see the different constraints in action.10. Open the drawing Parametric - geometric.dwg from the dataset.11. Move and stretch different pieces of the orthographic projection to see how constraints have beenset up within it.Geometric ConstraintsGeometric Constraints maintain the geometric relationship between objects based on basic geometric properties of the entity or entities you apply them to. AutoCAD supports the following geometric constraint types:▪Coincident▪Co-linear▪Tangent▪Perpendicular▪Parallel▪Horizontal (relative to the current UCS X axis)▪Vertical (relative to the current UCS Y axis)▪Concentric▪Equal▪Symmetric▪Smooth▪FixedThe commands to create and manage Geometric Constraints can be found on the Parametric tab of the ribbon.The table below shows the types of objects that can be used to create geometric constraints and their constraint points.Tips when creating geometric constraints:▪When applying constraints between two entities AutoCAD modifies the second entity selected, leaving the first entity unmodified.▪If you convert an object that has constraints to a ployline the constraints are lost.▪If you explode a polyline that has constraints the constraints are lost.▪If you copy an object with constraints the constraints are copied if all the objects involved in the constraint are copied.Constraint BarsConstraint Bars provide a heads-up interface to help you manage geometric constraints in your drawings. Constraint Bars look and behave a lot like transparent floating tool bars, except that each button on a bar represents a single geometric constraint.When you place your cursor over individual constraints on a constraint bar AutoCAD highlights the button, the entity the constraint applies to, and the corresponding button and entity participating in the constraint.When you right-click on a constraint on the constraint bar there are several commands which you can perform on the constraint, including deleting the constraint, hiding the bar, or managing the constraint bar settings.To delete all constraints on an entity use the Delete Constraints command. Ribbon: Parametric tab >> Manage panel >> Delete Constraints.Exercise 2 – Working with Geometric Constraints1. Open the drawing Parametric - geometric.dwg from the dataset.2. Pan to a blank area of the drawing.3. Draw 4 individual lines similar to the graphic below.4. Add Geometric Constraints to make this a dynamic rectangle.a. Use the Coincident, Parallel, and Perpendicular constraints.5. Zoom extents to find the bracket in the drawing as displayed below.6. Add Geometric Constraints to make the bracket hinge at the corner while keeping both sides ofthe part the same size.7. Zoom extents to find the orthographic projection.8. Copy the orthographic projection.9. Remove all the constraints from the orthographic projection.10. Add geometric constraints to the orthographic projection to make it behave as the original.Auto ConstrainIf applying geometric constraints one at a times seems like a tedious task there is an option to let AutoCAD look for objects that can be constrained and add them for you. Auto Constrain examines entities you select and attempts to automatically constrain the geometry based on its current position.You can control the settings for the Auto Constrain command in the Constraint Settings dialog box. Ribbon: Parametric tab >> Geometric panel >> >> Constraint Settings.Here you can select the type(s) of constraints that you want the Auto Constrain command to apply. You can also set Tolerances for distance and angle. These tolerances will determine if constraints are applied and objects are modified when they are “close” to geometrica lly accurate. When used properly this can help clean up a drawing that was created without using object snaps. However, you want to choose your tolerances carefully as it will allow the Auto Constrain command to modify geometry. If you only want the Auto Constrain command to apply constraints where the geometry is perfect and not modify any geometry, set the tolerances to 0.Inferred ConstraintsInferred constraints automatically apply geometric constraints while creating and editing geometric objects, removing the need for you to add constraints later. The Infer Constraints mode works with your object snaps and is enabled with a toggle on the status bar.Once enabled object snaps that are used when creating or editing objects are also used to infer geometric constraints. Objects are not modified by inferred constraints.Exercise 3 – Working with Auto Constrain and Inferred Constraints1. Open the drawing Parametric – Inferred.dwg from the dataset.2. Pan to a blank area of the drawing.3. Draw a rectangle using the rectangle command.4. Use the Auto Constrain command to add constraints.5. Notice what constraints are added.6. Zoom extents to find the bracket in the drawing as displayed below.7. Use the Auto Constrain command to add constraints.8. Notice what constraints are added.9. Turn on Inferred constraints.10. Draw a rectangle using the rectangle command.11. Notice what constraints are added.Dimensional ConstraintsDimensional Constraints constrain objects by allowing you to enter values or formulas. They work similar to associative dimensions, just in reverse. While associative dimensions update the value of the dimension as the object changes, dimensional constraints update the object when the value of the dimension changes. The dimensions drive the geometry rather than the geometry driving the dimensions. Dimensional constraints come in the following types:▪Aligned▪Horizontal▪Vertical▪Radial▪Diameter▪AngularDimensional constraints can constrain the following properties:▪Distances between objects, or between points on objects▪Angles between objects, or between points on objects▪Sizes of arcs and circlesThere two different kinds of dimensional constraints:▪Dynamic∙Maintain the same size regardless of zoom level∙Can easily be turned on or off globally in the drawing∙Display using a fixed, predefined dimension style∙Position the textual information automatically, and provide triangle grips with which you can change the value of a dimensional constraint∙Do not display when the drawing is plotted▪Annotational∙Change their size when zooming in or out∙Display individually with layers∙Display using the current dimension style∙Provide grip capabilities that are similar to those on dimensions∙Display when the drawing is plottedIf you need to control the dimension style of dynamic constraints, or if you need to plot dimensional constraints, use the Properties palette to change dynamic constraints to annotational constraints.The commands to create and manage Dimensional Constraints can be found on the Parametric tab of the ribbon.Tips when creating dimensional constraints:▪When applying dimensional constraints AutoCAD modifies the constrained geometry to satisfy the new constraint.▪If you convert an object that has constraints to a ployline the constraints are lost.▪If you explode a polyline that has constraints the constraints are lost.▪If you copy an object with dimensional constraints the constraints are copied.▪Dimensional constraints can contain equations.The example above contains a rectangle with two basic dimensional constraints.The example above contains a rectangle with two dimensional constraints where the length (d1) is equal to twice the height (d2).You can manage all the values of your dimensional constraints with the Parameters Manager. Ribbon: Parametric tab >> Manage panel >> Parameters Manager.In the Parameters Manager you can edit expressions and even add user defined variables that you can use in expressions.Exercise 4 – Working with Dimensional Constraints1. Open the drawing Parametric - dimensions.dwg from the dataset.2. Zoom to the rectangle.a. It already has geometric constraints.3. Add Dimensional Constraints for the width and length.4. Edit the width to be 3.5. Edit the length to be twice the width by editing the expression.6. Zoom extents to find the bracket in the drawing as displayed below.a. It already has geometric constraints.7. Add a dimensional constraint to control the angle.8. Draw circles at each end of the part.9. Use a concentric geometric constraint to position them10. Add a dimensional constraint that makes them half the outer radius of the part.Constraints in Dynamic BlocksIntroduced in AutoCAD 2005, Dynamic Blocks extend the capabilities of traditional blocks by providing the ability to define custom grips and properties for your blocks which affect the geometry for the block. You create dynamic blocks by combining Block Actions and Block Action Parameters within the block definition. Now you can extend the power of blocks even further by adding geometric and dimensional constraints to your dynamic blocks.When you add geometric and dimensional constraints to dynamic blocks it is best to add them in the block editor using the commands on the Block Editor tab of the Ribbon.A Block Properties table allows you to define and control values for parameters and properties within a block definition. This will become the list of selectable values in the dynamic block.Exercise 5 – Working Constraints in Dynamic Blocks1. Open the drawing Parametric - blocks.dwg from the dataset.2. Open the block editor.a. Ribbon: Insert tab >> Block panel >> Block Editor.b. Name the new block AUParametric.3. Draw a rectangle using the rectangle command starting the lower left corner of the rectangle at0,0.4. Add Geometric Constraints to make this a dynamic rectangle.5. Add Dimensional Constraints for the width and length.6. Edit the width to be 5.7. Edit the length to be twice the width by editing the expression.8. Add a Block Table.a. Place the block table near the origin of the block.b. Placement of the block table does not need to be exact. It will be the location of a grip onthe block that can be used to select standard sizes.9. Enter 1 for the number of grips.10. Click the Add Properties button11. Select the d1 parameter and Click <<OK>>.12. Enter values for d1 as shown above.13. Click <<OK>> when finished.14. Close the block editor and save the changes.15. Insert the block anywhere in your drawing.16. Select the block and notice the available grips.a. You will be able to stretch it in the vertical direction and the rectangle will keep the 2:1ratio of length to width.b. Select the block table grip and you will see the predefined widths.c. Select one of the values and notice how the block resizes.ConclusionParametric drawing in AutoCAD with geometric and dimensional constraints is a powerful set of tools that may drastically change the way that you create and edit drawings. I hope that this introduction to these exciting features has got you thinking about ways that you can apply it to your own drawings and projects.I encourage you to try it out, start small at first, but I am confident that you fill not only find these tools a powerful time saver but also intuitive and easy to learn.。
AutoCAD 快捷命令速查手册
1384. 利用【参数管理器】将矩形面积改为3000,结果如图10-22
所示。
图10-22 修改矩形面积
10.3 参数化绘图的一般步骤
用L 、C 及O 等命令绘图时,一般要输入准确的数据参数,绘制完成的图形是精确无误的。
若要改变图形的形状及大小,常常要重新绘制。
利用AutoCAD 的参数化功能绘图,创建的图形对象是可变的,其形状及大小由几何及尺寸约束控制。
当修改这些约束后,图形就发生相应变化。
利用参数化功能绘图的步骤与采用一般绘图命令绘图是不同的,主要作图过程如下。
1. 根据图样的大小设定绘图区域大小,并将绘图区充满图形窗
口显示,这样就能了解随后绘制的草图轮廓的大小,而不至于使草图形状失真太大。
2. 将图形分成由外轮廓及多个内轮廓组成,按先外后内的顺序
绘制。
3. 绘制外轮廓的大致形状,创建的图形对象其大小是任意的,
相互间的位置关系如平行、垂直等是近似的。
4. 根据设计要求对图形元素添加几何约束,确定它们之间的几
何关系。
一般先让AutoCAD 自动创建重合、水平、竖直及平行等约束,然后加入其他约束。
为使外轮廓在xy 平面的位置固定,应对其中某点施加固定约束。
CAD怎么使用参数化绘图
CAD怎么使用参数化绘图?cad绘图的时候,想要使用参数化来绘制图形,该怎么实现呢?cad使用参数化绘图的好处是,它可以准确的表达各个尺寸之间,各个元素之间的约束关系,从而在详细设计中,保持这个约束关系,从而达到参数传递。
下面我们就来就举个例子来说明一下。
1、画如图所示的图形,等边三角形,里面3个直径相同的圆,和圆弧对应圆心角是72°,
他们之间都是相切关系。
尺寸如图,求圆的直径。
2、如果不用参数化,用几何画法,那个需要有丰富几何知识,才能画的出来。
现在用参数化约束他们之间关系,约束标注即可解出。
画任意形状三角形。
3、画如图圆弧
4、画任意三个圆
5、画2条辅助线,调出工具栏
6、快速约束重合关系
7、设定一个参考点
8、约束相等关系
9、约束相切关系
10、约束标注长度
11、约束标注角度
12、修改标注尺寸
13、测量小圆直径
14、从上面画图过程可以清楚的描述他们的关系,可以通过修改尺寸值达到不同的小圆直径,这就参数化的过程,输入值后,我们不关心过程,只要最后的结果,这样,直观快速的得出想要的结果。
以上就是cad参数化绘图的教程,希望大家喜欢
推荐阅读:
CAD制图初学入门/
模具CAD /product/mujucad/ CAD填充/
CAD面积命令/
CAD命令大全/。