Arch Profile: Difference between revisions

From FreeCAD Documentation
mNo edit summary
(Arch -> BIM)
Line 4: Line 4:
<!--T:25-->
<!--T:25-->
{{Docnav
{{Docnav
|[[Reinforcement_FootingRebars|FootingRebars]]
|[[Arch_Truss|Truss]]
|[[BIM_Box|Box]]
|[[Arch_CompSetMaterial|CompSetMaterial]]
|[[Arch_Workbench|Arch]]
|[[BIM_Workbench|BIM]]
|IconL=Arch_Truss.svg
|IconL=Reinforcement_FootingRebars.svg
|IconR=Arch_CompSetMaterial.png
|IconR=BIM_Box.svg
|IconC=Workbench_Arch.svg
|IconC=Workbench_BIM.svg
}}
}}

{{VeryImportantMessage|THIS COMMAND IS PART OF THE INTEGRATED [[BIM_Workbench|BIM WORKBENCH]] IN V1.0<br>
This page has been updated for that version.}}


<!--T:1-->
<!--T:1-->
{{GuiCommand
{{GuiCommand
|Name=Arch Profile
|Name=Arch Profile
|MenuLocation=Arch → Profile
|MenuLocation=3D/BIM → Generic 3D tools → Profile
|Workbenches=[[Arch_Workbench|Arch]]
|Workbenches=[[BIM_Workbench|BIM]]
|Version=0.19
|Version=0.19
}}
}}
Line 34: Line 37:


<!--T:7-->
<!--T:7-->
# Press the {{Button|[[Image:Arch Profile.svg|16px]] [[Arch Profile|Arch Profile]]}} button
# Press the {{Button|[[Image:Arch_Profile.svg|16px]] [[Arch_Profile|Profile]]}} button
# Select a preset in the tool task panel
# Select a preset in the tool task panel
# Click a point in the 3D view to place the profile
# Click a point in the 3D view to place the profile
Line 126: Line 129:
<!--T:26-->
<!--T:26-->
{{Docnav
{{Docnav
|[[Reinforcement_FootingRebars|FootingRebars]]
|[[Arch_Truss|Truss]]
|[[BIM_Box|Box]]
|[[Arch_CompSetMaterial|CompSetMaterial]]
|[[Arch_Workbench|Arch]]
|[[BIM_Workbench|BIM]]
|IconL=Arch_Truss.svg
|IconL=Reinforcement_FootingRebars.svg
|IconR=Arch_CompSetMaterial.png
|IconR=BIM_Box.svg
|IconC=Workbench_Arch.svg
|IconC=Workbench_BIM.svg
}}
}}


</translate>
</translate>
{{Arch Tools navi{{#translation:}}}}
{{BIM_Tools_navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}

Revision as of 12:14, 9 June 2024

THIS COMMAND IS PART OF THE INTEGRATED BIM WORKBENCH IN V1.0
This page has been updated for that version.

Arch Profile

Menu location
3D/BIM → Generic 3D tools → Profile
Workbenches
BIM
Default shortcut
None
Introduced in version
0.19
See also
None

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 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.

Usage

  1. Press the Profile button
  2. Select a preset in the tool task panel
  3. Click a point in the 3D view to place the profile

Properties

Data

  • DataHeight: The overall height of the profile
  • DataWidth: The overall width of the profile
  • DataDiameter: The diameter of the profile (circular profiles only)
  • DataThickness: The thickness of the tube wall (circular and rectangular hollow profiles only)
  • DataWeb Thickness: The thickness of the profile web (H and I profiles only)
  • DataFlange 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.

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.