The Window object and tools. More...
Functions | |
def | makeWindow (baseobj=None, width=None, height=None, parts=None, name=None) |
def | recolorize (attr) |
Variables | |
list | AllowedHosts = ["Wall","Structure","Roof"] |
list | WindowOpeningModes |
list | WindowPartTypes = ["Frame","Solid panel","Glass panel","Louvre"] |
WindowPresets = ArchWindowPresets.WindowPresets | |
The Window object and tools.
This module provides tools to build Window objects. Windows are Arch objects obtained by extruding a series of wires, and that can be inserted into other Arch objects, by defining a volume that gets subtracted from them.
def ArchWindow.makeWindow | ( | baseobj = None , |
|
width = None , |
|||
height = None , |
|||
parts = None , |
|||
name = None |
|||
) |
makeWindow(baseobj,[width,height,parts,name]): creates a window based on the given base 2D object (sketch or draft).
Referenced by ArchWindowPresets.makeWindowPreset().
def ArchWindow.recolorize | ( | attr | ) |
Recolorizes an object or a [documentname,objectname] list This basically calls the Proxy.colorize(obj) methods of objects that have one.
References WorkingPlane.getPlacementFromFace(), DraftVecUtils.isNull(), ArchComponent.Component.onChanged(), ArchComponent.Component.onDocumentRestored(), DraftVecUtils.project(), draftutils.translate.QT_TRANSLATE_NOOP, DraftVecUtils.rotate(), DraftVecUtils.scale(), and DraftVecUtils.scaleTo().
list ArchWindow.AllowedHosts = ["Wall","Structure","Roof"] |
list ArchWindow.WindowOpeningModes |
list ArchWindow.WindowPartTypes = ["Frame","Solid panel","Glass panel","Louvre"] |
ArchWindow.WindowPresets = ArchWindowPresets.WindowPresets |