PCB milling

NOTE When using PCB milling one really needs to fully understand the CNC coordinate systems involved… http://wiki.linuxcnc.org/cgi-bin/wiki.pl?CoordinateSystems

Build in leveling made Smoothieware very powerful tool for PCB milling - no need to recalculate G-codes, just run leveling using G31/32 and mill.

Two corners rectangular mode (enabled by “leveling-strategy.rectangular-grid.only_by_two_corners true”) of “rectangular-grid” made PCB milling even simpler - you can use board of any size, change sizes and grid sizes on the fly and not depend on bed size.

Before two corners mode you must correct machine (0,0) and bed size according to board position and size.

“Two corners”“ not absolutely correct name for this mode, because it use only one corner and rectangle size. Name from one of CAD.

Note that all positions for probing are in the MCS ( machine coordinate system ) and not in the WCS ( work coordinate system ).

Usage

G31XYABIJ Probes the grid from X, Y (Machine coordinates), with X size = A, Y size = B, with X grid size = I, Y grid sieze = J. I*J must be ⇐ grid size from configuration. Omitting I or J or both will use grid size from configuration

Example use :

    G31X0Y50A50B100 - Probes the grid from X=0, Y=50, X size = 50, Y size = 100, with grid size from configuration  
    G31X0Y50A50B100I5J9 - Probes the grid from X=0, Y=50, X size = 50, Y size = 100, X grid size = 5, Y grid size = 9

    G31X50Y0A100B50 - Probes the grid from X=50, Y=0, X size = 10, Y size = 50, with grid size from configuration
    G31X50Y0A100B50I9J5 - Probes the grid from X=50, Y=0, X size = 10, Y size = 50, X grid size = 9, Y grid size = 5