News:

Please note new Forum URL: forum.designcad.com

Main Menu
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.

Cheapskate bolts

Started by samdavo, April 20, 2013, 09:55:35 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

samdavo

I decided to have a go at a bolt symbol with lesser file size and regen time.

I enclose three options,

1. one formed (correct except for the fact that the thread doesn't spiral) with a triangular (app) M20 thread of about 55mm length of thread;

2. the second a cheapskate version with stacked salami slices, alternating 20d and 16d; with the smaller one meant to indicate the minor diameter, and a darker colour to indicate shadow.    About 60mm of "thread".

3. the third using texture mapping.

Comments and Results as follows:-

a.  Firstly, an admission - The "bolt proper" might have a few more facets (maybe 25% more) even around the cylinder that the square thread,  hence not a fair comparison of file sizes (below).   HOWEVER, there is a value of 4500 off 3d faces in the true one/ bolt proper, (!!) which is unmatched in either of the others ( for whatever reason).  And the wireframe (first jpeg) appears to have a massive number of small facets for the bolt proper.

b.  But more importantly (for me anyway), the  square thread looks the neatest, and least prone to strange shadow effects. 

c.  The texture mapping was too difficult for me, and pretty sloppy.  Furthermore, when loaded into DWGTrueview and/or Sketchup, the texturemap had been lost (for someone of my abilities anyway).   

d. With the square thread, I have made the length of thread a "group within a group", so that you can undo the nested group, then stretch (or squash)  the length of thread - or the unthreaded shank for that matter.   Makes it easy to make longer or shorter bolts.   The first jpeg shows this in wireframe.

Size of files:-
Bolt proper.dcd = 976kB
Square thread.dcd = 592kB.
stripes.dwg = 281kN

Exported to AutoCAD
Bolt proper.dwg = 302kB
Square thread.dwg = 489kB.
stripes.dwg = 139kN

Then, during import into Sketchup, the number of 3d faces is given as :-
  Bolt proper  = 4572 !!!
Square thread =  (nil? - no mention?)
stripes.dwg = 72

"Polyfaced meshes" are all about 300 (in all 3 cases) - whatever they are (?).

Summary, the square thread looks the way to go.

PS In the second attachment, the square and triangular threads are shown first;  Both as screendumps from within DCAD - and then within Sketchup)

... and then the texture map (dittoO.  The right-most image is what you get in Sketchup when you import the Texturemap. (or when I imported it anyway).   And this is after exporting from DCAD to DWG (to SKETCHUP).   Sounds like a tortuous path, and only an optimist would expect it to be easy - so that a novice like me would get it right first time.   

There is also a small table of data that you are presented with when you import a DWG file into Sketchup - note that 4500+ 3d faces for the bolt proper. 

samdavo

#1
Here's the dcad drawing, plus a jpeg screendump with shading. - including the texture mapping ( and , in the first post, I enclosed the picture I tried to wrap  FWIW)

(btw, I found it on the web - googled "black and white bands" - back it came with BoneyM , lol - got there in the end).

PS I find texture mapping totally unpredictable.  Sometimes it looks , mmm almost acceptable,  but at other times it is totally distorted.   And I tried wrapping around solids, and then thin-walled cylinder shells, etc etc.  No joy.

You will see below that I also tried wrapping it on a long bolt, then compressing it lengthwise ( effectively compressing the photo in that direction).   A bit better but still pretty hopeless (well for this cylindrical application anyway).

As I say, I prefer the square thread option.

samdavo

#2
So here's a question,
would you expect a smaller file if you make the cylinder hollow/ shell ?

cos, lol,  I just sliced the two bolts, and I find that the "bolt proper" was a solid shaft,  but the "square thread bolt" was hollow.  (it wasn't intentional ok -    but then again, nor was the discovery of Xrays). 2 cents

PS  What about the thread?  (by which I mean you sweep a line rather than a plane).  But in this case, both bolt options are solid, one a swept plane, the other a pile of solid salami slices.   


prl

#3
Quote from: samdavo on April 20, 2013, 11:03:59 PM
would you expect a smaller file if you make the cylinder hollow/ shell ?

The general rule in 3d modeling is to use the least facet count solid/component necessary for the proper display of the item relative to the view/display distance of the model.  Facets obviously affects file size, program memory usage, and graphic display performance.

Blocks are good for file size and program memory usage, but for total modeling, perhaps you adopt CMF  (coarse, medium, and fine) components, especially for mechanical assemblies with fasteners.

Coarse solids/components for the total assembly.  Medium and fine solids/components for enlarged subassemblies or partial assembly exploded views etc.


samdavo

#4
Thanks prl,
Sorry - the bit about CMF has gone over my head. I guess you are saying that you use coarse when you can get away with it,  eg if there are numerous bolts, relatively small in comparison to the assembly, then no need for detail.  But if you want to detail a machined bolt , then do it better.

Questions then ...
Q1. Is it possible to draw something in Fine, and change some copies thereof to Coarse?

Q2. Do blocks help with regen time?

Q3.  Would it be totally stupid to draw say each thread (or couple of threads) as a block, then pile them on top of each other, then save the lot as a nested block?   That way we could even have a spiral on that thread (although to be honest, I find that pretty optional).

Q4. Has anyone out there done a bolt with helical thread?
Or any tips? cheers.   

prl

#5
QuoteQ1. Is it possible to draw something in Fine, and change some copies thereof to Coarse?

Sure, create your blocks with the same insertion points.    Example, M14X1.5X30C, M14X15X30M, M14X15X30F.   Or put all three bolts in the same block on different layers and use layers to control which block is visible.  Note this can get tricky regarding layers.  Blocks encapsulate the original source layers of the block assembly.  There is a complicated thread topic discussing blocks back around Christmas 2012.   

QuoteQ2. Do blocks help with regen time?

Phil, (DrPr) did some tests that suggested yes.

QuoteQ3.  Would it be totally stupid to draw say each thread (or couple of threads) as a block, then pile them on top of each other, then save the lot as a nested block?   That way we could even have a spiral on that thread (although to be honest, I find that pretty optional).

All tricks are valid until demonstrated to be less than helpful.  Only way to know for sure is give it a shot.

QuoteQ4. Has anyone out there done a bolt with helical thread?

That's in this forum somewhere.  Comes up every few months.

magic

Hi Sam,

If you're interested, you can find a tutorial on a properly spiralled bolt here: http://www.jqoc.com/soft/DesignCAD-Tutorial/20071121/503.html

Below is one, I made earlier.
It's a kind of magic!




samdavo

#7
Ahh, that's brilliant, thanks magic.
Your nic is well chosen sir.

I realise that I should not be posting in the "Tips and Tricks";  more appropriate would be "Gen Discussion" - or better still "Help Wanted" lol

The next thing I want to do is to draw a female thread.  I'll have a go at it myself, based on  your tutorial.    But one easy option would probably be ...

1. Select the bolt you have drawn.
2. Drive it into a plate with a hammer lol.
3. Delete that solid from the plate.
Hopefully that makes sense  :)

A few things I am learning...  having concentrated almost exclusively on 2D for many (many) years, I have missed a lot of the fun/challenges/power of DCAD.   But likewise, I may have to go back to many default hotkeys, because they don't work in Paperspace. (as far as I can tell anyway).   Things that are second nature to me don't work!!  Little things like that , lol. 

Dr PR

Sam,

You have the right idea - subtract the bolt from the plate. You may want to scale the bolt a little to get a slip fit between the parts.

It gets a bit more tricky when you look at real nuts and such. Often they have a conical entrance to the threaded hole, to eliminate sharp edges. The equation for the intersection between a helical surface and a conical surface is a mathematical nightmare, and even more so when you try to represent these continuously variable surfaces with faceted surfaces the way DesignCAD does. It took many years for the programmers to get this to work right!

I think it is easier to put the conical holes in the plate before subtracting the helical thread. Ten years ago this was certainly true, but I haven't tried it in a while so with V22 it may be easier to subtract the thread and then subtract a cone. Try both.

Where things really get tricky is when the threaded hole isn't perpendicular to the plate, and the conical entry is really elliptical. Don't be surprised if DesignCAD (or any program) doesn't get this right!

Phil
DesignCAD user since 1987

samdavo

Quote from: magic on April 21, 2013, 11:05:59 AM
Below is one, I made earlier.
magic, any chance of posting that as a dcd (drawing) file?
I'm interested in making a block of (say) 2 threads,  which could be stacked - as blocks, - and hence made into an approximate variable length of thread. 

magic

Hi Sam,

Here you are! I zipped it as it's 14MB.
It's a kind of magic!




samdavo

THanks magic.
On another matter, I have another trick of sorts - well, saves me a lot of time.  If I have to draw a plate bolted to another plate, I show the bolts as a really simple cheapskate bolt - or sometimes even a cylinder (threads are hidden inside right?) - but no biggie to add some cheapskate thread if required to clarify ( eg wireframe).

Then when I draw the plate with the head of the bolt, I AGAIN show the bolt, and this reinforces the note that says "Drill clearance hole 22diam for M20 bolt etc".  And I don't bother to even drill the hole in the plate, because the bolt covers it in any case. i.e., the bolt remains driven into both plates with that big hammer I mention above.

Heck- sometimes you can get away with a rivet posing as a bolt (2 cents)
and when I draw the plate with the female thread, I again show the bolt driven into the plate, and this time it is clear that the holes should be tapped. 
Just that this saves drilling holes in plates (let alone drawing female threads) - 2 cents.

Dempsey

Sam,

It all depends how you use the individual pieces that you are drawing. I do my woodworking designs in 3D so that people using my design can see the finished product. I also "explode" (push apart) the 3D drawing to show the separate pieces of a project, for example, so that the mortises and tenons become visible; and that provides the "imaginary challenged" folks a good view what each piece looks like.

I draw the tenons on say a stretcher, make a solid out of it, and then subtract that from the solid stiles thus creating the mortise. Theoretically the mortise should be a fraction deeper and wider to provide for the glue space, but I have never found the need to draw that.
Dempsey

samdavo

dempsey,
yep - agree , makes sense - and it's not a real big problem to draw those holes I concede.

on another matter ...
When you do an exploded view, I imagine you do it manually, using an axis with a number of points equidistantly along it as the handles?   Drag eachpart out, then save as a new drawing (or manually put them back ?)   Sounds like an excuse for another macro btw.
cheers
sam

Dempsey

Sam,

That macro I have already; have a look at http://forum.designcad.com/index.php?topic=1582.0.

I used it as an excuse to learn BasicCAD. Next winter I might try to optimize it a bit as it is a bit slow with large selection.
Dempsey