Re: Re: displaying dxf drawings in a GUI

niki <[email protected]>
Newsgroups gmane.comp.python.wxpython
Message-ID <[email protected]>
On 20.11.19 г. 23:37 ч., Robin Dunn wrote:
> I recently added a SVG renderer to wxPython 4.1 so if there is a good 
> way to convert dxf files to svg files that would be one way you could 
> go. OTOH, if you're able to decompose the dxf files into paths, curves 
> and simple shapes then you could take a similar approach for rendering 
> it to a wx.GraphicsContext. See 
> https://github.com/wxWidgets/Phoenix/blob/master/wx/svg/__init__.py#L147

Combination of ezdxf + svgwrite can help.

https://github.com/mozman

Niki

-- 
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/wxpython-users/a53f6e8c-0452-e010-b2a3-a0840f896c44%40vintech.bg.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.