FreeCAD Logo FreeCAD 1.0
  • angielski afrykanerski arabski białoruski kataloński czeski niemiecki grecki hiszpański hiszpański baskijski fiński filipiński francuski galicyjski chorwacki węgierski Indonezyjski włoski japoński kabylski koreański litewski duński Norweski Bokmal polski portugalski portugalski rumuński rosyjski słowacki słoweński serbski szwedzki turecki ukraiński walenciański wietnamski chiński chiński
  • Funkcjonalność programu
  • Pobierz
  • Blog
  • Dokumentacja
    Spis dokumentacji Jak zacząć Dokumentacja użytkowników Podręcznik do programu FreeCAD Dokumentacja środowisk pracy Dokumentacja skryptów środowiska Python Dokumentacja kodowania C++ Poradniki Najczęściej zadawane pytania Polityka prywatności O FreeCAD
  • Przyłącz się do projektu
    Jak pomóc Sponsor Zgłoś błąd Utwórz pull request Praca i finansowanie Zasady współpracy Podręcznik dla programistów Tłumaczenia
  • Społeczność
    Kodeks postępowania Forum The FPA GitHub GitLab Codeberg Mastodon Matrix IRC IRC via Webchat Gitter Discord Reddit Twitter Facebook LinkedIn Kalendarz
  • ♥ Donate

Donate

$
Informacje o SEPA
Skonfiguruj przelew bankowy SEPA do:
Beneficiary: The FreeCAD project association
IBAN: BE04 0019 2896 4531
BIC/SWIFT: GEBABEBBXXX
Bank: BNP Paribas Fortis
Adres: 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!

FHPlane
FHPlaneAddRemoveNodeHole
EM

EM FHPlaneHole

Menu location
EM → FHPlaneHole
Workbenches
EM
Default shortcut
E H
Introduced in version
0.17
See also
EM FHPlane, EM FHNode, EM FHPlaneAddRemoveNodeHole

Description

The FHPlaneHole tool inserts a plane hole object, that represents a FastHenry uniform conductive plane hole.

FastHenry Point FHPlaneHole

FastHenry Rectangle FHPlaneHole

FastHenry Circle FHPlaneHole

Usage

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

  1. Press the EM FHPlaneHole button, or press E then H 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 FHPlaneHole button, or press E then H keys. As many FHPlaneHole objects will be created as the Draft Point objects, at the same coordinates of the Draft Points.

Remarks

  • FHPlaneHole objects have no meaning if they are not part of a FHPlane. To adopt a FHPlaneHole within a FHPlane, use the EM FHPlaneAddRemoveNodeHole command, or select the FHPlaneHole at FHPlane creation. To remove a FHPlaneHole from a FHPlane, you can use the EM FHPlaneAddRemoveNodeHole command.
  • FHPlaneHole objects represent FastHenry plane holes, and therefore follow the same rules of the uniform conductive plane holes. In particular, holes are created removing the internal plane nodes from the plane node array, before constructing the segment mesh. You can enable the view of the internal FHPlane nodes by turning the FHPlane DANEShowNodes property on. Three types of FHPlaneHoles exist, and can be selected by changing the DANEType FHPlaneNode property.
  1. Point hole: Removes the single FHPlane internal node closer to the position of the FHPlaneHole. The Point FHPlaneHole is shown as a single vertex (small dot), to help to visualize its position; see the FastHenry Point FHPlaneHole picture above.
  2. Rect hole: Removes all the FHPlane internal nodes that are within as well as close to the area defined by the base point of the FHPlaneNode and the DANELength and DANEWidth properties. This means that not only the internal nodes strictly within the rectangular area defined by the FHPlaneHole are removed, but also the internal nodes outside the rectangle, but within half of the internal node - node distance. The Rect FHPlaneHole is shown as a 2D rectangle, to help to visualize its position and area; see the FastHenry Rect FHPlaneHole picture above.
  3. Circle hole: Removes all the FHPlane internal nodes that are within as well as close to the area defined by the base point of the FHPlaneNode and the DANERadius property. This means that not only the internal nodes strictly within the circular area defined by the FHPlaneHole are removed, but also the internal nodes outside the circle, but within half of the internal node - node distance. The Circle FHPlaneHole is shown as a 2D circle, to help to visualize its position and area; see the FastHenry Circle FHPlaneHole picture above. Note that if the FHPlane discretization as specified by the DANEseg1 and DANEseg1 FHPlane properties is coarse, the shape of the circular hole can not resemble a circle. This is normal, and it is how FastHenry handles circular holes, not a defect of the ElectroMagnetic Workbench for FastHenry.

Options

  • To enter coordinates manually, simply enter the numbers, then press Enter between each X-, Y- and Z-component. You can press the add point button when you have the desired values to insert the point.
  • Press Esc or the Close button to abort the current command.

Properties

  • DANEX: the X-coordinate of the FHPlaneHole
  • DANEY: the Y-coordinate of the FHPlaneHole
  • DANEZ: the Z-coordinate of the FHPlaneHole
  • DANELength: the Rectangular hole length (along x from FHPlaneHole base point)
  • DANEWidth: the Rectangular hole width (along y from FHPlaneHole base point)
  • DANERadius: the Circular hole radius
  • DANEType: the type of FastHenry plane hole. Can be "Point", "Rect" or "Circle".

Scripting

See also: FreeCAD Scripting Basics.

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

hole = makeFHPlaneHole(baseobj=None, X=0.0, Y=0.0, Z=0.0, holetype=None, length=None, width=None, radius=None, name='FHPlaneHole')
  • Creates a FHPlaneHole object.
  • baseobj is the Draft Point object whose position can be used as base for the FHPlaneHole. It has priority over X, Y, Z. If no baseobj is given, X,Y,Z are used as coordinates.
  • X x coordinate of the hole, in absolute coordinate system.
  • Y y coordinate of the hole, in absolute coordinate system.
  • Z z coordinate of the hole, in absolute coordinate system.
  • holetype is the type of hole. Allowed values are: "Point", "Rect", "Circle"
  • length is the length of the hole (along the x dimension), in case of rectangular "Rect" hole.
  • width is the width of the hole (along the y dimension), in case of rectangular "Rect" hole.
  • radius is the radius of the hole, in case of circular "Circle" hole.
  • name is the name of the object

The placement of the FHPlaneHole 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 _FHPlaneHole class exposes these methods. The _FHPlaneHole class can be accessed through the FHPlaneHole object Proxy (e.g. fhhole.Proxy).

pos = getAbsCoord()
  • Get a FreeCAD.Vector containing the hole coordinates in the absolute reference system
pos = getRelCoord()
  • Get a FreeCAD.Vector containing the hole coordinates relative to the FHPlaneHole Placement
pos = setRelCoord(rel_coord, placement=None)
  • Sets the hole position relative to the placement
  • rel_coord is a FreeCAD.Vector containing the hole coordinates relative to the FHPlaneHole Placement
  • placement is a new FHPlaneHole placement. If None, the placement is not changed
pos = setAbsCoord(abs_coord, placement=None)
  • Sets the absolute hole position, considering the object placement, and in case forcing a new placement
  • abs_coord is a FreeCAD.Vector containing the hole coordinates in the absolute reference system
  • placement is a new FHPlaneHole placement. If None, the placement is not changed

Example:

import FreeCAD, EM

fhhole = EM.makeFHPlaneHole(X=1.0,Y=1.0,Z=0.0,holetype="Rect",length=1.0,width=2.0)


FHPlane
FHPlaneAddRemoveNodeHole
EM

Ta strona pochodzi z https://wiki.freecad.org/EM_FHPlaneHole

Bądźmy w kontakcie!
Forum GitHub Mastodon Matrix IRC Gitter.im Discord Reddit Twitter Facebook LinkedIn

© Załoga FreeCAD. Autorami grafiki na stronie głównej (od góry do dołu) są: ppemawm, r-frank, epileftric, regis, rider_mortagnais, bejant.

Ten projekt jest wspierany przez: , KiCad Services Corp. oraz pozostałych sponsorów

GitHubUlepsz tę stronę na GitHub