EM FHNode

Other languages:

EM FHNode

Menu location
EM → FHNode
Workbenches
EM
Default shortcut
E N
Introduced in version
0.17
See also
EM FHSegment, EM FHPath, EM FHPlane, EM FHPlane Add/Remove Node/Hole, EM FHEquiv, EM FHPort

Description

The FHNode tool inserts a FastHenry node object.

FastHenry FHNode

Usage

The FHNode object can be based on the position of a Draft Point object, or you can select the 3D location of the FHNode.

  1. Press the EM FHNode button, or press E then N keys.
  2. Click a point on the 3D view, or type coordinates and press the add point button.

Alternatively, you can also:

  1. Select one or multiple Draft Point object(s)
  2. Press the EM FHNode button, or press E then N keys. As many FHNodes will be created as the Draft Point objects, at the same coordinates of the Draft Points.

Options

Properties

Scripting

See also: FreeCAD Scripting Basics.

The FHNode object can be used in macros and from the Python console by using the following function:

node = makeFHNode(baseobj=None, X=0.0, Y=0.0, Z=0.0, color=None, size=None, name='FHNode')

The placement of the FHNode can be changed by modifying its Placement property, or changing the X,Y,Z properties individually. Changing X,Y,Z modifies the node position in the relative coordinate system of the Placement.

Additionally, the _FHNode class exposes these methods. The _FHNode class can be accessed through the FHNode object Proxy (e.g. fhnode.Proxy).

pos = getAbsCoord()
pos = getRelCoord()
pos = setRelCoord(rel_coord, placement=None)
pos = setAbsCoord(abs_coord, placement=None)

Example:

import FreeCAD, EM

fhnode = EM.makeFHNode(X=1.0,Y=2.0,Z=0.0)