Wiki Markup |
---|
{float:left|border=2px solid black} [!sludgepipe with pointslabels.bmp|width=450px!|AutoCAD Chemical Stock Tank Program] NorthEast Isometric View {float} \\ \\ h1. Sludge Pipe Drawing Script *layer6* \- [Layer{~}new~|AutoCAD Basics Layer] creates a new blue3 layer "sludgepipe." layer <\- layer{~}new~("sludgepipe",blue3) {float:left|border=2px solid black} [!sludgepipe1.bmp|width=350px!|AutoCAD Chemical Stock Tank Program] Top View {float} *sludgepipe1* \- Calls the [Sludge Pipe Program|AutoCAD Sludge Pipe Program] to create a sludge pipe. sludgepipe1 <\- Sludgepipe(waste{~}origin~,ND{~}SedSludge~,L{~}Sed~,D{~}SedSludgeOrifice~/2,B{~}SedSludgeOrifices~,EN{~}PipeSpec~) waste{~}origin~ = * x: tank{~}origin0~ \- L{~}Sed~ * y: tank{~}origin1~ + W{~}Sed~/2 * z: tank{~}origin2~ + outerdiameter(ND{~}SedSludge~)/2 ND{~}SedSludge~ \- Sludge pipe diameter in sed tank. L{~}Sed~ \- Length of sed tank. D{~}SedSludgeOrifice~ \- Diameter of orifices in sludge pipe. B{~}SedSludgeOrifices~ \- Orifice spacing in sedimentation tank draining pipe. EN{~}PipeSpec~ \- Enumerated type. \\ \\ {float:left|border=2px solid black} [!rotate20.bmp|width=800px!|AutoCAD Chemical Stock Tank Program] Top View {float} *rotate20* \- [Rotate{~}3d~|AutoCAD Basics Rotate] turns the object based on a given axis and degree angle. rotate20 <\- rotate{~}3d~(p1,waste{~}origin~,"y",90) Note: p1 is a dummy variable used only in the program help section to designate the matrix below. p1 = * x: waste{~}origin0~ + innerD(ND{~}SedSludge~,EN{~}PipeSpec~)/2 * y: waste{~}origin1~ * z: waste{~}origin2~ waste{~}origin~ = * x: tank{~}origin0~ \- L{~}Sed~ * y: tank{~}origin1~ + W{~}Sed~/2 * z: tank{~}origin2~ + outerdiameter(ND{~}SedSludge~)/2 "y" - specifies axis that object will be rotated about. 90 - rotation angle \\ \\ {float:left|border=2px solid black} [!rotate21.bmp|width=800px!|AutoCAD Chemical Stock Tank Program] Top View {float} {float:left|border=2px solid black} [!rotate21 rightview.bmp|width=350px!|AutoCAD Chemical Stock Tank Program] Right View {float} *rotate21* \- [Rotate{~}3d~|AutoCAD Basics Rotate] turns the object based on a given axis and degree angle. rotate21 <\- rotate{~}3d~(p1,waste{~}origin~,"x",90) Note: p1 is a dummy variable used only in the program help section to designate the matrix below. p1 = * x: waste{~}origin0~ * y: waste{~}origin1~ + innerD(ND{~}SedSludge~,EN{~}PipeSpec~)/2 * z: waste{~}origin2~ waste{~}origin~ = * x: tank{~}origin0~ \- L{~}Sed~ * y: tank{~}origin1~ + W{~}Sed~/2 * z: tank{~}origin2~ + outerdiameter(ND{~}SedSludge~)/2 "x" - specifies axis that object will be rotated about. 90 - rotation angle \\ \\ *layerset* \- [Layer{~}set~|AutoCAD Basics Layer] selects the layer "0". layerset <\- layer{~}set~("0") *layerfreeze6* \- [Layer{~}freeze~|AutoCAD Basics Layer] locks the layer "sludgepipe" so that it cannot be edited. layerfreeze6 <\- layer{~}freeze~("sludgepipe") |
Page History
Overview
Content Tools