Date   
user-gcode.h help

Scott Goldthwaite
 

I want to modify the 

FILE_END[ALL] = "(End of every file)\n";  

gcode so my spindle moves to a specific spot.  I know I could do something like this:

FILE_END[ALL] = "(End of every file)\nG0 X1 Y1 Z1\n";

But for the z position, I want to use whatever is entered in the "Z high" field from the setup screen.  The name of this variable is DEFAULT_Z_HIGH.   Is there a way I can do something like this:

FILE_END[ALL] = "(End of every file)\nG0 X1 Y1 Z" + DEFAULT_Z_HIGH + "\n";


  




Configuring to use IJ format for G02/G03 arcs

Aaron Borgman
 

I'm trying to modify the .pp file to generate G02/G03 arcs using the IJ format instead of radius.


I hoped that changing:


string ARC_CLOCK     = ARC_CW + MOVE_XY + R_FORMAT + FR_FORMAT + EOL;

to


string ARC_CLOCK     = ARC_CW + MOVE_XY + IJ_FORMAT + EOL;


Would do it - but it doesn't.


The function is still passing radius and feed rate.


You just get an entry where I=radius and J=feedrate.




How do I get pcb-gcode to generate arcs using the IJ format instead of radius?


Re: Mirror problem

bernal.gerardo@...
 

Thanks for the fast replay Art

Was my mistake, as you mentioned there is no need to select the mirror option to generate both sides.

Thanks again!

Re: Mirror problem

Art Eckstein
 

Greetings,
I am not sure which side of the board your not generating??

In the setup ulp, have you checked the boxes for doing both sides as show below?? If so, it should generate the necessary files for both sides of the boards and no additional "Mirror" should be necessary.  With the options shown, the X and Y directions will all be positive for the top side coordinates and for the bottom, the X will be negative and Y will be positive coordinates.



Also, just to make sure, have you selected the appropriate post processor under the GCode Style tab??





Regards

Art
Country Bubba





At 02:07 PM 5/30/2015, you wrote:


Hi

I'm trying to mirror the board to mill a double sided board, the problem is that even with the mirror option selected, the g code is not mirrored. I'm using Eagle 7.2.0 and le latest pcbgcode.

Any ideas?

Thank you!!




Mirror problem

bernal.gerardo@...
 

Hi

I'm trying to mirror the board to mill a double sided board, the problem is that even with the mirror option selected, the g code is not mirrored. I'm using Eagle 7.2.0 and le latest pcbgcode.

Any ideas?

Thank you!!


Re: Using Pcb-gcode with proteus

cartronics
 

Thanks Harvey ,

If only I had the option ?

It may not be a problem with pcb-gcode ?

Proteus saves the file as a cadcam drill.txt

when I load it into pcb-gcode it is shown too large

and of course it converts it as shown so I'm not sure where the problem

lies


regards..........Peter

Re: Using Pcb-gcode with proteus

Harvey White
 

On 26 May 2015 08:05:32 -0700, you wrote:

Hi Mick M,
thanks for the reply, I thought that was the case so in proteus I made sure I switched to mm and saved it
as such, it seems to be out by a factor of 10.
Save as cm?

Harvey


regards.........Peter

Re: Using Pcb-gcode with proteus

cartronics
 

Hi Mick M,

thanks for the reply, I thought that was the case so in proteus I made sure I switched to mm and saved it

as such, it seems to be out by a factor of 10.

 regards.........Peter 

Re: Using Pcb-gcode with proteus

Michael Mearns
 

Hi;
  It sounds like you have a conflict between millimeters and inches.
Mick M

Using Pcb-gcode with proteus

cartronics
 

Hi all,

I have built a 3dprinter using mostly meccano with the idea to also use it to drill

my pcb's. anyway I use proteus for my board designs and I am using Repetier software

for the printer, I can convert my proteus  drill files to .nc files using pcb-gcode

and the repetier software allows me to run the printer as a cnc machine

the problem is that when I load the nc file the scaling appears to be way to large

is there a way I can adjust the scaling please?


Thanks Peter

Re: Help modifying profile files

John J <john6060842@...>
 

Please see sections 4.1 and 4.2 in the users manual for an explanation of .pp files, how to modify them, etc.

Regards,
JJ

On Sun, May 10, 2015 at 4:37 PM, scott@... [pcb-gcode] <pcb-gcode@...> wrote:
 

I figured out in the GCode Options tab if I uncheck: "Do tool change with zero step" it doesn't create the 2nd M06 command



--
Sent from a MacBook Pro

Re: Help modifying profile files

Scott Goldthwaite
 

I figured out in the GCode Options tab if I uncheck: "Do tool change with zero step" it doesn't create the 2nd M06 command

Re: Help modifying profile files

m_elias
 

I have a similar problem with M06 commands where the second M06 in the tool change code throws an error in my EMC2 installation. When it first started happening I looked into how to customize my profile/user code to remove it but I concluded that it was not possible. So now I manually edit my gcode's tool change code to change the M06 to M00 and I also insert a move command to a suitable location over head of my pcb for Z height zeroing.

Help modifying profile files

Scott Goldthwaite
 

My Shapeoko doesn't support tool changes and when I use bCNC gcode sender, it gives me an error on M06. So I'm trying to modify pcb-gcode so it doesn't use M06.  First I tried modifying my shapeoko.pp file


I changed:

string TOOL_CHANGE      = OPERATOR_PAUSE + TOOL_CODE + " ; " + FORMAT + EOL;

to this:

string TOOL_CHANGE      = COMMENT_BEGIN  + OPERATOR_PAUSE + TOOL_CODE + " ; " + FORMAT + COMMENT_END + EOL;


But this had no effect on the gcode output. I double checked that shapeoko.pp was the selected profile.  Is the tool change string of the pp file even being used by pcb-gcode?

So I changed it back and next modified gcode_default.h. 
I changed string TOOL_CHANGE to:
string TOOL_CHANGE      = COMMENT_BEGIN  + OPERATOR_PAUSE + TOOL_CODE + " ; " + FORMAT + COMMENT_END + EOL;

And this did work but there's still more I want to change.   I want to modify this tool change code:
(Tool zero begin)
(Bottom Tool zero begin)
G01 Z0.0000 F10.00 
M06

I want to comment out both lines (G01 a& M06) for the tool change, but I can't figure out which file I should edit.

--Scott


Re: PCB GODE Java problem

Fox Mulder <quakeman1@...>
 

Hi,

when you look back at 20. March 2015 in the mailing list there was a
thread with subject "Viewer problems". There are some mails about the
new compiled viewer and which file is for what. :)

Ciao,
Rainer

Am 07.05.2015 um 15:21 schrieb Gary@... [pcb-gcode]:



Thank you for the information and files. I just don't know where the
files go.

Any help would be appreciated.

Tnx Gary

Re: PCB GODE Java problem

Gary@...
 

Thank you for the information and files. I just don't know where the files go.

Any help would be appreciated.

Tnx Gary

Re: PCB GODE Java problem

Roy Emeny
 



Hi All,
Thank you for the replies re path and link to upgraded files.
At the moment I have a working system running Win 8.1, Eagle 7.2 and original pcbgcode - so no urgent problem.

However, have been trying to repair my original win7, Eagle 6 with the new files for java/pcg-gcode.
The new file(s) remove the error message,  I get the usual sequence of windows telling me close windows as the viewer runs BUT no view window.
Obviously I have done something wrong as I was unsure which of the files on dropbox I needed for my particular setup.

Will plod on as probably the solution depends on my setup but just wanted to thank those who have offered help this far. Of course if there is a readme file somewhere that I have missed that would be appreciated.

Roy


On Wednesday, 6 May 2015, 4:28, "'Eric van de Weyer' eric@... [pcb-gcode]" wrote:


 
Hi Roy,
 
The reason that you can’t see the path is that it may be a hidden folder.
 
73....Eric VK2VE.
From: pcb-gcode@... [mailto:pcb-gcode@...]
Sent: Wednesday, 6 May 2015 6:54 AM
To: pcb-gcode@...
Subject: Re: [pcb-gcode] PCB GODE Java problem
 



Hi Gary,
Yes it produces the code but I do like to check the board using the preview. 
When I get a chance my next test is to see if I can reinstall an earlier version of Java.
I don't understand where the 'path' in the error has come from, the directory mentioned doesn't exist on my machine.
Roy
 
 
 
On Tuesday, 5 May 2015, 20:03, "Gary@... [pcb-gcode]" <pcb-gcode@...> wrote:
 
 
Hi Roy,

On further research I have found that the only thing that is missing is the prevues. It saves the PCB GCODE in tacked.

Gary 
 






Avast logo
This email has been checked for viruses by Avast antivirus software.
www.avast.com



Re: PCB GODE Java problem

Eric
 

Hi Roy,

 

The reason that you can’t see the path is that it may be a hidden folder.

 

73....Eric VK2VE.

From: pcb-gcode@... [mailto:pcb-gcode@...]
Sent: Wednesday, 6 May 2015 6:54 AM
To: pcb-gcode@...
Subject: Re: [pcb-gcode] PCB GODE Java problem

 




Hi Gary,

Yes it produces the code but I do like to check the board using the preview. 
When I get a chance my next test is to see if I can reinstall an earlier version of Java.

I don't understand where the 'path' in the error has come from, the directory mentioned doesn't exist on my machine.

Roy

 

 

 

On Tuesday, 5 May 2015, 20:03, "Gary@... [pcb-gcode]" <pcb-gcode@...> wrote:

 

 

Hi Roy,

On further research I have found that the only thing that is missing is the prevues. It saves the PCB GCODE in tacked.

Gary 

 







Avast logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com


Re: PCB GODE Java problem

Fox Mulder <quakeman1@...>
 

I think it is the same problem which was discussed in late march. The
viewer was compiled with an older java version and doesn't run with
newer versions. Somebody recompiled the viewer application which now
works even with java 8.
The link on dropbox for the viewer is:
https://www.dropbox.com/sh/hprbutsmxe5ys87/AACgrfr79L6vI5lY1UonDV70a?dl=0

Ciao,
Rainer

Am 05.05.2015 um 22:53 schrieb Roy Emeny forjacdf@... [pcb-gcode]:



Hi Gary,
Yes it produces the code but I do like to check the board using the
preview.
When I get a chance my next test is to see if I can reinstall an earlier
version of Java.
I don't understand where the 'path' in the error has come from, the
directory mentioned doesn't exist on my machine.
Roy




On Tuesday, 5 May 2015, 20:03, "Gary@... [pcb-gcode]"
<pcb-gcode@...> wrote:




Hi Roy,

On further research I have found that the only thing that is missing
is the prevues. It saves the PCB GCODE in tacked.

Gary


Re: PCB GODE Java problem

Roy Emeny
 

Hi Gary,
Yes it produces the code but I do like to check the board using the preview. 
When I get a chance my next test is to see if I can reinstall an earlier version of Java.
I don't understand where the 'path' in the error has come from, the directory mentioned doesn't exist on my machine.
Roy




On Tuesday, 5 May 2015, 20:03, "Gary@... [pcb-gcode]" wrote:


 
Hi Roy,

On further research I have found that the only thing that is missing is the prevues. It saves the PCB GCODE in tacked.

Gary