Arch Roof/it: Difference between revisions

From FreeCAD Documentation
(Created page with "=== Script ===")
(Created page with "Lo strumento Tetto può essere utilizzato nelle macro e dalla console python utilizzando la seguente funzione:")
Line 19: Line 19:
=== Script ===
=== Script ===


The Roof tool can by used in [[macros]] and from the python console by using the following function:
Lo strumento Tetto può essere utilizzato nelle [[macros/it|macro]] e dalla console python utilizzando la seguente funzione:
<syntaxhighlight>
<syntaxhighlight>
makeRoof (baseobj,[facenr],[angle],[name])
makeRoof (baseobj,[facenr],[angle],[name])

Revision as of 20:15, 30 November 2013

Tetto

Posizione nel menu
Arch → Tetto
Ambiente
Architettura
Avvio veloce
R F
Introdotto nella versione
-
Vedere anche
Nessuno

Descrizione

Lo strumento Tetto consente di creare le falde inclinate di un tetto partendo da una faccia base selezionata. Può essere utilizzata qualsiasi faccia di un oggetto basato su una forma. L'oggetto Tetto che viene creato è parametrico e mantiene la sua relazione con l'oggetto di base. Notare che questo strumento è ancora in sviluppo, e potrebbe non funzionare correttamente con forme molto complesse.

Utilizzo

  1. Selezionare una faccia esistente
  2. Premere il pulsante Template:KEY/it, oppure premere i tasti Template:KEY/it e Template:KEY/it

Proprietà

  • DatiAngle: L'angolo di inclinazione del tetto
  • DatiFace: L'indice della faccia dell'oggetto di base da utilizzare

Script

Lo strumento Tetto può essere utilizzato nelle macro e dalla console python utilizzando la seguente funzione:

makeRoof (baseobj,[facenr],[angle],[name])
Makes a roof based on a face from an existing object. You can provide the number of the face to build the roof on (default = 1), the angle in degrees (default=45) and a name (default = roof).

Example:

import Arch, Draft
rect = Draft.makeRectangle(2,4)
Arch.makeRoof(rect,angle=30)