Arch: Arredo

From FreeCAD Documentation
Revision as of 16:31, 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

Lo strumento Arredo offre un modo semplice e comodo per inserire nei progetti degli elementi autonomi non strutturali come ad esempio i mobili, le attrezzature idrosanitarie o gli apparecchi elettrici. Gli Arredi sono basati su forme Part, che permettono loro di beneficiare della solidità e delle possibilità delle geometrie BRep, e che generano una bella vista durante il rendering dei piani e viste in sezione.

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)