Arch Equipment: Difference between revisions

From FreeCAD Documentation
(Created page with "<translate> {{GuiCommand|Name=Arch Equipment|Workbenches=Arch|MenuLocation=Arch -> Frame|Shortcut=E Q}} ==Description== The Equipment tool offers you a sim...")
 
(Marked this version for translation)
Line 1: Line 1:
<translate>
<translate>


<!--T:1-->
{{GuiCommand|Name=Arch Equipment|Workbenches=[[Arch Module|Arch]]|MenuLocation=Arch -> Frame|Shortcut=E Q}}
{{GuiCommand|Name=Arch Equipment|Workbenches=[[Arch Module|Arch]]|MenuLocation=Arch -> Frame|Shortcut=E Q}}


==Description==
==Description== <!--T:2-->


<!--T:3-->
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 can be based on a shape or a mesh, allowing to use either precise solid models, or more easily available mesh models that you can find on the internet.
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 can be based on a shape or a mesh, allowing to use either precise solid models, or more easily available mesh models that you can find on the internet.


Line 11: Line 13:
<translate>
<translate>


<!--T:4-->
The above image shows examples of equipment objects made from shapes. As a result, projecting them in 2D gives perfect results. For mesh objects, which don't offer the same possibilities, a helper tool has been added to menu Arch -> Utilities -> 3 views from mesh allows to generate 3 flat, filled, orthogonal projections (top, front and side), which can then be used in 2D projections.
The above image shows examples of equipment objects made from shapes. As a result, projecting them in 2D gives perfect results. For mesh objects, which don't offer the same possibilities, a helper tool has been added to menu Arch -> Utilities -> 3 views from mesh allows to generate 3 flat, filled, orthogonal projections (top, front and side), which can then be used in 2D projections.


Line 17: Line 20:
<translate>
<translate>


==How to use==
==How to use== <!--T:5-->


<!--T:6-->
# Select a [[Part Workbench|Part]] shape or [[Mesh Workbench|Mesh]] object
# Select a [[Part Workbench|Part]] shape or [[Mesh Workbench|Mesh]] object
# Press the {{KEY|[[Image:Arch Equipment.png|16px]] [[Arch Equipment]]}} button, or press {{KEY|E}} then {{KEY|Q}} keys
# Press the {{KEY|[[Image:Arch Equipment.png|16px]] [[Arch Equipment]]}} button, or press {{KEY|E}} then {{KEY|Q}} keys


==Properties==
==Properties== <!--T:7-->


<!--T:8-->
* {{PropertyData|Model}}: A description of the model of this equipment.
* {{PropertyData|Model}}: A description of the model of this equipment.
* {{PropertyData|Url}}: An URL of the product page where more information about this equipment can be found.
* {{PropertyData|Url}}: An URL of the product page where more information about this equipment can be found.


==Scripting==
==Scripting== <!--T:9-->


<!--T:10-->
The Equipment tool can by used in [[macros]] and from the python console by using the following function:
The Equipment tool can by used in [[macros]] and from the python console by using the following function:


Line 37: Line 43:
<translate>
<translate>


<!--T:11-->
* Creates an equipment object from a base object (Mesh or Part)
* Creates an equipment object from a base object (Mesh or Part)
* Returns the new equipment object, or None if the operation failed.
* Returns the new equipment object, or None if the operation failed.


<!--T:12-->
Example:
Example:



Revision as of 20:19, 13 February 2015

Arch Equipment

Menu location
Arch -> Frame
Workbenches
Arch
Default shortcut
E Q
Introduced in version
-
See also
None

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 can be based on a shape or a mesh, allowing to use either precise solid models, or more easily available mesh models that you can find on the internet.

The above image shows examples of equipment objects made from shapes. As a result, projecting them in 2D gives perfect results. For mesh objects, which don't offer the same possibilities, a helper tool has been added to menu Arch -> Utilities -> 3 views from mesh allows to generate 3 flat, filled, orthogonal projections (top, front and side), which can then be used in 2D projections.

File:Arch equipment example2.jpg

How to use

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

Properties

  • DataModel: A description of the model of this equipment.
  • DataUrl: An URL of the product page where more information about this equipment can be found.

Scripting

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

makeEquipment ( baseObject )
  • Creates an equipment object from a base object (Mesh or Part)
  • Returns the new equipment object, or None if the operation failed.

Example:

import Part, Arch
box = Part.makeBox(2,2,2)
base = FreeCAD.ActiveDocument.addObject("Part::Feature","Box")
base.Shape = box
Arch.makeEquipment(base)