FreeCAD Python
Classes | Functions
ArchWindow Namespace Reference

Detailed Description

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.

Classes

class  _ArchWindowTaskPanel
 

Functions

def makeWindow (baseobj=None, width=None, height=None, parts=None, name="Window")
 
def makeWindowPreset (windowtype, width, height, h1, h2, h3, w1, w2, o1, o2, placement=None)
 

Function Documentation

◆ makeWindow()

def ArchWindow.makeWindow (   baseobj = None,
  width = None,
  height = None,
  parts = None,
  name = "Window" 
)
makeWindow(baseobj,[width,height,parts,name]): creates a window based on the
given base 2D object (sketch or draft).

◆ makeWindowPreset()

def ArchWindow.makeWindowPreset (   windowtype,
  width,
  height,
  h1,
  h2,
  h3,
  w1,
  w2,
  o1,
  o2,
  placement = None 
)
makeWindowPreset(windowtype,width,height,h1,h2,h3,w1,w2,o1,o2,[placement]): makes a
window object based on the given data. windowtype must be one of the names
defined in Arch.WindowPresets