Arch Equipment: Difference between revisions

From FreeCAD Documentation
No edit summary
(Marked this version for translation)
Line 13: Line 13:
<translate>
<translate>


<!--T:13-->
As of version 0.17, equipment objects also have a '''Mesh''' 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 '''Mesh''' 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.


Line 19: Line 20:
<translate>
<translate>


<!--T:14-->
When using the Arch OBJ exporter, all equipments that are in Mesh display mode will be exported as their mesh instead of their shape.
When using the Arch OBJ exporter, all equipments that are in Mesh display mode will be exported as their mesh instead of their shape.



Revision as of 01:23, 2 February 2017

Arch Equipment

Menu location
Arch → Equipment
Workbenches
Arch
Default shortcut
E Q
Introduced in version
-
See also
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.

As of version 0.17, equipment objects also have a Mesh 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.

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

How to use

  1. Select a Part shape, and optionally a 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.
  • DataMesh: A Mesh representation to use for this equipment. When set, the Mesh display mode becomes available.

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)