EM FHPort/fr: Difference between revisions

From FreeCAD Documentation
(Created page with "* {{PropertyData/fr|NodePos}}: le positif FHNode du port FastHenry * {{PropertyData/fr|NodeNeg}}: le négatif FHNode du port FastHenry")
No edit summary
 
(25 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<languages/>
<languages/>

{{Docnav/fr
|[[EM_FHEquiv/fr|Équivalence FH]]
|[[EM_FHSolver/fr|Solveur FH]]
|[[EM_Workbench/fr|Atelier EM]]
|IconL=EM_FHEquiv.svg
|IconR=EM_FHSolver.svg
|IconC=EMWorkbench.svg
}}


{{GuiCommand/fr
{{GuiCommand/fr
|Name=EM FHPort
|Name=EM FHPort
|Name=EM FHPort
|Name/fr=EM Port FH
|MenuLocation=EM → FHPort
|MenuLocation=EM → FHPort
|Workbenches=[[EM Workbench/fr|EM]] (Addon)
|Workbenches=[[EM_Workbench/fr|EM]]
|Shortcut={{KEY|E}} {{KEY|P}}
|Shortcut={{KEY|E}} {{KEY|P}}
|SeeAlso=[[EM_FHNode/fr|EM FHNode]], [[EM_FHSegment/fr|EM FHSegment]], [[EM_FHPath/fr|EM FHPath]], [[EM_FHPlane/fr|EM FHPlane]], [[EM_FHEquiv/fr|EM FHEquiv]],
|Version=0.17
|Version=0.17
|SeeAlso=[[EM_FHNode/fr|EM Noeud FH]], [[EM_FHSegment/fr|EM Segment FH]], [[EM_FHPath/fr|EM Chemin Fh]], [[EM_FHPlane/fr|EM Plan FH]], [[EM_FHEquiv/fr|EM Equivalence FH]]
}}
}}


==Description==
==Description==


L'outil FHPort crée un port FastHenry entre deux objets FHNode.
L'outil Port FH crée un port FastHenry entre deux objets Noeud FH.


[[Image:EM_FHPort_Example.png]]
[[Image:EM_FHPort_Example.png]]
{{Caption|FastHenry FHPort}}


{{Caption|Port FH FastHenry}}

<span id="Usage"></span>
==Utilisation==
==Utilisation==


L'objet FHPort est basé sur les deux FHNodes existants entre lesquels il créera un port FastHenry.
L'objet Port FH est basé sur les deux Noeuds FH existants entre lesquels il créera un port FastHenry.


# Sélectionnez deux [[Image:EM_FHNode.svg|16px]] [[EM_FHNode/fr|FHNode]] objets
# Sélectionnez deux [[Image:EM_FHNode.svg|16px]] [[EM_FHNode/fr|Noeud FH]] objets
# Appuyez sur le bouton {{Button|[[Image:EM_FHPort.svg|16px]] [[EM_FHPort/fr|EM FHPort]]}} ou appuyez sur les touches {{KEY|E}} puis {{KEY|P}}.
# Appuyez sur le bouton {{Button|[[Image:EM_FHPort.svg|16px]] [[EM_FHPort/fr|EM FHPort]]}} ou appuyez sur les touches {{KEY|E}} puis {{KEY|P}}.


<span id="Remarks"></span>
===Remarques===
===Remarques===


* Le premier nœud que vous sélectionnez est le nœud positif du port et la flèche, qui est la forme de l'objet FHPort, pointera dans cette direction.
* Le premier nœud que vous sélectionnez est le nœud positif du port et la flèche qui est la forme de l'objet Port FH, pointera dans cette direction.


<span id="Properties"></span>
==Propriétés==
==Propriétés==


* {{PropertyData/fr|NodePos}}: le positif [[EM_FHNode/fr|FHNode]] du port FastHenry
* {{PropertyData|NodePos}} : le [[EM_FHNode/fr|Noeud FH]] positif du port FastHenry
* {{PropertyData/fr|NodeNeg}}: le négatif [[EM_FHNode/fr|FHNode]] du port FastHenry
* {{PropertyData|NodeNeg}} : le [[EM_FHNode/fr|Noeud FH]] négatif du port FastHenry


==Scripting==
<span id="Scripting"></span>
==Script==


{{Emphasis|See also:}} [[FreeCAD Scripting Basics]].
{{Emphasis|Voir aussi :}} [[FreeCAD_Scripting_Basics/fr|FreeCAD Script de base]].

L'outil Port FH peut-être utilisé dans des [[Macros/fr|macros]] et depuis la console [[Python/fr|Python]] en utilisant la fonction suivante :


The FHPort object can be used in [[macros]] and from the [[Python]] console by using the following function:
{{Code|code=
{{Code|code=
port = makeFHPort(nodePos=None,nodeNeg=None,name='FHPort')
port = makeFHPort(nodePos=None,nodeNeg=None,name='FHPort')
}}
}}
* Creates a {{incode|FHPort}} object.
* {{incode|nodePos}} is the positive node [[EM_FHNode|FHNode]] object of the FastHenry port.
* {{incode|nodeNeg}} is the negative node [[EM_FHNode|FHNode]] object of the FastHenry port.
* {{incode|name}} is the name of the object


* Crée un objet {{incode|FHPort}}.
Example:
* {{incode|nodePos}} est l'objet [[EM_FHNode/fr|Noeud FH]] positif du port FastHenry.
* {{incode|nodeNeg}} est l'objet [[EM_FHNode/fr|Noeud FH]] négatif objet du port FastHenry.
* {{incode|name}} est le nom de l'objet.

Exemple :

{{Code|code=
{{Code|code=
import FreeCAD, EM
import FreeCAD, EM
Line 55: Line 72:


fhport = EM.makeFHPort(fhnode_p, fhnode_n)
fhport = EM.makeFHPort(fhnode_p, fhnode_n)
}}


{{Docnav/fr
|[[EM_FHEquiv/fr|Équivalence FH]]
|[[EM_FHSolver/fr|Solveur FH]]
|[[EM_Workbench/fr|Atelier EM]]
|IconL=EM_FHEquiv.svg
|IconR=EM_FHSolver.svg
|IconC=EMWorkbench.svg
}}
}}


{{EM Tools navi{{#translation:}}}}
{{EM Tools navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{clear}}

Latest revision as of 00:30, 3 December 2023

Other languages:

EM Port FH

Emplacement du menu
EM → FHPort
Ateliers
EM
Raccourci par défaut
E P
Introduit dans la version
0.17
Voir aussi
EM Noeud FH, EM Segment FH, EM Chemin Fh, EM Plan FH, EM Equivalence FH

Description

L'outil Port FH crée un port FastHenry entre deux objets Noeud FH.

Port FH FastHenry

Utilisation

L'objet Port FH est basé sur les deux Noeuds FH existants entre lesquels il créera un port FastHenry.

  1. Sélectionnez deux Noeud FH objets
  2. Appuyez sur le bouton EM FHPort ou appuyez sur les touches E puis P.

Remarques

  • Le premier nœud que vous sélectionnez est le nœud positif du port et la flèche qui est la forme de l'objet Port FH, pointera dans cette direction.

Propriétés

  • DonnéesNodePos : le Noeud FH positif du port FastHenry
  • DonnéesNodeNeg : le Noeud FH négatif du port FastHenry

Script

Voir aussi : FreeCAD Script de base.

L'outil Port FH peut-être utilisé dans des macros et depuis la console Python en utilisant la fonction suivante :

port = makeFHPort(nodePos=None,nodeNeg=None,name='FHPort')
  • Crée un objet FHPort.
  • nodePos est l'objet Noeud FH positif du port FastHenry.
  • nodeNeg est l'objet Noeud FH négatif objet du port FastHenry.
  • name est le nom de l'objet.

Exemple :

import FreeCAD, EM

fhnode_p = EM.makeFHNode(X=1.0,Y=0,Z=0)
fhnode_n = EM.makeFHNode(X=0,Y=1.0,Z=0)

fhport = EM.makeFHPort(fhnode_p, fhnode_n)