DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

Drawing a screw (a lead screw to be specific)

Started by roger_c130, April 29, 2012, 10:25:47 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

cavelamb

Quote from: Dr PR on April 30, 2012, 08:21:09 PM
cavelamb,

I don't know what you used for the sweep object, but the resulting "thread" has far too many facets. In addition, it is a hollow grid and not a solid.

When creating solids, ALWAYS use planes, not lines. It will produce a true solid.

I redid your screw, sweeping a simple plane (blue), and file size is 80 Kbytes.

Phil

I didn't sweep anything, Doc.

And, you are absolutely right, it's not a solid!
Sometimes it just has to LOOK like a thing - not actually be it...


cavelamb

WOW!  66KB!

We're gonna start calling you Doctor Johnny Fever!
You are just too cool.

Looks like you swept a rectangle (or trapezoid?) around my spiral.
(I wish I had done that now, but I was intentionally trying NOT to sweep anything)
There are always other ways...





roger_c130

I always seem to omit something when I send a sample drawing or diagram.  The lead screw I'm working with is 4" long with 16 threads per inch.  That makes for some very large numbers when calculating Span Angle and Number of Copies.  Here is what I used for calculating Nr. of Copies:   Span Angle = 64 x 360 = 23040    Vertical Offset = 4   Radius Ratio = 1.  When I  set the Nr. of C at 2304 (360/10*64) a little screen appears "please enter a number between 1 and 1000".  Since that is the max nr allowed, that's what I used.  I defined it as a solid immediately after it was drawn.  That worked because I sliced the ends to produce the exact measurement I needed (3.9").  I wish I had thought about creating the core cylinder like Caveman did.  I probably will go back and do the drawing that way.  How much trouble would it be to change, if possible,  the algorithm to a much higher number for Copies?

To all - your feedbacks are very much appreciated.  Without the Forum I'm afraid DesignCad would die.

Dr PR

Roger,

I suspect the 1000 copies limit is a carryover from earlier times when a gigabyte of RAM was unimaginable. Sweeps, extrusions, arrays and surfaces can create huge files very easily. If there isn't enough RAM the program will crash if your drawing gets too large.

However, today we have gigabytes of RAM in our machines. Unfortunately DesignCAD has not been updated to work with that reality. Maybe one day DT and company will tackle that problem.

One thing you can do is build the screw in sections, with 1000 copies per section. For example, you could make a section 1" long and combine four of them to get a 4" screw.

Cavelamb used a trick of creating the threads separately from the core of the screw. IFF both are solids you can combine tham into one solid. There are two ways to do this:

1. Select the core and the threads and use "Solids/Solid Define." This causes everything to be treated as a single solid, but it doesn't actually fuse the threads into the core cylinder. The inner surfaces of the threads and cylinder remain intact. This usually isn't a problem unless you later explode the solid (Solids/Solid Explode) and try to edit the individual planes or facets. It can also cause problems if you export the object for NC machining or 3D stereolith printing.

2. Use "Solids/Solid Add" to combine the threads and core cylinder into a single solid. This will eliminate the inner surface of the thread and fragment the cylinder surface to generate separate surfaces for the bottom of the thread groove. The resulting solid has no inner surfaces - it is a true single solid. This works best with 3D stereolith and NC machining.

However, "Solid Add" sometimes blows up and totally trashes the object - save a backup copy first! Normally this isn't a problem with simple first solids like the thread and cylinder. However, after you have mangled solids repeatedly with the Solid boolean operations (Add, Subtract, etc.), mirroring, or exploding, editing and redefining solids, the resultant solid may become corrupted and further operations may become unstable.

Phil
DesignCAD user since 1987

wisoak

Not to belabour my efforts and success drawing a bolt, but I also realized that once a threaded bolt is made, it takes only seconds to make a mating nut to go with it, by just using the Solid Subtract.
V24.0