| Beschreibung |
|---|
| Erstellt einen Kreis oder Bogen mit Radius, Durchmesser, Umfang, Fläche, Startwinkel, Endwinkel, Bogen, Winkelzentrum, Sehne, Pfeil, Mittelpunkt (Punkt), placemObject nach Wahl (mit GUI) Versionsmakro : 0.4 Datum der letzten Änderung : 2019/04/07 FreeCAD version : Alle Herunterladen : Werkzeugleisten-Symbol. Autor: mario52 |
| Autor |
| mario52 |
| Herunterladen |
| Werkzeugleisten-Symbol. |
| Links |
| Makros Rezepte Wie man Makros installiert Symbolleisten anpassen |
| Macro-Version |
| 0.4 |
| Datum der letzten Änderung |
| 2019/04/07 |
| FreeCAD-Version(s) |
| Alle |
| Standardverknüpfung |
| None |
| Siehe auch |
| None |
Dieses Makro erstellt einen Kreis oder Bogen und ermöglicht es dem Benutzer, mithilfe der folgenden Option (über ein Dialogfeld) folgende Parameter anzupassen: "Radius, Durchmesser, Umfang, Fläche, Startwinkel, Endwinkel, Bogen, Winkelzentrum, Sehne, Pfeil, Mittelpunkt (Punkt)" und "Objekt platzieren".
Der Kreis ist standardmäßig zum Bildschirm ausgerichtet (er ruft die Funktion getCameraOrientation auf, um seine Ausrichtung zu ermitteln). Es ist möglich, diese Funktion manuell zu ändern, um die Platzierung der Form anzupassen.
In the CirclePlus dialog certain spinboxes will change colors. Green indicates a spinbox that is modified and ready to be run. Orange will indicate the optional spinbox that the user can utilize if deemed necessary. Red indicates a missing or inadequate value. The Ok will also be colored Red and not functional until the correct values are used.
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://gist.githubusercontent.com/mario52a/0ed8129bacbe9124a41e3ae1d378d5b7/raw/3f810ac142dd0d9245c5ccc964b8b2d7d750b276/Macro%2520CirclePlus.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://gist.githubusercontent.com/mario52a/0ed8129bacbe9124a41e3ae1d378d5b7/raw/3f810ac142dd0d9245c5ccc964b8b2d7d750b276/Macro%2520CirclePlus.FCMacro")
Den Code kopieren und ihn in das Makroverzeichnis einfügen.
Download image positioning on the icon
and then drag the mouse right click "save as" (do not change the name)
Beispiel-Codes


ver 04 , 07-04-2019 : replace setStyleSheet DoubleSpinBox by setStyleSheet Label cause: the increment in the Dspinbox does not work ??!
ver 03 , 06-04-2019 : supp all "(QtGui.QApplication.translate("MainWindow", "Diameter", None, QtGui.QApplication.UnicodeUTF8))" give error in 0.18.16093 (Git) Hash: 690774c0effe4fd7b8d2b5e2fb2b8c8d145e21ce Python version: 3.6.6 Qt version: 5.6.2
ver 0.2 , 05-04-2019 : den Schritt von 1.0 auf 0.1 erhöhen (DoubleSpinbox)
ver 0.1 , 2018-07-14 : Segment erzeugen hinzugefügt
ver 0.0 , 2018-07-10 :