LibreDWG / libredwg

Official mirror of libredwg. With CI hooks and nightly releases. PR's ok
https://savannah.gnu.org/projects/libredwg/
GNU General Public License v3.0
931 stars 228 forks source link

dwgplot via GNU Plotutils #229

Open rurban opened 4 years ago

rurban commented 4 years ago

Then we can deprecate dwg2SVG and dwg2ps, and rather use plotutils, either via libplot or via plot(1), which supports much more output formats, bitmap and vector. Even real plotting formats, like pcl5 and hpgl/2. But also png, svg, ps, ...

The current idea is to be independent on libplot, and generate ASCII plot(5) format manually, or if available via the libplot C interface.

matndev commented 3 years ago

Any news ? Very interested in converting dwg to jpg

rurban commented 3 years ago

No, this would need a lot of work. See the work/dwgplot branch Taking a screenshot, or converting the internal bmp to jpg is recommended.

paolo-caroni commented 3 years ago

This is a very good idea, have you planned to support PlotStyle (.ctb and .stb)? I'm writing specification of these type of files that maybe can be interesting, also a simple C PoC for read and edit it. https://github.com/paolo-caroni/LibrePIA For the spec see doc folder.