PathScripts.PathStock Namespace Reference

Classes

class  FakeJob
 
class  Stock
 
class  StockCreateBox
 
class  StockCreateCylinder
 
class  StockFromBase
 
class  StockType
 

Functions

def CreateBox (job, extent=None, placement=None)
 
def CreateCylinder (job, radius=None, height=None, placement=None)
 
def CreateFromBase (job, neg=None, pos=None, placement=None)
 
def CreateFromTemplate (job, template)
 
def SetupStockObject (obj, stockType)
 
def shapeBoundBox (obj)
 
def TemplateAttributes (stock, includeExtent=True, includePlacement=True)
 

Variables

 Part = LazyLoader("Part", globals(), "Part")
 
 translate = FreeCAD.Qt.translate
 

Function Documentation

◆ CreateBox()

def PathScripts.PathStock.CreateBox (   job,
  extent = None,
  placement = None 
)

◆ CreateCylinder()

def PathScripts.PathStock.CreateCylinder (   job,
  radius = None,
  height = None,
  placement = None 
)

◆ CreateFromBase()

def PathScripts.PathStock.CreateFromBase (   job,
  neg = None,
  pos = None,
  placement = None 
)

◆ CreateFromTemplate()

def PathScripts.PathStock.CreateFromTemplate (   job,
  template 
)

◆ SetupStockObject()

def PathScripts.PathStock.SetupStockObject (   obj,
  stockType 
)

◆ shapeBoundBox()

◆ TemplateAttributes()

def PathScripts.PathStock.TemplateAttributes (   stock,
  includeExtent = True,
  includePlacement = True 
)

Variable Documentation

◆ Part

PathScripts.PathStock.Part = LazyLoader("Part", globals(), "Part")

◆ translate

PathScripts.PathStock.translate = FreeCAD.Qt.translate