coding for roller cams
- grey1beard
- Offline
- Elite Member
- Posts: 167
- Thank you received: 0
Does anyone know of an open source ( ie free !) piece of software that will help in simplifying the process of going from a specification to g-code ?
I'm aware of Inkscape's G-code tools, which would mean I'd be doing a lot of upgrading, but I was thinking more along the lines of a small program that would allow me to enter radius, and angle of start and finish, rather than drawing it out first, then having possible problems getting the path interpreted correctly.
John
Please Log in or Create an account to join the conversation.
I'm pretty sure sheetcam can generate the correct profile. Do you have a dxf of the cam profile that you can post? If so I'll check it out and post the result so you can check it out.
John
Please Log in or Create an account to join the conversation.
- grey1beard
- Offline
- Elite Member
- Posts: 167
- Thank you received: 0
Not at the moment, but I'll see if I can produce one by tomorrow - about to go out to celebrate my 72nd birthday !
EDIT Slight delay in celebrations, so I hope this is ok.
It's typical of what I need, namely 24 positions around the cam at three different heights. The original was a circle converted to paths, then modified manually, so it's not spot on.
But then that probably isn't critical.
It's to control the eye movements in an animatronic chameleon - don't ask.
John
EDIT 2 .......But like I said, it would be great to be able to generate the profile from an input table of a deinition of the heights and positions. For me that would be a lot quicker.
Please Log in or Create an account to join the conversation.
I'm at work and can view your cam and see what you mean about the cam but can't run it through sheetcam from here. I can see where a table driven cam would be much better. I know I can to that in Solidworks but that is high dollar software.
John
Please Log in or Create an account to join the conversation.
I'm running diy 3 axis using ubuntu 8.04/EMC2, and I want to machine some nylon roller cams.
Does anyone know of an open source ( ie free !) piece of software that will help in simplifying the process of going from a specification to g-code ?
The mathematics of roller-lift to cam profile are quite complex, as the roller contact point "leads" or "lags" the line between the centres.
Things get even more complex if the roller moves through an arc.
If I was trying to design such a cam, I think my approach would be to use Excel (or Open Office) and have that produce the G-code directly.
This approach actually works rather well for mathematical shapes like cams.
Alternatively, if you choose a cutter diameter to exactly match the roller diameter, you can "solve the mathematics in hardware". With a rotary acis it then becomes a very simple hand-coding excercise. If you don't have a rotary axis you can convert in Excel/OO again.
(I even think that there is a demo kinematics module that emulates a rotary axis in a cartesian machine)
Please Log in or Create an account to join the conversation.
John, here is what I got from Sheetcam... I could not get an outside arc entry with cut on line (you would have to use cutter offset). There is some extra code in there for my plasma you can just delete. Any how you can see the output...
John
Please Log in or Create an account to join the conversation.
- grey1beard
- Offline
- Elite Member
- Posts: 167
- Thank you received: 0
I'll have a play over the weekend.
I'll also put my mind to Andy's suggestion, and try a speadsheet approach.
The problem only arose when I loaded my hand cut steel cam with my hand cut steel followers. Off load, it did what I wanted, but friction took over, and clunk.
Now got some 3mm nylon in the post, so I'll machine that.
Many thanks,
John
Please Log in or Create an account to join the conversation.
If you get a chance post a photo of the cam, it sounds real interesting to see the mechanics of it.
John
Please Log in or Create an account to join the conversation.
- grey1beard
- Offline
- Elite Member
- Posts: 167
- Thank you received: 0
John
Please Log in or Create an account to join the conversation.
John
Please Log in or Create an account to join the conversation.