Public Member Functions | |
def | __init__ |
def | __repr__ |
def | get_array |
def | get_extrusion |
def | get_loc |
def | get_scale |
Public Attributes | |
block | |
color_index | |
columns | |
data | |
extrusion | |
loc | |
rotation | |
scale | |
space | |
type |
Class for objects representing dxf inserts.
Definition at line 961 of file dxfImportObjects.py.
def draftlibs::dxfImportObjects::Insert::__init__ | ( | self, | ||
obj | ||||
) |
Expects an entity object of type insert as input.
Definition at line 964 of file dxfImportObjects.py.
def draftlibs::dxfImportObjects::Insert::__repr__ | ( | self | ) |
Definition at line 1071 of file dxfImportObjects.py.
def draftlibs::dxfImportObjects::Insert::get_array | ( | self, | ||
data | ||||
) |
Returns the pair (row number, row spacing), (column number, column spacing).
Definition at line 1036 of file dxfImportObjects.py.
def draftlibs::dxfImportObjects::Insert::get_extrusion | ( | self, | ||
data | ||||
) |
Find the axis of extrusion. Used to get the objects Object Coordinate System (ocs).
Definition at line 1055 of file dxfImportObjects.py.
def draftlibs::dxfImportObjects::Insert::get_loc | ( | self, | ||
data | ||||
) |
Gets the center location for circle type objects. Circles have a single coord location.
Definition at line 1004 of file dxfImportObjects.py.
def draftlibs::dxfImportObjects::Insert::get_scale | ( | self, | ||
data | ||||
) |
Gets the x/y/z scale factor for the block.
Definition at line 1021 of file dxfImportObjects.py.
Definition at line 972 of file dxfImportObjects.py.
Definition at line 987 of file dxfImportObjects.py.
Definition at line 997 of file dxfImportObjects.py.
Definition at line 969 of file dxfImportObjects.py.
Definition at line 998 of file dxfImportObjects.py.
Definition at line 995 of file dxfImportObjects.py.
Definition at line 975 of file dxfImportObjects.py.
Definition at line 996 of file dxfImportObjects.py.
Definition at line 981 of file dxfImportObjects.py.
Definition at line 968 of file dxfImportObjects.py.