Good to know the added feature.
But, wheels for Windows at Azure still do not seem to include the feature. A wheel built from git source downloaded today works as expected (warn_level = 0 suppresses all warning messages). Happy.
Since I wanted to build python module with DXF reader plugin sources modified to suppress warning messages, I couldn't use existing distributions. Thanks to your suggested link, after checking Azure pipeline logs, I found how to fix built wheel. Now…
Thanks for detailed reply. I tried to redirect stdout without success. Using contextlib, I can only suppress print("readFile"). Viewport-related warning messages are NOT suppressed. Strange...
import pyafrom contextlib import contextmanag…
Ooops. Yor are right.
I checked with our design team and found that the file was poorly drawn (with wrong offset values). Thus, enclosing_check function has no problem at all.
Sorry for wasting your precious time :'(
I will request our developers to check whether their tools (probably a little old version of AutoCAD) can handle my sample DXF files. Then share results as well as files.
Oh I see. Thanks for clarification. I have no expertise to propose a version.
Before writing the above post, I tested like this. Using KLayout 0.27.1, I created a very simple drawing with a single box and saved it with 5 different options (POLYLINE…