Home
last modified time | relevance | path

Searched refs:lwpolyline (Results 1 – 25 of 35) sorted by relevance

12

/dports/cad/py-ezdxf/ezdxf-0.16.3/tests/test_02_dxf_graphics/
H A Dtest_220_lwpolyline_explode.py6 from ezdxf.entities.lwpolyline import LWPolyline
12 def lwpolyline(): function
24 def test_virtual_entities(lwpolyline): argument
25 result = list(lwpolyline.virtual_entities())
55 def test_virtual_entities_elevation(lwpolyline): argument
56 lwpolyline = lwpolyline.translate(1, 1, 1)
57 assert lwpolyline.dxf.elevation == 1
82 lwpolyline = LWPolyline.new()
85 lwpolyline.close(True)
108 result = lwpolyline.explode()
[all …]
H A Dtest_220_lwpolyline_2.py23 line = lwpolyline(points)
37 line = lwpolyline(points)
44 line = lwpolyline(points)
59 line = lwpolyline(points)
70 line = lwpolyline(points)
77 line = lwpolyline(points)
96 line = lwpolyline(points)
112 line = lwpolyline(points)
119 line = lwpolyline(points)
127 line = lwpolyline(points)
[all …]
H A Dtest_220_lwpolyline_1.py6 from ezdxf.entities.lwpolyline import LWPolyline
/dports/cad/py-ezdxf/ezdxf-0.16.3/docs/source/tutorials/src/hatch/
H A Dassoc_hatch.py9 lwpolyline = msp.add_lwpolyline( variable
18 lwpolyline.get_points(format='xyb'),
20 is_closed=lwpolyline.closed,
24 hatch.associate(path, [lwpolyline])
/dports/cad/py-ezdxf/ezdxf-0.16.3/src/ezdxf/render/
H A Dpolyline.py20 lwpolyline: 'LWPolyline') -> Iterable[Union['Line', 'Arc']]:
29 assert lwpolyline.dxftype() == 'LWPOLYLINE'
31 points = lwpolyline.get_points('xyb')
35 if lwpolyline.closed:
40 elevation=lwpolyline.dxf.elevation,
41 extrusion=lwpolyline.dxf.get('extrusion', None),
42 dxfattribs=lwpolyline.graphic_properties(),
43 doc=lwpolyline.doc,
/dports/cad/py-ezdxf/ezdxf-0.16.3/integration_tests/
H A Dtest_read_write_modern_entites.py26 lwpolyline = msp.query('LWPOLYLINE')[0]
27 assert len(lwpolyline) == 4
29 pts = lwpolyline.get_points()
/dports/graphics/blender/blender-2.91.0/release/scripts/addons/io_import_dxf/dxfimport/
H A Dconvert.py169 def bulgepoly_to_cubic(do, lwpolyline): argument
188 points = lwpolyline.points
189 bulges = lwpolyline.bulge
195 if lwpolyline.is_closed:
202 def bulgepoly_to_lenlist(lwpolyline): argument
217 points = lwpolyline.points
218 bulges = lwpolyline.bulge
224 if lwpolyline.is_closed:
/dports/cad/py-ezdxf/ezdxf-0.16.3/examples/
H A Dtransformation_workbench.py322 hatch, lwpolyline = hatch_polyline(layout, edge_path=False)
336 lwpolyline = lwpolyline.copy()
337 entitydb.add(lwpolyline)
338 lwpolyline.dxf.color = color
339 lwpolyline.transform(m)
341 layout.add_entity(lwpolyline)
347 hatch, lwpolyline = hatch_polyline(layout)
/dports/cad/openscad/openscad-41f58fe57c03457a3a8b4dc541ef5654ec3e8c78/testdata/scad/dxf/
H A Dlwpolyline.scad1 import("../../dxf/lwpolyline.dxf");
H A Dlwpolyline-closed.scad1 import("../../dxf/lwpolyline-closed.dxf");
/dports/cad/openscad-devel/openscad-63a7c77740030c63d646eb0684ba6947eecb0db7/testdata/scad/dxf/
H A Dlwpolyline.scad1 import("../../dxf/lwpolyline.dxf");
H A Dlwpolyline-closed.scad1 import("../../dxf/lwpolyline-closed.dxf");
/dports/cad/py-ezdxf/ezdxf-0.16.3/docs/source/tutorials/
H A Dindex.rst13 lwpolyline
H A Ducs_transform.rst36 .. literalinclude:: src/ucs/lwpolyline.py
41 .. image:: gfx/ucs-lwpolyline-side-view.png
43 .. image:: gfx/ucs-lwpolyline-front-view.png
H A Docs_usage.rst94 .. literalinclude:: src/ocs/lwpolyline.py
105 .. image:: gfx/ocs-lwpolyline-left.png
107 .. image:: gfx/ocs-lwpolyline-front.png
/dports/cad/py-ezdxf/ezdxf-0.16.3/docs/source/dxfentities/
H A Dindex.rst29 lwpolyline
/dports/cad/libredwg/libredwg-0.12.4/examples/
H A Ddwgadd.example16 lwpolyline 2 ((0 1) (1 1))
/dports/cad/py-ezdxf/ezdxf-0.16.3/src/ezdxf/path/
H A Dconverter.py62 def _from_lwpolyline(lwpolyline: LWPolyline, **kwargs) -> 'Path':
66 lwpolyline.get_points('xyb'),
67 close=lwpolyline.closed,
68 ocs=lwpolyline.ocs(),
69 elevation=lwpolyline.dxf.elevation,
H A Dpath.py327 def from_lwpolyline(cls, lwpolyline: 'LWPolyline') -> 'Path':
339 return make_path(lwpolyline)
H A Dtools.py240 for lwpolyline in lwpolylines:
241 layout.add_entity(lwpolyline)
/dports/cad/py-ezdxf/ezdxf-0.16.3/src/ezdxf/addons/
H A Dgeo.py385 def lwpolyline(vertices: Sequence) -> LWPolyline: function
397 yield lwpolyline(path)
413 yield lwpolyline(coordinates)
422 yield lwpolyline(data)
/dports/cad/py-ezdxf/ezdxf-0.16.3/src/ezdxf/entities/
H A D__init__.py61 from .lwpolyline import LWPolyline
/dports/cad/py-ezdxf/ezdxf-0.16.3/src/ezdxf/
H A Dproxygraphic.py320 def lwpolyline(self, data: bytes): member in ProxyGraphic
371 lwpolyline = cast('LWPolyline',
373 lwpolyline.set_points(points)
374 return lwpolyline
H A Dgraphicsfactory.py517 lwpolyline: 'LWPolyline' = self.new_entity('LWPOLYLINE', dxfattribs)
518 lwpolyline.set_points(points, format=format)
519 lwpolyline.closed = close
520 return lwpolyline
H A Deztypes.py98 from ezdxf.entities.lwpolyline import LWPolyline

12