- Posts: 4
- Thank you received: 0
How to generate a ngc file from solidworks CAM
7 years 8 months ago #126279
by Kawafuji
How to generate a ngc file from solidworks CAM was created by Kawafuji
Hi! i'm Kawafuji, Japanese.
I'm poor in writing English, sorry.
I bought a milling machine (PSF550- CNC), and it uses a linuxCNC by default.
I always design parts with SolidWorks, so i want to use SolidWorks CAM as software generating g-code.
However, SolidWorks can't generate .ngc files as g-code files.(it can generate .nc, .ncl, .cnc, .ncc, .txt file)
I came up with three solutions, and tried to do it.
My first solution is converting .nc file to .gnc file. i tried to convert it by myself because there are no converter in any web sites.
i found their rules(syntax), but i can't program to convert it automatically.(can convert it manually)
linuxcnc.org/docs/html/gcode.html
www.imodela.co.uk/pdf/NC_Code_Reference_Manual.pdf
Second solution is to use Fusion360 not SolidWorks. i can generate .ngc file with Fusion360, but i seem to be not able to automatically recognize features. So, i abandon this solution.
Finally, i now tried third solution, questioning you.
I desperately searched and tried these solution, but i couldn't run a g-code file from SolidWoks due to poorness of my programming and English skills.
Therefore, i would like you to solve this difficult problem for me, for you may be good in programming and English.
I'm poor in writing English, sorry.
I bought a milling machine (PSF550- CNC), and it uses a linuxCNC by default.
I always design parts with SolidWorks, so i want to use SolidWorks CAM as software generating g-code.
However, SolidWorks can't generate .ngc files as g-code files.(it can generate .nc, .ncl, .cnc, .ncc, .txt file)
I came up with three solutions, and tried to do it.
My first solution is converting .nc file to .gnc file. i tried to convert it by myself because there are no converter in any web sites.
i found their rules(syntax), but i can't program to convert it automatically.(can convert it manually)
linuxcnc.org/docs/html/gcode.html
www.imodela.co.uk/pdf/NC_Code_Reference_Manual.pdf
Second solution is to use Fusion360 not SolidWorks. i can generate .ngc file with Fusion360, but i seem to be not able to automatically recognize features. So, i abandon this solution.
Finally, i now tried third solution, questioning you.
I desperately searched and tried these solution, but i couldn't run a g-code file from SolidWoks due to poorness of my programming and English skills.
Therefore, i would like you to solve this difficult problem for me, for you may be good in programming and English.
Please Log in to join the conversation.
7 years 8 months ago #126341
by pl7i92
Replied by pl7i92 on topic How to generate a ngc file from solidworks CAM
if you added the Workpath
then simply klick on generate
path
use the Fanuc11 Mill
this will run on the Linuxcnc
then simply klick on generate
path
use the Fanuc11 Mill
this will run on the Linuxcnc
Please Log in to join the conversation.
7 years 8 months ago #126348
by fc60
Replied by fc60 on topic How to generate a ngc file from solidworks CAM
Greetings Kawafuji,
Is there an English Webpage for the PSF550- CNC machine you have?
Cheers,
David
Is there an English Webpage for the PSF550- CNC machine you have?
Cheers,
David
Please Log in to join the conversation.
- peterk6502
- Offline
- New Member
-
Less
More
- Posts: 8
- Thank you received: 0
7 years 8 months ago #126359
by peterk6502
Replied by peterk6502 on topic How to generate a ngc file from solidworks CAM
I use solidcam 2014 for linuxcnc, I have written my own post processor from samples and docs found on the internet. I will post my working version.
Copy all files LINUXCNC.GPP, LinuxCNC.PRP and LinuxCNC.vmid from the zip-file to the folder:
c:\Users\Public\Documents\SolidCAM\SolidCAM2014\Gpptool\
(check the directory of your installation)
Copy all files LINUXCNC.GPP, LinuxCNC.PRP and LinuxCNC.vmid from the zip-file to the folder:
c:\Users\Public\Documents\SolidCAM\SolidCAM2014\Gpptool\
(check the directory of your installation)
Attachment not found
Please Log in to join the conversation.
- peterk6502
- Offline
- New Member
-
Less
More
- Posts: 8
- Thank you received: 0
7 years 8 months ago #126361
by peterk6502
Replied by peterk6502 on topic How to generate a ngc file from solidworks CAM
I thought you wanted a solidcam postprocessor, but I see now that solidcam is not the same as Solidworks CAM. This means that my previous post is not useful for you.
Please Log in to join the conversation.
7 years 8 months ago #126447
by Kawafuji
Replied by Kawafuji on topic How to generate a ngc file from solidworks CAM
Thank you for your advice!
i used Fanuc11 Mill .ctl in solidworks, but i couldn't generate a .ngc file.
i think a machine control(.ctl) which i use affects what file type i can generate.
What do you mean 'use the Fanuc11 Mill' ?
i use CAD/CAM on my windows PC, and run milling on the linux machine by my milling machine. So i need genarating such a nc file as .nc , .gnc, .ncc and so on.
i used Fanuc11 Mill .ctl in solidworks, but i couldn't generate a .ngc file.
i think a machine control(.ctl) which i use affects what file type i can generate.
What do you mean 'use the Fanuc11 Mill' ?
i use CAD/CAM on my windows PC, and run milling on the linux machine by my milling machine. So i need genarating such a nc file as .nc , .gnc, .ncc and so on.
Please Log in to join the conversation.
7 years 8 months ago #126449
by Kawafuji
Replied by Kawafuji on topic How to generate a ngc file from solidworks CAM
Thank you for your advice in spite of my poor english!
what is 'post processor'?
it can convert a g-code file such as .nc to .ngc file?
if your postprocessor can do it, i want to rewrite your file to meet.
what is 'post processor'?
it can convert a g-code file such as .nc to .ngc file?
if your postprocessor can do it, i want to rewrite your file to meet.
Please Log in to join the conversation.
7 years 8 months ago #126450
by Kawafuji
Replied by Kawafuji on topic How to generate a ngc file from solidworks CAM
thank you for adivising.
I don't know it, sorry.
I don't know it, sorry.
Please Log in to join the conversation.
Time to create page: 0.116 seconds
