On Saturday 13 February 2016 05:56:19 linden wrote:

> Have a look at this it i am not sure if you can mirror with it i don't
> think so, but it is python and may give some smarter people than me
> ideas how Gene method may be automated. I have found this a very
> useful tool along with his F engrave.
>
> http://www.scorchworks.com/Gcoderipper/gcoderipper.html
>
> I am not affiliated with this work at all just grateful for the
> kindness of this person for sharing his code and this useful to me any
> way tool.
>
> linden

linden, everybody thats looking for a high tech, hard to learn way to do 
this, I should point out that either geda, which more than occasionally 
upchucks and wreck your file, or geany, both have this search and 
replace on a global nature.  A pcb-gcode output file may be north of 
100k LOC, but geany can run thru that 100k LOC, doing those swaps in 
less than 10 seconds per operation, far less time than it takes to 
describe it once you've made the entry's in the pulldown and clicked on 
the equ of an "all" button.

>From the original file, to the ready to load into LCNC to see what you 
have mirrored file might be something over a minute if you have worked 
out what you need to do beforehand.  With the LCNC's backplot showing 
the machines limits, and the extants of the original, that will tell you 
if you need to use the temp holder, or can just change the sign.
pcb-gcode unfotunately does NOT use named variables, but direct numbers, 
as do many if not all of the code  generators I have looked at so you 
cannot search for Y#, just the Y and change that to U-, (be sure you 
stay in the 9 axis names else you may hit something else in your code by 
accident, then change any Y- to Y, and finally the U- gets changed back 
to Y-.

Just make sure you start from the top of the file each time, neither 
editor will backup from where the curser is.

And I am still anti gedit, its wrecked too many files and caused me too 
much grief with its tendency to scramble the order of a files lines, or 
pickup 25 lines from here, and duplicate them 350 lines below in the 
middle of something else. geany hasn't done that yet, it just works.

I haven't run into it yet, but if there are G2/G3's in the file, 
something the code generators seem highly allergic to doing as they tend 
to synth arcs in .001" moves per LOC, or make a circle into an octagon 
of the same size. Just one of the reasons pcb-gcodes output is so 
voluminous.  But such a mirroring may also need to swap G2 for G3 and 
vice versa if the code contains any G2/G3's. You'll obviously see it 
when its loaded into the sim-axis version of LCNC.

[...]

geany, FWIW as I've not explored that facet, does has a build & execute 
function, where one could precompose, or maybe load such a short set of 
commands from a previously saved build script to do this on a wholesale 
basis.  I recommend exploring that feature if you have to mirror 
everything in one side of a car to the other side.

Fancy, high priced cam solutions will eat your lunch time and thats not 
what we are about.

My stuff tends to be onsies, not a whole car's BOM, so I've not looked 
into it.  I'd druther see sawdust or swarf flying so I do that sort of 
thing one at a time as it might be months before I need another pcb. 
Except for the trim parts, everything in one of these blanket chests can 
be turned end for end or side for side, 100% symetrical within 10 thou & 
that is because the wood has moved since I cut it or before/after I 
machined it.  Thats what small mouthed hand planes are for. :)

Keeps me out of the bars don'tcha know. ;-)

Now, I'm gonna go make that sanding form I wrote the code for last night.  
Propteries says about 175 minutes run time.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to