Skip to content

Latest commit

 

History

History
82 lines (44 loc) · 1.82 KB

EM_FHPort.md

File metadata and controls

82 lines (44 loc) · 1.82 KB
Error in user YAML: (<unknown>): did not find expected alphabetic or numeric character while scanning an alias at line 5 column 14
---
 GuiCommand:
   Name: EM FHPort
   MenuLocation: EM , FHPort
   Workbenches: EM_Workbench
   Shortcut: **E** **P**
   Version: 0.17
   SeeAlso: EM_FHNode, EM_FHSegment, EM_FHPath, EM_FHPlane, EM_FHEquiv
---

EM FHPort

Description

The FHPort tool creates a FastHenry port between two FHNode objects.

FastHenry FHPort

Usage

The FHPort object is based on the two existing FHNodes between which it will create a FastHenry port.

  1. Select two FHNode objects
  2. Press the EM FHPort button, or press E then P keys.

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

  • NodePos: the positive FHNode of the FastHenry port

  • NodeNeg: 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.

  • nodePosis the positive node FHNode object of the FastHenry port.

  • nodeNegis the negative node FHNode object of the FastHenry port.

  • nameis 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)

{{EM Tools navi}}


documentation index > EM > EM FHPort