On Sunday, February 13, 2022 5:37:08 PM EST Chris Albertson wrote: > On Sun, Feb 13, 2022 at 10:42 AM Ralph Stirling < > > ralph.stirl...@wallawalla.edu> wrote: > > Freecad "path" workbench generates g-code toolpaths. You can paste > > your openscad source code into freecad with the openscad workbench. > Will it handle this part, a lead screw? Last I looked, Path Workbench > only did 2.5D milling. It would be great if it would do this. I > assume you have to use a 4-axis machine to mill a leadscrew or a CNC > Lathe. It it has been upgraded, I'll download it again and test it > ou Not even todays weekly AppImage can paste it, import the csg, yes but goes nuts for about 10 minutes complaining about the missing qt-5 5.15 stuff and winds up displaying nothing.
If its going to be this picky, I'll just write it by hand once I get all the mill accessories made, installed and calibrated, should be about 70 lines in two loops. First loop to set the depth, 2nd to drive y as a sub to 1st, maybe with a seperate leading z depth, y run to turn to shave it round 1st. Make it 110 LOC. I love loops. I hate writing g-code that does nothing but unwinds a @$#%* loop. This looks like simple code, sightly over a screen full vertically, but it needs 24g of the 32g in this machine to render it. And takes the latest OpenSCAD 10 minutes to f6 the half nut. The scad is attached. > > -- > > Chris Albertson > Redondo Beach, California > > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > . 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, 1940) 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>
// Simple Butress threads for vise screw // By Maurice E. Heskett, translated from wikipedia drawings, in Feb 2022 // included angle of cutting tool 45 degrees // pitch p in mm // option 1 ratios d=3/4p & f=1/8p // option 2 ratios d=2/3p & f=1/6p // major diameter 2" or 50.8mm lmbr=50.8;// thickness of lumber mdt=lmbr-6;// is 3mm per side of thread depth tol=-.3;// set fit clearance from 2" is half nozzle +.1mm od=mdt;// set od of internal thread pitch=4;// mm an1=30; // fixed angle for 90 degree workface an2=0; an=an1+an2; f=pitch*.125; //option 1 d1=pitch*.75;//set depth of tooth //tr=mdt-(pitch*.75)/2;// set depth of tooth relative to md echo(14,lmbr,mdt,tol,od,pitch,d1,f); // show points so far module buttress_thread(tol) {// generate the thread shape, + Z tilted so edge is at thread pitch translate([0,.25,0])rotate([95,0,0]) { translate([0,1.5,0])cube([.5,d1,1.6],center=true); difference() { translate([0,pitch+.5,0]) rotate([0,0,an]) cylinder(h=1.6,d=d1*2.5,center=true,$fn=3); translate([3.875,pitch+1.65,.1]) rotate([0,.0,0]) cube([2.5,2.4,1.85],center=true); } } }; module buttress_bolt(tol) { echo(39,tol); difference() { union() { $fn=180; translate([0,0,25.4]) cylinder(h=50.8,d=od+tol,center=true); for(i=[0:2:359*4.7])// 4,6 2 start threads { k=i/30; rotate([0,0,i])translate([.5*(mdt+tol),0,-7+k])buttress_thread(); rotate([0,0,i+180])translate([.5*(mdt+tol),0,-7+k])buttress_thread(); } } translate([0,0,-6])cylinder(h=6,d=55,true); translate([0,0,50.35])cylinder(h=6,d=55,true); } }; module buttress_halfnut(tol) { difference() { echo(61,tol); translate([16,0,24.7]) cube([32,66,49],center=true); buttress_bolt(tol); } }; //buttress_thread(0); buttress_bolt(-.3); //buttress_halfnut(.3);
_______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users