Macro Parametric Curve FP: Difference between revisions

From FreeCAD Documentation
No edit summary
(update link to new version 2023.05.06 for addon manager)
(48 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<languages/>
<languages/>
<translate>
<translate>

<!--T:1-->
<!--T:1-->
{{Macro
{{Macro
|Name=Macro Parametric_Curve_FP
|Name=Macro Parametric_Curve_FP
|Icon=Parametric_Curve_FP.png
|Icon=Parametric_Curve_FP.svg
|Description=Update of Macro 3D Parametric Curve, but with new features. Creates a Feature Python object, offers spreadsheet and JSON integration, expanded parameters.
|Description=Update of Macro 3D Parametric Curve, but with new features. Creates a Feature Python object, offers spreadsheet and JSON integration, expanded parameters.<br/>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.<br/>It also supports saving formulas to a text file in JSON format and support for Spreadsheet integration of the current formula.<br/>Full documentation can be found [https://github.com/mwganson/Parametric_Curve_FP Full Documentation on Github Parametric_Curve_FP] on github.
|Author=Mark Ganson <TheMarkster>
|Author=TheMarkster
|Version=2021.09.15.rev3
|Version=2023.05.06
|Date=2021-09-15
|Date=2023-05-06
|FCVersion=All Python 3
|FCVersion=All Python 3
|Download=[https://wiki.freecadweb.org/images/5/59/Parametric_Curve_FP.svg ToolBar Icon]
|Download=[https://wiki.freecadweb.org/images/5/59/Parametric_Curve_FP.svg ToolBar Icon]
|SeeAlso=[[Macro_3D_Parametric_Curve|Macro 3D Parametric Curve]] [[Image:Macro_3D_Parametric_Curve.png|24px]]
|Links=[https://github.com/mwganson/Parametric_Curve_FP Full Documentation on Github]
}}
}}


== Description == <!--T:2-->
</translate>
==Description== <!--T:2-->


<!--T:4-->
This macro is an update to the [[Macro_3D_Parametric_Curve|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.

<!--T:5-->
It also supports saving formulas to a text file in JSON format and support for Spreadsheet integration of the current formula. Full documentation can be found [https://github.com/mwganson/Parametric_Curve_FP Parametric_Curve_FP] on github.

</translate>
[[File:Parametric_Curve_FP_SCR.png|600px]]
[[File:Parametric_Curve_FP_SCR.png|600px]]
<translate>
<!--T:3-->
{{Caption|Parametric_Curve_FP screenshot‎}}
{{Caption|Parametric_Curve_FP screenshot‎}}


=== Legend === <!--T:6-->
This macro is an update to the macro [https://wiki.freecadweb.org/Macro_3D_Parametric_Curve 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.

It also supports saving formulas to a text file in JSON format and support for Spreadsheet integration of the current formula. Full documentation can be found [https://github.com/mwganson/Parametric_Curve_FP Parametric_Curve_FP] on github.

=== Legend === <!--T:4-->

{{Codeextralink|https://gist.githubusercontent.com/mwganson/473920ad317fb2dc3e37638112874e2a/raw/df14b0a3eb376dbf8078f5481868bbb408a1836a/Parametric_Curve_FP.FCMacro|Parametric_Curve_FP.FCMacro}}



<!--T:7-->
{{Codeextralink|https://gist.githubusercontent.com/mwganson/473920ad317fb2dc3e37638112874e2a/raw/19619545bf53c3c678f5b6df27760aec23635ebc/Parametric_Curve_FP.FCMacro|Parametric_Curve_FP.FCMacro}}


<!--T:8-->
ToolBar Icon
</translate>
[[Image:Parametric_Curve_FP.svg]]


=== Script ===
ToolBar Icon [[Image:Parametric_Curve_FP.svg]]


'''Macro Parametric_Curve_FP.FCMacro'''
'''Macro Parametric_Curve_FP.FCMacro'''


{{CodeDownload|https://gist.github.com/mwganson/473920ad317fb2dc3e37638112874e2a|Parametric_Curve_FP.FCMacro}}
{{CodeDownload|https://gist.github.com/mwganson/473920ad317fb2dc3e37638112874e2a|Parametric_Curve_FP.FCMacro}}
{{clear}}

Revision as of 16:21, 7 May 2023

Other languages:

Macro Parametric_Curve_FP

Description
Update of Macro 3D Parametric Curve, but with new features. Creates a Feature Python object, offers spreadsheet and JSON integration, expanded parameters.
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.
It also supports saving formulas to a text file in JSON format and support for Spreadsheet integration of the current formula.
Full documentation can be found Full Documentation on Github Parametric_Curve_FP on github.

Macro version: 2023.05.06
Last modified: 2023-05-06
FreeCAD version: All Python 3
Download: ToolBar Icon
Author: TheMarkster
Author
TheMarkster
Download
ToolBar Icon
Links
Macro Version
2023.05.06
Date last modified
2023-05-06
FreeCAD Version(s)
All Python 3
Default shortcut
None
See also
Macro 3D Parametric Curve

Description

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.

It also supports saving formulas to a text file in JSON format and support for Spreadsheet integration of the current formula. Full documentation can be found Parametric_Curve_FP on github.

Parametric_Curve_FP screenshot‎

Legend

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/mwganson/473920ad317fb2dc3e37638112874e2a/raw/19619545bf53c3c678f5b6df27760aec23635ebc/Parametric_Curve_FP.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/mwganson/473920ad317fb2dc3e37638112874e2a/raw/19619545bf53c3c678f5b6df27760aec23635ebc/Parametric_Curve_FP.FCMacro")


ToolBar Icon

Script

Macro Parametric_Curve_FP.FCMacro