Macro Honeycomb

From FreeCAD Documentation
This page is a translated version of the page Macro Honeycomb and the translation is 100% complete.
Other languages:

Macro Honeycomb

Description
Créez un objet Python en nid d'abeille aux caractéristiques entièrement paramétriques, compatible dans et en dehors de PartDesign.

Version macro : 0.2022.10.26b
Date dernière modification : 2022-10-26
Version FreeCAD : Les versions en Python 3
Téléchargement : Icône de la barre d'outils
Auteur: TheMarkster
Auteur
TheMarkster
Téléchargement
Icône de la barre d'outils
Liens
Version Macro
0.2022.10.26b
Dernière modification
2022-10-26
Version(s) FreeCAD
Les versions en Python 3
Raccourci clavier
None
Voir aussi
None

Description

La macro Honeycomb crée un objet en nid d'abeille entièrement paramétrique qui est compatible à l'intérieur et à l'extérieur de l'atelier PartDesign. La grille en nid d'abeille comprend une bordure optionnelle et peut être de forme ovale (elliptique) ou rectangulaire. Il s'agit d'une mise à jour et d'un éventuel remplacement de la macro FCHoneycombMaker, qui ne produit pas d'objet Python mais s'appuie plutôt sur une feuille de calcul et quelques Draft réseaux.

La documentation complète se trouve sur github : Honeycomb.

Copie d'écran de la Macro Honeycomb

Légende

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/97d185ac2114701b26d3da47dccc9f7a/raw/f5bb74b69f93e59f52e8539cb1f747b81380cf06/Honeycomb.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/97d185ac2114701b26d3da47dccc9f7a/raw/f5bb74b69f93e59f52e8539cb1f747b81380cf06/Honeycomb.py")


Icône de la barre d'outils

Script

Macro Honeycomb.py