Arch Equipment/uk: Difference between revisions

From FreeCAD Documentation
(Created page with "{{GuiCommand/uk |Name=Arch Equipment |Name/uk=Arch Equipment |MenuLocation=Arch → Equipment |Workbenches=Arch |Shortcut=E Q |SeeAlso=Arch_3Views|3 views...")
(Updating to match new version of source page)
 
(13 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<languages/>
<languages/>

<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
{{docnav/uk|[[Arch_Fence/uk|Fence]]|[[Arch_CompPipe/uk|Arch CompPipe]]|[[Arch_Workbench/uk|Arch]]|IconL=Arch_Fence.svg |IconC=Workbench_Arch.svg |IconR=Arch_CompPipe.png}}
{{GuiCommand/uk|Name=Arch Equipment|Name/uk=Arch Equipment|Workbenches=[[Arch Module/uk|Arch]]|MenuLocation=Arch → Equipment|Shortcut=E Q|SeeAlso=[[Arch_3Views|3 views from mesh]]}}
</div>
</div>


<div class="mw-translate-fuzzy">
{{GuiCommand/uk
{{GuiCommand/uk
|Name=Arch Equipment
|Name=Arch Equipment
|Name/uk=Arch Equipment
|Name/uk=Arch Equipment
|MenuLocation=Arch → Equipment
|MenuLocation=Arch → Equipment
|Workbenches=[[Arch Module/uk|Arch]]
|Workbenches=[[Arch_Workbench/uk|Arch]]
|Shortcut=E Q
|Shortcut=E Q
|SeeAlso=[[Arch_3Views|3 views from mesh]]
|SeeAlso=[[Arch_3Views|3 views from mesh]]
}}
}}
</div>


==Description==
==Description==


The Equipment tool offers you a simple and convenient way to insert non-structural, standalone elements such as pieces of furniture, hidro-sanitary equipments or electrical appliances to your projects. Equipments are based on [[Part Module|Part shapes]], which allow them to benefit from the solidity and possibilities of BRep geometry, and generate nice views when rendered to plan and section views.
The Equipment tool offers you a simple and convenient way to insert non-structural, standalone elements such as pieces of furniture, hidro-sanitary equipments or electrical appliances to your projects. Equipments are based on [[Part_Workbench|Part shapes]], which allow them to benefit from the solidity and possibilities of BRep geometry, and generate nice views when rendered to plan and section views.


[[Image:Arch equipment example.jpg]]
[[Image:Arch equipment example.jpg]]
{{Caption|Furniture objects enclosed in an [[Arch Equipment]] object. The flat projections can be obtained by the [[Draft Shape2DView]] tool}}
{{Caption|Furniture objects enclosed in an [[Arch_Equipment|Arch Equipment]] object. The flat projections can be obtained by the [[Draft_Shape2DView|Draft Shape2DView]] tool}}


As of version 0.17, equipment objects also have a {{PropertyData|HiRes}} property where a [[Mesh Module|Mesh]] object can be attached. Equipment objects can then be made to display that mesh in the 3D view instead of their shape, which allows to use any high-resolution mesh objects such as detailed pieces of furniture commonly found on websites.
As of version 0.17, equipment objects also have a {{PropertyData|HiRes}} property where a [[Mesh Workbench|Mesh]] object can be attached. Equipment objects can then be made to display that mesh in the 3D view instead of their shape, which allows to use any high-resolution mesh objects such as detailed pieces of furniture commonly found on websites.


[[Image:Arch equipment mesh.jpg]]
[[Image:Arch equipment mesh.jpg]]
{{Caption|Furniture objects enclosed in an [[Arch Equipment]] object, with a high resolution mesh attached}}
{{Caption|Furniture objects enclosed in an [[Arch Equipment|Arch Equipment]] object, with a high resolution mesh attached}}


When using the Arch OBJ exporter, all equipment objects that are in mesh display mode will be exported as their mesh instead of their shape.
When using the Arch OBJ exporter, all equipment objects that are in mesh display mode will be exported as their mesh instead of their shape.


==How to use==
==Usage==


# Select a [[Part Workbench|Part]] shape, and optionally a [[Mesh Workbench|Mesh]] object.
# Select a [[Part Workbench|Part]] shape, and optionally a [[Mesh Workbench|Mesh]] object.
# Press the {{Button|[[Image:Arch Equipment.svg|16px]] [[Arch Equipment]]}} button, or press {{KEY|E}} then {{KEY|Q}} keys.
# Press the {{Button|[[Image:Arch Equipment.svg|16px]] [[Arch Equipment|Arch Equipment]]}} button, or press {{KEY|E}} then {{KEY|Q}} keys.


==Options==
==Options==
Line 43: Line 46:


==Scripting==
==Scripting==
{{Emphasis|See also:}} [[Arch API]] and [[FreeCAD Scripting Basics]].


{{Emphasis|See also:}} [[Arch API|Arch API]] and [[FreeCAD Scripting Basics|FreeCAD Scripting Basics]].
The Equipment tool can be used in [[macros]] and from the [[Python]] console by using the following function:

The Equipment tool can be used in [[Macros|macros]] and from the [[Python|Python]] console by using the following function:
{{Code|code=
{{Code|code=
Equipment = makeEquipment(baseobj=None, placement=None, name="Equipment")
Equipment = makeEquipment(baseobj=None, placement=None, name="Equipment")
Line 66: Line 70:
FreeCAD.ActiveDocument.recompute()
FreeCAD.ActiveDocument.recompute()
}}
}}



<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
{{docnav/uk|[[Arch_Fence/uk|Fence]]|[[Arch_CompPipe/uk|Arch CompPipe]]|[[Arch_Workbench/uk|Arch]]|IconL=Arch_Fence.svg |IconC=Workbench_Arch.svg |IconR=Arch_CompPipe.png}}
[[Category:Arch/uk]]
</div>
</div>


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

{{Userdocnavi}}

Latest revision as of 15:59, 9 March 2022

Arch Equipment

Меню прокату
Arch → Equipment
Верстаки
Arch
Ярлик за умовчанням
E Q
Введено у версії
-
Дивись також
3 views from mesh

Description

The Equipment tool offers you a simple and convenient way to insert non-structural, standalone elements such as pieces of furniture, hidro-sanitary equipments or electrical appliances to your projects. Equipments are based on Part shapes, which allow them to benefit from the solidity and possibilities of BRep geometry, and generate nice views when rendered to plan and section views.

Furniture objects enclosed in an Arch Equipment object. The flat projections can be obtained by the Draft Shape2DView tool

As of version 0.17, equipment objects also have a ДаніHiRes property where a Mesh object can be attached. Equipment objects can then be made to display that mesh in the 3D view instead of their shape, which allows to use any high-resolution mesh objects such as detailed pieces of furniture commonly found on websites.

Furniture objects enclosed in an Arch Equipment object, with a high resolution mesh attached

When using the Arch OBJ exporter, all equipment objects that are in mesh display mode will be exported as their mesh instead of their shape.

Usage

  1. Select a Part shape, and optionally a Mesh object.
  2. Press the Arch Equipment button, or press E then Q keys.

Options

  • Equipments share the common properties and behaviours of all Arch Components

Properties

  • ДаніModel: A description of the model of this equipment.
  • ДаніUrl: An URL of the product page where more information about this equipment can be found.
  • ДаніMesh: A Mesh representation to use for this equipment. When set, the Mesh display mode becomes available.

Scripting

See also: Arch API and FreeCAD Scripting Basics.

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

Equipment = makeEquipment(baseobj=None, placement=None, name="Equipment")
  • Creates an Equipment object from the given baseobj, which can be a Part or a Mesh.
  • If a placement is given, it is used.
  • It returns None if the operation fails.

Example:

import FreeCAD, Arch

Box = FreeCAD.ActiveDocument.addObject("Part::Box", "Box")
Box.Length = 500
Box.Width = 2000
Box.Height = 600

Equip = Arch.makeEquipment(Box)
FreeCAD.ActiveDocument.recompute()