Arch: Arredo

From FreeCAD Documentation
Revision as of 16:26, 2 February 2017 by Renatorivo (talk | contribs)

Arredo

Posizione nel menu
Arch → Arredo
Ambiente
Arch
Avvio veloce
E Q
Introdotto nella versione
-
Vedere anche
3 viste da mesh

Descrizione

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.

Utilizzo

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

Proprietà

  • DatiModel: A description of the model of this equipment.
  • DatiUrl: An URL of the product page where more information about this equipment can be found.
  • DatiMesh: A Mesh representation to use for this equipment. When set, the Mesh display mode becomes available.

Script

Lo strumento Arredo può essere utilizzato nelle macro e dalla console di Python tramite la seguente funzione:

makeEquipment ( baseObject )
  • Crea un oggetto arredo da un oggetto di base (Mesh o Part)
  • Restituisce il nuovo oggetto arredo, o nulla se l'operazione fallisce.

Esempio:

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