Classes | |
class | _Call |
class | _Collection |
class | _Entities |
class | _Entity |
class | Arc |
class | 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 | Circle |
class | Dimension |
class | Drawing |
class | Face |
class | Insert |
class | Layer |
class | Line |
class | LineList |
class | LineType |
class | Mtext |
class | Point |
class | PolyLine |
class | Rectangle |
class | Solid |
class | Style |
class | Text |
class | View |
class | VPort |
Functions | |
def | test |
def | ViewByWindow |
Variables | |
string | __author__ = "Stani Michiels(Stani), Remigiusz Fiedler(migius)" |
string | __bpydoc__ |
string | __license__ = "GPL" |
string | __url__ = "http://wiki.blender.org/index.php/Scripts/Manual/Export/autodesk_dxf" |
string | __version__ = "v1.33 - 2009.06.16" |
list | _HEADER_POINTS = ['insbase','extmin','extmax'] |
int | ALIGNED = 3 |
int | ANONYMOUS = 1 |
int | AT_LEAST = 1 |
int | BASELINE = 0 |
int | BOTTOM = 1 |
int | BOTTOM_CENTER = 8 |
int | BOTTOM_LEFT = 7 |
int | BOTTOM_RIGHT = 9 |
int | BY_STYLE = 5 |
int | BYBLOCK = 0 |
int | BYLAYER = 256 |
int | CENTER = 1 |
int | CLOSED = 1 |
int | CLOSED_N = 32 |
int | CONTINOUS_LINETYPE_PATTERN = 128 |
copy = None | |
int | CURVE_FIT = 2 |
int | EXACT = 2 |
int | EXTERNAL = 16 |
int | FIT = 5 |
int | LEFT = 0 |
int | LEFT_RIGHT = 1 |
int | MIDDLE = 4 |
int | MIDDLE_CENTER = 5 |
int | MIDDLE_LEFT = 4 |
int | MIDDLE_RIGHT = 6 |
int | NON_CONSTANT_ATTRIBUTES = 2 |
int | POLYFACE_MESH = 64 |
int | POLYGON_MESH = 16 |
int | POLYLINE_3D = 8 |
int | REFERENCED = 64 |
int | RESOLVED = 32 |
int | RIGHT = 2 |
int | SPLINE_FIT = 4 |
int | TOP = 3 |
int | TOP_BOTTOM = 3 |
int | TOP_CENTER = 2 |
int | TOP_LEFT = 1 |
int | TOP_RIGHT = 3 |
int | XREF = 4 |
int | XREF_OVERLAY = 8 |
def draftlibs::dxfLibrary::test | ( | ) |
Definition at line 863 of file dxfLibrary.py.
def draftlibs::dxfLibrary::ViewByWindow | ( | name, | ||
leftBottom = (0,0 , |
||||
rightTop = (1,1 , |
||||
options | ||||
) |
Definition at line 731 of file dxfLibrary.py.
string draftlibs::dxfLibrary::__author__ = "Stani Michiels(Stani), Remigiusz Fiedler(migius)" |
Definition at line 4 of file dxfLibrary.py.
Definition at line 7 of file dxfLibrary.py.
string draftlibs::dxfLibrary::__license__ = "GPL" |
Definition at line 5 of file dxfLibrary.py.
string draftlibs::dxfLibrary::__url__ = "http://wiki.blender.org/index.php/Scripts/Manual/Export/autodesk_dxf" |
Definition at line 6 of file dxfLibrary.py.
string draftlibs::dxfLibrary::__version__ = "v1.33 - 2009.06.16" |
Definition at line 3 of file dxfLibrary.py.
list draftlibs::dxfLibrary::_HEADER_POINTS = ['insbase','extmin','extmax'] |
Definition at line 91 of file dxfLibrary.py.
int draftlibs::dxfLibrary::ALIGNED = 3 |
Definition at line 223 of file dxfLibrary.py.
int draftlibs::dxfLibrary::ANONYMOUS = 1 |
Definition at line 181 of file dxfLibrary.py.
int draftlibs::dxfLibrary::AT_LEAST = 1 |
Definition at line 205 of file dxfLibrary.py.
int draftlibs::dxfLibrary::BASELINE = 0 |
Definition at line 227 of file dxfLibrary.py.
int draftlibs::dxfLibrary::BOTTOM = 1 |
Definition at line 228 of file dxfLibrary.py.
Definition at line 198 of file dxfLibrary.py.
Definition at line 197 of file dxfLibrary.py.
Definition at line 199 of file dxfLibrary.py.
int draftlibs::dxfLibrary::BY_STYLE = 5 |
Definition at line 203 of file dxfLibrary.py.
int draftlibs::dxfLibrary::BYBLOCK = 0 |
Definition at line 177 of file dxfLibrary.py.
int draftlibs::dxfLibrary::BYLAYER = 256 |
Definition at line 178 of file dxfLibrary.py.
int draftlibs::dxfLibrary::CENTER = 1 |
Definition at line 221 of file dxfLibrary.py.
int draftlibs::dxfLibrary::CLOSED = 1 |
Definition at line 209 of file dxfLibrary.py.
int draftlibs::dxfLibrary::CLOSED_N = 32 |
Definition at line 214 of file dxfLibrary.py.
Definition at line 216 of file dxfLibrary.py.
draftlibs::dxfLibrary::copy = None |
Definition at line 88 of file dxfLibrary.py.
Referenced by App::Document::_copyObject(), StdCmdDDuplicateSelection::activated(), Part::GeomArcOfCircle::clone(), Gui::PythonConsole::contextMenuEvent(), Gui::DockWnd::TextBrowser::contextMenuEvent(), Part::PropertyPartShape::Copy(), App::DocumentPy::copyObject(), App::Document::copyObject(), Base::FileInfo::copyTo(), GCS::System::diagnose(), Gui::Dialog::DlgEditFileIncludePropertyExternal::Do(), PartDesign::Revolution::execute(), PartDesign::Pocket::execute(), PartDesign::Pad::execute(), PartDesign::Face::execute(), MeshCore::MeshGrid::GetElements(), MeshCore::MeshSearchNeighbours::NeighboursFromSampledFacets(), Gui::Dialog::DlgCustomToolbars::on_moveActionRightButton_clicked(), SketcherGui::ViewProviderCustom::onChanged(), PartGui::ViewProviderCustom::onChanged(), Gui::PythonConsole::onCopyCommand(), operator<<(), MeshCore::MeshSearchNeighbours::SampleAllFacets(), Sandbox::DocumentObjectProtectorPy::setattr(), MeshCore::MeshOutput::SetSTLHeaderData(), App::PropertyStringList::setValues(), and useMesh().
int draftlibs::dxfLibrary::CURVE_FIT = 2 |
Definition at line 210 of file dxfLibrary.py.
int draftlibs::dxfLibrary::EXACT = 2 |
Definition at line 206 of file dxfLibrary.py.
int draftlibs::dxfLibrary::EXTERNAL = 16 |
Definition at line 185 of file dxfLibrary.py.
int draftlibs::dxfLibrary::FIT = 5 |
Definition at line 225 of file dxfLibrary.py.
int draftlibs::dxfLibrary::LEFT = 0 |
Definition at line 220 of file dxfLibrary.py.
Definition at line 201 of file dxfLibrary.py.
int draftlibs::dxfLibrary::MIDDLE = 4 |
Definition at line 224 of file dxfLibrary.py.
Definition at line 195 of file dxfLibrary.py.
Definition at line 194 of file dxfLibrary.py.
Definition at line 196 of file dxfLibrary.py.
Definition at line 182 of file dxfLibrary.py.
int draftlibs::dxfLibrary::POLYFACE_MESH = 64 |
Definition at line 215 of file dxfLibrary.py.
int draftlibs::dxfLibrary::POLYGON_MESH = 16 |
Definition at line 213 of file dxfLibrary.py.
Definition at line 212 of file dxfLibrary.py.
int draftlibs::dxfLibrary::REFERENCED = 64 |
Definition at line 187 of file dxfLibrary.py.
int draftlibs::dxfLibrary::RESOLVED = 32 |
Definition at line 186 of file dxfLibrary.py.
int draftlibs::dxfLibrary::RIGHT = 2 |
Definition at line 222 of file dxfLibrary.py.
Definition at line 211 of file dxfLibrary.py.
int draftlibs::dxfLibrary::TOP = 3 |
Definition at line 230 of file dxfLibrary.py.
Definition at line 202 of file dxfLibrary.py.
Definition at line 192 of file dxfLibrary.py.
int draftlibs::dxfLibrary::TOP_LEFT = 1 |
Definition at line 191 of file dxfLibrary.py.
int draftlibs::dxfLibrary::TOP_RIGHT = 3 |
Definition at line 193 of file dxfLibrary.py.
int draftlibs::dxfLibrary::XREF = 4 |
Definition at line 183 of file dxfLibrary.py.
Definition at line 184 of file dxfLibrary.py.