General Program Information

Basics - Mirrors

The mirror function selects points and creates a reflected image over a selected axis.

mirror - A function with the input of three points where p1 selects the object while p2 and p3 create a line that the object is reflected over. This function appears at the beginning or middle of a line of AutoCAD code.
mirror(p1,p2,p3) :=

  • concat("_mirror",sp,point(p1<0>),sp,sp,point(p2<0>),sp,point(p3<0>),sp)

mirrorA - A function with the input of three points where p1 selects the object while p2 and p3 create a line that the object is reflected over. This function appears at the end of a line of AutoCAD code.
mirrorA(p1,p2,p3) :=

  • concat("_mirror",sp,point(p1<0>),sp,sp,point(p2<0>),sp,point(p3<0>),sp,sp)

mirrorB - This function appears at the end of a line of AutoCAD code.
mirrorB(p1,p2,p3,p4) :=

  • concat("_mirror",sp,point(p1<0>),sp,sp,point(p2<0>),sp,point(p3<0>),sp,point(p4<0>),sp,sp)

mirrorC - This function appears at the beginning or middle of a line of AutoCAD code.
mirrorC(p1,p2,p3,p4) :=

  • concat("_mirror",sp,point(p1<0>),sp,sp,point(p2<0>),sp,point(p3<0>),sp,point(p4<0>),sp)

mirror3d
mirror3d(p1,p2) :=

  • concat("_mirror",sp,point(p1<0>),sp,sp,"zx",sp,point(p2<0>),sp,"n")
  • No labels