Is it Possible to get G-CODE file from solidworks ?
Is it Possible to get G-CODE file from solidworks ?
SolidWorks CAM is now included with SolidWorks. I haven't done it, but I imagine you can run through that and get G-Code output.
Yes. The CAM software in SW will output G code. I don't remember if you can change the post processor to get specific output though. The Generic one looks like this.
O0001
N1 G20
N2 (Flow tool)
N3 G91 G28 X0 Y0 Z0
N4 T17 M06
N5 S746 M03
N6 ( Contour Mill1 )
N7 G90 G54 G00 X481.4652 Y-7.691
N8 G43 Z1.6 H17 M09
N9 G01 Z1.106 F3.5068
N10 G41 D37 X480.3621 Y-6.5879 F10.5203
N11 G17 G03 X480.15 Y-6.5 I-.2121 J-.2121
N12 G01 X464.9959 F14.027
N13 X9.9959 Y-4.
N14 X-.15
N15 G03 X-.3621 Y-4.0879 I0 J-.3
N16 G40 G01 X-1.4652 Y-5.191
N17 G00 Z1.6
N18 Z7.5
N19 G91 G28 Z0
N20 G28 X0 Y0
N21 M30
Thank you for your answer
What do you mean by " change the post processor to get specific output though " ?
Scott gave a good link. Essentially it's a "translator". What comes out of the CAM software is same language all the time. However each machine, control, manufacturer etc etc has a slightly different language despite it all being G-Code.
So the language that the CAM software puts out has to be translated to the language the machine will understand.
On top of that you can also specialize the post processor to do things the way you want them to be done. Things like fixture offsets, sub routines, comments, organization etc etc can all be posted the way you want them via the post processor.
Is it Possible to get G-CODE file from solidworks ?
I use the MasterCam for Solidworks add-in.
I do know that there are quite a few Post's available for the Solidworks CAM. The version that is included with Solidworks is somewhat limited. There is an upgraded version available.
I haven't done much with it since I already have MCfSW and it does what I need.
I believe you would need a solidworks add in to get the g-code. Otherwise you would need to use another kind of 3rd party software.