discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Rods with NopSCADlib show no threads

VB
Verachten Bruno
Mon, Jan 16, 2023 2:25 PM

Hello there,

Something strange happened with my code when using NopSCADlib.
It must be my installation or my mental health, or something because it's
not supposed to happen, and nobody else seems to complain about it.
I can't see the threads in the studding or leadscrews...
The green thing is supposed to be a studding.
studding(2torusHeight3/5, (torusHeight+torusRadius)*2.2, center=false, $fn
=100);[image: round-booth-display.png]
I'm using OpenSCAD https://www.openscad.org/ version 2021.01  and
NopSCADlib master branch.

Thanks.

Bruno Verachten

Hello there, Something strange happened with my code when using NopSCADlib. It must be my installation or my mental health, or something because it's not supposed to happen, and nobody else seems to complain about it. I can't see the threads in the studding or leadscrews... The green thing is supposed to be a studding. studding(2*torusHeight*3/5, (torusHeight+torusRadius)*2.2, center=false, $fn =100);[image: round-booth-display.png] I'm using OpenSCAD <https://www.openscad.org/> version 2021.01 and NopSCADlib master branch. Thanks. -- Bruno Verachten
NH
nop head
Mon, Jan 16, 2023 3:55 PM

I don't know why it is green unless you have coloured it or are
subtracting it, but to show threads you need to either set $show_threads =
true in the scad file or set an environment variable
NOPSCADLIB_SHOW_THREADS=true.

If you set the environment variable all threads will be shown, e.g. nuts
and screws but that is quite slow. If you set it in a let statement you can
enable it on a single leadscrew, for example.

On Mon, 16 Jan 2023 at 14:27, Verachten Bruno gounthar@gmail.com wrote:

Hello there,

Something strange happened with my code when using NopSCADlib.
It must be my installation or my mental health, or something because it's
not supposed to happen, and nobody else seems to complain about it.
I can't see the threads in the studding or leadscrews...
The green thing is supposed to be a studding.
studding(2torusHeight3/5, (torusHeight+torusRadius)*2.2, center=false,
$fn=100);[image: round-booth-display.png]
I'm using OpenSCAD https://www.openscad.org/ version 2021.01  and
NopSCADlib master branch.

Thanks.

Bruno Verachten


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

I don't know why it is green unless you have coloured it or are subtracting it, but to show threads you need to either set $show_threads = true in the scad file or set an environment variable NOPSCADLIB_SHOW_THREADS=true. If you set the environment variable all threads will be shown, e.g. nuts and screws but that is quite slow. If you set it in a let statement you can enable it on a single leadscrew, for example. On Mon, 16 Jan 2023 at 14:27, Verachten Bruno <gounthar@gmail.com> wrote: > Hello there, > > Something strange happened with my code when using NopSCADlib. > It must be my installation or my mental health, or something because it's > not supposed to happen, and nobody else seems to complain about it. > I can't see the threads in the studding or leadscrews... > The green thing is supposed to be a studding. > studding(2*torusHeight*3/5, (torusHeight+torusRadius)*2.2, center=false, > $fn=100);[image: round-booth-display.png] > I'm using OpenSCAD <https://www.openscad.org/> version 2021.01 and > NopSCADlib master branch. > > Thanks. > -- > Bruno Verachten > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
VB
Verachten Bruno
Mon, Jan 16, 2023 4:17 PM

Thanks a lot for your answer, it was as simple as that.
It does work for me now.
Thanks a lot for your help, and of course for your library.

Thanks a lot for your answer, it was as simple as that. It does work for me now. Thanks a lot for your help, and of course for your library.