Macro Intersection

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

Macro Intersection

Description
Trouve l'intersection entre 2 ou 3 arêtes/faces sélectionnées.

Version macro : 2023.09.09
Date dernière modification : 2022-09-09
Version FreeCAD : 0.19 ou plus
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
2023.09.09
Dernière modification
2022-09-09
Version(s) FreeCAD
0.19 ou plus
Raccourci clavier
None
Voir aussi
None

Description

Trouve l'intersection entre deux ou trois arêtes ou faces sélectionnées, fonctionne également avec les plans de référence et les lignes de référence. Crée un objet python caractéristique paramétrique contenant la forme de l'intersection. L'intersection est généralement une arête ou un sommet.

Utilisation

Sélectionnez deux ou trois arêtes, faces, plans de référence ou lignes de référence dans la vue 3D, puis exécutez la macro. La documentation complète se trouve sur github : Intersection on github

Capture d'écran de la Macro Intersection

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/acf6d419ee0d3b5636ea82221846d758/raw/bca57dcdaeffff6de6a86a12fb1c45eeda4b506b/Intersection.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.github.com/mwganson/acf6d419ee0d3b5636ea82221846d758/raw/bca57dcdaeffff6de6a86a12fb1c45eeda4b506b/Intersection.FCMacro")


Icône de la barre d'outils

Script

Macro Intersection.FCMacro