Beruflich Dokumente
Kultur Dokumente
6
Lecture 1
Basic Procedure
1. Set
1
S t the
th plane
l
2. Draw the profiles using sketch
entities
titi
3. Create the base model
(Step 1 and 2: has learnt from previous
slide)
Lecture 6
Extruded: Refresher
Lecture 6
d1 in meters
ddir1:
TRUE: inward
FALSE: outward
d2 in meters
ddir2:
TRUE: inward
FALSE: outward
False,
False,
False
False,
False
0
OffsetReverse2
translateSurface2
useFeatScope:
t0
flipStartOffset:
False,
False,
False
False,
0
False
Axis of revolution
Lecture 6
5
10
Lecture 6
Angle1: in radian
swRevolveTypeTwoDirection
Etc (refer to online help)
reverseDir:
True: reverse the
direction
False: not
Other parameters
Angle2: in radian
Lecture 6
Options:
Merge:
False
useFeatScope:
False
useAutoSel:
False
9
revolve.swp
Lecture 6
10
Thin Feature
FeatureRevolveThin
(additional parameters:
thickness 1 and thickness 2)
FeatureExtrusion2
(additional parameters:
thickness
hi k
1 and
d thickness
hi k
2)
Lecture 6
11
3.
Lecture 6
12
Lecture 6
13
14
15
Shell
Part.SketchRectangle
g -0.04,, -0.04,, 0,, 0.04,, 0.04,, 0,, 1
Part.FeatureManager.FeatureExtrusion2 True, False, False, 0, 0, 0.04, 0,
False, False, False, False, 0, 0, False, False, False, False, False, False,
False, 0, 0, False
boolstatus = Part.Extension.SelectByID2("", "FACE", 0, 0.04, 0, False, 0,
Nothing 0)
Nothing,
Part.InsertFeatureShell 0.005, False
Lecture 6
16
Assignment 2
W
Write
it th
the subroutine
b
ti
that
th t will
ill draw
d
the linkages for the projects. The
subroutine will need the length,
length angle
of orientation and insertion points.
Lecture 6
17
Major Project
Y
Your ttask
k is
i to
t write
it a program to
t
builtSet the point , determine
whether the body can reachable and
angle required.
Lecture 6
18