Home
last modified time | relevance | path

Searched refs:dxfversion (Results 1 – 25 of 133) sorted by relevance

123456

/dports/cad/py-ezdxf/ezdxf-0.16.3/src/ezdxf/entities/
H A Dvport.py78 281, default=0, dxfversion=DXF2000,
88 65, dxfversion=DXF2000, default=0,
94 111, xtype=XType.point3d, dxfversion=DXF2000,
98 112, xtype=XType.point3d, dxfversion=DXF2000,
103 'ucs_handle': DXFAttr(345, dxfversion=DXF2000),
118 79, dxfversion=DXF2000,
122 'unknown1': DXFAttr(60, dxfversion=DXF2000),
143 'brightness': DXFAttr(141, dxfversion=DXF2000),
144 'contrast': DXFAttr(142, dxfversion=DXF2000),
169 dxfversion = tagwriter.dxfversion
[all …]
H A Ddimstyle.py142 'dimblk_handle': DXFAttr(342, dxfversion=DXF2000),
144 'dimblk1_handle': DXFAttr(343, dxfversion=DXF2000),
159 dxfversion=DXF2000),
163 dxfversion=DXF2000),
220 def dxfversion(self): member in DimStyle
221 return self.doc.dxfversion
273 if tagwriter.dxfversion > DXF12:
279 if tagwriter.dxfversion > DXF12:
283 if tagwriter.dxfversion == DXF12:
285 elif tagwriter.dxfversion < DXF2007:
[all …]
H A Dview.py49 281, default=0, dxfversion=DXF2000,
60 'ucs_origin': DXFAttr(110, xtype=XType.point3d, dxfversion=DXF2000),
62 111, xtype=XType.point3d, dxfversion=DXF2000,
66 112, xtype=XType.point3d, dxfversion=DXF2000,
78 79, dxfversion=DXF2000,
82 'elevation': DXFAttr(146, dxfversion=DXF2000, default=0),
86 'ucs_handle': DXFAttr(345, dxfversion=DXF2000),
91 'base_ucs_handle': DXFAttr(346, dxfversion=DXF2000),
95 73, default=0, dxfversion=DXF2007,
102 'sun_handle': DXFAttr(361, optional=True, dxfversion=DXF2010),
[all …]
H A Dviewport.py181 170, dxfversion='AC1018',
186 'grid_frequency': DXFAttr(61, dxfversion='AC1021'),
196 282, default=0, dxfversion='AC1021',
200 'view_brightness': DXFAttr(141, dxfversion='AC1021'),
201 'view_contrast': DXFAttr(142, dxfversion='AC1021'),
205 63, dxfversion='AC1021',
214 'sun_handle': DXFAttr(361, dxfversion='AC1021'),
215 'ref_vp_object_1': DXFAttr(335, dxfversion='AC1021'),
217 'ref_vp_object_2': DXFAttr(343, dxfversion='AC1021'),
221 'ref_vp_object_4': DXFAttr(91, dxfversion='AC1021'),
[all …]
H A Ddxfgfx.py61 370, default=-1, dxfversion=DXF2000, optional=True,
66 48, default=1.0, dxfversion=DXF2000, optional=True,
76 'true_color': DXFAttr(420, dxfversion=DXF2004, optional=True),
79 'color_name': DXFAttr(430, dxfversion=DXF2004, optional=True),
82 'transparency': DXFAttr(440, dxfversion=DXF2004, optional=True),
89 'shadow_mode': DXFAttr(284, dxfversion=DXF2007, optional=True),
90 'material_handle': DXFAttr(347, dxfversion=DXF2007, optional=True),
95 'plotstyle_enum': DXFAttr(380, dxfversion=DXF2007, default=1,
100 'plotstyle_handle': DXFAttr(390, dxfversion=DXF2007, optional=True),
165 if processor.dxfversion and processor.dxfversion < DXF2013:
[all …]
H A Ddxfclass.py44 'instance_count': DXFAttr(91, dxfversion=DXF2004, default=0),
74 def load_tags(self, tags: 'ExtendedTags', dxfversion=None) -> None: argument
85 dxfversion = tagwriter.dxfversion
86 if dxfversion < DXF2000:
H A Ddxfentity.py195 dxfversion = doc.dxfversion if doc else None
196 entity.load_tags(tags, dxfversion=dxfversion)
199 def load_tags(self, tags: ExtendedTags, dxfversion: str = None) -> None:
218 processor = SubclassProcessor(tags, dxfversion=dxfversion)
430 return self.doc.dxfversion >= self.DXFATTRIBS.get(
431 key).dxfversion
542 if tagwriter.dxfversion < self.MIN_DXF_VERSION_FOR_EXPORT:
565 if tagwriter.dxfversion >= const.DXF2000:
840 dxfversion = doc.dxfversion if doc else None
841 entity.load_tags(tags, dxfversion=dxfversion)
H A Dblock.py115 if tagwriter.dxfversion > DXF12:
120 if tagwriter.dxfversion > DXF12:
124 if tagwriter.dxfversion == DXF12:
185 if tagwriter.dxfversion > DXF12:
190 if tagwriter.dxfversion > DXF12:
H A Ddimension.py43 'version': DXFAttr(280, default=0, dxfversion=DXF2010),
101 71, default=5, dxfversion=DXF2000,
110 72, default=1, dxfversion=DXF2000, optional=True,
119 41, dxfversion=DXF2000, optional=True,
129 74, dxfversion=DXF2000, optional=True,
134 75, dxfversion=DXF2000, optional=True,
264 if dxfversion > DXF12:
283 if dxfversion >= DXF2007:
308 actual_dxfversion = self.doc.dxfversion
319 if dxf_attr.dxfversion > actual_dxfversion:
[all …]
H A Dlayer.py60 'true_color': DXFAttr(420, dxfversion=DXF2004, optional=True),
67 'plot': DXFAttr(290, default=1, dxfversion=DXF2000, optional=True,
72 'lineweight': DXFAttr(370, default=LINEWEIGHT_DEFAULT, dxfversion=DXF2000,
77 'plotstyle_handle': DXFAttr(390, dxfversion=DXF2000),
80 'material_handle': DXFAttr(347, dxfversion=DXF2007),
83 'unknown1': DXFAttr(348, dxfversion=DXF2007, optional=True),
114 if tagwriter.dxfversion > DXF12:
/dports/cad/py-ezdxf/ezdxf-0.16.3/tests/test_04_dxf_high_level_structs/
H A Dtest_421_new_drawings.py11 assert 'AC1009' == doc.dxfversion
16 assert 'AC1015' == doc.dxfversion
21 assert 'AC1018' == doc.dxfversion
26 assert 'AC1021' == doc.dxfversion
31 assert 'AC1024' == doc.dxfversion
36 assert 'AC1027' == doc.dxfversion
41 assert 'AC1032' == doc.dxfversion
/dports/cad/py-ezdxf/ezdxf-0.16.3/src/ezdxf/lldxf/
H A Dtagwriter.py24 dxfversion = LATEST_DXF_VERSION variable in AbstractTagWriter
57 def __init__(self, stream: TextIO, dxfversion=LATEST_DXF_VERSION, argument
60 self.dxfversion = dxfversion
105 def __init__(self, stream: BinaryIO, dxfversion=LATEST_DXF_VERSION, argument
108 self.dxfversion = dxfversion
111 self._r12 = self.dxfversion <= 'AC1009'
191 def __init__(self, dxfversion=LATEST_DXF_VERSION, argument
194 self.dxfversion = dxfversion
219 def dxftags(cls, entity: 'DXFEntity', dxfversion=LATEST_DXF_VERSION): argument
220 collector = cls(dxfversion=dxfversion)
H A Dtagger.py145 dxfversion = 'AC1009'
156 dxfversion = data[start:start + 6].decode()
158 if dxfversion >= 'AC1021':
176 return encoding, dxfversion
178 encoding, dxfversion = scan_params()
179 r12 = dxfversion <= 'AC1009'
/dports/cad/py-ezdxf/ezdxf-0.16.3/integration_tests/
H A Dtest_open_exotic_dxf_files.py18 assert doc.dxfversion is not None
31 assert doc.dxfversion is not None
47 assert doc.dxfversion is not None
52 assert doc.dxfversion is not None
76 assert doc.dxfversion == 'AC1032'
81 assert doc.dxfversion == 'AC1032'
93 assert doc.dxfversion == 'AC1032'
108 assert doc.dxfversion == 'AC1027'
122 assert doc.dxfversion == 'AC1009'
H A Dtest_entities_iterator.py9 def dxfversion(request): function
30 def test_entities_iterator(dxfversion, tmpdir): argument
31 filename = tmpdir.join('polyline_{}.dxf'.format(dxfversion))
33 drawing = ezdxf.new(dxfversion)
/dports/cad/py-ezdxf/ezdxf-0.16.3/examples/render/
H A Ddimension_diameter.py53 def diameter_default_outside(dxfversion='R2000', delta=10): argument
54 doc = ezdxf.new(dxfversion, setup=True)
91 doc = ezdxf.new(dxfversion, setup=True)
127 doc = ezdxf.new(dxfversion, setup=True)
140 doc = ezdxf.new(dxfversion, setup=True)
169 doc = ezdxf.new(dxfversion, setup=True)
193 doc = ezdxf.new(dxfversion, setup=True)
216 doc = ezdxf.new(dxfversion, setup=True)
243 doc = ezdxf.new(dxfversion, setup=True)
255 def diameter_3d(dxfversion='R2000', delta=10): argument
[all …]
H A Ddimension_radius.py53 def radius_default_outside(dxfversion='R2000', delta=10): argument
54 doc = ezdxf.new(dxfversion, setup=True)
91 doc = ezdxf.new(dxfversion, setup=True)
127 doc = ezdxf.new(dxfversion, setup=True)
140 doc = ezdxf.new(dxfversion, setup=True)
169 doc = ezdxf.new(dxfversion, setup=True)
193 doc = ezdxf.new(dxfversion, setup=True)
216 doc = ezdxf.new(dxfversion, setup=True)
243 doc = ezdxf.new(dxfversion, setup=True)
255 def radius_3d(dxfversion='R2000', delta=10): argument
[all …]
/dports/cad/py-ezdxf/ezdxf-0.16.3/src/ezdxf/
H A Ddocument.py129 doc = cls(dxfversion)
220 def dxfversion(self) -> str: member in Drawing
224 @dxfversion.setter
501 dxfversion = self.dxfversion
502 if dxfversion == DXF12:
506 if dxfversion > DXF12:
517 dxfversion=dxfversion)
520 stream, write_handles=handles, dxfversion=dxfversion,
540 dxfversion = tagwriter.dxfversion
542 if dxfversion > DXF12:
[all …]
H A Dgraphicsfactory.py34 def dxfversion(self) -> str: member in CreatorInterface
35 return self.doc.dxfversion
124 if self.dxfversion < DXF2000:
510 if self.dxfversion < DXF2000:
533 if self.dxfversion < DXF2000:
568 dxfversion = self.dxfversion
569 if dxfversion < DXF2000:
606 dxfversion = self.dxfversion
607 if dxfversion < DXF2000:
663 dxfversion = self.dxfversion
[all …]
H A Drecover.py152 self.dxfversion = const.DXF12
300 self.dxfversion = _detect_dxf_version(header)
301 if self.dxfversion <= const.DXF12:
339 if self.dxfversion <= const.DXF12:
380 dxfversion = str(tag[1]).strip()
381 if re.fullmatch(r"AC[0-9]{4}", dxfversion):
382 return dxfversion
556 dxfversion = None
569 dxfversion = value.decode(const.DEFAULT_ENCODING)
572 if encoding and dxfversion:
[all …]
/dports/cad/py-ezdxf/ezdxf-0.16.3/src/ezdxf/sections/
H A Dheader.py149 return cls.new(dxfversion=const.DXF12)
155 def new(cls, dxfversion=const.LATEST_DXF_VERSION) -> 'HeaderSection': argument
158 section['$ACADVER'] = dxfversion
228 group_code = version_specific_group_code(name, dxfversion)
234 dxfversion = tagwriter.dxfversion
239 self['$ACADVER'] = dxfversion
240 for name, value in header_vars_by_priority(self.hdrvars, dxfversion):
292 dxfversion: str) -> Tuple:
300 if vardef.mindxf <= dxfversion <= vardef.maxdxf:
/dports/cad/py-ezdxf/ezdxf-0.16.3/tests/test_02_dxf_graphics/
H A Dtest_214_block.py98 collector = TagCollector(dxfversion=ver, optional=True)
102 collector2 = TagCollector(dxfversion=ver, optional=False)
128 collector = TagCollector(dxfversion=ver, optional=True)
132 collector2 = TagCollector(dxfversion=ver, optional=False)
H A Dtest_210_polyline_1.py91 collector = TagCollector(dxfversion='R2000', optional=True)
98 collector = TagCollector(dxfversion='R2000', optional=True)
105 collector = TagCollector(dxfversion='R2000', optional=True)
142 collector = TagCollector(dxfversion=ver, optional=True)
146 collector2 = TagCollector(dxfversion=ver, optional=False)
/dports/cad/py-ezdxf/ezdxf-0.16.3/examples/
H A Dviewports_in_paperspace.py39 def create_viewports(paperspace, dxfversion): argument
91 def make(dxfversion, filename): argument
92 doc = ezdxf.new(dxfversion)
105 create_viewports(layout, dxfversion)
/dports/cad/py-ezdxf/ezdxf-0.16.3/examples_dxf/
H A Dcreate_mtext_column_examples.py10 def create_doc(filename: str, dxfversion: str):
63 doc = ezdxf.new(dxfversion=dxfversion)

123456