Macro screw maker1 2
|Creates a screw, bolt... with or without thread|
How to install macros
How to customize toolbars
|Date last modification|
This macro creates a screw with or without thread, according to ISO standards.
Temporary code for external macro link (Not use this code, this code is used exclusively by Addon_Installer)
##This code is copied instead of the original macro code ##to signalling and guide the user on the offline download page ##used if the code of the macro is too big to be contained in the wiki page (max 64Ko) ##or if the RAW code url is extra wiki location import PySide from PySide import QtGui ,QtCore diag = QtGui.QMessageBox(QtGui.QMessageBox.Information,u"Information", "This macro must by downloaded with this link" + "\n" " " + "\n" "https://raw.githubusercontent.com/FreeCAD/FreeCAD-macros/master/ObjectCreation/ScrewMaker.FCMacro" + "\n" " " + "\n" "Quit this window for access in the download page" ) diag.setWindowFlags(PySide.QtCore.Qt.WindowStaysOnTopHint) diag.setWindowModality(QtCore.Qt.ApplicationModal) diag.exec_() import webbrowser webbrowser.open("https://raw.githubusercontent.com/FreeCAD/FreeCAD-macros/master/ObjectCreation/ScrewMaker.FCMacro")
Select the characteristics of the screw and click on the create button.
If you select a circle on a hole, or alternatively the inner surface of a circular hole and the circle at top of that hole at the same time, the screw will be placed into the hole with the create button. There is a message text, that will inform you, when the selected combination of properties is not available.
The creation of the thread takes some time. Be patient and have a look at the CPU-usage.
The forum Screw Maker