Arch Add/it: Difference between revisions
(Created page with " # Selezionare prima l'oggetto(i) da aggiungere poi l'oggetto "ospite" (l'oggetto ospite deve essere selezionato per ultimo), es. un muro. # Premere il pulsante {{KEY/it|[[Ima...") |
(Created page with "== Script ==") |
||
Line 20: | Line 20: | ||
# Premere il pulsante {{KEY/it|[[Image:Arch Add.png|16px]] Aggiungi}} |
# Premere il pulsante {{KEY/it|[[Image:Arch Add.png|16px]] Aggiungi}} |
||
== |
== Script == |
||
The Add tool can by used in [[macros]] and from the python console by using the following function: |
The Add tool can by used in [[macros]] and from the python console by using the following function: |
Revision as of 00:23, 29 November 2013
Aggiungi |
Posizione nel menu |
---|
Arch → Aggiungi |
Ambiente |
Architettura |
Avvio veloce |
Nessuno |
Introdotto nella versione |
- |
Vedere anche |
Rimuovi |
Descrizione
Lo strumento Aggiungi permette di eseguire diversi tipi di operazioni:
- Aggiungere a un componente di Architettura degli oggetti basati su forme, ad esempio un muro o una struttura. Questi oggetti vengono inseriti nell'elemento Architettura, è possibile modificare la loro forma, ma mantenendo le loro caratteristiche di base come la larghezza e l'altezza
- Aggiungere componenti Architettura, quali muri o strutture, a un oggetto costituito da un gruppo base come il piano.
- Aggiungere dei sistemi di assi a oggetti struttura
- Aggiungere oggetti ai piani di sezione
Nell'immagine sopra, viene aggiunto un cubo ad una parete.
Utilizzo
- Selezionare prima l'oggetto(i) da aggiungere poi l'oggetto "ospite" (l'oggetto ospite deve essere selezionato per ultimo), es. un muro.
- Premere il pulsante Template:KEY/it
Script
The Add tool can by used in macros and from the python console by using the following function:
addComponents (objectsList,hostObject):
- Adds the given object or the objects from the given list as components to the given host Object. Use this for example to add windows to a wall, or to add walls to a floor.
- Returns nothing.
Example:
import FreeCAD, Arch, Draft, Part line = Draft.makeWire([FreeCAD.Vector(0,0,0),FreeCAD.Vector(2,2,0)]) wall = Arch.makeWall(line) box = Part.makeBox(1,1,1) Arch.addComponents(box,wall)