I am trying to create some threads with linear extrude. These are not standard size, I am trying to replace a broken part. They need to be placed at the right level around a hollow cylinder. So I need to have a code section that creates threads without anything else like a bolt or nut.
First one I made sort of works. The problem I have is when I extrude a circle it gets really thin in larger sizes. If I could extrude a sphere it would work great. I have tried rotate and other things but can't get it.
I suppose I should download a threads module but I didn't want to take the time to learn it. The images show nuts and bolts, not what I need. For an example think of a soda pop cap, that is close but I need external.
Thanks
Lee
not entirely certain the shape you're aiming for, do you have a crude
drawing or picture of the off-the-shelf version?
On Sat, Dec 2, 2023, 22:08 Lee A via Discuss discuss@lists.openscad.org
wrote:
I am trying to create some threads with linear extrude. These are not
standard size, I am trying to replace a broken part. They need to be placed
at the right level around a hollow cylinder. So I need to have a code
section that creates threads without anything else like a bolt or nut.
First one I made sort of works. The problem I have is when I extrude a
circle it gets really thin in larger sizes. If I could extrude a sphere it
would work great. I have tried rotate and other things but can't get it.
I suppose I should download a threads module but I didn't want to take the
time to learn it. The images show nuts and bolts, not what I need. For an
example think of a soda pop cap, that is close but I need external.
Thanks
Lee
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
This is part of the bouncing spring on the cheat sheet. This is what I want except I want it round.
On 12/2/2023 11:27 PM, david coneff via Discuss wrote:
not entirely certain the shape you're aiming for, do you have a crude drawing or picture of the off-the-shelf version?
On Sat, Dec 2, 2023, 22:08 Lee A via Discuss <discuss@lists.openscad.org> wrote:
I am trying to create some threads with linear extrude. These are not standard size, I am trying to replace a broken part. They need to be placed at the right level around a hollow cylinder. So I need to have a code section that creates threads without anything else like a bolt or nut.
First one I made sort of works. The problem I have is when I extrude a circle it gets really thin in larger sizes. If I could extrude a sphere it would work great. I have tried rotate and other things but can't get it.
I suppose I should download a threads module but I didn't want to take the time to learn it. The images show nuts and bolts, not what I need. For an example think of a soda pop cap, that is close but I need external.
Thanks
Lee_______________________________________________
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org<pre class="moz-quote-pre" wrap="">_______________________________________________ OpenSCAD mailing list To unsubscribe send an email to <a class="moz-txt-link-abbreviated" href="mailto:discuss-leave@lists.openscad.org">discuss-leave@lists.openscad.org</a>
Is this any good to you Lee?
include <BOSL2/std.scad>
$fn = 128;
difference()
{
spiral_sweep(circle(5), h=90, r=20, turns=5);
translate([0,0,43])
cube([50,50,15],center=true);
translate([0,0,-43])
cube([50,50,15],center=true);
}
On 2023-12-03 16:37, Lee A via Discuss wrote:
This is part of the bouncing spring on the cheat sheet. This is what I
want except I want it round.
On 12/2/2023 11:27 PM, david coneff via Discuss wrote:
not entirely certain the shape you're aiming for, do you have a crude
drawing or picture of the off-the-shelf version?
On Sat, Dec 2, 2023, 22:08 Lee A via Discuss
discuss@lists.openscad.org wrote:
I am trying to create some threads with linear extrude. These are
not standard size, I am trying to replace a broken part. They
need to be placed at the right level around a hollow cylinder. So
I need to have a code section that creates threads without
anything else like a bolt or nut.
First one I made sort of works. The problem I have is when I
extrude a circle it gets really thin in larger sizes. If I could
extrude a sphere it would work great. I have tried rotate and
other things but can't get it.
I suppose I should download a threads module but I didn't want to
take the time to learn it. The images show nuts and bolts, not
what I need. For an example think of a soda pop cap, that is
close but I need external.
Thanks
Lee
_______________________________________________
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
OpenSCAD mailing list
To unsubscribe send an email todiscuss-leave@lists.openscad.org
OpenSCAD mailing list
To unsubscribe send an email todiscuss-leave@lists.openscad.org
A baby can be defined as an ego with a noise at one end and a smell at the other.
Your job as parents is to teach them to control all three.
My job as a grandad is to tell you how you are doing it all wrong!
On 12/3/23 00:07, Lee A via Discuss wrote:
I am trying to create some threads with linear extrude. These are not
standard size, I am trying to replace a broken part. They need to be
placed at the right level around a hollow cylinder. So I need to have a
code section that creates threads without anything else like a bolt or nut.
First one I made sort of works. The problem I have is when I extrude a
circle it gets really thin in larger sizes. If I could extrude a sphere
it would work great. I have tried rotate and other things but can't get it.
I suppose I should download a threads module but I didn't want to take
the time to learn it. The images show nuts and bolts, not what I need.
For an example think of a soda pop cap, that is close but I need external.
Thanks
Lee
I needed a buttress thread so I made a small polygon describing the
tooth , extruded it o be about a degree thick, tilted it just enough the
steps in the thread pitch disappeared then looped it on the outside of a
cylinder to make a bolt. then to actually make the parts, if its being
used to difference() to make a nut, I make it a teeny bit bigger than
the printer nozzle, or if making a bolt I reduce the size by the same
amount.
Easier to describe than do but that is the outline. The whole thing is
around 45 mm in diameter but the shrink is only limited by the printers
definition and nozzle size. This is not brittle PLA territory, but PETG,
much more resilient.
Take care and stay well Lee.
"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.
On 12/2/2023 9:07 PM, Lee A via Discuss wrote:
I am trying to create some threads with linear extrude.
Linear extrude with a twist seems like such an obvious way to make
threads or a helix... and it really doesn't work, if you want a round
cross-section. It's possible to do, if you make a helix and slice it
and then extrude that slice, but that slice is hard to derive. (It
looks sort of like a banana.)
Use a threads library.
https://github.com/BelfrySCAD/BOSL2/wiki/threading.scad
has a ton of technical details on how threads are designed, but the
examples are relatively simple. Find an example that looks sort of like
what you want, and tweak it to your exact requirements.
The right sidebar lists a couple of specialized threading sub-libraries.
And threadlib of A Schlatter https://github.com/adrianschlatter/threadlib?
Ciao
Dev: Java/Perl/PHP OS:GNU/LINUX, Android
Aïkido: http://aikido.zorn.free.fr, http://www.aikido-club-saverne.fr
Jordan Brown via Discuss discuss@lists.openscad.org schrieb am So., 3.
Dez. 2023, 08:22:
On 12/2/2023 9:07 PM, Lee A via Discuss wrote:
I am trying to create some threads with linear extrude.
Linear extrude with a twist seems like such an obvious way to make threads
or a helix... and it really doesn't work, if you want a round
cross-section. It's possible to do, if you make a helix and slice it and
then extrude that slice, but that slice is hard to derive. (It looks sort
of like a banana.)
Use a threads library.
https://github.com/BelfrySCAD/BOSL2/wiki/threading.scad
has a ton of technical details on how threads are designed, but the
examples are relatively simple. Find an example that looks sort of like
what you want, and tweak it to your exact requirements.
The right sidebar lists a couple of specialized threading sub-libraries.
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
Hi Lee,
As others may or may not have said, a thread is a profile, which is
rotated and moved up or down a certain amount, usually an equal amount,
per rev, so to speak. A single for loop can do that.
The profile can be generated by points on a polygon, or by combining
whatever shape you want, and it is linear extruded a small amount,
depending on what material and process you are using to create the
thread. I then rotate that shape, and then rotate it and move
vertically in the desired direction and rate.It is easier to visualise
and create an external thread, and if you want internal threads, then
difference it from whatever object you want to be internally threaded.
Be aware of clearance, and the fact that many internal threads and
matching external thread do not have the same profiles.
I've attached the scad files that I use. A Whitworth thread profile
example (whitprof.scad), and the file to generate a tapered plug. You
can adapt it to your needs if you wish. This tapered plug can take a
long time to process, but for a quick look, change the $fn value to
something smaller, However, in the code attached, I've commented out
the lines that are not not required so that a plain thread, with no
fancy ends is created.
Best wishes,
Ray
on 03/12/2023 05:07, Lee A via Discuss wrote:
I am trying to create some threads with linear extrude. These are not
standard size, I am trying to replace a broken part. They need to be
placed at the right level around a hollow cylinder. So I need to have
a code section that creates threads without anything else like a bolt
or nut.
First one I made sort of works. The problem I have is when I extrude a
circle it gets really thin in larger sizes. If I could extrude a
sphere it would work great. I have tried rotate and other things but
can't get it.
I suppose I should download a threads module but I didn't want to take
the time to learn it. The images show nuts and bolts, not what I need.
For an example think of a soda pop cap, that is close but I need external.
Thanks
Lee
OpenSCAD mailing list
To unsubscribe send an email todiscuss-leave@lists.openscad.org