Arch BuildingPart/ro: Difference between revisions

From FreeCAD Documentation
(Created page with "Arch: BuildingPart")
 
(Updating to match new version of source page)
(35 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<languages/>
<languages/>


{{Docnav
{{GuiCommand|Name=Arch BuildingPart|Workbenches=[[Arch Module|Arch]]|MenuLocation=Arch → BuildingPart|Shortcut=|SeeAlso=[[Arch Building]], [[Arch Floor]]}}
|[[Arch_CurtainWall|CurtainWall]]
|[[Arch_Project|Project]]
|[[Arch_Workbench|Arch]]
|IconL=Arch_CurtainWall.svg
|IconR=Arch_Project.svg
|IconC=Workbench_Arch.svg
}}


<div class="mw-translate-fuzzy">
==Description==
{{GuiCommand/ro
|Name=Arch BuildingPart
|Name/ro=Arch BuildingPart
|MenuLocation=Arch → BuildingPart
|Workbenches=[[Arch_Workbench/ro|Arch]]
|Shortcut=
|SeeAlso=[[Arch Building]], [[Arch Floor]]
}}
</div>


<span id="Description"></span>
The BuildingPart is aimend at replacing the [[Arch Floor]] with a more capable version that can be used not only to create Floor/Storey/Levels but also all kinds of situations where different Arch/BIM objects need to be grouped and that group might need to be handled as one object or replicated.
<div class="mw-translate-fuzzy">
==Descriere==
</div>


<div class="mw-translate-fuzzy">
==How to use==
BuildingPart intenționează să înlocuiască [[Arch Floor]] cu o versiune mai capabilă care să poată fi utilizată nu numai pentru crearea de podele/etaje/niveluri ci și pentru toate tipurile de situații în care trebuie să fie grupate diferite obiecte Arch/BIM și acel grup ar putea fi necesar să fie tratate ca un obiect sau replicate.
</div>


<span id="Usage"></span>
# Optionally, select one or more objects to be included in your new Building Part
<div class="mw-translate-fuzzy">
# Press the {{KEY|[[Image:Arch BuildingPart.png|16px]] '''Arch BuildingPart'''}} button
== Cum se folosește ==
</div>


<div class="mw-translate-fuzzy">
==Options==
# Optional, selectați unul sau mai multe obiecte pentru a fi incluse în noul Building Part
# Apăsați butonul {{KEY|[[Image:Arch BuildingPart.png|16px]] '''Arch BuildingPart'''}}
</div>


=== Notes ===
* After creating a BuildingPart, you can add more objects to it by drag and dropping them in the Tree View or by using the [[Image:Arch Add.png|16px]] [[Arch Add]] tool
* You can remove objects from a BuildingPart by drag and dropping them out of it the Tree View or by using the [[Image:Arch Remove.png|16px]] [[Arch Remove]] tool
* By double-clicking the BuildingPart object in the tree view, the [[Draft SelectPlane|Working Plane]] will be set to its location, and the BuildingPart will become active, which means that new objects will be added automatically to it. Double-clicking the BuildingPart again wil deactivate it and set the working plane back to its previous position
* The BuildingPart can display a mark in the 3D view with a label and level indication
* When a BuildingPart is moved/rotated, all its children that either have no "Move With Host" property, or have it turned on, will move/rotate together.
* Building Parts can be [[Draft Clone|cloned]]
* Building Parts can take any IFC type


BuildingParts have a built-in, implicit [[Arch_SectionPlane|Arch SectionPlane]].
==Properties==


This plane is always parallel to the BuildingPart's base plane, but you can specify the offset between them. So all tools that work with a section plane, such as [[Draft_Shape2DView|Draft Shape2DView]] and [[TechDraw_ArchView|TechDraw ArchView]] also work with BuildingParts.
* {{PropertyData|Height}}: The height of this object

* {{PropertyData|LevelOffset}}: The level of the (0,0,0) point of this level
<span id="Options"></span>
* {{PropertyData|Area}}: The computed floor area of this floor
<div class="mw-translate-fuzzy">
* {{PropertyData|IfcRole}}: The role of this object
== Opţiuni ==
* {{PropertyData|Description}}: An optional description for this component
</div>
* {{PropertyData|Tag}}: An optional tag for this component

* {{PropertyData|IfcAttributes}}: Custom IFC properties and attributes
<div class="mw-translate-fuzzy">
* {{PropertyView|LineWidth}}: The line width of this object
* După ce ați creat un BuildingPart, puteți să adăugați mai multe obiecte prin glisarea și plasarea lor în Tree View sau utilizând instrumentul [[Image:Arch Add.png|16px]] [[Arch Add]]
* {{PropertyView|OverrideUnit}}: An optional unit to express levels
* Puteți să eliminați obiecte dintr-un BuildingPart prin tragerea și plasarea lor din Tree View sau utilizând instrumentul [[Image:Arch Remove.png|16px]] [[Arch Remove]]
* {{PropertyView|DisplayOffset}}: A transformation to apply to the level mark
* Dând dublu clic pe obiectul BuildingPart din vizualizarea arborescentă, [[Draft SelectPlane|Working Plane]] va fi setat la locația sa, iar BuildingPart va deveni activ, ceea ce înseamnă că vor fi adăugate automat noi obiecte. Dacă dați dublu clic pe BuildingPart din nou, îl dezactivați și setați planul de lucru înapoi în poziția sa anterioară
* {{PropertyView|ShowLevel}}: If true, show the level
* BuildingPart poate afișa un marcaj în vizualizarea 3D cu o etichetă și indicarea nivelului
* {{PropertyView|ShowUnit}}: If true, show the unit on the level tag
* Când un BuildingPart este mutat / rotit, toți copiii acestuia care nu au nici o proprietate "Move With Host" sau o pornesc, se vor mișca/roti împreună.
* {{PropertyView|SetWorkingPlane}}: If true, when activated, the working plane will automatically adapt to this level
* Elementele de construcție pot fi [[Draft Clone|cloned]]
* {{PropertyView|OriginOffset}}: If true, when activated, Display offset will affect the origin mark too
* Componentele de construcție pot lua orice tip de IFC
* {{PropertyView|ShowLabel}}: If true, when activated, the object's label is displayed
</div>
* {{PropertyView|FontName}}: The font to be used for texts

* {{PropertyView|FontSize}}: The font size of texts
<span id="Properties"></span>
* {{PropertyView|RestoreView}}: If set, the view stored in this object will be restored on double-click
<div class="mw-translate-fuzzy">
* {{PropertyView|DiffuseColor}}: The individual face colors
==Proprietăți==
</div>

See also: [[Property_editor|Property editor]].

An Arch BuildingPart is derived from an [[App_GeoFeature|App GeoFeature]] object and inherits all its properties. It also has the following additional properties:

===Data===

{{TitleProperty|Base}}

* {{PropertyData|Group|LinkList}}: List of referenced objects.
* {{PropertyData|_ Group Touched|Bool|Hidden}}

{{TitleProperty|Building Part}}

* {{PropertyData|Area|Area}}: The computed floor area of this floor.
* {{PropertyData|Height|Length}}: The height of this object, and of its children objects. The children objects could be, for example, [[Arch Wall|Arch Walls]]. Each wall's height must be set to {{incode|0}} (zero), so the height property of the BuildingPart propagates to the objects inside of it.
* {{PropertyData|Level Offset|Length}}: The level of the (0,0,0) point of this level. This value is added to the {{incode|Placement.Base.z}} attribute of the BuildingPart, to indicate a vertical offset without actually moving the object. The resulting offset is displayed if {{PropertyView|Show Level}} is {{TRUE}}.
* {{PropertyData|Materials Table|Map|Hidden}}: A MaterialName:SolidIndexesList map that relates material names with solid indexes to be used when referencing this object from other files.
* {{PropertyData|Only Solids|Bool}}: If true, only solids will be collected by this object when referenced from other files.
* {{PropertyData|Saved Inventor|FileIncluded|Hidden}}: This property stores an inventor representation for this object.
* {{PropertyData|Shape|PartShape|Hidden}}: The shape of this object.

{{TitleProperty|Children}}

* {{PropertyData|Height Propagate|Bool}}: If true, the height value propagates to contained objects.

{{TitleProperty|IFC}}

* {{PropertyData|Ifc Data|Map|Hidden}}: IFC data.
* {{PropertyData|Ifc Properties|Map|Hidden}}: IFC properties of this object.
* {{PropertyData|Ifc Type|Enumeration}}: The IFC type of this object.

{{TitleProperty|IFC Attributes}}

* {{PropertyData|Description|String}}: An optional description for this component
* {{PropertyData|Global Id|String}}
* {{PropertyData|Object Type|String}}
* {{PropertyData|Overall Height|Length}}
* {{PropertyData|Overall Width|Length}}
* {{PropertyData|Partitioning Type|Enumeration}}
* {{PropertyData|Predefined Type|Enumeration}}
* {{PropertyData|Tag|String}}: An optional tag for this component.
* {{PropertyData|User Defined Partitioning Type|String}}

===View===

{{TitleProperty|Auto Group}}

* {{PropertyView|Autogroup Autosize|Bool}}: Automatically set the capture box size from the Building Part contents. {{Version|0.20}}
* {{PropertyView|Autogroup Box|Bool}}: Turns auto grouping (and the display of the capture box) on/off. {{Version|0.20}}
* {{PropertyView|Autogroup Margin|Length}}: A margin to use when autosize is turned on. {{Version|0.20}}
* {{PropertyView|Autogroup Size|IntegerList}}: The capture box for newly created objects expressed as [XMin,YMin,ZMin,XMax,YMax,ZMax]. {{Version|0.20}}

{{TitleProperty|Building Part}}

* {{PropertyView|Diffuse Color|ColorList|Hidden}}: The individual face colors.
* {{PropertyView|Display Offset|Placement}}: A transformation to apply to the level mark.
* {{PropertyView|Font Name|Font}}: The font to be used for texts.
* {{PropertyView|Font Size|Length}}: The font size of texts.
* {{PropertyView|Line Width|Float}}: The line width of this object.
* {{PropertyView|Origin Offset|Bool}}: If true, when activated, Display offset will affect the origin mark too.
* {{PropertyView|Override Unit|String}}: An optional unit to express levels.
* {{PropertyView|Show Label|Bool}}: If true, when activated, the object's label is displayed.
* {{PropertyView|Show Level|Bool}}: If true, show the level.
* {{PropertyView|Show Unit|Bool}}: If true, show the unit on the level tag.

{{TitleProperty|Children}}

* {{PropertyView|Children Line Color|Color}}: The line color to apply to the children of this Building Part.
* {{PropertyView|Children Line Width|Float}}: The line width to apply to the children of this Building Part.
* {{PropertyView|Children Override|Bool}}: If true, the objects contained in this Building Part will adopt these line, color and transparency settings.
* {{PropertyView|Children Shape Color|Color}}: The shape color to apply to the children of this Building Part.
* {{PropertyView|Children Transparency|Percent}}: The transparency to apply to the children of this Building Part.

{{TitleProperty|Clip}}

* {{PropertyView|Auto Cut View|Bool}}: Turn cutting on when activating this level.
* {{PropertyView|Cut Margin|Length}}: The distance between the level plane and the cut line.
* {{PropertyView|Cut View|Bool}}: Cut the view above this level.

{{TitleProperty|Interactions}}

* {{PropertyView|Auto Working Plane|Bool}}: If set to True, the working plane will be kept on Auto mode.
* {{PropertyView|Double Click Activates|Bool}}: If True, double-clicking this object in the tree activates it.
* {{PropertyView|Restore View|Bool}}: If set, the view stored in this object will be restored on double-click.
* {{PropertyView|Save Inventor|Bool}}: If this is enabled, the inventor representation of this object will be saved in the FreeCAD file, allowing to reference it in other files in lightweight mode.
* {{PropertyView|Saved Inventor|FileIncluded|Hidden}}: A slot to save the inventor representation of this object, if enabled.
* {{PropertyView|Set Working Plane|Bool}}: If true, when activated, the working plane will automatically adapt to this Building Part.
* {{PropertyView|View Data|FloatList|Hidden}}: Camera position data associated with this object.


==Scripting==
==Scripting==


<div class="mw-translate-fuzzy">
The BuildingPart tool can by used in [[macros]] and from the python console by using the following function:
== Scrip-Programare ==
</div>

<div class="mw-translate-fuzzy">
Instrumentul BuildingPart poate fi utilizat în [[Macros/ro|macro-uri]] și din consola Python utilizând următoarea funcție:
</div>

{{Code|code=
{{Code|code=
makeBuildingPart ([objectslist])
BuildingPart = makeBuildingPart(objectslist=None)
}}
}}


<div class="mw-translate-fuzzy">
creates a BuildingPart including the objects from the given list.
creează o BuildingPart incluzând obiectele din lista dată.
</div>


<div class="mw-translate-fuzzy">
Example:
Exempluː
</div>
{{Code|code=
{{Code|code=
import Arch
import FreeCAD, Draft, Arch

Arch.makeBuildingPart()
p1 = FreeCAD.Vector(0, 0, 0)
p2 = FreeCAD.Vector(2000, 0, 0)
baseline = Draft.makeLine(p1, p2)
baseline2 = Draft.makeLine(p1, -1*p2)

Wall1 = Arch.makeWall(baseline, length=None, width=150, height=2000)
Wall2 = Arch.makeWall(baseline2, length=None, width=150, height=1800)
FreeCAD.ActiveDocument.recompute()

BuildingPart = Arch.makeBuildingPart([Wall1, Wall2])

Floor = Arch.makeFloor([BuildingPart])
Building = Arch.makeBuilding([Floor])
Site = Arch.makeSite(Building)
FreeCAD.ActiveDocument.recompute()
}}
}}


<div class="mw-translate-fuzzy">
{{docnav|[[Arch_Floor|Floor]]|[[Arch_Building|Building]]|[[Arch_Workbench|Arch]]|IconL=Arch_Floor.svg |IconC=Workbench_Arch.svg |IconR=Arch_Building.svg}}
</div>

{{Arch Tools navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}

Revision as of 16:13, 20 May 2023

Arch BuildingPart

poziția meniului
Arch → BuildingPart
Ateliere
Arch
scurtătură
nici unul
Prezentat în versiune
-
A se vedea, de asemenea,
Arch Building, Arch Floor

Descriere

BuildingPart intenționează să înlocuiască Arch Floor cu o versiune mai capabilă care să poată fi utilizată nu numai pentru crearea de podele/etaje/niveluri ci și pentru toate tipurile de situații în care trebuie să fie grupate diferite obiecte Arch/BIM și acel grup ar putea fi necesar să fie tratate ca un obiect sau replicate.

Cum se folosește

  1. Optional, selectați unul sau mai multe obiecte pentru a fi incluse în noul Building Part
  2. Apăsați butonul Arch BuildingPart

Notes

BuildingParts have a built-in, implicit Arch SectionPlane.

This plane is always parallel to the BuildingPart's base plane, but you can specify the offset between them. So all tools that work with a section plane, such as Draft Shape2DView and TechDraw ArchView also work with BuildingParts.

Opţiuni

  • După ce ați creat un BuildingPart, puteți să adăugați mai multe obiecte prin glisarea și plasarea lor în Tree View sau utilizând instrumentul Arch Add
  • Puteți să eliminați obiecte dintr-un BuildingPart prin tragerea și plasarea lor din Tree View sau utilizând instrumentul Arch Remove
  • Dând dublu clic pe obiectul BuildingPart din vizualizarea arborescentă, Working Plane va fi setat la locația sa, iar BuildingPart va deveni activ, ceea ce înseamnă că vor fi adăugate automat noi obiecte. Dacă dați dublu clic pe BuildingPart din nou, îl dezactivați și setați planul de lucru înapoi în poziția sa anterioară
  • BuildingPart poate afișa un marcaj în vizualizarea 3D cu o etichetă și indicarea nivelului
  • Când un BuildingPart este mutat / rotit, toți copiii acestuia care nu au nici o proprietate "Move With Host" sau o pornesc, se vor mișca/roti împreună.
  • Elementele de construcție pot fi cloned
  • Componentele de construcție pot lua orice tip de IFC

Proprietăți

See also: Property editor.

An Arch BuildingPart is derived from an App GeoFeature object and inherits all its properties. It also has the following additional properties:

Data

Base

  • DateGroup (LinkList): List of referenced objects.
  • Date (Hidden)_ Group Touched (Bool)

Building Part

  • DateArea (Area): The computed floor area of this floor.
  • DateHeight (Length): The height of this object, and of its children objects. The children objects could be, for example, Arch Walls. Each wall's height must be set to 0 (zero), so the height property of the BuildingPart propagates to the objects inside of it.
  • DateLevel Offset (Length): The level of the (0,0,0) point of this level. This value is added to the Placement.Base.z attribute of the BuildingPart, to indicate a vertical offset without actually moving the object. The resulting offset is displayed if VizualizareShow Level is true.
  • Date (Hidden)Materials Table (Map): A MaterialName:SolidIndexesList map that relates material names with solid indexes to be used when referencing this object from other files.
  • DateOnly Solids (Bool): If true, only solids will be collected by this object when referenced from other files.
  • Date (Hidden)Saved Inventor (FileIncluded): This property stores an inventor representation for this object.
  • Date (Hidden)Shape (PartShape): The shape of this object.

Children

  • DateHeight Propagate (Bool): If true, the height value propagates to contained objects.

IFC

  • Date (Hidden)Ifc Data (Map): IFC data.
  • Date (Hidden)Ifc Properties (Map): IFC properties of this object.
  • DateIfc Type (Enumeration): The IFC type of this object.

IFC Attributes

  • DateDescription (String): An optional description for this component
  • DateGlobal Id (String)
  • DateObject Type (String)
  • DateOverall Height (Length)
  • DateOverall Width (Length)
  • DatePartitioning Type (Enumeration)
  • DatePredefined Type (Enumeration)
  • DateTag (String): An optional tag for this component.
  • DateUser Defined Partitioning Type (String)

View

Auto Group

  • VizualizareAutogroup Autosize (Bool): Automatically set the capture box size from the Building Part contents. introduced in version 0.20
  • VizualizareAutogroup Box (Bool): Turns auto grouping (and the display of the capture box) on/off. introduced in version 0.20
  • VizualizareAutogroup Margin (Length): A margin to use when autosize is turned on. introduced in version 0.20
  • VizualizareAutogroup Size (IntegerList): The capture box for newly created objects expressed as [XMin,YMin,ZMin,XMax,YMax,ZMax]. introduced in version 0.20

Building Part

  • Vizualizare (Hidden)Diffuse Color (ColorList): The individual face colors.
  • VizualizareDisplay Offset (Placement): A transformation to apply to the level mark.
  • VizualizareFont Name (Font): The font to be used for texts.
  • VizualizareFont Size (Length): The font size of texts.
  • VizualizareLine Width (Float): The line width of this object.
  • VizualizareOrigin Offset (Bool): If true, when activated, Display offset will affect the origin mark too.
  • VizualizareOverride Unit (String): An optional unit to express levels.
  • VizualizareShow Label (Bool): If true, when activated, the object's label is displayed.
  • VizualizareShow Level (Bool): If true, show the level.
  • VizualizareShow Unit (Bool): If true, show the unit on the level tag.

Children

  • VizualizareChildren Line Color (Color): The line color to apply to the children of this Building Part.
  • VizualizareChildren Line Width (Float): The line width to apply to the children of this Building Part.
  • VizualizareChildren Override (Bool): If true, the objects contained in this Building Part will adopt these line, color and transparency settings.
  • VizualizareChildren Shape Color (Color): The shape color to apply to the children of this Building Part.
  • VizualizareChildren Transparency (Percent): The transparency to apply to the children of this Building Part.

Clip

  • VizualizareAuto Cut View (Bool): Turn cutting on when activating this level.
  • VizualizareCut Margin (Length): The distance between the level plane and the cut line.
  • VizualizareCut View (Bool): Cut the view above this level.

Interactions

  • VizualizareAuto Working Plane (Bool): If set to True, the working plane will be kept on Auto mode.
  • VizualizareDouble Click Activates (Bool): If True, double-clicking this object in the tree activates it.
  • VizualizareRestore View (Bool): If set, the view stored in this object will be restored on double-click.
  • VizualizareSave Inventor (Bool): If this is enabled, the inventor representation of this object will be saved in the FreeCAD file, allowing to reference it in other files in lightweight mode.
  • Vizualizare (Hidden)Saved Inventor (FileIncluded): A slot to save the inventor representation of this object, if enabled.
  • VizualizareSet Working Plane (Bool): If true, when activated, the working plane will automatically adapt to this Building Part.
  • Vizualizare (Hidden)View Data (FloatList): Camera position data associated with this object.

Scripting

Scrip-Programare

Instrumentul BuildingPart poate fi utilizat în macro-uri și din consola Python utilizând următoarea funcție:

BuildingPart = makeBuildingPart(objectslist=None)

creează o BuildingPart incluzând obiectele din lista dată.

Exempluː

import FreeCAD, Draft, Arch

p1 = FreeCAD.Vector(0, 0, 0)
p2 = FreeCAD.Vector(2000, 0, 0)
baseline = Draft.makeLine(p1, p2)
baseline2 = Draft.makeLine(p1, -1*p2)

Wall1 = Arch.makeWall(baseline, length=None, width=150, height=2000)
Wall2 = Arch.makeWall(baseline2, length=None, width=150, height=1800)
FreeCAD.ActiveDocument.recompute()

BuildingPart = Arch.makeBuildingPart([Wall1, Wall2])

Floor = Arch.makeFloor([BuildingPart])
Building = Arch.makeBuilding([Floor])
Site = Arch.makeSite(Building)
FreeCAD.ActiveDocument.recompute()