Skip to content

Commit

Permalink
Merge pull request #12 from JohnAtl/climb-mill-all-passes
Browse files Browse the repository at this point in the history
Climb mill all passes
  • Loading branch information
JohnAtl authored Aug 10, 2022
2 parents 488241e + 5f3d3e6 commit b2e3145
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 4 deletions.
Binary file modified docs/pcbgcode.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/pcbgcode.tex
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
%----------------------------------------------------------------------------------------

\title{\vspace{-15mm}\fontsize{24pt}{10pt}\selectfont\textbf{The PCB-GCODE User's Manual}\\[1em]
\fontsize{18pt}{10pt}\textsc{Version 3.6.4}\\[1em]
\fontsize{18pt}{10pt}\textsc{Version 3.6.5}\\[1em]
}

\author{
Expand Down
2 changes: 1 addition & 1 deletion pcb-gcode-setup.ulp
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ int Result = dlgDialog("pcb-gcode Setup") {
"<td><h6><center>Copyright 2003-2022 by"
" John Johnson Software, LLC.</center>"
"<center>All Rights Reserved</center>"
"<center>Version <em>3.6.4</em></center></h6></td>"
"<center>Version <em>3.6.5</em></center></h6></td>"
"</tr>"
"<tr><td></td><td><center>You have EAGLE version " + m_eagle_compatibility + "</center></td></tr>"
"</table>");
Expand Down
8 changes: 7 additions & 1 deletion pcb-gcode.ulp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include "source/filename_subs.h"

#usage "<center><b>pcb-gcode&trade; Gcode Generation Utility</b><br>"
" Version 3.6.4<p>"
" Version 3.6.5<p>"
"Copyright&copy; 2003 - 2022 by John Johnson Software, LLC<br>"
"All Rights Reserved</center>"
"<p>"
Expand Down Expand Up @@ -1292,6 +1292,12 @@ void write_outlines(int which_side, int task)

// set direction of cut around contour
if (((g_side == TOP) && !CLIMB_MILLING) || ((g_side == BOTTOM) && CLIMB_MILLING)) m_fwd = true; else m_fwd = false;

// from http://harald-sattler.de/html/pcb-gcode_-e-.htm
// Mill first pass as climb, the remainder as conventional
// for better edge finishes.
if (m_pass_num == 0) m_fwd ; else m_fwd = !m_fwd;

while (m_v_next[0] > 0){

//find nearest vertex from current location
Expand Down
2 changes: 1 addition & 1 deletion rakefile.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
require 'rake/clean'

# this will be improved later
PCB_GCODE_VERSION = "3.6.4"
PCB_GCODE_VERSION = "3.6.5"
VERSION_KEYWORD = '$VERSION$'

RELEASE_FILE = "~/Documents/pcb-gcode-#{PCB_GCODE_VERSION}.zip"
Expand Down

0 comments on commit b2e3145

Please sign in to comment.