Arch Kontrola (Check)

From FreeCAD Documentation
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
This page is a translated version of the page Arch Check and the translation is 15% complete.
Outdated translations are marked like this.

Arch Check

Umístění Menu
Arch → Utilities → Check
Pracovní stoly
Arch
Výchozí zástupce
Nikdo
Představen ve verzi
-
Viz také
Arch CloseHoles

Popis

Tento nástroj kontroluje daný dokument nebo jen vybrané objekty na objekty které nejsou tělesy v Modulu Díl nebo Architektura, tj. takové které mohou dělat problémy, protože většina činností v modulu Stavitelství vyžaduje tělesa.

Použití

  1. Stiskněte tlačítko Kontrola a vstoupíte do Architektura → Menu Utility

Skriptování

See also: Arch API and FreeCAD Scripting Basics.

Tento nástroj může být použit v makrech a z konzoly Pythonu použitím následující funkce:

list_bad = check(objectslist, includehidden=False)

kontroluje zda daný objekt obsahuje pouze statické objekty

Example:

import FreeCAD, Draft, Arch

p1 = FreeCAD.Vector(0, 0, 0)
p2 = FreeCAD.Vector(2000, 0, 0)
baseline = Draft.makeLine(p1, p2)
Wall1 = Arch.makeWall(baseline, length=None, width=150, height=2000)
FreeCAD.ActiveDocument.recompute()

Wall2 = Arch.makeWall(None, length=2000, width=200, height=1000)
FreeCAD.ActiveDocument.recompute()

Circle = Draft.makeCircle(450)
Wire = Draft.makeWire([FreeCAD.Vector(1000, 0, 0), FreeCAD.Vector(1500, 1000, 0), FreeCAD.Vector(2500, -1000, 0)])

list_bad = Arch.check([Wall1, Wall2, Circle, Wire], includehidden=True)
print(list_bad)