*** This version of Confluence is for testing only and contains a copy of content from June 29th 2026. No changes will be preserved. ***
| Wiki Markup |
|---|
h3. General Program Information h3. Technical Program Outline *layer1* \- [Layer{~}new~|AutoCAD Basics Layer] creates a new dark grey layer, "floctank." layer1 <\- layer{~}new~("floctank",dkgrey) {float:left|border=2px solid black} [!tank1.bmp|width=450px!|AutoCAD Channel Program] Northeast Isometric View {float} *tank1* \- Calls the [Tank Program|AutoCAD Tank Program] to create ana tank. tank1 <\- Tank(floc{~}origin~,totalfloc{~}dim~,tank{~}thick~) *floc{*}{*}{~}origin{~}* = * x: tank{~}origin0~ * y: tank{~}origin1~ + num{~}tanks~(tank{~}dim1~ + tank{~}thick~) * z: tank{~}origin2~ *totalfloc{*}{*}{~}dim{~}* = * x: floc{~}dim0~ * y: (numfloc{~}tanks~\*floc{~}dim1~) + ((numfloc{~}tanks~ \- 1)*tank{~}thick~) * z: floc{~}dim2~ tank{~}thick~ \- specifies the thickness of the tank. \\ \\ {float:left|border=2px solid black} [!box1 with points.bmp|width=450px!|AutoCAD Channel Program] Northeast Isometric View {float} *box1* \- Creates a [box|AutoCAD Basics Box] based on two points. box1 <\- box(wall{~}origin~,wall{~}origin~ + wall{~}dim~) *wall{*}{*}{~}origin{~}* = * x: tank{~}origin0~ \- floc{~}dim0~ \- tank{~}thick~ * y: tank{~}origin1~ + num{~}tanks~(tank{~}dim1~ + tank{~}thick~) + floc{~}dim1~) * z: tank{~}origin2~ *wall{*}{*}{~}dim{~}* = * x: totalfloc{~}dim0~ + (2tank{~}thick~) * y: tank{~}thick~ * z: totalfloc{~}dim2~ \\ \\ {float:left|border=2px solid black} [!box2 with points.bmp|width=450px!|AutoCAD Channel Program] Northeast Isometric View {float} *box2* \- Creates a [box|AutoCAD Basics Box] based on two points. box2 <\- box(hole{~}origin~,hole{~}origin~ + flochole{~}dim~) *hole{*}{*}{~}origin{~}* = * x: tank{~}origin0~ \- flochole{~}dim0~ * y: tank{~}origin1~ + num{~}tanks~(tank{~}dim1~ + tank{~}thick~) + floc{~}dim1~ * z: tank{~}origin2~ \\ \\ {float:left|border=2px solid black} [!subtract 1.bmp|width=700px!|AutoCAD Channel Program] Top View {float} *subtract0* \- SubtractD|AutoCAD Basics Subtractions] subtracts one object from the other based on two points. subtract0 <\- subtractD(p1,hole{~}origin~) p1 = * x: hole{~}origin0~ + flochole{~}dim0~ + tank{~}thick~ * y: hole{~}origin1~ * z: hole{~}origin2~ *hole{*}{*}{~}origin{~}* = * x: tank{~}origin0~ \- flochole{~}dim0~ * y: tank{~}origin1~ + num{~}tanks~(tank{~}dim1~ + tank{~}thick~) + floc{~}dim1~ * z: tank{~}origin2~ \\ \\ *union1* \- [Union{~}C~|AutoCAD Basics Unions] joins the objects selects by two points and unites them into a single object. union1 <\- unionC(p1,p2) p1 = * x: floc{~}origin0~ \- totalfloc{~}dim0~ \- tank{~}thick~ \- zc * y: floc{~}origin1~ \- tank{~}thick~ \- zc * z: floc{~}origin2~ p2 = * x: floc{~}origin0~ + tank{~}thick~ + zc * y: floc{~}origin1~ + totalfloc{~}dim1~ + tank{~}thick~ + zc * z: floc{~}origin2~ {float:left|border=2px solid black} [!box 3.bmp|width=450px!|AutoCAD Channel Program] Northeast Isometric View {float} *box3* \- Creates a [box|AutoCAD Basics Box] based on two points. box3 <\- box(p1,p2) p1 = * x: floc{~}origin0~ \- totalfloc{~}dim0~ * y: floc{~}origin1~ \- tank{~}thick~ * z: floc{~}origin2~ + totalfloc{~}dim2~ \- channel{~}dim2~ p2 = * x: floc{~}origin0~ \- totalfloc{~}dim0~ + channel{~}dim1~ * y: floc{~}origin1~ * z: floc{~}origin2~ + totalfloc{~}dim2~ \\ \\ {float:left|border=2px solid black} [!subtract 2.bmp|width=700px!|AutoCAD Channel Program] Top View {float} *subtract1* \- SubtractD|AutoCAD Basics Subtractions] subtracts one object from the other based on two points. subtract1 <\- subtractD(floc{~}origin~,p1) *floc{*}{*}{~}origin{~}* = * x: tank{~}origin0~ * y: tank{~}origin1~ + num{~}tanks~(tank{~}dim1~ + tank{~}thick~) * z: tank{~}origin2~ p1 = * x: floc{~}origin0~ \- floc{~}dim0~ * y: floc{~}origin1~ \- tank{~}thick~ * z: floc{~}origin2~ + floc{~}dim2~ \- channel{~}dim2~ \\ \\ *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~("floctank") |