General Program Information
Sedimentation tank with channels, top view
Sedimentation tank with channels, right view
Input Definitions
- p1 is a 3,1 matrix with the x,y,z values for the lower left hand corner of the channel. p1 is also the channel origin.
- p2 is a 3,1 matrix with the x,y,z values for the upper right hand corner of the channel.
- p3 is a 3,1 matrix with the x,y,z values for the lower left hand corner of the channel cutout.
- p4 is a 3,1 matrix with the x,y,z values for the lower upper right hand corner of the channel cutout.
- p5 is a 2,1 matrix with the x,y values for a point on the outer edge of the channel viewed from viewtop.
- p6 is a 2,1 matrix with the x,y values for a point on the lower inner lip of the channel viewed from viewtop.
- p7 is a 2,1 matrix with the x,y values for a point on the upper inner lip of the channel viewed from viewtop.
- win1 is a 2,1 matrix with the x,y values for the lower left hand corner of the zoom window.
- win2 is a 2,1 matrix with the x,y values for the upper right hand corner of the zoom window.
- channel dim0 is the channel width.
- channel dim1 is the channel length.
- channel dim2 is the channel depth.
Technical Program Outline
viewtop - sets the workspace so that the user is viewing the top of the object.
zoom win - zooms the workspace to a smaller focus area.
box1 - creates the outer box of the channel.
box2 - creates a second bow that will serve as the channel cutout.
subtract1 - subtracts the inner box from the outer box to create a channel.