EM Fichier entrée FH
EM FHInputFile |
Emplacement du menu |
---|
EM → FHInputFile |
Ateliers |
EM (Addon) |
Raccourci par défaut |
E I |
Introduit dans la version |
0.17 |
Voir aussi |
EM FHSolver |
Description
L'outil FHInputFile crée le fichier FastHenry d'entrée basé sur les objets de l'atelier Document EM.
Utilisation
Pour créer un fichier d'entrée FastHenry:
- Créez un objet EM FHSolver et d'autres objets d'atelier EM représentant la géométrie 3D requise pour votre modèle.
- Appuyez sur le bouton EM FHInputFile ou appuyez sur les touches E puis I.
Remarques
- Dans le cas où un fichier avec le même nom dans le dossier donné comme spécifié dans l'objet EM FHSolver existe déjà, vous serez invité à remplacer ou non.
- Le document peut également contenir des objets non EM Workbench. Ils seront ignorés lors de la création du fichier d'entrée FastHenry. Vous pouvez donc utiliser tout autre type d'objet FreeCAD comme guide pour vos modèles EM Workbench.
Script
Voir aussi : Débuter avec les scripts.
L'outil FHInputFile peut-être utilisé dans des macros et depuis la console Python en utilisant la fonction suivante:
node = createFHInputFile(doc=None,filename=None,folder=None)
- Outputs a FastHenry input file based on the active document geometry.
doc
is the Document object that must contain at least one EM_FHSolver object and the relevant geometry. If nodoc
is given, the active document is used, if any.filename
is the filename to use. If not passed as an argument, the DonnéesFilename property of the FHSolver object contained in the document will be used. If the DonnéesFolder string in the FHSolver object is empty, the function builds a filename concatenating the document name with the default extensionEMFHSOLVER_DEF_FILENAME
.folder
is the folder where the file will be stored. If not passed as an argument, the DonnéesFolder property of the FHSolver object contained in the document will be used. If the DonnéesFolder string in the FHSolver object is empty, the function defaults to the user's home path (e.g. in Windows "C:\Documents and Settings\username\My Documents", in Linux "/home/username")
Example:
import FreeCAD, EM
fhsolver = EM.createFHInputFile()
EM
- Outils FastHenry : Noeud FH, Segment FH, Chemin FH, Plan FH, Trou FH, Bascule noeud trou FH, Équivalence FH, Port FH, Solveur FH, Fichier entrée FH
- Outils FasterCap : voir le code source sur GitHub
Hub utilisateurs
- Démarrer avec FreeCAD
- Installation : Téléchargements, Windows, Linux, Mac, Logiciels supplémentaires, Docker, AppImage, Ubuntu Snap
- Bases : À propos de FreeCAD, Interface, Navigation par la souris, Méthodes de sélection, Objet name, Préférences, Ateliers, Structure du document, Propriétés, Contribuer à FreeCAD, Faire un don
- Aide : Tutoriels, Tutoriels vidéo
- Ateliers : Std Base, Arch, Assembly, CAM, Draft, FEM, Inspection, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Surface, TechDraw, Test