Date   
Re: b# files

René F. Viancos S.
 

Just rename with .brd the file you need to recover.... 


El domingo, 28 de junio de 2015, KC kc1of36@... [pcb-gcode] <pcb-gcode@...> escribió:
 

Can anyone tell me how to recover a .brd from the b# (back-up files? Didn't save and Eagle crashed.
I know it's an Eagle CAD question but I thought I might get answer here faster.
Thanks, Keith



--
René Felipe Viancos.



Re: b# files

Joe Ching
 

Just rename the back-up file extension to .brd

 

 

From: pcb-gcode@... [mailto:pcb-gcode@...]
Sent: Sunday, June 28, 2015 11:16 AM
To: pcb-gcode@...
Subject: [pcb-gcode] b# files

 

 

Can anyone tell me how to recover a .brd from the b# (back-up files? Didn't save and Eagle crashed.

I know it's an Eagle CAD question but I thought I might get answer here faster.

Thanks, Keith

Re: b# files

Art Eckstein
 

Keith,
simply rename the b# file back to .brd (and don't forget to do the same for the corresponding s# to .sch) to recover both files.

HTH

Art
Country Bubba

At 02:15 PM 6/28/2015, you wrote:


Can anyone tell me how to recover a .brd from the b# (back-up files? Didn't save and Eagle crashed.
I know it's an Eagle CAD question but I thought I might get answer here faster.
Thanks, Keith

b# files

keith3125
 

Can anyone tell me how to recover a .brd from the b# (back-up files? Didn't save and Eagle crashed.
I know it's an Eagle CAD question but I thought I might get answer here faster.
Thanks, Keith

Re: user-gcode.h help

Scott Goldthwaite
 

This one worked:
FILE_END[ALL] = "(End of every file)\nG0 X1 Y1 " + fr(MOVE_Z, DEFAULT_Z_HIGH) + "\n"; 

Thanks!!  I didn't try the other.

Re: user-gcode.h help

John J <john6060842@...>
 

This may fail due to dependencies, but give this a try:
FILE_END[ALL] = "(End of every file)\nG0 X1 Y1 " + fr(MOVE_Z, DEFAULT_Z_HIGH) + "\n";
The functon fr stands for format real. There are other functions in source/string.h that you might find helpful, such as fi to format an integer, etc.

If that fails, try:
FILE_END[ALL] = "(End of every file)\nG0 X1 Y1 Z" + real_to_string(DEFAULT_Z_HIGH) + "\n";

The first method is preferable, as the second uses a global variable and could affect other things (not one of my proudest moments, but working around something in EAGLE, I'm sure).

Regards,
JJ


On Fri, Jun 5, 2015 at 8:50 AM, scott@... [pcb-gcode] <pcb-gcode@...> wrote:
 

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";


  






--
Sent from a MacBook Pro

Re: user-gcode.h help

Art Eckstein
 

Still looks good to me, what is the error message??

Country


At 11:42 AM 6/5/2015, you wrote:


I tried it and got an error when I ran the ULP.  I'm not sure what other variations to try.



Posted by: scott@...

Re: user-gcode.h help

Scott Goldthwaite
 

I tried it and got an error when I ran the ULP.  I'm not sure what other variations to try.

Re: user-gcode.h help

Art Eckstein
 

Looks like it should work, give it a try and see what happens.
I know I tried a bunch of different things in my iterations of making a custom post.

Art
Country Bubba


At 08:50 AM 6/5/2015, you wrote:


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";

 







Posted by: scott@...

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