You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 23 Next »

General Program Information

Technical Program Outline

NOTE All dimensions, axis and angles are defined from a top view

layer1 - Creates a 'grit-pipe' layer for all of the pipes in the program

Pipe1 - Creates a pipe with an origin at the variable "origin". See Pipe Help for details on the pipe function.

pipe1 length = gritdisp1

Rotate1 - the rotate3d function is used to rotate the pipe about the y axis, with the origin as the pivot, -90 degrees. Information about the rotate3d function can be found in the basics help page
AutoCAD Grit Chamber Program

Pipe2

pipe2 origin =

  • x:origin 0 - pipe1 length - ElbowRadius
  • y:origin 1
  • z:origin 2 + ElbowRadius

pipe2 length = Δz grit - 3ElbowRadius - SocketDepth (See frontview picture in general section if not clear)

Notes: ElbowRadius is the radius of curvature of an elbow. In the script it is given as a function of the inner pipe radius. This function is defined in the Pipe Database program
SocketDepth is the connection depth for pieces such as elbows and tees which connect with pipes. In the script it is given as a function of the inner pipe radius. This function is defined in the Pipe Database program
AutoCAD Grit Chamber Program

Pipe3

pipe3 origin =

  • x:origin 0 - pipe1 length - 2ElbowRadius
  • y:origin 1
  • z:origin 2 + pipe2 length + 2ElbowRadius

pipe3 length = (See topview picture in general section if not clear)
( (Δx grit + 2grit thick + ShortTeeLength + SocketDepth - ElbowRadius - pipe1 length) 2 + (Δy grit + grit thick + (grit dim1/2) ) 2) 0.5 - 2ElbowRadius

Note: ShortTeeLength is the length of the shorter piece of a tee; it is the distance from the center of the longer piece of the tee to just before the connection piece. To clarify this see the tee help page.In the script it is given as a function of the inner pipe radius. This function is defined in the Pipe Database program
AutoCAD Grit Chamber Program

Rotate2 - the rotate3d function is used to rotate pipe3 about the y axis, with its own origin as the pivot point, -90 degrees.
AutoCAD Grit Chamber Program

layer2 creates a new layer "grit-elbow" for all the elbows in the program
layer3 freezes the "grit-pipe" layer. When a layer is frozen, you can neither see nor alter the objects set under that layer. You only want to work with one layer at a time to avoid interference with other objects. Some elbows and pipes for example over overlap at times and this sidesteps that problem.

elbow1 See Elbow Help for details on the elbow function.

elbow1 origin =

  • x: origin 0 - pipe1 length - ElbowRadius
  • y: origin 1
  • z: origin 2
    AutoCAD Grit Chamber Program
    Note: The pipes are currently frozen, but are shown in the image to illustrate location

Rotate3 the rotate3d function is used to rotate elbow1 90 degrees about the z axis, with the above labeled rotation point as the pivot point.

rotation point = (not an actual variable in the script)

Rotate4 the rotate3d function is used to rotate elbow1 -90 degrees about the x axis. The rotation point is the same as the one used in Rotate3
AutoCAD Grit Chamber Program AutoCAD Grit Chamber Program

elbow2

elbow2 origin =

Rotate5 the rotate3d function is used to rotate elbow1 90 degrees about the x axis, with the above labeled rotation point as the pivot point.

rotation point = (not an actual variable in the script)

layer4 the "grit-pipe" layer is thawed

Rotate6

elbow3

elbow3 ~ origin~ = (pipe5 has not been created yet but see frontview picture in general section for clarification)

Rotate7 the rotate3d function is used to rotate elbow1 \90 degrees about the z axis, with the above labeled rotation point as the pivot point. The resulting image is seen below on the left.
AutoCAD Grit Chamber Program AutoCAD Grit Chamber Program

Rotate8 the rotate3d function is used to rotate elbow1 -90 degrees about the x axis. The rotation point is the same as the one used in Rotate7. The resulting image is seen above on the right.

Rotate9

  • No labels