Try 2D Constraints in your DWG files for free – Get a free trial of ARES Commander on https://www.graebert.com.
Powered by Dassault Systèmes’ CDS solver, ARES Commander 2015 allows you to define geometric or dimensional constraints to add intelligence to your drawings and keep the design intent while modifying your drawings.
Fixing constraints in DWG.
1
00:00:09,60 –> 00:00:12,400
ARES Commander 2015 is getting even smarter
2
00:00:12,580 –> 00:00:19,20
thanks to the tools that allow us to assign parameters to “parts” of the drawing or the drawing in general.
3
00:00:19,340 –> 00:00:23,740
In this example, we have a mechanical part containing various constraints,
4
00:00:23,900 –> 00:00:27,419
which are assigned to different elements of a drawing
5
00:00:28,320 –> 00:00:30,360
By changing this value
6
00:00:30,780 –> 00:00:33,560
or this value, you change the drawing.
7
00:00:34,300 –> 00:00:39,800
The CONSTRAINT we have here allows us to determine the position or shape of an object.
8
00:00:40,540 –> 00:00:43,40
And even how objects relate to one another –
9
00:00:43,240 –> 00:00:48,800
because Ares Commander 2015 is the smartest version that exists so far.
10
00:00:49,380 –> 00:00:51,40
Look at this example.
11
00:00:51,440 –> 00:00:53,360
When you edit this value
12
00:00:57,230 –> 00:01:00,410
and press ENTER the whole drawing changes.
13
00:01:02,20 –> 00:01:04,20
Now we can change this one.
Mechanical is composed of many constraints
14
00:01:10,880 –> 00:01:16,979
In this other example, we can see how a mechanical part can be composed of many constraints.
15
00:01:17,230 –> 00:01:22,210
Among the available tools, we have the option to hide all constraint icons.
16
00:01:22,340 –> 00:01:25,380
In this case, the mechanical part has been
“cleaned”.
17
00:01:26,100 –> 00:01:28,759
But the constraints are still there.
18
00:01:29,520 –> 00:01:33,640
When selecting an item, you see the constraint assigned to it.
19
00:01:35,560 –> 00:01:38,880
Selecting all, we see all constraints again.
20
00:01:41,140 –> 00:01:45,740
If we go here, we see the value of the radius is 60 units.
21
00:01:47,000 –> 00:01:49,000
Let’s change it.
22
00:01:50,940 –> 00:01:53,740
We edit its size by dragging this grip.
23
00:02:00,160 –> 00:02:03,140
We can see that the entire appearance has changed,
24
00:02:03,360 –> 00:02:06,820
since all its components are related to this parameter –
25
00:02:07,20 –> 00:02:09,500
which is the modified diameter value.
26
00:02:09,780 –> 00:02:14,380
By changing the radius, we have changed the position of the circle.
27
00:02:14,760 –> 00:02:18,200
This also affects the position of the teeth.
28
00:02:19,000 –> 00:02:22,960
Now, let’s see a different example of how to work with constraints.
29
00:02:23,580 –> 00:02:26,560
For example, we can draw a circle
30
00:02:29,180 –> 00:02:32,840
and assign a constraint to the diameter.
31
00:02:40,300 –> 00:02:43,560
We for example assign the value “5”.
32
00:02:46,300 –> 00:02:48,780
When we try to modify this circle,
33
00:02:49,380 –> 00:02:56,560
it is not possible because we assigned a specific constraint to the diameter, which determines its shape.
34
00:02:57,460 –> 00:02:59,860
Note that the value appears locked.
35
00:03:00,220 –> 00:03:01,300
To change it,
36
00:03:01,700 –> 00:03:03,299
we have to select the constraint
37
00:03:03,460 –> 00:03:08,460
that conditions the diameter and the grips belonging to this constraint.
38
00:03:10,580 –> 00:03:14,220
Like this, yes, we can modify the diameter.
Using parameters tool
39
00:03:17,120 –> 00:03:22,320
Here we have the parameters tool, with which we can control the constraint.
40
00:03:23,480 –> 00:03:26,760
For example, we can type a new value.
41
00:03:27,940 –> 00:03:31,420
In another example, we have a circle and 2 lines.
42
00:03:32,220 –> 00:03:35,900
Now, thanks to the constraint, we can do two things:
43
00:03:36,740 –> 00:03:42,160
We first can assign a constraint to the diameter or radius of the circle.
44
00:03:52,460 –> 00:03:55,760
Then we can assign a tangent constraint to the lines.
45
00:03:57,140 –> 00:04:02,279
To do this, first select the item that should remain “fixed” in place.
46
00:04:02,760 –> 00:04:06,000
First select the circle and then the line.
47
00:04:06,400 –> 00:04:08,900
Notice that the constraint icon appears.
48
00:04:09,360 –> 00:04:12,30
Repeat the process with the lines.
49
00:04:13,720 –> 00:04:20,220
By selecting parameters, we can change the radius of the circle. For example, 3.5.
50
00:04:24,600 –> 00:04:27,660
In another example, we have a polyline.
51
00:04:28,80 –> 00:04:31,300
Here we can assign constraints to the angles.
52
00:04:32,80 –> 00:04:34,460
Let’s select the first 2 sections.
53
00:04:36,140 –> 00:04:38,960
We see it has an angle of 38 degrees.
54
00:04:39,180 –> 00:04:40,880
We change it to a new value,
55
00:04:41,20 –> 00:04:43,20
for example “40”.
56
00:04:44,580 –> 00:04:49,820
Now we can define other constraints between these 2 sections and assign a new value.
57
00:04:50,380 –> 00:04:52,240
For example, “60”.
58
00:04:54,440 –> 00:04:57,40
Next, when we move the grips of the polyline.
59
00:04:57,620 –> 00:05:03,580
We see that the image changes always with respect the constraints specified in the angles.
60
00:05:08,460 –> 00:05:11,239
In this new example, we have 2 rectangles.
Adding contraints
61
00:05:11,740 –> 00:05:16,300
We can add a distance constraint to the separation between them.
62
00:05:21,400 –> 00:05:24,280
Selected the constraint, then the elements.
63
00:05:25,820 –> 00:05:28,580
We can vary the distance value.
64
00:05:30,660 –> 00:05:36,280
When doing so, the locked icon appears, and we see the distance constraint to the separation.
65
00:05:38,120 –> 00:05:42,940
When you move one of the rectangles,
66
00:05:45,480 –> 00:05:50,280
the side of the other rectangle will also move to maintain the distance condition,
67
00:05:52,960 –> 00:05:55,219
although the rectangle deforms.
68
00:05:55,920 –> 00:05:58,720
If we want the whole rectangle to move at once,
69
00:05:58,740 –> 00:06:02,460
we have to assign a constraint between the sides of the rectangle
70
00:06:03,280 –> 00:06:05,20
For example,
71
00:06:06,200 –> 00:06:10,360
we generate a constraint to the right angle between two sides.
72
00:06:10,800 –> 00:06:12,380
Now try it.
73
00:06:13,160 –> 00:06:18,520
Move the rectangle and see that the other one follows without any deformation.
Another Example
74
00:06:19,120 –> 00:06:20,500
A new example.
75
00:06:20,960 –> 00:06:24,900
We can create circles that remain concentric to each other.
76
00:06:25,660 –> 00:06:28,520
We therefore use this geometric constraint.
77
00:06:30,500 –> 00:06:35,460
When we select the circles, they stay concentric which is maintained by the constraint.
78
00:06:40,420 –> 00:06:45,640
If we need to move the smallest circle, they all move with it,
79
00:06:47,900 –> 00:06:49,979
because they stay concentric.
80
00:06:50,880 –> 00:06:54,560
Now we can ask these lines to stay parallel to each other.
81
00:06:55,40 –> 00:06:59,840
After selecting the constraint, select the first line that will be the guide,
82
00:07:01,200 –> 00:07:06,240
In this example, we use the equality constraint that appears here.
83
00:07:08,240 –> 00:07:10,660
In this case we have 2 lines.
84
00:07:11,160 –> 00:07:13,160
Select the first,
85
00:07:14,80 –> 00:07:18,560
select the second, and it will be the same length as the first one.
86
00:07:19,560 –> 00:07:20,720
But not only that
Finding distance constraint for a dimension
87
00:07:20,980 –> 00:07:24,200
As there is an equalitiy constraint between them,
88
00:07:25,40 –> 00:07:27,520
when we select one of these lines
89
00:07:28,220 –> 00:07:29,960
and extend it,
90
00:07:31,280 –> 00:07:34,39
it directly affects the other one.
91
00:07:34,780 –> 00:07:38,659
In the case of these arcs, we create anequal radius.
92
00:07:39,140 –> 00:07:43,39
To do this, select one arc and then the other.
93
00:07:44,200 –> 00:07:46,280
The radius is equal.
94
00:07:47,400 –> 00:07:49,919
Now we can drag a grip of one arc.
95
00:07:50,640 –> 00:07:52,640
Change the radius
96
00:07:52,740 –> 00:07:57,300
and it will automatically affect the other arc.
97
00:07:58,140 –> 00:08:02,479
Finally, we can also create a dimensional constraint with this icon.
98
00:08:06,200 –> 00:08:09,380
Like this we get a distance constraint for a dimension.
99
00:08:09,960 –> 00:08:14,359
To learn more about CONSTRAINT see the HELP
by pressing F1.
100
00:08:15,100 –> 00:08:16,360
Thanks for listening.
101
00:08:16,520 –> 00:08:20,599
And don’t miss our FREE trial of ARES Commander 2015
102
00:08:20,800 –> 00:08:21,880
on our website
103
00:08:21,880 –> 00:08:25,20
www.graebert.com
To learn more about ARES Commander, visit our Youtube Channel: GraebertTV