Thingiverse

cyclic cam scad (lib)/script by achiestdragon
by Thingiverse
Last crawled date: 4 years, 3 months ago
scad script for some basic cam profiles
updated v0.2c adds internal cam types
and fixes a minor bug in the hypo and epicyclic profiles
updated v0.2d added a few more types
render times much improved over version 0.1 and is a complete rewrite
still a some more profiles to add before its a complete lib function
NOTE you may need to set
edit>preferences>advanced> turn off rendering at value
to 256000 in order for them to render correctly
openscad 2013.06
definable profile shape , radius, profile depth ratio, surface steps , number of lobes , height, twist ,twist slices , shaft hole size and type
read script comments for instructions
provides :-
Cyclic_Cam(profile_type,r,phr,sa,nt,h,tw,sl,hole_type,hole_size,pd)
Internal_Cyclic_Cam(profile_type,r,phr,sa,nt,h,tw,sl,pd,rim,atol)
Cyclic_Cos_Cam(r,phr,sa,nt,h,tw,sl,hole_type,hole_size)
pure cosine cam gear generator for use with a knife
edge point of contact
Cyclic_Pin_Cam(r,phr,sa,nt,h,tw,sl,hole_type,hole_size,pd)
a cosine function cam for use with a roller/bearing
(with a diameter of pd) as point of contact
Cyclic_Hypo_Cam(r,phr,sa,nt,h,tw,sl,hole_type,hole_size)
a pure hypocycloid function for use with a knife
edge point of contact
Cyclic_Epi_Cam(r,phr,sa,nt,h,tw,sl,hole_type,hole_size)
a pure Epicycloid cam function for use with a knife
edge point of contact
an extra test module is included
Cos_Cam_test();
draws one of each type of cam as per main picture
Cyclic_Cos_Cam(red)
Cyclic_Pin_Cam(green)
Cyclic_Hypo_Cam(blue)
Cyclic_Epi_Cam (yellow)
(this may take an hour or two to render)
updated v0.2c adds internal cam types
and fixes a minor bug in the hypo and epicyclic profiles
updated v0.2d added a few more types
render times much improved over version 0.1 and is a complete rewrite
still a some more profiles to add before its a complete lib function
NOTE you may need to set
edit>preferences>advanced> turn off rendering at value
to 256000 in order for them to render correctly
openscad 2013.06
definable profile shape , radius, profile depth ratio, surface steps , number of lobes , height, twist ,twist slices , shaft hole size and type
read script comments for instructions
provides :-
Cyclic_Cam(profile_type,r,phr,sa,nt,h,tw,sl,hole_type,hole_size,pd)
Internal_Cyclic_Cam(profile_type,r,phr,sa,nt,h,tw,sl,pd,rim,atol)
Cyclic_Cos_Cam(r,phr,sa,nt,h,tw,sl,hole_type,hole_size)
pure cosine cam gear generator for use with a knife
edge point of contact
Cyclic_Pin_Cam(r,phr,sa,nt,h,tw,sl,hole_type,hole_size,pd)
a cosine function cam for use with a roller/bearing
(with a diameter of pd) as point of contact
Cyclic_Hypo_Cam(r,phr,sa,nt,h,tw,sl,hole_type,hole_size)
a pure hypocycloid function for use with a knife
edge point of contact
Cyclic_Epi_Cam(r,phr,sa,nt,h,tw,sl,hole_type,hole_size)
a pure Epicycloid cam function for use with a knife
edge point of contact
an extra test module is included
Cos_Cam_test();
draws one of each type of cam as per main picture
Cyclic_Cos_Cam(red)
Cyclic_Pin_Cam(green)
Cyclic_Hypo_Cam(blue)
Cyclic_Epi_Cam (yellow)
(this may take an hour or two to render)