Arch Profile/ru: Difference between revisions
(Created page with "{{Docnav/ru |Ферма |CompSetMaterial |Архитектурный верстак "Arch" |IconL=Arch_Trus...") |
(Created page with "{{GuiCommand/ru |Name/ru=Профиль |Name=Arch_Profile |MenuLocation=Arch → Профиль |Workbenches=Arch |Version=0.19 }}") |
||
(7 intermediate revisions by the same user not shown) | |||
Line 10: | Line 10: | ||
}} |
}} |
||
{{GuiCommand |
{{GuiCommand/ru |
||
|Name= |
|Name/ru=Профиль |
||
|Name=Arch_Profile |
|||
|MenuLocation=Arch → |
|MenuLocation=Arch → Профиль |
||
|Workbenches=[[Arch_Workbench|Arch]] |
|Workbenches=[[Arch_Workbench/ru|Arch]] |
||
|Version=0.19 |
|Version=0.19 |
||
}} |
}} |
||
==Описание== |
|||
==Description== |
|||
The Profile tool builds a parametric 2D profile object. This object can then be used as a base in different other tools that perform extrusions, such as [[Arch Frame|Arch Frame]], [[Arch CurtainWall|Arch CurtainWall]] or [[Part Extrude|Part Extrude]]. |
The Profile tool builds a parametric 2D profile object. This object can then be used as a base in different other tools that perform extrusions, such as [[Arch Frame|Arch Frame]], [[Arch CurtainWall|Arch CurtainWall]] or [[Part Extrude|Part Extrude]]. |
||
Line 25: | Line 26: | ||
The profile tool is also integrated to the [[Arch Structure|Arch Structure]] tool, all preset profiles are also available there. |
The profile tool is also integrated to the [[Arch Structure|Arch Structure]] tool, all preset profiles are also available there. |
||
==Применение== |
|||
==Usage== |
|||
# Press the {{Button|[[Image:Arch Profile.svg|16px]] [[Arch Profile|Arch Profile]]}} button |
# Press the {{Button|[[Image:Arch Profile.svg|16px]] [[Arch Profile|Arch Profile]]}} button |
||
Line 31: | Line 32: | ||
# Click a point in the 3D view to place the profile |
# Click a point in the 3D view to place the profile |
||
==Свойства== |
|||
==Properties== |
|||
=== |
=== Данные === |
||
* {{PropertyData|Height}}: The overall height of the profile |
* {{PropertyData|Height}}: The overall height of the profile |
||
Line 76: | Line 77: | ||
Additional profile types can be created, but a corresponding class must first be defined in [https://github.com/FreeCAD/FreeCAD/blob/master/src/Mod/Arch/ArchProfile.py ArchProfile.py]. |
Additional profile types can be created, but a corresponding class must first be defined in [https://github.com/FreeCAD/FreeCAD/blob/master/src/Mod/Arch/ArchProfile.py ArchProfile.py]. |
||
==Программирование== |
|||
==Scripting== |
|||
The Profile tool can be used in [[macros|macros]] and from the [[Python|Python]] console by using the following function: |
The Profile tool can be used in [[macros|macros]] and from the [[Python|Python]] console by using the following function: |
||
Line 86: | Line 87: | ||
Where profile_list contains the different elements of a list in the CSV file. |
Where profile_list contains the different elements of a list in the CSV file. |
||
Пример: |
|||
Example: |
|||
{{Code|code= |
{{Code|code= |
||
Line 96: | Line 97: | ||
{{Docnav |
{{Docnav/ru |
||
|[[Arch_Truss| |
|[[Arch_Truss/ru|Ферма]] |
||
|[[Arch_CompSetMaterial|CompSetMaterial]] |
|[[Arch_CompSetMaterial/ru|CompSetMaterial]] |
||
|[[Arch_Workbench|Arch]] |
|[[Arch_Workbench/ru|Архитектурный верстак "Arch"]] |
||
|IconL=Arch_Truss.svg |
|IconL=Arch_Truss.svg |
||
|IconR=Arch_CompSetMaterial.png |
|IconR=Arch_CompSetMaterial.png |
Latest revision as of 17:37, 26 August 2022
Профиль |
Системное название |
---|
Arch_Profile |
Расположение в меню |
Arch → Профиль |
Верстаки |
Arch |
Быстрые клавиши |
Нет |
Представлено в версии |
0.19 |
См. также |
Нет |
Описание
The Profile tool builds a parametric 2D profile object. This object can then be used as a base in different other tools that perform extrusions, such as Arch Frame, Arch CurtainWall or Part Extrude.
See the list of available presets.
The profile tool is also integrated to the Arch Structure tool, all preset profiles are also available there.
Применение
- Press the Arch Profile button
- Select a preset in the tool task panel
- Click a point in the 3D view to place the profile
Свойства
Данные
- ДанныеHeight: The overall height of the profile
- ДанныеWidth: The overall width of the profile
- ДанныеDiameter: The diameter of the profile (circular profiles only)
- ДанныеThickness: The thickness of the tube wall (circular and rectangular hollow profiles only)
- ДанныеWeb Thickness: The thickness of the profile web (H and I profiles only)
- ДанныеFlange Thickness: The thickness of the profile flange (H and I profiles only)
Adding custom profiles
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.
Программирование
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.
Пример:
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.
- Elements: Wall, Structure, Curtain Wall, Window, Roof, Space, Stairs, Equipment, Frame, Fence, Truss, Profile, Pipe, Pipe Connector
- Reinforcements: Straight Rebar, U-Shape Rebar, L-Shape Rebar, Stirrup, Bent-Shape Rebar, Helical Rebar, Column Reinforcement, Beam Reinforcement, Slab Reinforcement, Footing Reinforcement, Custom Rebar
- Panels: Panel, Panel Cut, Panel Sheet, Nest
- Materials: Material, Multi-Material
- Organization: Building Part, Project, Site, Building, Level, External reference, Section Plane, Schedule
- Axes: Axis, Axes system, Grid
- Modification: Cut with plane, Add component, Remove component, Survey
- Utilities: Component, Clone component, Split Mesh, Mesh to Shape, Select non-manifold meshes, Remove Shape from Arch, Close Holes, Merge Walls, Check, Toggle IFC Brep flag, 3 Views from mesh, Create IFC spreadsheet, Toggle Subcomponents
- Additional: Preferences, Import Export Preferences (IFC, DAE, OBJ, JSON, 3DS, SHP), IfcOpenShell, IfcPlusPlus, Arch API
- Начинающим
- Установка: Загрузка, Windows, Linux, Mac, Дополнительных компонентов, Docker, AppImage, Ubuntu Snap
- Базовая: О FreeCAD, Интерфейс, Навигация мыши, Методы выделения, Имя объекта, Настройки, Верстаки, Структура документа, Свойства, Помоги FreeCAD, Пожертвования
- Помощь: Учебники, Видео учебники
- Верстаки: Std Base, Arch, Assembly, CAM, Draft, FEM, Inspection, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Surface, TechDraw, Test Framework