Arch Roof/es: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 34: Line 34:
</div>
</div>


<span id="Usage"></span>
<span id="Usage_(wire_base)"></span>
<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
==Utilización==
==Utilización==
Line 59: Line 59:
==Usage (solid base)==
==Usage (solid base)==


If your roof has a complex shape (e.g. contains pitched windows or other non-standard features) you can create a custom solid object using various other FreeCAD workbenches ([[Part_Workbench|Part]], [[Sketcher_Workbench|Sketcher]] etc.). And then use this solid as the base object for your roof:
If your roof has a complex shape (e.g. contains pitched windows or other non-standard features) you can create a custom solid object using various other FreeCAD workbenches ([[Part_Workbench|Part]], [[Sketcher_Workbench|Sketcher]] etc.). And then use this solid as the {{PropertyData|Base}} object of your roof:


# Select the solid base object.
# Select the solid base object.
# Press the {{Button|[[Image:Arch_Roof.svg|16px]] [[Arch Roof|Arch Roof]]}} button, or press {{KEY|R}} then {{KEY|F}} keys.
# Press the {{Button|[[Image:Arch_Roof.svg|16px]] [[Arch Roof|Arch Roof]]}} button, or press {{KEY|R}} then {{KEY|F}} keys.


==Subtracting a roof==
For such a custom roof the automatic subtraction volume (subvolume) is just the base object itself. If you [[Arch_Remove|remove]] this roof from your walls you will see that walls are not subtracted properly. Wall parts above the roof are not removed:


Roofs have an automatically generated subtraction volume ({{Version|0.22}} for roofs with a solid base). When a roof is [[Arch_Remove|removed]] from the walls of a building, both the roof itself as well as everything above it is subtracted from the walls.
[[File:Arch_Roof_Subtract_Default.png|300px]]


{{Version|0.22}}: It is possible to override the automatic subtraction volume by setting the {{PropertyData|Subvolume}} property of the roof to a custom solid object.
To fix this, you need to define your own subvolume. This shape can be created by extruding the bottom faces of the roof in the Z direction:


[[File:Arch_Roof_Subvolume_Example.png|300px]]
[[File:Arch_Roof_Subtract_Default.png|x150px]] [[File:Arch_Roof_Subtract_Subvolume.png|x150px]] [[File:Arch_Roof_Subvolume_Example.png|x150px]]
{{Caption|Solid-based roof before (1st image) and after (2nd image) [[Arch_Remove|removing]] it from walls.<br>

The 3rd image shows the generated subtraction volume.}}
After that:
* {{VersionMinus|0.21}}: Remove this shape from the walls with [[Arch_Remove|Arch Remove]].
* {{Version|0.22}}: To override the default subvolume set the {{PropertyData|Subvolume}} property of the roof to the created shape, and [[Arch_Remove|remove]] the roof itself from the walls.

[[File:Arch_Roof_Subtract_Subvolume.png|300px]]


<span id="Options"></span>
<span id="Options"></span>

Revision as of 11:57, 11 April 2024

Arch Techo

Ubicación en el Menú
Arquitectura → Techo
Entornos de trabajo
Arquitectura
Atajo de teclado por defecto
R F
Introducido en versión
-
Ver también
Ninguno

Descripción

La herramienta Techo le permite crear un techo inclinado a partir de un wire seleccionado. El objeto del techo creado es paramétrico, manteniendo su relación con el objeto base. Tenga en cuenta que esta herramienta todavía está en desarrollo y puede fallar con formas muy complejas. El principio es que cada borde se ve asignando un perfil de techo (pendiente, ancho, saliente, espesor...).

Note: This tool is still in development, and might fail with very complex shapes.

Utilización

  1. Crea un wire siguiendo la dirección en sentido contrario a las agujas del reloj y selecciónalo.
  2. *
  3. Presiona el botón Arch Roof, o presiona R luego las teclas F
  4. El objeto de techo predeterminado podría tener una forma extraña, es porque la herramienta no tiene toda la información necesaria.
  5. Después de crear el techo predeterminado, haga doble clic en el objeto en la vista de árbol para acceder y editar todas las propiedades. El ángulo debe estar entre 0 y 90.
  6. *
  7. Cada línea corresponde a un panel de techo. Entonces puede establecer las propiedades que desea para cada panel de techo.
  8. Para ayudarlo, puede establecer Ángulo o Run en 0 y definir un Id relativo, esto hace cálculos automáticos para encontrar los datos relativos al Id relativo.
  9. Funciona así:
    1. Si Angle = 0 y Run = 0, el perfil es idéntico al perfil relativo.
    2. Si Angle = 0, el ángulo se calcula de modo que la altura sea la misma que el perfil relativo.
    3. Si Run = 0, Run se calcula para que la altura sea la misma que el perfil relativo.
  10. Al final, establece un ángulo de 90 ° para hacer un frontón.
  11. *
  12. También puedes consultar este video: https://www.youtube.com/watch?v=4Urwru71dVk

Usage (solid base)

If your roof has a complex shape (e.g. contains pitched windows or other non-standard features) you can create a custom solid object using various other FreeCAD workbenches (Part, Sketcher etc.). And then use this solid as the DatosBase object of your roof:

  1. Select the solid base object.
  2. Press the Arch Roof button, or press R then F keys.

Subtracting a roof

Roofs have an automatically generated subtraction volume (introduced in version 0.22 for roofs with a solid base). When a roof is removed from the walls of a building, both the roof itself as well as everything above it is subtracted from the walls.

introduced in version 0.22: It is possible to override the automatic subtraction volume by setting the DatosSubvolume property of the roof to a custom solid object.

Solid-based roof before (1st image) and after (2nd image) removing it from walls.
The 3rd image shows the generated subtraction volume.

Opciones

  • Los techos comparten las propiedades y comportamientos comunes de todos los Arch Components

Propiedades

Data

Roof

  • DATOSAngles: Lista del ángulo de inclinación del panel de techo (un ángulo para cada borde en el wire).
  • DATOSRuns: Lista del ancho del panel del techo (una ejecución para cada borde en el wire).
  • DATOSIdRel: Lista de la relación Id El ángulo de inclinación del techo
  • DATOSThickness: Lista de espesores del panel de techo. (un espesor para cada borde en el wire).
  • DATOSOverhang: Lista del saliente del panel del techo (un saliente para cada borde en el wire).
  • DATOSFace: El índice de la cara del objeto base que se utilizará #No realmente utilizado

Scripting

Programación

La herramientas techo se puede utilizar en macros y desde la consola de Python utilizando las siguientes funciones:

Roof = makeRoof(baseobj=None, facenr=0, angles=[45.,], run=[], idrel=[0,], thickness=[50.,], overhang=[100.,], name="Roof")
Hace un techo basado en un wire cerrado. Puede proporcionar una lista de ángulos, ejecutar, idrel, espesor, voladizo para cada borde en el wire para definir la forma del techo. El valor predeterminado para el ángulo es 45 y la lista se completa automáticamente para que coincida con el número de bordes en el wire.

Ejemplo:

import FreeCAD as App
import Arch, Draft

doc = App.newDocument()

rect = Draft.makeRectangle(3000, 4000)
doc.recompute()

roof = Arch.makeRoof(rect, angles=[30.,])

p1 = App.Vector(0, 0, 0)
p2 = App.Vector(1000, 1000, 0)
p3 = App.Vector(0, 2000, 0)

wire = Draft.make_wire([p1, p2, p3], closed=True)
doc.recompute()

roof1 = Arch.makeRoof(wire)

doc.recompute()