Professional Documents
Culture Documents
step00_01 www.woojsung.com
STEP00 . IDEA
++ Setting up a framework
++ Surface from lines
++ Defining a component
++ Get a centroid of a triangle surface
step00_01 www.woojsung.com
++ Get vertices out of two triangular surfaces
++ Draw 3 curves out of 3 sets of 4 points
++ Offset 3 curves
step00_02 www.woojsung.com
++ Get vertices from two surfaces
++ Draw 3 curves out of 3 sets of 3 points
++ Draw 3 lines
++ Get points
step00_03 www.woojsung.com
++ Sweep 2 rails to get 6 bottom surfaces
step00_04 www.woojsung.com
++ Duplicate and flip triangular curves to make an
interlocking structure
step00_05 www.woojsung.com
STEP01 . FRAMEWORK (vb scripting)
step01_01 www.woojsung.com
++ Map 1 dimensional linear point list onto 2 dimen-
sional list
•• ptsList = list of list of on3dpoint (2 dimentional
list, U & V)
•• ptsRow = list of on3dpoint (1 dimentional list,
V direction)
step01_02 www.woojsung.com
++ Repeat for output C
step01_03 www.woojsung.com
STEP02 . COMPONENT
++ Get centroids
step02_01 www.woojsung.com
++ Explode surfaces to get edge lengths
++ Convert edge curves into lines to use open nurbs
length method
++ Attach VB script object to get the longest edge
lengths
step02_02 www.woojsung.com
++ Scale the surfaces by 0.2
1st
2nd
3rd
4th
step02_03 www.woojsung.com
++ Connect points to the Crv object
•• Note the point connecting order
04 03
02
01
step02_04 www.woojsung.com
++ Attach offset objects to the curves
step02_05 www.woojsung.com
++ To get side curves, move the base surfaces along
with center lines to the points at L=1, L=0.6, L=0.4
and L=0.2
step02_06 www.woojsung.com
++ Get curves through points
step02_07 www.woojsung.com
++ Explode the upper surfaces and evaluate edges at
L=0.5 to get midpoints
++ Retrieve points
step02_08 www.woojsung.com
++ Get top curves
++ Retrieve edges
++ Top curves are done
step02_09 www.woojsung.com
++ Second, we need center points shown in the
figure, so get it from eval object from the previous
step
step02_10 www.woojsung.com
++ Get vertices out of the base surfaces
step02_11 www.woojsung.com
++ Complete interpolate curves
++ Repeat shattering
step02_12 www.woojsung.com
++ Get t values using CrvCP object
•• CrvCP is basically same with SrfCp, but it works
on curves
++ Repeat shattering
step02_13 www.woojsung.com
++ Get bottom surfaces with sweep 2 rails
•• Note the curve input order
++ Nothing happened
++ Input data structure looks fine
step02_14 www.woojsung.com
++ Flip rail curves
++ Repeat lofting
step02_15 www.woojsung.com
++ Get side surfaces using sweep 2 rails
step02_16 www.woojsung.com
++ Done with the components
step02_17 www.woojsung.com
STEP03 . COMPONENT APPLICATION
step03_01 www.woojsung.com
STEP04 . SYSTEM MODIFICATION
step04_01 www.woojsung.com