dxfLibrary.py File Reference

Go to the source code of this file.

Classes

class  draftlibs::dxfLibrary::_Call
class  draftlibs::dxfLibrary::_Collection
class  draftlibs::dxfLibrary::_Entities
class  draftlibs::dxfLibrary::_Entity
class  draftlibs::dxfLibrary::Arc
class  draftlibs::dxfLibrary::Block
 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 More...
class  draftlibs::dxfLibrary::Circle
class  draftlibs::dxfLibrary::Dimension
class  draftlibs::dxfLibrary::Drawing
class  draftlibs::dxfLibrary::Face
class  draftlibs::dxfLibrary::Insert
class  draftlibs::dxfLibrary::Layer
class  draftlibs::dxfLibrary::Line
class  draftlibs::dxfLibrary::LineList
class  draftlibs::dxfLibrary::LineType
class  draftlibs::dxfLibrary::Mtext
class  draftlibs::dxfLibrary::Point
class  draftlibs::dxfLibrary::PolyLine
class  draftlibs::dxfLibrary::Rectangle
class  draftlibs::dxfLibrary::Solid
class  draftlibs::dxfLibrary::Style
class  draftlibs::dxfLibrary::Text
class  draftlibs::dxfLibrary::View
class  draftlibs::dxfLibrary::VPort

Namespaces

namespace  draftlibs::dxfLibrary

Functions

def draftlibs::dxfLibrary::test
def draftlibs::dxfLibrary::ViewByWindow

Variables

string draftlibs::dxfLibrary::__author__ = "Stani Michiels(Stani), Remigiusz Fiedler(migius)"
string draftlibs::dxfLibrary::__bpydoc__
string draftlibs::dxfLibrary::__license__ = "GPL"
string draftlibs::dxfLibrary::__url__ = "http://wiki.blender.org/index.php/Scripts/Manual/Export/autodesk_dxf"
string draftlibs::dxfLibrary::__version__ = "v1.33 - 2009.06.16"
list draftlibs::dxfLibrary::_HEADER_POINTS = ['insbase','extmin','extmax']
int draftlibs::dxfLibrary::ALIGNED = 3
int draftlibs::dxfLibrary::ANONYMOUS = 1
int draftlibs::dxfLibrary::AT_LEAST = 1
int draftlibs::dxfLibrary::BASELINE = 0
int draftlibs::dxfLibrary::BOTTOM = 1
int draftlibs::dxfLibrary::BOTTOM_CENTER = 8
int draftlibs::dxfLibrary::BOTTOM_LEFT = 7
int draftlibs::dxfLibrary::BOTTOM_RIGHT = 9
int draftlibs::dxfLibrary::BY_STYLE = 5
int draftlibs::dxfLibrary::BYBLOCK = 0
int draftlibs::dxfLibrary::BYLAYER = 256
int draftlibs::dxfLibrary::CENTER = 1
int draftlibs::dxfLibrary::CLOSED = 1
int draftlibs::dxfLibrary::CLOSED_N = 32
int draftlibs::dxfLibrary::CONTINOUS_LINETYPE_PATTERN = 128
 draftlibs::dxfLibrary::copy = None
int draftlibs::dxfLibrary::CURVE_FIT = 2
int draftlibs::dxfLibrary::EXACT = 2
int draftlibs::dxfLibrary::EXTERNAL = 16
int draftlibs::dxfLibrary::FIT = 5
int draftlibs::dxfLibrary::LEFT = 0
int draftlibs::dxfLibrary::LEFT_RIGHT = 1
int draftlibs::dxfLibrary::MIDDLE = 4
int draftlibs::dxfLibrary::MIDDLE_CENTER = 5
int draftlibs::dxfLibrary::MIDDLE_LEFT = 4
int draftlibs::dxfLibrary::MIDDLE_RIGHT = 6
int draftlibs::dxfLibrary::NON_CONSTANT_ATTRIBUTES = 2
int draftlibs::dxfLibrary::POLYFACE_MESH = 64
int draftlibs::dxfLibrary::POLYGON_MESH = 16
int draftlibs::dxfLibrary::POLYLINE_3D = 8
int draftlibs::dxfLibrary::REFERENCED = 64
int draftlibs::dxfLibrary::RESOLVED = 32
int draftlibs::dxfLibrary::RIGHT = 2
int draftlibs::dxfLibrary::SPLINE_FIT = 4
int draftlibs::dxfLibrary::TOP = 3
int draftlibs::dxfLibrary::TOP_BOTTOM = 3
int draftlibs::dxfLibrary::TOP_CENTER = 2
int draftlibs::dxfLibrary::TOP_LEFT = 1
int draftlibs::dxfLibrary::TOP_RIGHT = 3
int draftlibs::dxfLibrary::XREF = 4
int draftlibs::dxfLibrary::XREF_OVERLAY = 8

Generated on Wed Nov 23 19:01:15 2011 for FreeCAD by  doxygen 1.6.1