FreeCAD Logo FreeCAD 1.0
  • English Afrikaans Arabic Belarusian Catalan Czech German Greek Spanish Spanish Basque Finnish Filipino French Galician Croatian Hungarian Indonesian Italian Japanese Kabyle Korean Lithuanian Dutch Norwegian Bokmal Polish Portuguese Portuguese Romanian Russian Slovak Slovenian Serbian Swedish Turkish Ukrainian Valencian Vietnamese Chinese Chinese
  • Features
  • Download
  • Blog
  • Documentation
    Documentation index Getting started Users documentation The FreeCAD manual Workbenches documentation Python coding documentation C++ coding documentation Tutorials Frequently asked questions Privacy policy About FreeCAD
  • Contribute
    How to help Sponsor Report a bug Make a pull request Jobs and funding Contribution guidelines Developers handbook Translations
  • Community
    Code of conduct Forum The FPA GitHub GitLab Codeberg Mastodon Matrix IRC IRC via Webchat Gitter Discord Reddit Twitter Facebook LinkedIn Calendar
  • ♥ Donate

Donate

$
SEPA Information
Please set up your SEPA bank transfer to:
Beneficiary: The FreeCAD project association
IBAN: BE04 0019 2896 4531
BIC/SWIFT: GEBABEBBXXX
Bank agency: BNP Paribas Fortis
Address: Rue de la Station 64, 1360 Perwez, Belgium

While Stripe doesn't support monthly donations, you can still become a sponsor! Simply make a one-time donation equivalent to 12 months of support, and you'll gain access to the corresponding sponsoring tier. It's an easy and flexible way to contribute.

If you are not sure or not able to commit to a regular donation, but still want to help the project, you can do a one-time donation, of any amount.

Choose freely the amount you wish to donate one time only.

You can support FreeCAD by sponsoring it as an individual or organization through various platforms. Sponsorship provides a steady income for developers, allowing the FPA to plan ahead and enabling greater investment in FreeCAD. To encourage sponsorship, we offer different tiers, and unless you choose to remain anonymous, your name or company logo will be featured on our website accordingly.

from 1 USD / 1 EUR per month. You will not have your name displayed here, but you will have helped the project a lot anyway. Together, normal sponsors maintain the project on its feet as much as the bigger sponsors.

from 25 USD / 25 EUR per month. Your name or company name is displayed on this page.

from 100 USD / 100 EUR per month. Your name or company name is displayed on this page, with a link to your website, and a one-line description text.

from 200 USD / 200 EUR per month. Your name or company name and logo displayed on this page, with a link to your website and a custom description text. Companies that have helped FreeCAD early on also appear under Gold sponsors.

Instead of donating each month, you might find it more comfortable to make a one-time donation that, when divided by twelve, would give you right to enter a sponsoring tier. Don't hesitate to do so!

Choose freely the amount you wish to donate each month.

Please inform your forum name or twitter handle as a notein your transfer, or reach to us, so we can give you proper credits!


GuiCommand: Name: EM FHPath MenuLocation: EM , FHPath Workbenches: EM_Workbench Shortcut: E T Version: 0.17 SeeAlso: EM_FHNode, EM_FHSegment

EM FHPath

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:

  • The FHPath will create a set of FHNodes and a set of FastHenry segments following the path formed by the edges.

  • Curved edges will be discretized according to the FHPath properties settings.

  • If the resulting segments are too short with respect to the cross-section, a warning will be raised in the Report window of FreeCAD, as this can cause issues in FastHenry simulations.

  • The default orientation of the FHPath segment cross-sections is the FastHenry default one: the vector along the width is parallel to the XY plane; if the width is along the Z direction, the width vector is aligned to the X axis. You can change the orientation of the cross-section of the first segment of the FHPath specifying the ww vector property. This is done in the base Placement coordinate system, i.e. changes in the Placement preserve the relative cross-connection orientation without changing ww. Subsequent segments are automatically oriented applying the rotations corresponding to the angle between each pair of segments in turn. The first segment is identified by the first node of the FHPath object as shown in the tree (the topmost is the first node, regardless of its name / numbering), or equivalently as the first node in the Nodes FHPath property list.

  • A FHPath will have at least one starting FHNode and one ending FHNode, if there is at least one edge in the base object. The start FHNode object and the ending FHNode will be kept the same if you change the path, by including or removing edges from the base object, or changing the FHPath discretization. Therefore, when changing the FHPath, you don\'t need to worry about the connections to other objects already done using the FHPath endpoints, e.g. if you used the endpoints as starting point for FHSegment objects, FHPort objects, FHEquiv objects, or connections to a FHPlane object. In particular, when you modify a FHPath causing the creation of more segments, the already existing FHNode object list will be simply extended, and the old FHNode positions will be re-arranged. If instead you modify a FHPath causing the removal of segments, the FHNode object list will be shortened and the excess FHNode objects removed from the Document, unless any of the FHNode had been already used within any other object (e.g. if you used an intermediate node for creating a FHSegment). In this case the FHNode will be kept, but outside the FHPath object, and the connection will be possibly dangling; it is up to the user to guarantee the correcness of the connections.

  • You cannot freely move the FHPath object or its FHNodes. To change the position of the FHPath, move the underlying base object (the base object is hidden by default, you can show it again by selecting the object in the tree and pressing Space.

  • Curved edges will be discretized into a set of segments according to the Discr FHPath property.

Properties

  • Base: The base object this component is built upon

  • Nodes: (read-only) The list of FHNode along the path. Not for direct user modification.

  • Width: the FHPath segments width (\'w\' segment parameter in FastHenry)

  • Height: the FHPath segments height (\'h\' segment parameter in FastHenry)

  • Discr: the max number of segments into which curved edges will be discretized

  • Sigma: the FHPath segments conductivity (\'sigma\' segment parameter in FastHenry)

  • ww: the cross-section direction along the width for the first segment of the FHPath (\'wx\', \'wy\', \'wz\' segment parameter in FastHenry)

  • nhinc: the number of filaments in the height direction (\'nhinc\' segment parameter in FastHenry)

  • nwinc: the number of filaments in the width direction (\'nwinc\' segment parameter in FastHenry)

  • rh: the ratio of adjacent filaments in the height direction (\'rh\' segment parameter in FastHenry)

  • rw: the ratio of adjacent filaments in the width direction (\'rw\' segment parameter in FastHenry)

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')
  • Creates a FHPath object.

  • baseobjis the object that can be used as base for the FHPath. If no baseobj is given, the user must assign a base object later on, to be able to use this object. The baseobj is mandatory, and can be any shape containing edges, even if the FHPath object is designed to work best with the support of a sketch or a wire.

  • nameis the name of the object

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()

{{EM Tools navi

}}


⏵ documentation index > EM > EM FHPath

This page is retrieved from https://github.com/FreeCAD/FreeCAD-documentation/blob/main/wiki/EM_FHPath.md

Get in touch!
Forum GitHub Mastodon Matrix IRC Gitter.im Discord Reddit Twitter Facebook LinkedIn

© The FreeCAD Team. Homepage image credits (top to bottom): ppemawm, r-frank, epileftric, regis, rider_mortagnais, bejant.

This project is supported by: , KiCad Services Corp. and other sponsors

GitHubImprove this page on GitHub