Quantcast
Channel: CorelDRAW Community
Viewing all articles
Browse latest Browse all 7339

ISO Standard NUT and BOLT screw thread faces ( Inside and Outside thread patterns )

$
0
0

 

Hi All,

It's a first version- not even that in fact, as I'm still writing it - but I figure that deperate people might want anything to produce a standard thread. So this application produces an ISO standard thread profile, for any diameter, pitch and length. 

And it's easy to use. BTW, Klaus, Can you please ask the forum owners to allow ".LSP" extension files to be attached? We need them for CorelCAD but the extension is not recognized and cannot be uploaded. 

So cut out the code ( it's in the next post ) and save as "threads.lsp" in your applications folder...

Instructions.

To load - type in appload and hit enter.
You'll open in your application directory ( hopefully the same place you saved the next response's contents as text as a .LSP file ) and load threads.lsp
 
To use -
 
Type BOLT for outside threads  and press enter.
 
You'll be asked to provide a base point ( start of the thread ), a Diameter ( Millimeters ) and a pitch ( Millimeters ) and a Length.  The program will draw a BOLT thread face and provide a polyline as a sweep path. Select the line bottom as the base, then set the twist to length/pitch*360 - Then select the line as the path. Instant bolt.
 
For inside threads, use NUT - Same process, but the ISO profile for the thread is slightly different. Use a slightly wider diameter - eg, if the bolt is 10mm, then the nut should be 10.2 or 10.4mm - maybe more depending on your printer and how much the model shrinks while cooling. The NUT thread can be cut from a solid to form a nut.

I'm working on a better version that uses sweep to create a more accurate and well balanced mesh, and am trying to work out how to automate the process.  Anyway, the current version should work on all models if ISO bolt - if you know the diameter, pitch and length.
 
The code is terrible. I only started learning LISP on Sunday morning. :( But it works and is mathematically
sound. I'll release what I currently have under a CC license so it can be shared openly - it's CC-BY-SA.

Well, it's computationally intensive and will probably cause more than a few crashes, but it works and creates real-world usable threads based on the ISO standard. ( Metric )
Regards
David

 


Viewing all articles
Browse latest Browse all 7339

Trending Articles