|
Menu location |
---|
Arch → Space |
Workbenches |
Arch |
Default shortcut |
S P |
Introduced in version |
0.14 |
See also |
Arch Wall, Arch Structure |
Instrumentul Spațiu vă permite să definiți un volum gol, fie bazându-l pe o formă solidă, fie prin definirea limitelor sale sau printr-un amestec de ambele. Dacă se bazează numai pe limite, volumul se calculează pornind de la caseta delimitată a tuturor limitelor date și scăzând spațiile din spatele fiecărei limite. Obiectul spațial definește întotdeauna un volum solid. Suprafața podelei unui obiect spațial, calculată prin intersecția unui plan orizontal cu centrul de masă al volumului spațiului, poate fi de asemenea afișată, prin setarea modului de afișare a obiectului spațial la "detaliat".
În imaginea de mai sus, un obiect spațial este creat dintr-un obiect solid existent, apoi două fețe de perete sunt adăugate ca granițe, iar modul de afișare este setat la "detaliat" pentru a afișa suprafața podelei.
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.Instrumentul Space poate fi folosit în scripturile python și macros utilizând următoarea funcție:
Space = makeSpace(objects=None, baseobj=None, name="Space")
Exempluː
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()
După crearea unui obiect spațial, fațetele selectate pot fi adăugate la acesta cu următoarea funcție:
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)
De asemenea, limitele pot fi eliminate cu:
selection = FreeCADGui.Selection.getSelectionEx()
Arch.removeSpaceBoundaries(Space, selection)