N10 G71 LX=1980 LY=810 LZ=39 HC1 Z=PRK
N15 STL=110 SPA=_I(LPY-(STL*2))/100*0.6 TG=(LPY-(STL*2))/SPA
N20 X=AA Y=BB LPX=CC LPY=DD
N30 X-5 Y=STL Z=PRK PRF2.2 F20 G40 TP1 L=PON
N40 JM!(AA<0):1
N50 G1 X=CC+5
N60 JM:2
:1
N70 G1 Z-5
N80 JM!(BB<(DD-STL):2
N90 YI=TG
N100 JM:1
:2
N110 L=POFF
N120 X=PRK Y=PRK
N130 L=G200
N140 RP=2
%
This is a very basic internal door that supposed to look Tongue and gooved. The first and last lines are always spaced 110mm(STL) the edge of the door. Spacing for the other lines in between(TG) is normally worked out on a calculator by subtracting 2x110 from the whatever the door width is. Dividing the remainder by 100 and rounding that number up for the spaces. I hoping this program does away with the calculator. |