|
Ubicación en el Menú |
---|
Arch → Space |
Entornos de trabajo |
Arch |
Atajo de teclado por defecto |
S P |
Introducido en versión |
0.14 |
Ver también |
Arch Wall/es, Arch Structure/es |
La herramienta Espacio le permite definir un volumen vacío, ya sea basado en una forma sólida, o definiendo sus límites, o una combinación de ambos. Si se basa únicamente en los límites, el volumen se calcula comenzando desde el cuadro delimitador de todos los límites dados, y restando los espacios detrás de cada límite. El objeto espacio siempre define un volumen sólido. El área del suelo de un objeto espacio, calculado mediante la intersección de un plano horizontal en el centro de masa del volumen del espacio, también se puede visualizar, configurando el modo de visualización del objeto espacial a "detallado".
En la imagen de arriba, un objeto espacial se crea a partir de un objeto sólido existente, luego se agregan dos caras de muro como límites, y el modo de visualización se establece en "detallado" para mostrar el área del piso.
Once a space has been created, you can also add or remove boundaries to/from it using the Add or
Remove buttons in the toolbar. Alternatively, you can also do this in the Tasks panel or in the Property editor.
As an example, to add a boundary, given a space that intersects a wall:
The same example: add a boundary, given a space that intersects a wall. This time we're using the Tasks panel:
Yet another alternative: add a boundary, given a space that intersects a wall. This time we're using the Property editor:
An Arch Space object shares the common properties and behaviors of all Arch Components.
Space
Space
Integer
): The number of decimals to use for calculated texts.Length
): The size of the first line of text (multiplies the font size. 1 = same size, 2 = double size, etc..).Font
): The name of the font.Length
): The size of the text.Float
): The space between the lines of text.Bool
): Show the unit suffix or not.StringList
): The text to show. Use $area, $label, $longname, $description or any other propery name preceded with $ (case insensitive), or $floor, $walls, $ceiling for finishes, to insert the respective data.Enumeration
): The justification of the text.Color
): The color of the text.VectorDistance
): The position of the text. Leave (0,0,0) for automatic position.La herramienta de espacio se puede usar en scripts de Python y macros/es usando la siguiente función:
Space = makeSpace(objects=None, baseobj=None, name="Space")
Ejemplo:
import FreeCAD, Arch
Box = FreeCAD.ActiveDocument.addObject("Part::Box", "Box")
Box.Length = 1000
Box.Width = 1000
Box.Height = 1000
Space = Arch.makeSpace(Box)
Space.ViewObject.LineWidth = 2
FreeCAD.ActiveDocument.recompute()
Después de crear un objeto espacio, se pueden agregar caras seleccionadas con la siguiente función:
import FreeCAD, FreeCADGui, Draft, Arch
points = [FreeCAD.Vector(-500, 0, 0), FreeCAD.Vector(1000, 1000, 0)]
Line = Draft.makeWire(points)
Wall = Arch.makeWall(Line, width=150, height=2000)
FreeCAD.ActiveDocument.recompute()
# Select a face of the wall
selection = FreeCADGui.Selection.getSelectionEx()
Arch.addSpaceBoundaries(Space, selection)
Los límites también se pueden eliminar con:
selection = FreeCADGui.Selection.getSelectionEx()
Arch.removeSpaceBoundaries(Space, selection)