EM FHNode/fr

Description
L'outil FHNode insère un objet de nœud FastHenry.



Utilisation
L'objet FHNode peut être basé sur la position d'un objet Draft Point ou vous pouvez sélectionner l'emplacement 3D du FHNode.


 * 1) Appuyez sur la touche  ou appuyez sur la touche  puis.
 * 2) Cliquez sur un point de la vue 3D ou tapez les Draft Coordonnées  et appuyez sur le bouton.

Alternativement, vous pouvez également:


 * 1) Sélectionnez un ou plusieurs Draft Point objet(s)
 * 2) Appuyez sur le bouton, ou appuyez sur les touches  puis . Autant de FHNodes seront créés que les objets Draft Point, aux mêmes coordonnées que les Draft Points.

Options

 * To enter coordinates manually, simply enter the numbers, then press between each X, Y and Z component. You can press the  button when you have the desired values to insert the point.
 * Click the checkbox to toggle continue mode. If continue mode is on, the FHNode tool will restart after you place a node, allowing you to place another one without pressing the tool button again.
 * Press or the  button to abort the current command.

Properties

 * : the X coordinate of the node
 * : the Y coordinate of the node
 * : the Z coordinate of the node

Scripting
FreeCAD Scripting Basics.

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


 * Creates a object.
 * is the Draft Point object whose position can be used as base for the FHNode. It has priority over, , . If no is given, ,, are used as coordinates.
 * x coordinate of the node, in absolute coordinate system.
 * y coordinate of the node, in absolute coordinate system.
 * z coordinate of the node, in absolute coordinate system.
 * is the node color, e.g. a tuple (1.0,0.0,0.0). Defaults to.
 * is the node size. Defaults to.
 * is the name of the object

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

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


 * Get a containing the node coordinates in the absolute reference system


 * Get a containing the node coordinates relative to the FHNode Placement


 * Sets the node position relative to the placement
 * is a FreeCAD.Vector containing the node coordinates relative to the FHNode Placement
 * is a new FHNode placement. If, the placement is not changed


 * Sets the absolute node position, considering the object placement, and in case forcing a new placement
 * is a FreeCAD.Vector containing the node coordinates in the absolute reference system
 * is a new FHNode placement. If, the placement is not changed

Example: