EM FHEquiv

From FreeCAD Documentation
Jump to navigation Jump to search
This page is a translated version of the page EM FHEquiv and the translation is 16% complete.
Outdated translations are marked like this.
Other languages:
English • ‎français • ‎italiano • ‎polski

EM FHEquiv.svg EM FHEquiv

Posizione nel menu
EM → FHEquiv
Ambiente
EM (add-on)
Avvio veloce
E E
Introdotto nella versione
0.17
Vedere anche
EM FHNode, EM FHSegment, EM FHPath, EM FHPlane, EM FHPort,

Descrizione

The FHEquiv tool short-circuits two FHNode objects.

EM FHEquiv Example.png

FastHenry FHEquiv

Usage

The FHEquiv object is based on the two existing FHNodes that it will short-circuit.

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

Remarks

  • If you need to short-circuit multiple nodes, just create multiple FHEquiv nodes. You don't need a full mesh of FHEquiv nodes, as of course if node1 is shorted with node2, and node2 is shorted with node3, also node1 will result shorted with node3.

Properties

  • DatiNode1: the first FHNode to short-circuit
  • DatiNode2: the second FHNode to short-circuit

Scripting

See also: FreeCAD Scripting Basics.

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

equiv = makeFHEquiv(node1=None,node2=None,name='FHEquiv')
  • Creates a FHEquiv object.
  • node1 is the first node FHNode object to short-circuit.
  • node2 is the second node FHNode object to short-circuit.
  • name is the name of the object

Esempio:

import FreeCAD, EM

fhnode1 = EM.makeFHNode(X=1.0,Y=0,Z=0)
fhnode2 = EM.makeFHNode(X=0,Y=1.0,Z=0)

fhequiv = EM.makeFHEquiv(fhnode1, fhnode2)