Arch Profile/pl: Difference between revisions

From FreeCAD Documentation
(Created page with "* {{PropertyData|Wysokość}}: Całkowita wysokość profilu. * {{PropertyData|Szerokość}}: Całkowita szerokość profilu. * {{PropertyData|Średnica}}: Średnica profilu ''(tylko profile okrągłe)''. * {{PropertyData|Grubość}}: Grubość ścianki rury ''(tylko okrągłe i prostokątne puste profile)''. * {{PropertyData|Web Thickness}}: Grubość środnika profilu ''(tylko profile H i I)''. * {{PropertyData|Grubość kołnierza}}: Grubość kołnierza profilu ''(ty...")
(Created page with "==Dodawanie profili niestandardowych==")
Line 47: Line 47:
* {{PropertyData|Grubość kołnierza}}: Grubość kołnierza profilu ''(tylko profile H i I)''.
* {{PropertyData|Grubość kołnierza}}: Grubość kołnierza profilu ''(tylko profile H i I)''.


<span id="Adding_custom_profiles"></span>
==Adding custom profiles==
==Dodawanie profili niestandardowych==


An additional CSV file can be created by the user, containing custom profile definitions. It must be named {{incode|profiles.csv}}, and placed in
An additional CSV file can be created by the user, containing custom profile definitions. It must be named {{incode|profiles.csv}}, and placed in

Revision as of 06:00, 5 May 2024

Architektura: Profil

Lokalizacja w menu
Arch → Profil
Środowisko pracy
Architektura
Domyślny skrót
brak
Wprowadzono w wersji
0.19
Zobacz także
brak

Opis

Narzędzie Profil tworzy parametryczny obiekt profilu 2D. Obiekt ten może być następnie użyty jako podstawa w innych narzędziach, które wykonują wyciągnięcia, takich jak Rama, Ściana kurtynowa lub Część: Wyciągnij.

Patrz lista dostępnych ustawień wstępnych.

Narzędzie profilu jest również zintegrowane z narzędziem Konstrukcja, wszystkie wstępnie ustawione profile są tam również dostępne.

Użycie

  1. Naciśnij przycisk Profil.
  2. Wybierz ustawienie wstępne w panelu zadań narzędzia.
  3. Kliknij punkt w widoku 3D, aby umieścić profil.

Właściwości

Dane

  • DANEWysokość: Całkowita wysokość profilu.
  • DANESzerokość: Całkowita szerokość profilu.
  • DANEŚrednica: Średnica profilu (tylko profile okrągłe).
  • DANEGrubość: Grubość ścianki rury (tylko okrągłe i prostokątne puste profile).
  • DANEWeb Thickness: Grubość środnika profilu (tylko profile H i I).
  • DANEGrubość kołnierza: Grubość kołnierza profilu (tylko profile H i I).

Dodawanie profili niestandardowych

An additional CSV file can be created by the user, containing custom profile definitions. It must be named profiles.csv, and placed in

$FREECAD_USER_DIR/Arch/

The $FREECAD_USER_DIR can be obtained from the Python console:

FreeCAD.getUserAppDataDir()

The contents of your custom profiles.csv file must be modeled upon the same rules as the profiles.csv in the source code.

The CSV file must contain one line per available profile, formatted as follows:

  • For C profiles: Category, Name, Class, Diameter, Thickness
  • For H, U and T profiles: Category, Name, Class, Width, Height, Web thickness, Flange thickness
  • For L profiles: Category, Name, Class, Width, Height, Thickness
  • For R profiles: Category, Name, Class, Width, Height
  • For RH profiles: Category, Name, Class, Width, Height, Thickness

All measures must be in millimeters. Possible profile classes are:

  • C: Circular tube
  • H: H or I profile
  • R: Rectangular
  • RH: Rectangular hollow
  • U: U profile
  • L: L profile
  • T: T profile

Additional profile types can be created, but a corresponding class must first be defined in ArchProfile.py.

Scripting

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

profile = makeProfile(profile_list)

Where profile_list contains the different elements of a list in the CSV file.

Example:

import Arch
Arch.makeProfile([0, 'REC', 'REC100x100', 'R', 100, 100])

Where the first element of the list is an order number that is not used yet.