Logo Search packages:      
Sourcecode: blender version File versions  Download package

dxfLibrary::Block Class Reference

Inheritance diagram for dxfLibrary::Block:

dxfLibrary::_Collection dxfLibrary::_Call

List of all members.


Detailed Description

class _Mtext(_Entity): """Mtext not functioning for minimal dxf.""" def __init__(self,text='',point=(0,0,0),attachment=1, charWidth=None,charHeight=1,direction=1,height=100,rotation=0, spacingStyle=None,spacingFactor=None,style=None,width=100, xdirection=None,**common): _Entity.__init__(self,**common) self.text=text self.point=point self.attachment=attachment self.charWidth=charWidth self.charHeight=charHeight self.direction=direction self.height=height self.rotation=rotation self.spacingStyle=spacingStyle self.spacingFactor=spacingFactor self.style=style self.width=width self.xdirection=xdirection def __str__(self): input=self.text text='' while len(input)>250: text+='3
s
'input[:250] input=input[250:] text+='1
s
'input result= '0
s
s
s
s
s
ss
s
s
'%\ (self._common(),_point(self.point),self.charHeight,self.width, self.attachment,self.direction,text, self.height, self.rotation) if self.style:result+='7
s
'self.style if self.xdirection:result+='s
'_point(self.xdirection,1) if self.charWidth:result+='42
s
'self.charWidth if self.spacingStyle:result+='73
s
'self.spacingStyle if self.spacingFactor:result+='44
s
'self.spacingFactor return result

Use list methods to add entities, eg append.

Definition at line 515 of file dxfLibrary.py.


Public Member Functions

def __call__
def __init__
def __init__
def __str__
def copy

Public Attributes

 base
 entities
 flag
 layer
 name

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index