Constraint (computer-aided design)
![]() | This article includes a list of references, related reading, or external links, but its sources remain unclear because it lacks inline citations. (August 2018) |
This article needs additional citations for verification. (October 2013) |

Constraint in a computer-aided design (CAD) software is a concept of limitation imposed by a designer or an engineer upon properties (physical dimensions, like relative length, angle/orientation, size, shift, displacement etc.) of an entity of a design model in order to maintain its structure in the process of their manipulation.[1] The plural form constraints refers to demarcations of geometrical characteristics between two or more entities or solid modeling bodies; these delimiters are definitive for properties of (theoretical) physical position and motion, or displacement in parametric design. The exact terminology, however, may vary depending on a CAD program vendor.
It's widely employed in a computer-aided design software for solid modelling, computer-aided architectural design (e.g., building information modeling), computer-aided engineering, assembly modelling, and other CAD subfields.[1] Constraints are usually used for creation of 3D assemblies and multibody systems.[1]
Constraint may be specified for two (or more) entities (e.g., lines) at once. For instance, two lines may be constrained to have equal length or diameter of circles can be set to have the same dimension (e.g., radius or length). Moreover, the constraint may be applied to solid models to be locked or fixed in a specified space. Concept of constraints is applicable for both two- (2D) three-dimensional (3D) sketches (including the ones used to create extrusions and solid bodies).
Ideas of constraints initially emerged in 1960s and were further developed in 1970-80s.
Overview
The purpose of constraints in a design is to control and limit the behavior of the entities and bodies in relation to another entity, plane or body. Effective constraints or mates between two or more bodies may exist at the assembly level of these or between two or more entities in defining a sketch, but adding conflicting, unnecessary or redundant constraints may result in an overdefined sketch and an error message.
Types
There are several constraints that may be applied between the entities or bodies depending on their actual natural geometry (may also be referred to as ’’mates’’): collinearity, perpendicularity, tangency, symmetry, coincidency, and parallelity among other ways of establishing the orientation of the entity.
History
The original idea of "constraints" was introduced by Ivan Sutherland in 1975. It is derived from ideas employed in Sketchpad system made in 1963.[2]: 29 in his work he argued that a usefulness of a technical drawing made by a computer program dwelled on their structured nature. Compared to traditional drawings that obviously lack this feature the virtual ones had advantage in keeping track of and recalculating dimensions of entities (lines, angles, areas etc.). The ideas were summarized into a CAD system that maintained this structure as designer manipulated geometric model.[2]: 29
In 1970s the idea was further extended into a three-dimensional space (a solid 3D modelling constraints). In the 80s a more generalized constraint-based programming language aproach emerged and found some application in CADs software.[3] At least one conceptual prototype was built in 1989.[2]: 29
Example
Ideally, a rod will need to be concentric to a hole drilled through the plate where it will be inserted, so the constraint "concentric" guarantees that the diameter of the rod and the diameter of the hole maintain a common centerline, thus "locking" the manner the rod relates to the hole in the plate; this means that the rod could still slide on either direction since the position of its ends has not been limited. Instance 2 illustrates that the rod may still rotate along its centerline while it slides up or down.
See also
- Constraint (classical mechanics)
- Geometric constraint solving
- Geometric dimensioning and tolerancing
- Parametric modeling
- Preliminary design & detailed design
References
- ^ a b c The Electronic design studio : architectural knowledge and media in the computer era. Malcolm McCullough, William J. Mitchell, Patrick Purcell. Cambridge, Mass.: MIT Press. 1990. ISBN 0-262-13254-0. OCLC 20692928.
{{cite book}}
: CS1 maint: others (link) - ^ a b c J. Mitchell, William (1989). "A New Agenda For Computer-Aided Architectural Design". Massachusetts, US: Harvard University Graduate School of Design.
{{cite web}}
: CS1 maint: url-status (link) - ^ Craig, Iain (January 1989). "Constraint Programming Languages: Their Specification And Generation by Wm Leler Addison-Wesley, Reading MA, 1988, 202 pages (incl. index) (£24.95)". Robotica. 7 (1): 85–85. doi:10.1017/S026357470000521X. ISSN 0263-5747.
Sources
- Introducing AutoCAD 2010 and AutoCAD LT 2010 (pages 117-122), by George Omura. 2009; 1st. Edition. Wiley Publishing, Inc., Indianapolis, Indiana. ISBN 978-0-470-43867-1 Hard Cover; 384 pages.
- Autodesk® Inventor® 2011 Essentials Plus (pages 312-341), by Daniel T. Banach; Travis Jones; Alan J. Kalameja. 2011; Delmar/Cengage Learning, Autodesk Press. Printed in the United States of America. ISBN 978-1-1111-3527-0; ISBN 1-1111-3527-4. New York.