Chow Loong Jin
hyperair at debian.org
Fri Apr 24 00:14:47 EDT 2015
On Fri, Apr 24, 2015 at 12:13:00PM +0800, Chow Loong Jin wrote:
> On Thu, Apr 23, 2015 at 08:16:08AM -0700, Yvette S. Hirth, CCP, CDP wrote:
> > hi all,
> > i'm trying to "cut" threads in openSCAD. i'm using the threads.scad module
> > i found on thingiverse, like so:
> > use <threads.scad>;
> > ...
> > english_thread(diameter=(632ScrewRadius*2),
> > threads_per_inch=32,
> > length=(coverDepth+coverThickness),
> > internal=true,
> > $fn=30);
> > gosh, is it *slow*! i played a game of freecell and the progress meter
> > hasn't budged from "just started". and now i've finished typing this email
> > and still no progress.
> > i put cylinders in the code to check for positioning and depth; once i got
> > those right, i commented out ONLY the first cylinder and inserted just the
> > code for the one thread above. my res time (F6) was 45sec; now it could be
> > hours. from *one* thread - and i have four to gen before slicing.
> > i'm sure the lack of progress is due to threads.scad creating a bazillion
> > polygons. i'm not trying to complain; i'm just trying to get my stuff
> > printed.
> > is there any alternative to threads.scad?
> Use OpenSCAD 2015.03 and threads.scad from MCAD's dev branch. It's an updated
> version of the threads.scad you're using. Uses list comprehension, and sweep()
> for generalized extrusion of the threads, and is much faster than the
> implementation you're using.
Oh, it also obeys $fs, $fa and $fn, so you'll have to tweak those values for
higher faceting resolution on small diameters. OpenSCAD's default $fs, $fa and
$fn parameters are unfortunately pretty coarse.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: Digital signature
More information about the Discuss