open source cam shaft design?

classic Classic list List threaded Threaded
17 messages Options
Reply | Threaded
Open this post in threaded view
|

open source cam shaft design?

matthew venn
Anyone use software for designing cams? I'm having problems searching the internet because of the acronym CAM.
Matt

--
Matthew Venn
mattvenn.net
Reply | Threaded
Open this post in threaded view
|

Re: open source cam shaft design?

matthew venn
no-one?

On 21 February 2013 09:48, matthew venn <[hidden email]> wrote:
Anyone use software for designing cams? I'm having problems searching the internet because of the acronym CAM.
Matt

--
Matthew Venn
mattvenn.net



--
Matthew Venn
mattvenn.net
Reply | Threaded
Open this post in threaded view
|

Re: open source cam shaft design?

Kevin Crowley
same issue as you

On Mon, Mar 4, 2013 at 8:33 AM, matthew venn <[hidden email]> wrote:
no-one?


On 21 February 2013 09:48, matthew venn <[hidden email]> wrote:
Anyone use software for designing cams? I'm having problems searching the internet because of the acronym CAM.
Matt

--
Matthew Venn
mattvenn.net



--
Matthew Venn
mattvenn.net

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566

Reply | Threaded
Open this post in threaded view
|

Re: open source cam shaft design?

Lampbus
try 'cam profile software'
or 'cam profile design'
?
A quick google yealded some promising leads...


On 04/03/2013 14:42, Kevin Crowley wrote:
same issue as you

On Mon, Mar 4, 2013 at 8:33 AM, matthew venn <[hidden email]> wrote:
no-one?


On 21 February 2013 09:48, matthew venn <[hidden email]> wrote:
Anyone use software for designing cams? I'm having problems searching the internet because of the acronym CAM.
Matt

--
Matthew Venn
mattvenn.net



--
Matthew Venn
mattvenn.net

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566



_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566

Reply | Threaded
Open this post in threaded view
|

Re: open source cam shaft design?

Kevin Crowley
I wouldn't have thought of using the word "profile."  thanks.

On Mon, Mar 4, 2013 at 10:22 AM, Richard Benjamin <[hidden email]> wrote:
try 'cam profile software'
or 'cam profile design'
?
A quick google yealded some promising leads...



On 04/03/2013 14:42, Kevin Crowley wrote:
same issue as you

On Mon, Mar 4, 2013 at 8:33 AM, matthew venn <[hidden email]> wrote:
no-one?


On 21 February 2013 09:48, matthew venn <[hidden email]> wrote:
Anyone use software for designing cams? I'm having problems searching the internet because of the acronym CAM.
Matt

--
Matthew Venn
mattvenn.net



--
Matthew Venn
mattvenn.net

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566



_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566

Reply | Threaded
Open this post in threaded view
|

Re: open source cam shaft design?

Taylor Alexander

This just reminds me how broken our current search methods are. I'd love it if Google (or some new search engine) actually *knew* what a cam is and what CAM is, and how they're different. It would basically have to ask the user for clarification (not enough context in a standard short search). It would be great if users all knew what search string would be best, but there's always going to be situations where the user didn't think to, like in this case, toss in the word profile.
I just remember reading a Paul Graham essay on this and it kinda stuck with me. Sorry for going off topic.

On Mar 4, 2013 9:27 AM, "Kevin Crowley" <[hidden email]> wrote:
I wouldn't have thought of using the word "profile."  thanks.

On Mon, Mar 4, 2013 at 10:22 AM, Richard Benjamin <[hidden email]> wrote:
try 'cam profile software'
or 'cam profile design'
?
A quick google yealded some promising leads...



On 04/03/2013 14:42, Kevin Crowley wrote:
same issue as you

On Mon, Mar 4, 2013 at 8:33 AM, matthew venn <[hidden email]> wrote:
no-one?


On 21 February 2013 09:48, matthew venn <[hidden email]> wrote:
Anyone use software for designing cams? I'm having problems searching the internet because of the acronym CAM.
Matt

--
Matthew Venn
mattvenn.net



--
Matthew Venn
mattvenn.net

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566



_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566
Reply | Threaded
Open this post in threaded view
|

Re: open source cam shaft design?

clothbot
Dunno if it's because of google's "intelligent search" mechanisms that key off my personal search history, but for me I get pretty much the same results when I search for the original "cam shaft design" subject as I do for "cam profile design" - lots of relevant results.

Andrew.

On 2013-03-04, at 2:12 PM, Taylor Alexander wrote:

This just reminds me how broken our current search methods are. I'd love it if Google (or some new search engine) actually *knew* what a cam is and what CAM is, and how they're different. It would basically have to ask the user for clarification (not enough context in a standard short search). It would be great if users all knew what search string would be best, but there's always going to be situations where the user didn't think to, like in this case, toss in the word profile.
I just remember reading a Paul Graham essay on this and it kinda stuck with me. Sorry for going off topic.

On Mar 4, 2013 9:27 AM, "Kevin Crowley" <[hidden email]> wrote:
I wouldn't have thought of using the word "profile."  thanks.

On Mon, Mar 4, 2013 at 10:22 AM, Richard Benjamin <[hidden email]> wrote:
try 'cam profile software'
or 'cam profile design'
?
A quick google yealded some promising leads...



On 04/03/2013 14:42, Kevin Crowley wrote:
same issue as you

On Mon, Mar 4, 2013 at 8:33 AM, matthew venn <[hidden email]> wrote:
no-one?


On 21 February 2013 09:48, matthew venn <[hidden email]> wrote:
Anyone use software for designing cams? I'm having problems searching the internet because of the acronym CAM.
Matt

--
Matthew Venn
mattvenn.net



--
Matthew Venn
mattvenn.net

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566



_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566
_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566

--

"The future is already here.  It's just not very evenly distributed" -- William Gibson

Me: http://clothbot.com/wiki/



Reply | Threaded
Open this post in threaded view
|

Re: open source cam shaft design?

Taylor Alexander
Yeah, google has been trying by learning what you search, but I just feel like they should make a greater effort to distinguish between homophones.


On Mon, Mar 4, 2013 at 11:29 AM, Andrew Plumb <[hidden email]> wrote:
Dunno if it's because of google's "intelligent search" mechanisms that key off my personal search history, but for me I get pretty much the same results when I search for the original "cam shaft design" subject as I do for "cam profile design" - lots of relevant results.

Andrew.

On 2013-03-04, at 2:12 PM, Taylor Alexander wrote:

This just reminds me how broken our current search methods are. I'd love it if Google (or some new search engine) actually *knew* what a cam is and what CAM is, and how they're different. It would basically have to ask the user for clarification (not enough context in a standard short search). It would be great if users all knew what search string would be best, but there's always going to be situations where the user didn't think to, like in this case, toss in the word profile.
I just remember reading a Paul Graham essay on this and it kinda stuck with me. Sorry for going off topic.

On Mar 4, 2013 9:27 AM, "Kevin Crowley" <[hidden email]> wrote:
I wouldn't have thought of using the word "profile."  thanks.

On Mon, Mar 4, 2013 at 10:22 AM, Richard Benjamin <[hidden email]> wrote:
try 'cam profile software'
or 'cam profile design'
?
A quick google yealded some promising leads...



On 04/03/2013 14:42, Kevin Crowley wrote:
same issue as you

On Mon, Mar 4, 2013 at 8:33 AM, matthew venn <[hidden email]> wrote:
no-one?


On 21 February 2013 09:48, matthew venn <[hidden email]> wrote:
Anyone use software for designing cams? I'm having problems searching the internet because of the acronym CAM.
Matt

--
Matthew Venn
mattvenn.net



--
Matthew Venn
mattvenn.net

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566



_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566
_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566

--

"The future is already here.  It's just not very evenly distributed" -- William Gibson

Me: http://clothbot.com/wiki/




_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566

Reply | Threaded
Open this post in threaded view
|

Re: open source cam shaft design?

matthew venn
Well I still couldn't find something that worked, so I wrote this:

hope it's useful for someone.

On 4 March 2013 20:02, Taylor Alexander <[hidden email]> wrote:
Yeah, google has been trying by learning what you search, but I just feel like they should make a greater effort to distinguish between homophones.


On Mon, Mar 4, 2013 at 11:29 AM, Andrew Plumb <[hidden email]> wrote:
Dunno if it's because of google's "intelligent search" mechanisms that key off my personal search history, but for me I get pretty much the same results when I search for the original "cam shaft design" subject as I do for "cam profile design" - lots of relevant results.

Andrew.

On 2013-03-04, at 2:12 PM, Taylor Alexander wrote:

This just reminds me how broken our current search methods are. I'd love it if Google (or some new search engine) actually *knew* what a cam is and what CAM is, and how they're different. It would basically have to ask the user for clarification (not enough context in a standard short search). It would be great if users all knew what search string would be best, but there's always going to be situations where the user didn't think to, like in this case, toss in the word profile.
I just remember reading a Paul Graham essay on this and it kinda stuck with me. Sorry for going off topic.

On Mar 4, 2013 9:27 AM, "Kevin Crowley" <[hidden email]> wrote:
I wouldn't have thought of using the word "profile."  thanks.

On Mon, Mar 4, 2013 at 10:22 AM, Richard Benjamin <[hidden email]> wrote:
try 'cam profile software'
or 'cam profile design'
?
A quick google yealded some promising leads...



On 04/03/2013 14:42, Kevin Crowley wrote:
same issue as you

On Mon, Mar 4, 2013 at 8:33 AM, matthew venn <[hidden email]> wrote:
no-one?


On 21 February 2013 09:48, matthew venn <[hidden email]> wrote:
Anyone use software for designing cams? I'm having problems searching the internet because of the acronym CAM.
Matt

--
Matthew Venn
mattvenn.net



--
Matthew Venn
mattvenn.net

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566



_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566
_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566

--

"The future is already here.  It's just not very evenly distributed" -- William Gibson

Me: http://clothbot.com/wiki/




_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566



--
Matthew Venn
mattvenn.net
Reply | Threaded
Open this post in threaded view
|

Re: open source cam shaft design?

Giles Bathgate-2
On 5 March 2013 13:15, matthew venn <[hidden email]> wrote:
> Well I still couldn't find something that worked, so I wrote this:
> http://www.mattvenn.net/2013/03/05/python-cam-profile-software-for-openscad/
>
> hope it's useful for someone.
>

You might be able to write all of this in openscad, rather than
python. You can do interpolation using the lookup() function

See: http://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Mathematical_Functions#Lookup

...And didn't someone recently add an append() function for building
arrays? (Which I think you would need to build up the points on the
polygon)

Regards,
Giles

Reply | Threaded
Open this post in threaded view
|

Re: open source cam shaft design?

matthew venn
probably, but python is easy!
Matt

On 5 March 2013 14:17, Giles Bathgate <[hidden email]> wrote:
On 5 March 2013 13:15, matthew venn <[hidden email]> wrote:
> Well I still couldn't find something that worked, so I wrote this:
> http://www.mattvenn.net/2013/03/05/python-cam-profile-software-for-openscad/
>
> hope it's useful for someone.
>

You might be able to write all of this in openscad, rather than
python. You can do interpolation using the lookup() function

See: http://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Mathematical_Functions#Lookup

...And didn't someone recently add an append() function for building
arrays? (Which I think you would need to build up the points on the
polygon)

Regards,
Giles
_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566



--
Matthew Venn
mattvenn.net
Reply | Threaded
Open this post in threaded view
|

Re: open source cam shaft design?

kitwallace
In reply to this post by matthew venn
Its not too bad  in openscad -- in fact possibly simpler thanks to openscads vector maths  here's my go at it, composing the cam out of triangles

function interpolate(a, b, ratio) = a + (b - a) * ratio;

function point(v) = [v[1] * sin(v[0]),v[1]*cos(v[0])];


module cam(points,step) {

for (i = [0: len(points)-1])

assign (p0 = points[i],

p1 = points[i+1])

assign(interval = p1[0] - p0[0])

for (j = [0:interval*step - 1])

assign(ps = interpolate(p0,p1, j / interval* step),

pe = interpolate(p0,p1, (j +1)/ interval* step)

)

polygon ([[0,0],point(ps),point(pe)]);

}

snail = [[0,5],[140,10],[350,10],[360,5]];

cam(snail,1);


Chris

Reply | Threaded
Open this post in threaded view
|

Re: open source cam shaft design?

matthew venn
Cool!

On 5 March 2013 17:22, Chris Wallace <[hidden email]> wrote:
Its not too bad  in openscad -- in fact possibly simpler thanks to openscads vector maths  here's my go at it, composing the cam out of triangles

function interpolate(a, b, ratio) = a + (b - a) * ratio;

function point(v) = [v[1] * sin(v[0]),v[1]*cos(v[0])];


module cam(points,step) {

for (i = [0: len(points)-1])

assign (p0 = points[i],

p1 = points[i+1])

assign(interval = p1[0] - p0[0])

for (j = [0:interval*step - 1])

assign(ps = interpolate(p0,p1, j / interval* step),

pe = interpolate(p0,p1, (j +1)/ interval* step)

)

polygon ([[0,0],point(ps),point(pe)]);

}

snail = [[0,5],[140,10],[350,10],[360,5]];

cam(snail,1);


Chris


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566



--
Matthew Venn
mattvenn.net
Reply | Threaded
Open this post in threaded view
|

Re: open source cam shaft design?

Chirantan Ekbote
In reply to this post by kitwallace

On 2013-03-04, at 2:12 PM, Taylor Alexander wrote:

> This just reminds me how broken our current search methods are. I'd love it if Google (or some new search engine) actually *knew* what a cam is and what CAM is, and how they're different. It would basically have to ask the user for clarification (not enough context in a standard short search). It would be great if users all knew what search string would be best, but there's always going to be situations where the user didn't think to, like in this case, toss in the word profile.
> I just remember reading a Paul Graham essay on this and it kinda stuck with me. Sorry for going off topic.
>
*snip* 

Google is already working on something that does this (language disambiguation) and more:

+chirantan
Reply | Threaded
Open this post in threaded view
|

Re: open source cam shaft design?

Giles Bathgate-2
In reply to this post by kitwallace
Nice, Clean that up and submit it to MCAD.

Regards,
Giles

On 5 March 2013 17:22, Chris Wallace <[hidden email]> wrote:
> Its not too bad  in openscad -- in fact possibly simpler thanks to openscads
> vector maths  here's my go at it, composing the cam out of triangles

Reply | Threaded
Open this post in threaded view
|

Re: open source cam shaft design?

kitwallace
In reply to this post by kitwallace
Thanks for the encouragement, guys

After a couple of iterations, during which I wrote my own recursive array interpolation function only to re-read the
emails to discover I'd re-invented lookup (Doh!) so now the script works for steps != 1, the core is down to a few lines and now
seems too trivial for MCAD

https://github.com/KitWallace/openscad/blob/master/cam_profile.scad

A good leaning experience anyway.

Chris
Reply | Threaded
Open this post in threaded view
|

Re: open source cam shaft design?

matthew venn
Chris, thanks for this, now replaced my python script and doing it all in openscad.
Matt

On 7 March 2013 15:40, Chris Wallace <[hidden email]> wrote:
Thanks for the encouragement, guys

After a couple of iterations, during which I wrote my own recursive array interpolation function only to re-read the
emails to discover I'd re-invented lookup (Doh!) so now the script works for steps != 1, the core is down to a few lines and now
seems too trivial for MCAD

https://github.com/KitWallace/openscad/blob/master/cam_profile.scad

A good leaning experience anyway.

Chris

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566



--
Matthew Venn
mattvenn.net