makeThreadTap script

Next
 From:  Martin (MARTIN3D)
5473.1 
The attached script makes an internal thread cutting object a.k.a tap.

Enter the thread length longer than required.




The lower portion can be used to Boolean Diff a clearance hole. Hide the thread tap and chamfer the hole.




A second Boolean Diff with the upper part of the thread tap and "Keep objects" unchecked finally cuts the thread.






Update: Cancel button works now

EDITED: 19 Oct 2012 by MARTIN3D


  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Rich_Art
5473.2 In reply to 5473.1 
Man this is stunning... Thanks..

Peace,
Rich_Art. ;-)

| C4DLounge.eu | Our Dutch/Belgium C4D forum. |
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Mauro (M-DYNAMICS)
5473.3 
Thank you Martin !!
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  TpwUK
5473.4 
Works a treat Martin - Well done mate, had to scale one but no hardship there it was entered as M2.3 x0.45 -6H on the drawing so don't know if the thread matched but it looks good and that's all it needs to do here

Thanks m8

Martin

Edit * Here is the result

EDITED: 23 Oct 2012 by TPWUK

Image Attachments:
Size: 462.5 KB, Downloaded: 156 times, Dimensions: 1787x863px
Size: 171.3 KB, Downloaded: 109 times, Dimensions: 1804x974px
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Martin (MARTIN3D)
5473.5 In reply to 5473.4 
Nice to see the result! It looks good. By the way you can add that M2.3 x0.45 thread and also other sizes to the script. Just add one line per size to the "makeThreadTap.htm" file (note the ".htm" extension). Open the file in a plain text editor and find instructions inside on how to do it.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  TpwUK
5473.6 In reply to 5473.5 
Ah nice touch, thanks for the heads up!

Martin
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  BurrMan
5473.7 In reply to 5473.6 
Did you utilize "PastePart" with the cutter object?
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  TpwUK
5473.8 In reply to 5473.7 
Sorry BurrMan, I did not use PastePart, and I am somewhat ashamed to say that it's something that I didn't know existed, so I have more reading to do now - LOL, what did you do that for ?

Many Thanks

Martin

** Edit after reading" - A ha, another hidden little Gem, but I didn't need it in that example, did the small ones on the Hex shape and just arrayed it, then created the new cutter object for the bigger thread that was needed for the other. But these little unknown features are really handy to know .... Thanks for the heads up!

EDITED: 24 Oct 2012 by TPWUK

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  BurrMan
5473.9 In reply to 5473.8 
lol... Sorry tpwUK... Throwing that in there at this point will have it "stick" for another time!

It's basically copy and paste, with "orient" attached.. So, make the cutter thread, then copy, then run PastePart. After you place the part, right click to repeat the last command and do it again..

Place 20 bolts very fast. :o
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  bemfarmer
5473.10 In reply to 5473.9 
I had to look up "pastepart." Here is the explaination, with additional useful commands:
http://50.56.177.237/forum/index.php?webtag=MOI&msg=4151.4
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All