PlasmaC Just using pierce for circle centre

More
6 years 1 month ago #181538 by phillc54
[strike]Hmm, I don't know what is happening there.
I ran your gcode on my test setup and it worked correctly using both the cut-mode button and using #<pierce-only> at the top of the code.
I then created a sim using your config and again it worked correctly both ways.[/strike]

I just recalled that your file extension is .tap and I had renamed the file to .ngc so I renamed it back to .tap and it failed.

You have two options, one is to only use .ngc as the extension for gcode files, the other is to edit plasma_machine.ini and change:
Code:
[FILTER] PROGRAM_EXTENSION = .ngc remove z axis stuff ngc = ./plasmac/plasmac_gcode.py

to:
Code:
[FILTER] PROGRAM_EXTENSION = .ngc remove z axis stuff ngc = ./plasmac/plasmac_gcode.py tap = ./plasmac/plasmac_gcode.py

Please Log in to join the conversation.

More
6 years 1 month ago #181539 by rodw
Simplest solution is to go into Sheetcam
Options/Application Options/Default directories and set the output file extension to ngc

Attachment not found



While you are there, if using Sheetcam on your Plasmac PC, set your folders to your prefefences.

Please Log in to join the conversation.

More
6 years 1 month ago #181540 by phillc54
It is interesting, as the default for new config "should" be:
Code:
[FILTER] PROGRAM_EXTENSION = .ngc (filter gcode files) ngc = ./plasmac/plasmac_gcode.py nc = ./plasmac/plasmac_gcode.py tap = ./plasmac/plasmac_gcode.py

Edit: fixed the path to the file...

Please Log in to join the conversation.

More
6 years 1 month ago #181574 by Dean_A
Thanks you both, I'm at work now so can't test it but I will later when your all giving it ZZzzzzz.

I think I'll go with both options, altering the Plasma_machine.ini will catch any other times it might happen if I ever use a different Cam package or someone else's G-code.!

Please Log in to join the conversation.

More
6 years 1 month ago #181588 by phillc54
If you do go that way then another option is to change:
Code:
PROGRAM_EXTENSION = .ngc (filter gcode files)

to:
Code:
PROGRAM_EXTENSION = .ngc,.nc,.tap (filter gcode files)

then files with those extensions will appear in the open dialog

Please Log in to join the conversation.

More
6 years 1 month ago #181589 by Clive S

phillc54 wrote: It is interesting, as the default for new config "should" be:

Code:
[FILTER] PROGRAM_EXTENSION = .ngc (filter gcode files) ngc = ./plasmac_gcode.py nc = ./plasmac_gcode.py tap = ./plasmac_gcode.py


So we just add the above in the ini file (will it get over written with update ?)

Phil good news. All I did was change the file extension to .ngc and it worked.

So there were two issues. one being the version of sheetcam to be the Dev version and the file name ending.

txt = ./plasmac_gcode.py #### could this be added as well

Please Log in to join the conversation.

More
6 years 1 month ago #181592 by phillc54

Clive S wrote: So we just add the above in the ini file

Yes, but it would be better if you change it like here


(will it get over written with update ?)

No


Phil good news. All I did was change the file extension to .ngc and it worked.

Great


txt = ./plasmac_gcode.py #### could this be added as well

You could, I am not sure if there is a limit on the extensions. The file of course must be in gcode format.

Please Log in to join the conversation.

More
6 years 1 month ago #181615 by Clive S

phillc54 wrote: It is interesting, as the default for new config "should" be:

Code:
[FILTER] PROGRAM_EXTENSION = .ngc (filter gcode files) ngc = ./plasmac_gcode.py nc = ./plasmac_gcode.py tap = ./plasmac_gcode.py



Phill

[FILTER]
PROGRAM_EXTENSION = .ngc remove z axis stuff
ngc = ./plasmac/plasmac_gcode.py
nc = ./plasmac_gcode.py
tap = ./plasmac_gcode.py


Have I got this correct as it throws an error I also tried it with ./plasmac/plasmac_gcode.py
on each line

Also where would this go
PROGRAM_EXTENSION = .ngc,.nc,.tap (filter gcode files)

Please Log in to join the conversation.

More
6 years 1 month ago #181616 by phillc54
Sorry Clive, my bad.

This is how I ran it on a sim of Deans config:
Code:
[FILTER] PROGRAM_EXTENSION = .ngc,.tap,.nc ngc = ./plasmac/plasmac_gcode.py nc = ./plasmac/plasmac_gcode.py tap = ./plasmac/plasmac_gcode.py

Please Log in to join the conversation.

More
6 years 1 month ago #181620 by Clive S

phillc54 wrote: Sorry Clive, my bad.

This is how I ran it on a sim of Deans config:

Code:
[FILTER] PROGRAM_EXTENSION = .ngc,.tap,.nc ngc = ./plasmac/plasmac_gcode.py nc = ./plasmac/plasmac_gcode.py tap = ./plasmac/plasmac_gcode.py



What am I missing

[FILTER]
##PROGRAM_EXTENSION = .ngc remove z axis stuff
##ngc = ./plasmac/plasmac_gcode.py

PROGRAM_EXTENSION = .ngc,.tap,.nc
ngc = ./plasmac/plasmac_gcode.py
nc = ./plasmac/plasmac_gcode.py
tap = ./plasmac/plasmac_gcode.py

I get this error
[FILTER]
##PROGRAM_EXTENSION = .ngc remove z axis stuff
##ngc = ./plasmac/plasmac_gcode.py

PROGRAM_EXTENSION = .ngc,.tap,.nc
ngc = ./plasmac/plasmac_gcode.py
nc = ./plasmac/plasmac_gcode.py
tap = ./plasmac/plasmac_gcode.py

Attachment not found

Please Log in to join the conversation.

Time to create page: 0.107 seconds
Powered by Kunena Forum