Jump to content

Macro Intersection

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

Macro Intersection

Descrizione
Trova l'intersezione tra 2 o 3 bordi /facce selezionati.

Versione macro: 2024.10.17
Ultima modifica: 17-10-2024
Versione FreeCAD: 0.19 o successiva
Download: ToolBar Icon
Autore: TheMarkster
Autore
TheMarkster
Download
ToolBar Icon
Link
Versione macro
2024.10.17
Data ultima modifica
17-10-2024
Versioni di FreeCAD
0.19 o successiva
Scorciatoia
Nessuna
Vedere anche
Nessuno

Descrizione

Trova l'intersezione tra due o tre spigoli o facce selezionati, funziona anche con piani e linee di riferimento. Crea un oggetto Python di feature parametrica contenente la forma dell'intersezione. L'intersezione è in genere uno spigolo o un vertice.

Utilizzo

Selezionare due o tre spigoli, facce, piani di riferimento o linee di riferimento nella Vista 3D, quindi eseguire la macro. La documentazione completa è disponibile su github: Intersection su github

Screenshot Macro Intersection

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/acf6d419ee0d3b5636ea82221846d758/raw/dff80f8b50d83312e936104f6b062b88279add64/Intersection.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/acf6d419ee0d3b5636ea82221846d758/raw/dff80f8b50d83312e936104f6b062b88279add64/Intersection.py")


Icona barra degli strumenti

Script

Macro Intersection.FCMacro