Wiki Markup |
---|
h1. Inlet Pipe Drawing Script - layout 1 *viewtops* \- Adjust workspace so that the object is being viewed from the top. viewtops <\- viewtop1 *layerthawc* \- [Layer{~}thaw~|AutoCAD Basics Layer] unlocks the layer "channel" so that it can be edited. layerthawc <\- layer{~}thaw~("channel") *layersetc* \- [Layer{~}set~|AutoCAD Basics Layer] selects the layer "channel". layersetc <\- layer{~}set~("channel") {float:left|border=2px solid black} [!cylinder1.bmp|width=500px!|AutoCAD Channel Program] Northeast Isometric View {float} *cylinder1* \- [CylinderA|AutoCAD Basics Cylinders] creates a cylinder based on three dimensions. cylinder1 <\- cylinderA(sedtankpipe1{~}origin~,outerradius(ND{~}SedPipeEntrance~),-T{~}ChannelWall~) \\ \\ {float:left|border=2px solid black} [!cylinder2.bmp|width=500px!|AutoCAD Channel Program] Northeast Isometric View {float} *cylinder2* \- [CylinderA|AutoCAD Basics Cylinders] creates a cylinder based on three dimensions. cylinder2 <\- cylinderA(sedtankpipe2{~}origin~,sedtankpipe1{~}origin~ = * x: tank{~}origin0~ \- L{~}Sed~ + W{~}Channel~/2 * y: tank{~}origin1~ + W{~}Sed~/2 + outerradius(ND{~}SedLaunder~) + 3*(W{~}Sed~/2 - outerradius(ND{~}SedPipeEntrance~),-T{~}ChannelWall~) \\SedLaunder~))/4 * z: tank{~}origin2~ + H{~}Sed~ \- H{~}Channel~ \\ \\ {float:left|border=2px solid black} [!cylinder3cylinder2.bmp|width=500px!|AutoCAD Channel Program] Northeast Isometric View {float} *cylinder3cylinder2* \- [CylinderCCylinderA|AutoCAD Basics Cylinders] creates a cylinder based on three dimensions. cylinder3cylinder2 <\- cylinderCcylinderA(sedtankpipe3sedtankpipe2{~}origin~,outerradius(ND{~}SedPipeEntrance~),-T{~}ChannelWall~) \\ \\ {float:left|border=2px solid black} [!cylinder4.bmp|width=500px!|AutoCAD Channel Program] Northeast Isometric View {float} *cylinder4* \- [CylinderA|AutoCAD Basics Cylinders] creates a cylinder based on three dimensions. cylinder4 <\- cylinderA(sedtankpipe4{~}origin~,sedtankpipe2{~}origin~ = * x: tank{~}origin0~ \- L{~}Sed~ + W{~}Channel~/2 * y: tank{~}origin1~ + W{~}Sed~/2 + outerradius(ND{~}SedPipeEntrance~),-T{~}ChannelWall~) \\ \\ *subtract1* \- [SubtractH|AutoCAD Basics Subtractions] subtracts a selected object based on three specified points. subtract1 <\- subtractH(channel{~}origin~,p1,p2) p1 = * x: sedtankpipe1{~}origin0~ + outerradius(ND{~}SedPipeEntrance~) * y: sedtankpipe1{~}origin1~ + outerradius(ND{~}SedPipeEntrance~) * z: sedtankpipe1{~}origin2~ p2 = * x: sedtankpipe4{~}origin0~ \- SedLaunder~) + 1*(W{~}Sed~/2 - outerradius(ND{~}SedLaunder~))/4 * z: tank{~}origin2~ + H{~}Sed~ \- H{~}Channel~ \\ \\ {float:left|border=2px solid black} [!cylinder3.bmp|width=500px!|AutoCAD Channel Program] Northeast Isometric View {float} *cylinder3* \- [CylinderC|AutoCAD Basics Cylinders] creates a cylinder based on three dimensions. cylinder3 <\- cylinderC(sedtankpipe3{~}origin~,outerradius(ND{~}SedPipeEntrance~),-T{~}ChannelWall~) sedtankpipe3{~}origin~ = * yx: sedtankpipe4tank{~}origin1~origin0~ \- outerradius(NDL{~}SedPipeEntrance~)Sed~ + W{~}Channel~/2 * zy: sedtankpipe4tank{~}origin2~ *holes2* \- holes2 <\- concat(cylinder1,cylinder2,cylinder3) *holes3* \- holes3 <\- concat(cylinder4,subtract1) *layerset* \- [Layer{~}set~|AutoCAD Basics Layer] selects the layer "0". layerset <\- layer{~}set~("0") *layerfreeze* \- [Layer{~}freeze~|AutoCAD Basics Layer] locks the layer "channel" so that it cannot be edited. layerfreeze <\- layer{~}freeze~("channel") *layer3* \- [Layer{~}new~|AutoCAD Basics Layer] creates a new blue layer "pipe". layer3 <\- layer{~}new~("pipe",blue) *pipe1* \- Calls the [Pipe Program|AutoCAD Pipe Program] to create a pipe. pipe1 <\- Pipe(sedtankpipe1{~}origin~,ND{~}SedPipeEntrance~,-sedtankpipe1{~}length~,EN{~}PipeSpec~) *pipe2* \- Calls the [Pipe Program|AutoCAD Pipe Program] to create a pipe. pipe2 <\- Pipe(sedtankpipe2{~}origin~,ND{~}SedPipeEntrance~,-sedtankpipe1{~}length~,EN{~}PipeSpec~) *pipe3* \- Calls the [Pipe Program|AutoCAD Pipe Program] to create a pipe. pipe3 <\- Pipe(sedtankpipe3{~}origin~,ND{~}SedPipeEntrance~,-sedtankpipe1{~}length~,EN{~}PipeSpec~) *pipe4* \- Calls the [Pipe Program|AutoCAD Pipe Program] to create a pipe. pipe4 <\- Pipe(sedtankpipe4{~}origin~,ND{~}SedPipeEntrance~,-sedtankpipe1{~}length~,EN{~}PipeSpec~) *pipe5* \- Calls the [Pipe Program|AutoCAD Pipe Program] to create a pipe. pipe5 <\- Pipe(sedtankpipe5{~}origin~,ND{~}SedPipeEntrance~,-sedtankpipe5{~}length~,EN{~}PipeSpec~) *rotatepipe5* \- [Rotate{~}3d~|AutoCAD Basics Rotate] turns the object based on a given axis and degree angle. rotatepipe5 <\- rotate{~}3d~(p1,sedtankpipe5{~}origin~,"y",90) p1 = * x: sedtankpipe5{~}origin0~ + innerD(ND{~}SedPipeEntrance~,EN{~}PipeSpec~)/2 * y: sedtankpipe5{~}origin1~ * z: sedtankpipe5{~}origin2~ "y" - specifies axis that object will be rotated about. rotate2a - [Rotate{~}3d~|AutoCAD Basics Rotate] turns the object based on a given axis and degree angle. *rotate2a* \- rotate{~}3d~(p1,sedtankpipe1{~}origin~,"z",sedtankpipe5{~}angle~) p1 = * x: sedtankpipe5{~}origin0~ * y: sedtankpipe5{~}origin1~ + innerD(ND{~}SedPipeEntrance~,EN{~}PipeSpec~)/2 * z: sedtankpipe5{~}origin2~ + innerD(ND{~}SedPipeEntrance~,EN{~}PipeSpec~)/2 "z" - specifies axis that object will be rotated about. *pipe6* \- Calls the [Pipe Program|AutoCAD Pipe Program] to create a pipe. pipe6 <\- Pipe(sedtankpipe6{~}origin~,ND{~}SedPipeEntrance~,sedtankpipe6{~}length~,EN{~}PipeSpec~) *rotate3* \- [Rotate{~}3d~|AutoCAD Basics Rotate] turns the object based on a given axis and degree angle. rotate3 <\- rotate{~}3d~(p1,sedtankpipe6{~}origin~,"y",90) p1 = * x: sedtankpipe{~}origin0~ + innerD(ND{~}SedPipeEntrance~,EN{~}PipeSpec~)/2 * y: sedtankpipe5{~}origin1~ * z: sedtankpipe5{~}origin0~origin1~ + W{~}Sed~/2 - outerradius(ND{~}SedLaunder~) - 1*(W{~}Sed~/2 - outerradius(ND{~}SedLaunder~))/4 * z: tank{~}origin2~ + H{~}Sed~ \- H{~}Channel~ \\ \\ {float:left|border=2px solid black} [!cylinder4.bmp|width=500px!|AutoCAD Channel Program] Northeast Isometric View {float} *cylinder4* \- [CylinderA|AutoCAD Basics Cylinders] creates a cylinder based on three dimensions. cylinder4 <\- cylinderA(sedtankpipe4{~}origin~,outerradius(ND{~}SedPipeEntrance~),-T{~}ChannelWall~) sedtankpipe4{~}origin~ = * x: tank{~}origin0~ \- L{~}Sed~ + W{~}Channel~/2 * y: tank{~}origin1~ + W{~}Sed~/2 - outerradius(ND{~}SedLaunder~) - 3*(W{~}Sed~/2 - outerradius(ND{~}SedLaunder~))/4 * z: tank{~}origin2~ + H{~}Sed~ \- H{~}Channel~ \\ \\ *subtract1* \- [SubtractH|AutoCAD Basics Subtractions] subtracts a selected object based on three specified points. subtract1 <\- subtractH(channel{~}origin~,p1,p2) channel{~}origin~ = * if layout 1-3: ** x: tank{~}origin0~ \- L{~}Sed~ + W{~}Channel~ ** y: tank{~}origin1~ \- T{~}PlantWall~ ** z: tank{~}origin2~ + H{~}Sed~ \- H{~}Channel~ * if layout4: ** x: tank{~}origin0~ \- L{~}Sed~ \-T{~}ChannelWall~ ** y: tank{~}origin1~ \- T{~}PlantWall~ ** z: tank{~}origin2~ + H{~}Sed~ \- H{~}Channel~ p1 = * x: sedtankpipe1{~}origin0~ + outerradius(ND{~}SedPipeEntrance~) * y: sedtankpipe1{~}origin1~ + outerradius(ND{~}SedPipeEntrance~) * z: sedtankpipe1{~}origin2~ p2 = * x: sedtankpipe4{~}origin0~ \- outerradius(ND{~}SedPipeEntrance~) * y: sedtankpipe4{~}origin1~ \- outerradius(ND{~}SedPipeEntrance~) * z: sedtankpipe4{~}origin2~ *holes2* \- holes2 <\- concat(cylinder1,cylinder2,cylinder3) *holes3* \- holes3 <\- concat(cylinder4,subtract1) *layerset* \- [Layer{~}set~|AutoCAD Basics Layer] selects the layer "0". layerset <\- layer{~}set~("0") *layerfreeze* \- [Layer{~}freeze~|AutoCAD Basics Layer] locks the layer "channel" so that it cannot be edited. layerfreeze <\- layer{~}freeze~("channel") *layer3* \- [Layer{~}new~|AutoCAD Basics Layer] creates a new blue layer "pipe". layer3 <\- layer{~}new~("pipe",blue) *pipe1* \- Calls the [Pipe Program|AutoCAD Pipe Program] to create a pipe. pipe1 <\- Pipe(sedtankpipe1{~}origin~,ND{~}SedPipeEntrance~,-sedtankpipe1{~}length~,EN{~}PipeSpec~) sedtankpipe1{~}origin~ = * x: tank{~}origin0~ \- L{~}Sed~ + W{~}Channel~/2 * y: tank{~}origin1~ + W{~}Sed~/2 + outerradius(ND{~}SedLaunder~) + 3*(W{~}Sed~/2 - outerradius(ND{~}SedLaunder~))/4 * z: tank{~}origin2~ + H{~}Sed~ \- H{~}Channel~ *pipe2* \- Calls the [Pipe Program|AutoCAD Pipe Program] to create a pipe. pipe2 <\- Pipe(sedtankpipe2{~}origin~,ND{~}SedPipeEntrance~,-sedtankpipe1{~}length~,EN{~}PipeSpec~) sedtankpipe2{~}origin~ = * x: tank{~}origin0~ \- L{~}Sed~ + W{~}Channel~/2 * y: tank{~}origin1~ + W{~}Sed~/2 + outerradius(ND{~}SedLaunder~) + 1*(W{~}Sed~/2 - outerradius(ND{~}SedLaunder~))/4 * z: tank{~}origin2~ + H{~}Sed~ \- H{~}Channel~ *pipe3* \- Calls the [Pipe Program|AutoCAD Pipe Program] to create a pipe. pipe3 <\- Pipe(sedtankpipe3{~}origin~,ND{~}SedPipeEntrance~,-sedtankpipe1{~}length~,EN{~}PipeSpec~) sedtankpipe3{~}origin~ = * x: tank{~}origin0~ \- L{~}Sed~ + W{~}Channel~/2 * y: tank{~}origin1~ + W{~}Sed~/2 - outerradius(ND{~}SedLaunder~) - 1*(W{~}Sed~/2 - outerradius(ND{~}SedLaunder~))/4 * z: tank{~}origin2~ + H{~}Sed~ \- H{~}Channel~ *pipe4* \- Calls the [Pipe Program|AutoCAD Pipe Program] to create a pipe. pipe4 <\- Pipe(sedtankpipe4{~}origin~,ND{~}SedPipeEntrance~,-sedtankpipe1{~}length~,EN{~}PipeSpec~) sedtankpipe4{~}origin~ = * x: tank{~}origin0~ \- L{~}Sed~ + W{~}Channel~/2 * y: tank{~}origin1~ + W{~}Sed~/2 - outerradius(ND{~}SedLaunder~) - 3*(W{~}Sed~/2 - outerradius(ND{~}SedLaunder~))/4 * z: tank{~}origin2~ + H{~}Sed~ \- H{~}Channel~ *pipe5* \- Calls the [Pipe Program|AutoCAD Pipe Program] to create a pipe. pipe5 <\- Pipe(sedtankpipe5{~}origin~,ND{~}SedPipeEntrance~,-sedtankpipe5{~}length~,EN{~}PipeSpec~) sedtankpipe5{~}origin~ = * x: tank{~}origin0~ \- L{~}Sed~ + W{~}Channel~/2 + ElbowRadius(ND{~}SedPipeEntrance~) * y: tank{~}origin1~ + W{~}Sed~/2 + outerradius(ND{~}SedLaunder~) + 3*(W{~}Sed~/2 - outerradius(ND{~}SedLaunder~))/4 * z: tank{~}origin2~ + W{~}Sed~/2*tan(AN{~}SedBottom~) + ElbowRadius(ND{~}SedPipeEntrance~) *rotatepipe5* \- [Rotate{~}3d~|AutoCAD Basics Rotate] turns the object based on a given axis and degree angle. rotatepipe5 <\- rotate{~}3d~(p1,sedtankpipe5{~}origin~,"y",90) p1 = * x: sedtankpipe5{~}origin0~ + innerD(ND{~}SedPipeEntrance~,EN{~}PipeSpec~)/2 * y: sedtankpipe5{~}origin1~ * z: sedtankpipe5{~}origin2~ "y" - specifies axis that object will be rotated about. rotate2a - [Rotate{~}3d~|AutoCAD Basics Rotate] turns the object based on a given axis and degree angle. *rotate2a* \- rotate{~}3d~(p1,sedtankpipe1{~}origin~,"z",sedtankpipe5{~}angle~) sedtankpipe1{~}origin~ = * x: tank{~}origin0~ \- L{~}Sed~ + W{~}Channel~/2 * y: tank{~}origin1~ + W{~}Sed~/2 + outerradius(ND{~}SedLaunder~) + 3*(W{~}Sed~/2 - outerradius(ND{~}SedLaunder~))/4 * z: tank{~}origin2~ + H{~}Sed~ \- H{~}Channel~ p1 = * x: sedtankpipe5{~}origin0~ * y: sedtankpipe5{~}origin1~ + innerD(ND{~}SedPipeEntrance~,EN{~}PipeSpec~)/2 * z: sedtankpipe5{~}origin2~ + innerD(ND{~}SedPipeEntrance~,EN{~}PipeSpec~)/2 "z" - specifies axis that object will be rotated about. *pipe6* \- Calls the [Pipe Program|AutoCAD Pipe Program] to create a pipe. pipe6 <\- Pipe(sedtankpipe6{~}origin~,ND{~}SedPipeEntrance~,sedtankpipe6{~}length~,EN{~}PipeSpec~) sedtankpipe6{~}origin~ = * x: tank{~}origin0~ \- L{~}Sed~ + W{~}Channel~/2 + ElbowRadius(ND{~}SedPipeEntrance~) * y: tank{~}origin1~ + W{~}Sed~/2 + outerradius(ND{~}SedLaunder~) + 1*(W{~}Sed~/2 - outerradius(ND{~}SedLaunder~))/4 * z: tank{~}origin2~ + W{~}Sed~/2*tan(AN{~}SedBottom~) + ElbowRadius(ND{~}SedPipeEntrance~) *rotate3* \- [Rotate{~}3d~|AutoCAD Basics Rotate] turns the object based on a given axis and degree angle. rotate3 <\- rotate{~}3d~(p1,sedtankpipe6{~}origin~,"y",90) p1 = * x: sedtankpipe{~}origin0~ + innerD(ND{~}SedPipeEntrance~,EN{~}PipeSpec~)/2 * y: sedtankpipe5{~}origin1~ * z: sedtankpipe5{~}origin0~ sedtankpipe6{~}origin~ = * x: tank{~}origin0~ \- L{~}Sed~ + W{~}Channel~/2 + ElbowRadius(ND{~}SedPipeEntrance~) * y: tank{~}origin1~ + W{~}Sed~/2 + outerradius(ND{~}SedLaunder~) + 1*(W{~}Sed~/2 - outerradius(ND{~}SedLaunder~))/4 * z: tank{~}origin2~ + W{~}Sed~/2*tan(AN{~}SedBottom~) + ElbowRadius(ND{~}SedPipeEntrance~) "y" - specifies axis that object will be rotated about. *rotate3a* \- [Rotate{~}3d~|AutoCAD Basics Rotate] turns the object based on a given axis and degree angle. rotate3a <\- rotate{~}3d~(p1,sedtankpipe2{~}origin~,"z",sedtankpipe6{~}angle~) p1 = * x: sedtankpipe6{~}origin0~ * y: sedtankpipe6{~}origin1~ + innerD(ND{~}SedPipeEntrance~,EN{~}PipeSpec~)/2 * z: sedtankpipe6{~}origin2~ + innerD(ND{~}SedPipeEntrance~,EN{~}PipeSpec~)/2 sedtankpipe2{~}origin~ = * x: tank{~}origin0~ \- L{~}Sed~ + W{~}Channel~/2 * y: tank{~}origin1~ + W{~}Sed~/2 + outerradius(ND{~}SedLaunder~) + 1*(W{~}Sed~/2 - outerradius(ND{~}SedLaunder~))/4 * z: tank{~}origin2~ + H{~}Sed~ \- H{~}Channel~ "y" - specifies axis that object will be rotated about. *pipe7* \- Calls the [Pipe Program|AutoCAD Pipe Program] to create a pipe. pipe7 <\- Pipe(sedtank7{~}origin~,ND{~}SedPipeEntrance~,sedtankpipe7{~}length~,EN{~}PipeSpec~) sedtankpipe7{~}origin~ = * x: tank{~}origin0~ \- L{~}Sed~ + W{~}Channel~/2 + ElbowRadius(ND{~}SedPipeEntrance~) * y: tank{~}origin1~ + W{~}Sed~/2 - outerradius(ND{~}SedLaunder~) - 1*(W{~}Sed~/2 - outerradius(ND{~}SedLaunder~))/4 * z: tank{~}origin2~ + W{~}Sed~/2*tan(AN{~}SedBottom~) + ElbowRadius(ND{~}SedPipeEntrance~) *rotate4* \- [Rotate{~}3d~|AutoCAD Basics Rotate] turns the object based on a given axis and degree angle. rotate4 <\- rotate{~}3d~(p1,sedtankpipe7{~}origin~,"y",90) p1 = * x: sedtankpipe7{~}origin0~ + innerD(ND{~}SedPipeEntrance~,EN{~}PipeSpec~)/2 * y: sedtankpipe7{~}origin1~ * z: sedtankpipe7{~}origin2~ sedtankpipe7{~}origin~ = * x: tank{~}origin0~ \- L{~}Sed~ + W{~}Channel~/2 + ElbowRadius(ND{~}SedPipeEntrance~) * y: tank{~}origin1~ + W{~}Sed~/2 - outerradius(ND{~}SedLaunder~) - 1*(W{~}Sed~/2 - outerradius(ND{~}SedLaunder~))/4 * z: tank{~}origin2~ + W{~}Sed~/2*tan(AN{~}SedBottom~) + ElbowRadius(ND{~}SedPipeEntrance~) "y" - specifies axis that object will be rotated about. *rotate4a* \- [Rotate{~}3d~|AutoCAD Basics Rotate] turns the object based on a given axis and degree angle. rotate4a <\- rotate{~}3d~(p1,sedtankpipe3{~}origin~,"z",sedtankpipe7{~}angle~) p1 = * x: sedtankpipe7{~}origin0~ * y: sedtankpipe7{~}origin1~ + innerD(ND{~}SedPipeEntrance~,EN{~}PipeSpec~)/2 * z: sedtankpipe7{~}origin2~ + innerD(ND{~}SedPipeEntrance~,EN{~}PipeSpec~)/2 sedtankpipe3{~}origin~ = * x: tank{~}origin0~ \- L{~}Sed~ + W{~}Channel~/2 * y: tank{~}origin1~ + W{~}Sed~/2 - outerradius(ND{~}SedLaunder~) - 1*(W{~}Sed~/2 - outerradius(ND{~}SedLaunder~))/4 * z: tank{~}origin2~ + H{~}Sed~ \- H{~}Channel~ "z" - specifies axis that object will be rotated about. *pipe8* \- Calls the [Pipe Program|AutoCAD Pipe Program] to create a pipe. pipe8 <\- Pipe(sedtankpipe8{~}origin~,ND{~}SedPipeEntrance~,sedtankpipe8{~}length~,EN{~}PipeSpec~) sedtankpipe8{~}origin~ = * x: tank{~}origin0~ \- L{~}Sed~ + W{~}Channel~/2 + ElbowRadius(ND{~}SedPipeEntrance~) * y: tank{~}origin1~ + W{~}Sed~/2 - outerradius(ND{~}SedLaunder~) - 3*(W{~}Sed~/2 - outerradius(ND{~}SedLaunder~))/4 * z: tank{~}origin2~ + W{~}Sed~/2*tan(AN{~}SedBottom~) + ElbowRadius(ND{~}SedPipeEntrance~) *rotate5* \- [Rotate{~}3d~|AutoCAD Basics Rotate] turns the object based on a given axis and degree angle. rotate5 <\- rotate{~}3d~(p1,sedtankpipe8{~}origin~,"y",90) p1 = * x: sedtankpipe8{~}origin0~ + innerD(ND{~}SedPipeEntrance~,EN{~}PipeSpec~)/2 * y: sedtankpipe8{~}origin1~ * z: sedtankpipe8{~}origin2~ sedtankpipe8{~}origin~ = * x: tank{~}origin0~ \- L{~}Sed~ + W{~}Channel~/2 + ElbowRadius(ND{~}SedPipeEntrance~) * y: tank{~}origin1~ + W{~}Sed~/2 - outerradius(ND{~}SedLaunder~) - 3*(W{~}Sed~/2 - outerradius(ND{~}SedLaunder~))/4 * z: tank{~}origin2~ + W{~}Sed~/2*tan(AN{~}SedBottom~) + ElbowRadius(ND{~}SedPipeEntrance~) "y" - specifies axis that object will be rotated about. *rotate3arotate5a* \- [Rotate{~}3d~|AutoCAD Basics Rotate] turns the object based on a given axis and degree angle. rotate3a <\- rotate{~}3d~(p1,sedtankpipe2{~}origin~,"z",sedtankpipe6{~}angle~) p1 = * x: sedtankpipe6{~}origin0~ degree angle. rotate5a <\- rotate{~}3d~(p1,sedtankpipe4{~}origin~,"z",sedtankpipe8{~}angle~) p1 = * x: sedtankpipe8{~}origin0~ * y: sedtankpipe8{~}origin1~ + innerD(ND{~}SedPipeEntrance~,EN{~}PipeSpec~)/2 * z: sedtankpipe8{~}origin2~ + innerD(ND{~}SedPipeEntrance~,EN{~}PipeSpec~)/2 sedtankpipe4{~}origin~ = * x: tank{~}origin0~ \- L{~}Sed~ + W{~}Channel~/2 * y: sedtankpipe6tank{~}origin1~ + innerD(ND{~}SedPipeEntrance~,EN{~}PipeSpec~)/2 W{~}Sed~/2 - outerradius(ND{~}SedLaunder~) - 3*(W{~}Sed~/2 - outerradius(ND{~}SedLaunder~))/4 * z: sedtankpipe6tank{~}origin2~ + innerD(NDH{~}SedPipeEntrance~,ENSed~ \- H{~}PipeSpec~)/2Channel~ "yz" - specifies axis that object will be rotated about. *pipe7pipe9* \- Calls the [Pipe Program|AutoCAD Pipe Program] to create a pipe. pipe7pipe9 <\- Pipe(sedtank7sedtankpipe9{~}origin~,ND{~}SedPipeEntrance~,sedtankpipe7{~}length~,EN{~}PipeSpec~) *rotate4* \- [Rotate{~}3d~|AutoCAD Basics Rotate] turns the object based on a given axis and degree angle. rotate4 <\- rotate{~}3d~(p1,sedtankpipe7{~}origin~,"y",90) p1sedtankpipe9{~}length~,EN{~}PipeSpec~) sedtankpipe9{~}origin~ = * x: sedtankpipe7tank{~}origin0~ +\- innerD(ND7*L{~}SedPipeEntrance~,EN{~}PipeSpec~Sed~)/28 * y: sedtankpipe7tank{~}origin1~ + W{~}Sed~/2 * z: sedtankpipe7tank{~}origin2~ "y" - specifies axis that object will be rotated about. + S{~}SedInlet~ *rotate4apipe10* \- [Rotate{~}3d~Calls the [Pipe Program|AutoCAD BasicsPipe RotateProgram] turnsto the object based on a given axis and degree anglecreate a pipe. rotate4apipe10 <\- rotatePipe(sedtankpipe10{~}3d~(p1origin~,sedtankpipe3ND{~}origin~,"z",sedtankpipe7SedPipeEntrance~,sedtankpipe9{~}length~,EN{~}angle~) p1PipeSpec~) sedtankpipe10{~}origin~ = * x: sedtankpipe7tank{~}origin0~ \- (5*L{~}Sed~)/8 * y: sedtankpipe7tank{~}origin1~ + innerD(NDW{~}SedPipeEntrance~,EN{~}PipeSpec~)Sed~/2 * z: sedtankpipe7tank{~}origin2~ + innerD(ND{~}SedPipeEntrance~,EN{~}PipeSpec~)/2 "z" - specifies axis that object will be rotated about.S{~}SedInlet~ *pipe8pipe11* \- Calls the [Pipe Program|AutoCAD Pipe Program] to create a pipe. pipe8 <\- Pipe(sedtankpipe8{~}origin~,ND{~}SedPipeEntrance~,sedtankpipe8{~}length~,EN{~}PipeSpec~) *rotate5* \- [Rotate{~}3d~|AutoCAD Basics Rotate] turns the object based on a given axis and degree angle. rotate5 <\- rotate{~}3d~(p1,sedtankpipe8{~}origin~,"y",90) p1. pipe11 <\- Pipe(sedtankpipe11{~}origin~,ND{~}SedPipeEntrance~,sedtankpipe9{~}length~,EN{~}PipeSpec~) sedtankpipe11{~}origin~ = * x: tank{~}origin0~ \- (3*L{~}Sed~)/8 * y: tank{~}origin1~ + W{~}Sed~/2 * z: tank{~}origin2~ + S{~}SedInlet~ *pipe12* \- Calls the [Pipe Program|AutoCAD Pipe Program] to create a pipe. pipe12 <\- Pipe(sedtankpipe12{~}origin~,ND{~}SedPipeEntrance~,sedtankpipe9{~}length~,EN{~}PipeSpec~) sedtankpipe12{~}origin~ = * x: sedtankpipe8tank{~}origin0~ +\- innerD(NDL{~}SedPipeEntrance~,EN{~}PipeSpec~Sed~)/28 * y: sedtankpipe8tank{~}origin1~ + W{~}origin1~Sed~/2 * z: sedtankpipe8tank{~}origin2~ + S{~}SedInlet~ "y" - specifies axis that object will be rotated about. *rotate5a*layerfreeze2* \- [Layer{~}freeze~|AutoCAD Basics Layer] locks the layer "pipe" so that it cannot be edited. layerfreeze2 <\- layer{~}freeze~("pipe") *cylinder5* \- [Rotate{~}3d~[CylinderA|AutoCAD Basics RotateCylinders] turnscreates thea objectcylinder based on a given axis and degree anglethree dimensions. rotate5acylinder5 <\- rotatecylinderA(sedtankpipe14{~}3d~(p1,sedtankpipe4origin~,outerradius(ND{~}origin~,"z",sedtankpipe8SedLaunder~),-T{~}angle~PlantWall~) p1sedtankpipe14{~}origin~ = * x: sedtankpipe8tank{~}origin0~ \- L{~}Sed~ * y: sedtankpipe8tank{~}origin1~ + innerD(ND{~}SedPipeEntrance~,EN W{~}PipeSpec~)Sed~/2 * z: sedtankpipe8tank{~}origin2~ + innerD(NDH{~}SedPipeEntrance~,ENSed~ \- H{~}PipeSpec~)/2 "z" - specifies axis that object will be rotated about. *pipe9Channel~ \- T{~}Mp~ *rotate2* \- Calls the [Pipe Program|AutoCAD Pipe Program] to create a pipe. pipe9 [Rotate{~}3d~|AutoCAD Basics Rotate] turns the object based on a given axis and degree angle. rotate2 <\- Pipe(sedtankpipe9rotae{~}origin~3d~(p1,NDsedtankpipe14{~}SedPipeEntrance~,sedtankpipe9{~}length~,EN{~}PipeSpec~) *pipe10* \- Calls the [Pipe Program|AutoCAD Pipe Program] to create a pipe. pipe10 <\- Pipe(sedtankpipe10{~}origin~,ND{~}SedPipeEntrance~,sedtankpipe9{~}length~,EN{~}PipeSpec~) *pipe11* \- Calls the [Pipe Program|AutoCAD Pipe Program] to create a pipe. pipe11 <\- Pipe(sedtankpipe11{~}origin~,ND{~}SedPipeEntrance~,sedtankpipe9{~}length~,EN{~}PipeSpec~) *pipe12* \- Calls the [Pipe Program|AutoCAD Pipe Program] to create a pipe. pipe12 <\- Pipe(sedtankpipe12{~}origin~,ND{~}SedPipeEntrance~,sedtankpipe9{~}length~,EN{~}PipeSpec~) *layerfreeze2* \- [Layer{~}freeze~|AutoCAD Basics Layer] locks the layer "pipe" so that it cannot be edited. layerfreeze2 <\- layer{~}freeze~("pipe") *cylinder5* \- [CylinderA|AutoCAD Basics Cylinders] creates a cylinder based on three dimensions. cylinder5 <\- cylinderA(sedtankpipe14{~}origin~,origin~,"y",90) p1 = * x: sedtankpipe14{~}origin0~ + outerradius(ND{~}SedLaunder~) * y: sedtankpipe14{~}origin1~ * z: sedtankpipe14{~}origin2~ sedtankpipe14{~}origin~ = * x: tank{~}origin0~ \- L{~}Sed~ * y: tank{~}origin1~ + W{~}Sed~/2 * z: tank{~}origin2~ + H{~}Sed~ \- H{~}Channel~ \- T{~}Mp~ "y" - specifies axis that object will be rotated about. *subtract2* \- [SubtractD|AutoCAD Basics Subtractions] subtracts a selected object based on two specified points. subtract2 <\- subtractD(Plant{~}Origin~,p1) p1 = * x: sedtankpipe14{~}origin0~ * y: sedtankpipe14{~}origin1~ + outerradius(ND{~}SedLaunder~),-T * z: sedtankpipe14{~}PlantWall~)origin2~ *rotate2holes1* \- [Rotate{~}3d~|AutoCAD Basics Rotate] turns the object based on a given axis and degree angle. rotate2 holes1 <\- rotae{~}3d~(p1,sedtankpipe14{~}origin~,"y",90concat(cylinder5,rotate2) p1 = *layerthawp* x: sedtankpipe14{~}origin0~ + outerradius(ND{~}SedLaunder~) * y: sedtankpipe14{~}origin1~ * z: sedtankpipe14{~}origin2~ "y" - specifies axis that object will be rotated about. *subtract2* \- [SubtractD|AutoCAD Basics Subtractions] subtracts a selected object based on two specified points. subtract2 <\- subtractD(Plant{~}Origin~,p1) p1 = * x: sedtankpipe14{~}origin0~ * y: sedtankpipe14{~}origin1~ + outerradius(ND{~}SedLaunder~) * z: sedtankpipe14{~}origin2~ *holes1* \- holes1 <\- concat(cylinder5,rotate2) *layerthawp* \- [Layer{~}thaw~|AutoCAD Basics Layer] unlocks the layer "pipe" so that it can be edited. layerthawp <-layer{~}thaw~("pipe") *layersetp* \- [Layer{~}set~|AutoCAD Basics Layer] selects the layer "pipe". layersetp <\- layer{~}set~("pipe") *pipe13\- [Layer{~}thaw~|AutoCAD Basics Layer] unlocks the layer "pipe" so that it can be edited. layerthawp <-layer{~}thaw~("pipe") *layersetp* \- [Layer{~}set~|AutoCAD Basics Layer] selects the layer "pipe". layersetp <\- layer{~}set~("pipe") *pipe13* \- Calls the [Pipe Program|AutoCAD Pipe Program] to create a pipe. pipe13 <\- Pipe(sedtankpipe13{~}origin~,ND{~}SedLaunder~,sedtankpipe13{~}length~,EN{~}PipeSpec~) sedtankpipe13{~}origin~ = * x: tank{~}origin0~ \- L{~}Sed~ + W{~}Channel~ + T{~}ChannelWall~ + ElbowRadius(ND{~}SedLaunder~) * y: tank{~}origin1~ + W{~}Sed~/2 * z: tank{~}origin2~ + H{~}Sed~ \- H{~}Channel~ \- T{~}Mp~ + ElbowRadius(ND{~}SedLaunder~) *pipe14* \- Calls the [Pipe Program|AutoCAD Pipe Program] to create a pipe. pipe13pipe14 <\- Pipe(sedtankpipe13sedtankpipe14{~}origin~,ND{~}SedLaunder~,sedtankpipe13{~}length~,EN{~}PipeSpec~) *pipe14* \- Calls the [Pipe Program|AutoCAD Pipe Program] to create a pipe. pipe14 <\- Pipe(sedtankpipe14{~}origin~,ND{~}SedLaunder~,sedtankpipe14{~}length~,EN{~}PipeSpec~)sedtankpipe14{~}length~,EN{~}PipeSpec~) sedtankpipe14{~}origin~ = * x: tank{~}origin0~ \- L{~}Sed~ * y: tank{~}origin1~ + W{~}Sed~/2 * z: tank{~}origin2~ + H{~}Sed~ \- H{~}Channel~ \- T{~}Mp~ *rotate6* \- [Rotate{~}3d~|AutoCAD Basics Rotate] turns the object based on a given axis and degree angle. rotate6 <\- rotate{~}3d~(p1,p1,sedtankpipe14{~}origin~,"y",90) p1 = * x: sedtankpipe14{~}origin0~ + innerD(ND{~}SedLaunder~,EN{~}PipeSpec~)/2 * y: sedtankpipe14{~}origin1~ * z: sedtankpipe14{~}origin~,"y",90)origin2~ p1sedtankpipe14{~}origin~ = * x: sedtankpipe14tank{~}origin0~ + innerD(ND\- L{~}SedLaunder~,EN{~}PipeSpec~)/2Sed~ * y: sedtankpipe14tank{~}origin1~ + W{~}Sed~/2 * z: sedtankpipe14tank{~}origin2~ + H{~}Sed~ \- H{~}Channel~ \- T{~}Mp~ "y" - specifies axis that object will be rotated about. *layerfreeze3* \- [Layer{~}freeze~|AutoCAD Basics Layer] locks the layer "channel" so that it cannot be edited. layerfreeze3 <\- layer{~}freeze~("pipe") |
Page History
Overview
Content Tools