ArchPanel Namespace Reference

The Panel object and tools. More...

Classes

class  CommandNest
 
class  CommandPanel
 
class  CommandPanelCut
 
class  CommandPanelGroup
 
class  CommandPanelSheet
 
class  NestTaskPanel
 
class  PanelCut
 
class  PanelSheet
 
class  PanelView
 
class  SheetTaskPanel
 
class  ViewProviderPanelCut
 
class  ViewProviderPanelSheet
 

Functions

def makePanel (baseobj=None, length=0, width=0, thickness=0, placement=None, name="Panel")
 
def makePanelCut (panel, name="PanelView")
 
def makePanelSheet (panels=[], name="PanelSheet")
 
def makePanelView (panel, page=None, name="PanelView")
 

Variables

list Presets
 

Detailed Description

The Panel object and tools.

This module provides tools to build Panel objects. Panels consist of a closed shape that gets extruded to produce a flat object.

Function Documentation

◆ makePanel()

def ArchPanel.makePanel (   baseobj = None,
  length = 0,
  width = 0,
  thickness = 0,
  placement = None,
  name = "Panel" 
)
makePanel([obj],[length],[width],[thickness],[placement]): creates a
panel element based on the given profile object and the given
extrusion thickness. If no base object is given, you can also specify
length and width for a simple cubic object.

◆ makePanelCut()

def ArchPanel.makePanelCut (   panel,
  name = "PanelView" 
)
makePanelCut(panel) : Creates a 2D view of the given panel
in the 3D space, positioned at the origin.

◆ makePanelSheet()

def ArchPanel.makePanelSheet (   panels = [],
  name = "PanelSheet" 
)
makePanelSheet([panels]) : Creates a sheet with the given panel cuts
in the 3D space, positioned at the origin.

◆ makePanelView()

def ArchPanel.makePanelView (   panel,
  page = None,
  name = "PanelView" 
)
makePanelView(panel,[page]) : Creates a Drawing view of the given panel
in the given or active Page object (a new page will be created if none exists).

Referenced by draftmake.make_drawingview.make_drawing_view().

Variable Documentation

◆ Presets

list ArchPanel.Presets
Initial value:
1= [None,
2 ["Plywood 12mm, 1220 x 2440",1220,2440,12],
3 ["Plywood 15mm, 1220 x 2440",1220,2440,15],
4 ["Plywood 18mm, 1220 x 2440",1220,2440,18],
5 ["Plywood 25mm, 1220 x 2440",1220,2440,25],
6 ["MDF 3mm, 900 x 600", 900, 600, 3],
7 ["MDF 6mm, 900 x 600", 900, 600, 6],
8 ["OSB 18mm, 1220 x 2440", 1220,2440,18],
9 ]