On Friday 05 June 2020 14:08:46 Martin Dobbins wrote:

> Changed the subject :-)
>
> Gene Heskett wrote:
> >Now, looking at the sprocket code in openscad, it will not render a
> >motor shaft over 9.9mm, using this line of code, no clue what
> > language this is, but its a .scad file, part of the parametric
> > pulley kit.
> >
> >translate([0,0,-1])cylinder(r=motor_shaft/2,h=pulley_b_ht +
> > pulley_t_ht + retainer_ht + 2,$fn=motor_shaft*4);
>
> I have to remind you, I am:
>
> 1;total noob on openscad
> 2;clueless on 3d printing
>
> It makes sense to me to start with the openscad drawing (you do have
> openscad installed?) to generate the .stl files that the slicer (Cura
> or slic3r) eat.  I ask because featured on that thingiverse page are
> 14 .stl files that you can feed direct to slicer, 1 .xls file that you
> can do some microsoftey spreadsheet thing with and 1 .scad file which
> (I will take a wild guess) is a native openscad file.  I think if you
> use this to render and save the .stl files for the slicer, life might
> be easier.  Your  motor shaft size is limited by the parameters you
> show above all of these are listed at the top of the scad program as
> "tuneable constants" at the top you can change them to fit your use
> case and have any motor shaft you need.
>
>
> It looks like this:
>
> // Parametric Pulley with multiple belt profiles
> // by droftarts January 2012
>
> // Based on pulleys by:
> // http://www.thingiverse.com/thing:11256 by me!
> // https://github.com/prusajr/PrusaMendel by Josef Prusa
> // http://www.thingiverse.com/thing:3104 by GilesBathgate
> // http://www.thingiverse.com/thing:2079 by nophead
>
> // dxf tooth data from
> http://oem.cadregister.com/asp/PPOW_Entry.asp?company=915217&elementID
>=07807803/METRIC/URETH/WV0025/F // pulley diameter checked and modelled
> from data at http://www.sdp-si.com/D265/HTML/D265T016.html
>
> /**
>  * @name Pulley
>  * @category Printed
>  * @using 1 x m3 nut, normal or nyloc
>  * @using 1 x m3x10 set screw or 1 x m3x8 grub screw
>  */
>
>
> // tuneable constants
>
> teeth = 8; // Number of teeth, standard Mendel T5 belt = 8, gives
> Outside Diameter of 11.88mm profile = 6; // 1=MXL 2=40DP 3=XL 4=H
> 5=T2.5 6=T5 7=T10 8=AT5 9=HTD_3mm 10=HTD_5mm 11=HTD_8mm 12=GT2_2mm
> 13=GT2_3mm 14=GT2_5mm
>
> motor_shaft = 5.2; // NEMA17 motor shaft exact diameter = 5

Go ahead, set this to 10.0 or above, nothing happens when you click on 
render.

> m3_dia = 3.2; // 3mm hole diameter
> m3_nut_hex = 1; // 1 for hex, 0 for square nut
> m3_nut_flats = 5.7; // normal M3 hex nut exact width = 5.5
> m3_nut_depth = 2.7; // normal M3 hex nut exact depth = 2.4, nyloc = 4
[...]


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/gene>


_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to