From d46a5bac5389d692b60ca26ae06403dc6cb53452 Mon Sep 17 00:00:00 2001 From: "Johnson, John T" Date: Wed, 10 Aug 2022 11:56:47 -0400 Subject: [PATCH 1/2] Implement climb milling on all passes, per Harald's suggestion and code --- pcb-gcode.ulp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pcb-gcode.ulp b/pcb-gcode.ulp index 5593024..6b342cc 100644 --- a/pcb-gcode.ulp +++ b/pcb-gcode.ulp @@ -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 From 5f3d3e6ec74dd46e97d3d2ac23eef6c4da0d6d12 Mon Sep 17 00:00:00 2001 From: "Johnson, John T" Date: Wed, 10 Aug 2022 11:59:44 -0400 Subject: [PATCH 2/2] Bumped version number to 3.6.5 --- docs/pcbgcode.pdf | Bin 1399983 -> 1399983 bytes docs/pcbgcode.tex | 2 +- pcb-gcode-setup.ulp | 2 +- pcb-gcode.ulp | 2 +- rakefile.rb | 2 +- 5 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/pcbgcode.pdf b/docs/pcbgcode.pdf index fd960ad632f3f0d4e53dc2941ba06f47f39d56bb..860e51c64b320c1b475e25d51361cd7eb4eae16d 100644 GIT binary patch delta 580 zcmZ3#Gj#pV&<%%$>VJ#wyy(^4IoCqoJRxVYnxcSKOvB-ZONt9cx4t>BU;S?qrL zWA|46IkruxH6Y0{@PEzuO(#Ddigc7>($d`|-q>}}TK7goz!{}#v2xFCCxbm1C$GLa zGv=J$`RB1!!OugrW=>vgvhUTq=SQn{NAF+CfAdwv!^j2A3r=p&DLNoh-*Sbo#6b4< zw(v`hL5>OHw%aD{Srvc!t;9tojjwAjCp3OH>fu@DrnZ*xbePBThT8g-kw522O|1!A zfArbn&2|1gu`XRJ6gfNDE@UWnDw^nK^{x9h@4IUfzb#+bsk3EgI3f#Xu?0@En(Po> zAkryTvq1jLE}5gVDvBRDn!imq^{Vgjde8nejYn+v>oW^1@QX|oltW~(j~QkFxT*f_fOnUyTJUb?Z{h(=u4Ta zayMz0mD-zzTt2+;@6FGZWi>%Fyy(>}Ze4ikPC~QqtQLnA1&n;mZrv?mS2i*KpZBFZH_CF$ z*466k=Uxv}68F+k{(8QAn(O7(%}pj1AyFysnM9pmZAnOWH0*xkYjZ4eqo+z`PyTb` zopbKT#Ff6R-Mdogq|AKPhoR;6>#yIw`^&iUT-asTQ%tfIzL~3i`DWDbnQ*J|+p^1b zFFdW3L@UY`9v8bA^3{E(Z15HiufK&-Ix}qB9Gh1jTw7|6A$cVUhN*Q%Tm>I3f#Xv1xeE>0GF7 zq17oCO%}CWLix)IwPXs`pm{1IUO21)Y_JxI+|FuJtwT= zcBf|l+S?s0Z(=!YB1-07y8hbxU(~+bbIubydTz6v(t5A;MY=Lcf~k#l>WQ}u(M!8s zZdXiy|Eey_#&X`xle6MeFY33lZRFxg%}XgRDN0Su1+nszvbYS54HOI%fUIT*k#+|W zMj&PaVrC#_0b*7lW&>h&Am#vKP9Ww2Vs0Sj0b*Vt<^y7WAQk{(K_C_aV&Ux$A|mBK zISfn<%}p$f4W{qs6_tkbwm;$(&GB
Copyright 2003-2022 by" " John Johnson Software, LLC.
" "
All Rights Reserved
" - "
Version 3.6.4
" + "
Version 3.6.5
" "" "
You have EAGLE version " + m_eagle_compatibility + "
" ""); diff --git a/pcb-gcode.ulp b/pcb-gcode.ulp index 6b342cc..2d1c64a 100644 --- a/pcb-gcode.ulp +++ b/pcb-gcode.ulp @@ -21,7 +21,7 @@ #include "source/filename_subs.h" #usage "
pcb-gcode™ Gcode Generation Utility
" - " Version 3.6.4

" + " Version 3.6.5

" "Copyright© 2003 - 2022 by John Johnson Software, LLC
" "All Rights Reserved

" "

" diff --git a/rakefile.rb b/rakefile.rb index 16a3476..e8b773f 100644 --- a/rakefile.rb +++ b/rakefile.rb @@ -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"