Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

cylinderA
cylinderA(p1,R1,L) := ("_cylinder",sp,point,(p1^<0>^p1<0>),sp,stringit(R1),sp,stringit(L),sp)

...

cylinderB
cylinderB(p1,R1,p2) :=

  • ("_cylinder",sp,point,(p1^<0>p1<0>),sp,stringit(R1),sp,"c",sp,(p2<0>^<0>),sp) if acad~version~ acadversion = 2004 v 2006 *
  • ("_cylinder",sp,point,(p1<0>),sp,stringit(R1),sp,"a",sp,(p2<0>),sp) if acadversion = 2007
  • ("_cylinder",sp,point,(p1<0>),sp,stringit(R1),sp,"a",sp,(p2<0>),sp) if acadversion = 2008
  • ("_cylinder",sp,point,(p1<0>),sp,stringit(R1),sp,"f",sp,(p2<0>),sp) otherwise
  • a function that takes in the inputs of two points and a radius to render a cylinder at any angle in space. This function is used at the beginning or middle of a line of AutoCAD code.

cylinderC
cylinderC(p1,R1,L) := ("_cylinder",sp,point,(p1<0>),sp,stringit(R1),sp,stringit(L),sp)

  • a function that takes in the inputs of a point, radius. and length to render a cylinder perpendicular to the point given. This function is used at the end of a line of AutoCAD code.

cylinderD
cylinderD(p1,R1,p2) :=

  • ("_cylinder",sp,point,(p1<0>),sp,stringit(R1),sp,"c",sp,(p2<0>),sp) if acadversion = 2004 v 2006
  • ("_cylinder",sp,point,(p1<0>),sp,stringit(R1),sp,"a",sp,(p2<0>),sp) if acadversion = 2007
  • ("_cylinder",sp,point,(p1<0>),sp,stringit(R1),sp,"a",sp,(p2<0>),sp) if acadversion = 2008
  • ("_cylinder",sp,point,(p1<0>),sp,stringit(R1),sp,"f",sp,(p2<0>),sp) otherwise
  • a function that takes in the inputs of two points and a radius to render a cylinder at any angle in space. This function is used at the end of a line of AutoCAD code.