Jump to content

Macro Honeycomb

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

Macro Honeycomb

Descrizione
Crea un oggetto Python Honeycomb con funzionalità completamente parametrica, compatibile sia all'interno che all'esterno di Part Design

Versione macro: 0.2024.08.27
Versione FreeCAD: Python 3 versions
Download: ToolBar Icon
Autore: TheMarkster
Autore
TheMarkster
Download
ToolBar Icon
Link
Versione macro
0.2024.08.27
Data ultima modifica
Versioni di FreeCAD
Python 3 versions
Scorciatoia
Nessuna
Vedere anche
Nessuno

Descrizione

Macro Honeycomb crea un oggetto Honeycomb completamente parametrico, compatibile sia all'interno che all'esterno dell'ambiente di lavoro Part Design. La griglia a nido d'ape include un bordo opzionale e può essere di forma ovale (ellittica) o rettangolare. Si tratta di un aggiornamento e di una possibile sostituzione di Macro FCHoneycombMaker, che non produce un oggetto Python feature, ma si basa su un foglio di calcolo e alcuni array Draft.

La documentazione completa può essere trovata su github: Honeycomb.

Screenshot‎ della macro Honeycomb

Legenda

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/46b27ad36991a460e9772ddb5e73b3115a1329be/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/46b27ad36991a460e9772ddb5e73b3115a1329be/Honeycomb.py")

Icona barra degli strumenti

Script

Macro Honeycomb.py