def ltype(): return Linetype.new('FFFF', dxfattribs={ 'name': 'TEST', 'description': 'TESTDESC', 'pattern': [0.2, 0.1, -0.1] })
def complex_ltype(): return Linetype.new('FFFF', dxfattribs={ 'name': 'GASLEITUNG', 'description': 'Gasleitung ----GAS----GAS----GAS----GAS----GAS----GAS--', 'length': 3.0, # length is required for complex line types 'pattern': 'A,.5,-.2,["GAS",STANDARD,S=.1,U=0.0,X=-0.1,Y=-.05],-.25', })
def setUp(self): self.ltype = Linetype.new('FFFF', dxfattribs={ 'name': 'TEST', 'description': 'TESTDESC', 'pattern': [0.2, 0.1, -0.1] })