The Section plane object and tools. More...
Classes | |
class SectionPlaneTaskPanel | |
Functions | |
def closeViewer (name) | |
def getCameraData (floatlist) | |
def getCoinSVG (cutplane, objs, cameradata=None, linewidth=0.2, singleface=False, facecolor=None) | |
def getCutShapes (objs, cutplane, onlySolids, clip, joinArch, showHidden, groupSshapesByObject=False) | |
def getDXF (obj) | |
def getFillForObject (o, defaultFill, source) | |
def getSectionData (source) | |
def getSVG (source, renderMode="Wireframe", allOn=False, showHidden=False, scale=1, rotation=0, linewidth=1, lineColor=(0.0, 0.0, 0.0), fontsize=1, showFill=False, fillColor=(0.8, 0.8, 0.8), techdraw=False, fillSpaces=False, cutlinewidth=0, joinArch=False) | |
def isOriented (obj, plane) | |
def looksLikeDraft (o) | |
def makeSectionPlane (objectslist=None, name="Section") | |
def makeSectionView (section, name="View") | |
Variables | |
bool ISRENDERING = False | |
Detailed Description
The Section plane object and tools.
This module provides tools to build Section plane objects. It also contains functionality to produce SVG rendering of section planes, to be used in TechDraw and Drawing modules
Function Documentation
◆ closeViewer()
def ArchSectionPlane.closeViewer | ( | name | ) |
References ArchCommands.getDefaultColor(), getDXF(), and DraftVecUtils.project().
Referenced by getCoinSVG().
◆ getCameraData()
def ArchSectionPlane.getCameraData | ( | floatlist | ) |
Referenced by getSVG().
◆ getCoinSVG()
def ArchSectionPlane.getCoinSVG | ( | cutplane, | |
objs, | |||
cameradata = None , |
|||
linewidth = 0.2 , |
|||
singleface = False , |
|||
facecolor = None |
|||
) |
References closeViewer(), WorkingPlane.plane, and DraftVecUtils.project().
Referenced by getSVG().
◆ getCutShapes()
def ArchSectionPlane.getCutShapes | ( | objs, | |
cutplane, | |||
onlySolids, | |||
clip, | |||
joinArch, | |||
showHidden, | |||
groupSshapesByObject = False |
|||
) |
References ArchCommands.getCutVolume().
◆ getDXF()
def ArchSectionPlane.getDXF | ( | obj | ) |
References getCutShapes(), and getSectionData().
Referenced by closeViewer(), and importDXF.getViewDXF().
◆ getFillForObject()
def ArchSectionPlane.getFillForObject | ( | o, | |
defaultFill, | |||
source | |||
) |
Referenced by getSVG().
◆ getSectionData()
def ArchSectionPlane.getSectionData | ( | source | ) |
◆ getSVG()
def ArchSectionPlane.getSVG | ( | source, | |
renderMode = "Wireframe" , |
|||
allOn = False , |
|||
showHidden = False , |
|||
scale = 1 , |
|||
rotation = 0 , |
|||
linewidth = 1 , |
|||
lineColor = (0.0,0.0,0.0) , |
|||
fontsize = 1 , |
|||
showFill = False , |
|||
fillColor = (0.8,0.8,0.8) , |
|||
techdraw = False , |
|||
fillSpaces = False , |
|||
cutlinewidth = 0 , |
|||
joinArch = False |
|||
) |
References getCameraData(), getCoinSVG(), getCutShapes(), getFillForObject(), getSectionData(), Draft.getSVG, isOriented(), looksLikeDraft(), and WorkingPlane.plane.
◆ isOriented()
def ArchSectionPlane.isOriented | ( | obj, | |
plane | |||
) |
Referenced by getSVG().
◆ looksLikeDraft()
def ArchSectionPlane.looksLikeDraft | ( | o | ) |
Referenced by getSVG().
◆ makeSectionPlane()
def ArchSectionPlane.makeSectionPlane | ( | objectslist = None , |
|
name = "Section" |
|||
) |
◆ makeSectionView()
def ArchSectionPlane.makeSectionView | ( | section, | |
name = "View" |
|||
) |
Variable Documentation
◆ ISRENDERING
bool ArchSectionPlane.ISRENDERING = False |