G-code for CNC LATHE

G-code for CNC LATHE

Anonymous
Not applicable
3,843 Views
10 Replies
Message 1 of 11

G-code for CNC LATHE

Anonymous
Not applicable

Hi,

 

I am manufacturing baseball bats and I am now purchasing a CNC lathe.  I have been designing my bat models (templates laser cut in acrylic) in AutoCAD which worked alright.

 

But now, I need G-Codes to run the lathe.

 

What is the best way?

 

1- Design in AutoCAD then convert the file into another software to get G-codes?

2- Directly use another software to design bats into G-code format?

 

Any helpful method is appreciated.

 

Thanks,

Marc

0 Likes
3,844 Views
10 Replies
Replies (10)
Message 2 of 11

HughesTooling
Consultant
Consultant

Design in Fusion then use the CAM to produce the G code. If you make a parametric sketch in Fusion you'll be able to modify the sizes and the CAM will update. Designing in another program first would just waste time. Just draw half of the bat then revolve to make a body.

Help on Revolve.

 

Mark

 

 

Mark Hughes
Owner, Hughes Tooling
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


0 Likes
Message 3 of 11

Anonymous
Not applicable
Hi,

Ok great. That's what I thought, too many steps when starting in AutoCAD.

However, sorry for being a newbie, but is CAM another software then Fusion? Or a function within Fusion?

Thanks!
Marc

Get Outlook for iOS
0 Likes
Message 4 of 11

HughesTooling
Consultant
Consultant

Fusion includes CAM. Here a introduction to turning in Fusion.

before.png

Coming from AutoCAD you will probably find working with sketches a bit frustrating for a while, make sure you go through the tutorials and don't try and make the sketch environment work like AutoCAD.

 

Mark

Mark Hughes
Owner, Hughes Tooling
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


0 Likes
Message 5 of 11

Anonymous
Not applicable
Hi,
Thank you for the response. I actually found a video of a guy designing a baseball bat. Only difference, he copied the outline of an image, whereas I would make precise lines at every inch in the x-axis. Then I would create a spline and connect the dots. Finally, adjusting the splines to make the perfect profile. Then use the revolve function.

My question:
Is there a way to scale a sketch length wise only?

I have several bat profiles. And each profiles need to be in about 8 different lengths (going from 31" to 34")

I know I could use my measurements lines I've done at every inch and move each by a factor of 34/33 let's say, but you can see how lengthy that process is.

Now, it's important that the diameter dimensions do not change. Only in length. And it's not just the end of the bat that lengthens an inch, it's the entire bat (all proportions remain the same)

Is there such function?

Thanks
Marc
0 Likes
Message 6 of 11

HughesTooling
Consultant
Consultant

Sketch doesn't have an option for non uniform scale but you can scale bodies non uniformly. What I'd do is create a component, with it active create your sketch and revolve then create new empty components for each size in the main component, copy the body from you first component and paste one copy into all the other components. Now component1 will be your master, you can activate any of the other components and use scale from the modify menu and just that body will be scaled. If you need to modify the master just select the sketch in the master component and edit, when finished all the copies will update.

 

Mark

Mark Hughes
Owner, Hughes Tooling
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


0 Likes
Message 7 of 11

Anonymous
Not applicable
Ok, so, if I'm understanding correctly:

1- I design one bat in one length.
2- I add components to that sketch that represents each bat length I will wanna create.
3- in each component, I sketch the bat again manually
4- i save that and then I have a complete model done in each length
5- for all other models, all i would have to do is modify the master sketch and all the components (different bat lengths) would adjust automatically.

Is this it?

Questions:
- if I use splines, whenever the lengths adjust automatically, I will probably have to make some adjustments?

Thanks!
Marc
0 Likes
Message 8 of 11

Anonymous
Not applicable
To add to those questions from my last post, I wanted to know if the gcode file that comes out of Fusion 360 will be compatible with any CNC lathe? The way my lathe works, is simply to plug in a USB drive. Will this be ok with Fusion360 ?
You
0 Likes
Message 9 of 11

HughesTooling
Consultant
Consultant

@Anonymous wrote:
Ok, so, if I'm understanding correctly:

1- I design one bat in one length.
2- I add components to that sketch that represents each bat length I will wanna create.
3- in each component, I sketch the bat again manually
4- i save that and then I have a complete model done in each length
5- for all other models, all i would have to do is modify the master sketch and all the components (different bat lengths) would adjust automatically.

Is this it?

Questions:
- if I use splines, whenever the lengths adjust automatically, I will probably have to make some adjustments?

Thanks!
Marc

You have pretty much all that wrong. You need to work through some of the tutorials because you have the terminology wrong and until you know the program a bit better it's going to be difficult to help.

 

Here's a quick screencast to give you some idea how you can make one component the copy the body to another component and scale without effecting the first.

A couple of help links the start with.

http://help.autodesk.com/cloudhelp/ENU/Fusion-Model/files/GUID-8AC7DE3E-DE63-4FCE-9FDA-948ECFC6A93F.htm

 http://help.autodesk.com/view/NINVFUS/ENU/?guid=GUID-E37B0456-A867-429F-BF69-6A4626DD31E7

 

Mark

Mark Hughes
Owner, Hughes Tooling
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


0 Likes
Message 10 of 11

HughesTooling
Consultant
Consultant

@Anonymous wrote:
To add to those questions from my last post, I wanted to know if the gcode file that comes out of Fusion 360 will be compatible with any CNC lathe? The way my lathe works, is simply to plug in a USB drive. Will this be ok with Fusion360 ?
You

Fusions comes with a few generic lathe post processors, these can be modified for your machine. When you have toolpaths set up you just pick post processes and you can save the g code to your usb. 

 

Take a look at this post for info on requesting help modifying your post processor, when you know what you want make a post in the CAM forum.

https://forums.autodesk.com/t5/computer-aided-machining-cam/post-processors-101/td-p/5916925

 

Mark

Mark Hughes
Owner, Hughes Tooling
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


0 Likes
Message 11 of 11

Anonymous
Not applicable

So thanks to your screencast, I've successful come to design a bat in 3 different lengths.  One master component, then different components for each length with the body scale function.  I need to do more lengths but before, I wanted to get familiar with the CAM function.

 

I know I will need to choose or create the appropriate tool and so forth, but I've come to generate a decent tool path.

 

A couple questions:

 

- What is the appropriate way to generate the proper tool path for each component?  Whenever I do a Setup with my Master Component, it doesn't adjust to the different lengths.  Do I need to create a different Setup for each component?  

 

Attached are a few screenshots

 

Thanks

Marc

0 Likes