Macro AeroFoil

From FreeCAD Documentation
Revision as of 07:35, 1 March 2021 by Melwyncarlo (talk | contribs) (Created page with "{{Page in progress}} {{Macro |Name=Macro AeroFoil |Icon=AeroFoil.png |Description=AeroFoil creates airfoil curves and faces using pre-defined models, algebraic functions, and...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This documentation is a work in progress. Please don't mark it as translatable since it will change in the next hours and days.

Macro AeroFoil

Description
AeroFoil creates airfoil curves and faces using pre-defined models, algebraic functions, and DAT or CSV Files

Macro version: 1.0.0
Last modified: 2021-03-01
FreeCAD version: v0.17, v0.18, and v0.19
Author: Melwyncarlo
Author
Melwyncarlo
Download
None
Links
Macro Version
1.0.0
Date last modified
2021-03-01
FreeCAD Version(s)
v0.17, v0.18, and v0.19
Default shortcut
None
See also
None

Description

s

Scripting

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/melwyncarlo/AeroFoil/main/AeroFoil.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/melwyncarlo/AeroFoil/main/AeroFoil.FCMacro")