M-codes   <<--BACK                           UP ^                       NEXT-->>   S Codes
side4linux, a simple integrated development environment!

Overlay Commands


Overlays are placed on the VDU in the 'bmach2d' program behind your cutter paths so that you can tell if you are going to cut into something that you might regret!

The following are current Overlay instructions.

Command
Commentary
"(" --  ignore this line, e.g.  ( ignore this line !!
"ARC<>cx<>cy<>radius<>s_angle<>e_angle" -- draw arc e.g. ARC 35.0 49.1 90.0 120.0
"BOX<>center_x<>center_y<>width" -- draw box e.g. BOX 50.0 50.0 100.0
"CIRCLE<>center_x<>center_y<>diameter" -- draw circle, e.g.  CIRCLE 100.2 34.65 34.13
"END" -- set end of file, e.g.  END
"INCH" -- set to Imperial mode (entry in inches)
"LINE<>start_x<>start_y<>end_x<>end_y" -- draw line e.g.  LINE 34.6 245.1 55.2 352.1
"METRIC"
-- set to Metric mode (entry in millimeters)
"ORIGIN<>X<>Y" -- set file Origin to X,Y e.g. ORIGIN -20.0 -10.0 (SHOW ORIGIN FIRST = 0,0 by default
"PENWIDTH<>n.n"
-- set pen drawing width, eg  PENWIDTH 1.0


( SAMPLE CODE FOLLOWS
(***********************************************************
( THIS IS A COMMENT
( USE WITH FILE DON.ANC
ORIGIN -20.0 -10.0 (SHOW ORIGIN FIRST  Note is equal to 0,0 by default
CIRCLE -29.67 0 6.0
CIRCLE -9.17 -28.22 6.0
CIRCLE 24.01 -17.44 6.0
CIRCLE 24.01 17.44 6.0
CIRCLE -9.17 28.22 6.0
CIRCLE 0 0 12.0
END



Note:
      
'<>' = one space

Note:        All commands start in column one !

Note:        The END command must be placed on the last line of this file!

Note:        ALL .OVL files MUST end with "END".

Note
:        All commands and filenames MUST be in upper case!