EM FHPath

Other languages:

EM FHPath

Menu location
EM → FHPath
Workbenches
EM
Default shortcut
E T
Introduced in version
0.17
See also
EM FHNode, EM FHSegment

Description

The FHPath tool inserts a FHPath object, that is a set of FastHenry segments along a path.

FastHenry FHPath

Usage

The FHPath object can be based on any shape containing edges, but the FHPath object is designed to work best with the support of a sketch or a wire.

  1. Select one or multiple object(s) containing edges.
  2. Press the EM FHPath button, or press E then T keys. As many FHPath objects will be created as the selected objects.

Remarks:

Properties

Scripting

See also: FreeCAD Scripting Basics.

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

path = makeFHPath(baseobj=None,name='FHPath')

Example:

import FreeCAD, EM
from FreeCAD import Base
import Part, PartGui
spiral = App.ActiveDocument.addObject("Part::Spiral","Spiral")
spiral.Growth=1.00
spiral.Rotations=4.00
spiral.Radius=1.00
spiral.Placement=Base.Placement(Base.Vector(0.00,0.00,0.00),Base.Rotation(0.00,0.00,0.00,1.00))
spiral.Label='Spiral'

fhpath = EM.makeFHPath(spiral)
fhpath.Discr = 40
App.ActiveDocument.recompute()