|
In
this tutorial you will learn how to create assemblies using simple
lego bricks. To create assemblies you add components and put the
components together through a series of constraints. The constraints
you can apply are as follows:
- Align: This will forces two surface to lie in the same
plane
- Mate: This will force two surfaces to face each other
- Offset: Apply a mate or align but supply some distance to separate
them by
- Center
Axis:
Takes two cylindrical objects and forces their axis to be
centers
- Orient: Makes one surface point in the same direction as another
surface
Start
a new design file and set the units to inches
- Tools>Options>Units>Select Inches for the
design
We
will start by adding the first 2x4 block to the assembly
- Assembly>Add Component>Select the
2x4_block.des from the legos folder. All components are found here.
This
block will be the base for the entire assembly. So that the assembly
can be fully constrained and not free float the base part should be
fixed in its present location
Use
the select component and select the 2x4block (should be
highlight red)
| Change you object browser (upper left corner) to
Components (this will allow you to see all the components in
an assembly) Click the plus (+) sign next to the 2x4_block to
see what constraints have been placed on it. It should now be
fixed (represented by the clamp) |
|
Now
that the base block is fixed lets add in the top flat
plate
Assembly>Add Component>Select the
2x8_flat.des
By using the component select you can
click (hold) and drag a component anywhere on the screen. Move
the flat plate somewhere near the 2x4 block. |
|
|
Start by
aligning the front of the 2x4 block with the front of the 2x8
flat.
Using the
select surface tool select the
front of the 2x4 block. To select multiple surfaces you must
hold the shift key so hold the shift key then select the front
of the 2x8 flat. Pro/D now knows the you want to do something
with 2 surfaces. Right click to get the selection menu and
choose Align.
Align
surfaces means that they will be in the same plane or "be even
with each other" |
|
The aligned surface
should now be even with each other. Use the component select
tool and select the 2x8 flat. Try to move the flat plate.
Notice how the range of motion is restricted by the align
constraint. |
|
| Note the addition
of the align constraint in the object browser |
|
Rotate the assembly
so that you can see the underside of the blocks. Select
the outer lip underside of the 2x8 flat. Then rotate the
assembly and SHIFT select the top of the 2x4 block. Right
click and choose mate. The bottom of the 2x8 flat is now mated
with the top of the 2x4 block. |

|
|
You have
now applied two constraints to the components. Note that it
generally takes 3 constraints to fully constrain a component
so that it cannot move. Select the 2x8
flat and notice that you can still move it. The 2x8 flat moves
in the only direction that has not been constrained
|
|
|
The final
constraint will be an offset align. Select the side of
the 2x4 block and SHIFT select the side of the 2x8 flat. Then
right click and choose offset. Enter -0.3125 in the
offset box. Select the align button
Each lego
prong is .3125 inches. This means that the 2x4 block is .625
inches by 1.25 inches. By offsetting the align command the 2x8
flat is moved one lego prong row in. Positive/Negative numbers
only decides the direction of the offset. |
 |
| Try playing with
the offset value. Double click the last align under the 2x8
flat in the object browser. Change the offset to .625. Try
both positive and negative to see what it does. When you are
finished put the align offset back to .3125 |
 |
| Your assembly should now look like the assembly
below: |
|
|
|
Now add in the 1x2 block_axle_holes.des
component
Assembly>Add Component>Select the 1x2
block_axle_holes.des component
- Align the rear of the 1x2 with the rear of the
2x8 flat
- Align the side of the
1x2 with the side of the 2x8 flat
- Mate the bottom of
the 1x2 with the top of the 2x8 flat
|
|
|
Now to add
the axle we will use a center axis command
Assembly>Add Component>axle.des
Select the
axle outer surface and SHIFT select the hole inner surface.
Right click and choose center axis
To finish
the object, offset, align the end of the axle and the
side of the 1x2 by -1 inch |

|
- To add the
final piece add the 1x4 block_axle_holes.des component.
- Center the
axis of the axle on the center hole of the 1x4 block_axle_holes
- Align the end
of the axle to the side of the 1x4 block_axle_holes
|
To the 1x4
block_axle_hole you need to orient in to the rear of the
assmebly
- Select
the rear of the 1x2 block_axle_hole
- Shift
Select the rear of the 1x4 block_axle_hole
- Right
Click>ORIENT>45 degrees
|
 |
When you save an assembly file
it will also have the .des extension. To avoid confusion always
include the letter asm in the file name so that you know it is an
assembly. (ie: schweitzer_lego_asm.des)
|