EM FHPort/it: Difference between revisions
Renatorivo (talk | contribs) (Created page with "EM FHPort") |
Renatorivo (talk | contribs) |
||
Line 1: | Line 1: | ||
<languages/> |
<languages/> |
||
{{GuiCommand |
{{GuiCommand/it |
||
|Name=EM FHPort |
|Name=EM FHPort |
||
|Name/it=EM FHPort |
|||
|MenuLocation=EM → FHPort |
|MenuLocation=EM → FHPort |
||
|Workbenches=[[EM Workbench|EM]] |
|Workbenches=[[EM Workbench/it|EM]] |
||
|Shortcut=E P |
|Shortcut=E P |
||
|SeeAlso=[[EM_FHNode|EM FHNode]], [[EM_FHSegment|EM FHSegment]], [[EM_FHPath|EM FHPath]], [[EM_FHPlane|EM FHPlane]], [[EM_FHEquiv|EM FHEquiv]], |
|SeeAlso=[[EM_FHNode/it|EM FHNode]], [[EM_FHSegment/it|EM FHSegment]], [[EM_FHPath/it|EM FHPath]], [[EM_FHPlane/it|EM FHPlane]], [[EM_FHEquiv/it|EM FHEquiv]], |
||
|Version=0.17 (Add-on) |
|Version=0.17 (Add-on) |
||
}} |
}} |
Revision as of 18:24, 3 February 2019
EM FHPort |
Posizione nel menu |
---|
EM → FHPort |
Ambiente |
EM |
Avvio veloce |
E P |
Introdotto nella versione |
0.17 (Add-on) |
Vedere anche |
EM FHNode, EM FHSegment, EM FHPath, EM FHPlane, EM FHEquiv, |
Description
The FHPort tool creates a FastHenry port between two FHNode objects.
FastHenry FHPort
How to use
The FHPort object is based on the two existing FHNodes between which it will create a FastHenry port.
Remarks:
- The first node you select is the positive node of the port, and the arrow that is the shape of the FHPort object will point in this direction.
Properties
- DatiNodePos: the positive FHNode of the FastHenry port
- DatiNodeNeg: the negative FHNode of the FastHenry port
Scripting
See also: FreeCAD Scripting Basics.
The FHPort object can be used in macros and from the Python console by using the following function:
port = makeFHPort(nodePos=None,nodeNeg=None,name='FHPort')
- Creates a
FHPort
object. nodePos
is the positive node FHNode object of the FastHenry port.nodeNeg
is the negative node FHNode object of the FastHenry port.name
is the name of the object
Example:
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)