Macro screw maker1 2/de: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 5: Line 5:
This macro creates a screw with or without thread, according to ISO standards.
This macro creates a screw with or without thread, according to ISO standards.
{{Codeextralink|https://raw.githubusercontent.com/FreeCAD/FreeCAD-macros/master/ObjectCreation/ScrewMaker.FCMacro}}
{{Codeextralink|https://raw.githubusercontent.com/FreeCAD/FreeCAD-macros/master/ObjectCreation/ScrewMaker.FCMacro}}

[[File:Macro_screw_maker_01.png|400px|screw_maker]]
[[File:Macro_screw_maker_01.png|400px|screw_maker]]
{{clear}}
{{clear}}

==Usage==
==Usage==
Select the characteristics of the screw and click on the create button.<br />
Select the characteristics of the screw and click on the create button.<br />

Revision as of 17:53, 12 November 2018

Other languages:

File:Text-x-python Macro_screw_maker1_2

Beschreibung
Creates a screw, bolt... with or without thread

Versionsmakro : 2.3.1
Datum der letzten Änderung : 2018-10-22
Autor: Ulrich Brammer
Autor
Ulrich Brammer
Herunterladen
None
Links
Macro-Version
2.3.1
Datum der letzten Änderung
2018-10-22
FreeCAD-Version(s)
None
Standardverknüpfung
None
Siehe auch
None

Description

This macro creates a screw with or without thread, according to ISO standards.

Temporary code for external macro link. Do not use this code. This code is used exclusively by Addon Manager. Link for optional manual installation: Macro


# This code is copied instead of the original macro code
# to guide the user to the online download page.
# Use it if the code of the macro is larger than 64 KB and cannot be included in the wiki
# or if the RAW code URL is somewhere else in the wiki.

from PySide import QtGui, QtCore

diag = QtGui.QMessageBox(QtGui.QMessageBox.Information,
    "Information",
    "This macro must be downloaded from this link\n"
    "\n"
    "https://raw.githubusercontent.com/FreeCAD/FreeCAD-macros/master/ObjectCreation/ScrewMaker.FCMacro" + "\n"
    "\n"
    "Quit this window to access the download page")

diag.setWindowFlags(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")


screw_maker

Usage

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.

Code

The lastest version of the macro is to be found at ScrewMaker.FCMacro but the easiest way to install this macro is through the Addon Manager.


Link

The forum Screw Maker