Macro Parametric Curve FP/de

Parametrische Kurve Python-Objekt

Beschreibung
Aktualisierung von Macro 3D Parametric Curve, jedoch mit neuen Funktionen. Erstellt ein Feature-Python-Objekt, bietet Tabellenkalkulations- und JSON-Integration sowie erweiterte Parameter. Es unterstützt die gleichen Parameter a, b, c, kann aber auch beliebig viele d-Parameter in der Form d1, d2, d3, d4 usw. haben. Außerdem unterstützt es das Speichern von Formeln in einer Textdatei im JSON-Format und die Tabellenkalkulationsintegration der aktuellen Formel. Die vollständige Dokumentation findet man unter Vollständige Dokumentation auf Github Parametric_Curve_FP auf Github.

Versionsmakro : 2025.05.08
Datum der letzten Änderung : 2025-05-08
FreeCAD version : 1.0
Herunterladen : Werkzeugleisten-Symbol
Autor: TheMarkster
Autor
TheMarkster
Herunterladen
Werkzeugleisten-Symbol
Links
Macro-Version
2025.05.08
Datum der letzten Änderung
2025-05-08
FreeCAD-Version(s)
1.0
Standardverknüpfung
None
Siehe auch
Makro Parametrische 3D-Kurve

Beschreibung

Update: When updating from 0.2024.05.08b to 0.2025.01.28b you must first uninstall the old version, and then install the new version. Do not run the .FCMacro file again after the update. You should delete that file and run the .py file since 0.2025.01.28 and moving forward.

This macro is an update to the Macro 3D Parametric Curve by Gomez Lucio and later Modified by Laurent Despeyroux on 9th feb 2015. The macro has been updated to a parametric Feature Python object. It has support for the same a, b, c parameters, but also can have as many d parameters in the form of d1, d2, d3, d4, etc. as you like. If you want to reference a VarSet or DynamicData dd object in a formula you can use the fc(expr) command to do this. For example, if there is a float value in a dd object named my_float and you wish to reference it in the formula for the b parameter, enter for b: fc(dd.my_float) or if you want to use it in a more complex way: b: fc(dd.my_float) * a + pi as another example.

Es unterstützt auch das Speichern von Formeln in einer Textdatei im JSON-Format und die Integration der aktuellen Formel in Tabellenkalkulationen. Die vollständige Dokumentation findet man unter Parametric_Curve_FP auf GitHub.

Bildschirmaufnahme von Parametrische Kurve Python-Objekt‎

Legende

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.github.com/mwganson/473920ad317fb2dc3e37638112874e2a/raw/7bf01aad67c3fb9033e02285bb58d95841a57143/Parametric_Curve_FP.py" + "\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.github.com/mwganson/473920ad317fb2dc3e37638112874e2a/raw/7bf01aad67c3fb9033e02285bb58d95841a57143/Parametric_Curve_FP.py")
<class="rawcodeurl"><a href="https://gist.github.com/mwganson/473920ad317fb2dc3e37638112874e2a/raw/7bf01aad67c3fb9033e02285bb58d95841a57143/Parametric_Curve_FP.py">raw code</a>


Werkzeugleisten-Symbol

Script

Macro Parametric_Curve_FP.py