
v1.starts(stam)
// begin trj
v1.vsp = 70000
//max. velocity
v1.vse = 0//70000
//end velocity
v1.addline(0, -50000)
//create line from current point to
coordinate
v1.adddwell(1000)
v1.vsd = 2000
//distance of tangent of arc from line intersection
v1.vsp = 50000
//max. velocity
v1.vse = 0
//end velocity
v1.addline(-20000, 0)
//create line from current point to
//coordinate 0 on X and 50,000 on Y
v1.ends()
// end trj
message(111, 123, 345)
v1./jointfilesconvert/1588249/bg
//start motion
end function
B.8.2 Elmo Logo Outline Sample
// File Elmo.maxl created 19.10.2004 14:28:32
function run()
initialization(15000,32000)
draw()
wait_motion()
v1.st;
v1.detach();
end function
function draw()
float k_x, k_y
k_x = 1.9;
k_y = 1.9;
v1.starts();
v1.vsp = 50000;//max speed
v1.vse = 50000;//end speed
// letter 'E'
v1.addline ( 0*k_x, 32000*k_y )
v1.addcircle( 6000*k_y,90,180 )
v1.vsp = 50000;
v1.vse = 0;
v1.addline ( 15000*k_x, 20000*k_y );
v1.addline ( 0*k_x, 20000*k_y);
v1.addcircle( 10000*k_y,90,180 );
v1.vsp = 50000;
v1.vse = 0;
v1.addline ( 20000*k_x, 0*k_y );
// letter 'l'
v1.addline ( 30000*k_x, 20000*k_y);
v1.addline ( 30000*k_x, 0*k_y);
v1.addline ( 40000*k_x, 0*k_y);
v1.vsp = 50000;
v1.vse = 0;
v1.addline ( 50000*k_x, 20000*k_y);
// letter 'm'
v1.vsp = 50000;
v1.vse = 0;
function initialization(int x_from_lim, int y_from_li
int SmoothFactor
SmoothFactor = 0;
// check UM
if(a1.um != 5)
a1.mo=0
a1.um=5
end if
if(a2.um != 5)
a2.mo=0
a2.um=5
end if
// check SF
if(a1.sf != SmoothFactor)
a1.mo = 0
a1.sf = SmoothFactor
a1.sd = 1000000000
end if
if(a2.sf != SmoothFactor)
a2.mo = 0
a2.sf = SmoothFactor
a2.sd = 1000000000
end if
if(a1.mo == 0); a1.mo=1; end if
if(a2.mo == 0); a2.mo=1; end if
a1.pa = x_from_lim
a2.pa = y_from_lim
a1./jointfilesconvert/1588249/bg; a2./jointfilesconvert/1588249/bg
while(a1.ms || a2.ms)
wait(50)
end while
sync( 0, 10 );
v1.attach();
v1.vum = 1; // max velocity mode
v1.vac = 28000000
v1.vsc = 1; //non smoothed
Maestro Software Manual Appendix B: Sample Programs
MAN-MASSW (Ver. Q)
B-30
Comentarios a estos manuales