How to generate a ngc file from solidworks CAM
- Kawafuji
- Offline
- New Member
-
Less
More
- Posts: 4
- Thank you received: 0
12 Feb 2019 16:07 #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 or Create an account to join the conversation.
- pl7i92
-
- Offline
- Platinum Member
-
Less
More
- Posts: 1872
- Thank you received: 357
13 Feb 2019 13:45 #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
The following user(s) said Thank You: Kawafuji
Please Log in or Create an account to join the conversation.
- fc60
- Offline
- Premium Member
-
Less
More
- Posts: 131
- Thank you received: 7
13 Feb 2019 15:14 #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
The following user(s) said Thank You: Kawafuji
Please Log in or Create an account to join the conversation.
- peterk6502
- Offline
- New Member
-
Less
More
- Posts: 8
- Thank you received: 2
13 Feb 2019 17:29 #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)
Attachments:
The following user(s) said Thank You: Kawafuji
Please Log in or Create an account to join the conversation.
- peterk6502
- Offline
- New Member
-
Less
More
- Posts: 8
- Thank you received: 2
13 Feb 2019 17:37 #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.
The following user(s) said Thank You: Kawafuji
Please Log in or Create an account to join the conversation.
- Kawafuji
- Offline
- New Member
-
Less
More
- Posts: 4
- Thank you received: 0
14 Feb 2019 12:56 - 14 Feb 2019 13:05 #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.
Last edit: 14 Feb 2019 13:05 by Kawafuji.
Please Log in or Create an account to join the conversation.
- Kawafuji
- Offline
- New Member
-
Less
More
- Posts: 4
- Thank you received: 0
14 Feb 2019 13:04 #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 or Create an account to join the conversation.
- Kawafuji
- Offline
- New Member
-
Less
More
- Posts: 4
- Thank you received: 0
14 Feb 2019 13:06 #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 or Create an account to join the conversation.
- Leon82
- Offline
- Platinum Member
-
Less
More
- Posts: 592
- Thank you received: 79
14 Feb 2019 13:48 #126454
by Leon82
Replied by Leon82 on topic How to generate a ngc file from solidworks CAM
There should be a setting for the extension of the g code file.
Please Log in or Create an account to join the conversation.
Time to create page: 0.081 seconds