![]() |
【转帖】minor bug report - hatch audi
minor bug report - hatch audit
minor bug report - hatch audit our software is exporting a hatched polygon (with two adjacent identical vertices). the auditdatabase() function generates the following text in the output window: acdbhatch(3c) hatch has invalid boundary data. polyline hatch boundary has duplicated vertices. remove the audit claims to have "fixed" this error but the results of the fix are incorrect; the second vertex is removed from the hatch entity (although it was not duplicated). the second vertex always seems to be removed regardless which vertex was duplicated. in fact when the second and third vertices are coincident, audit removes both of them. erle dear erle, dwgdirect audit removes coincident polyline vertices (all except one) from polyline hatch boundary because autocad refuses to load dxf file with such hatch. this functionality works fine for me (vc6, dll project). could you attach the problem file? what platform and compiler do you use? sincerely yours, george udov using visual studio 2002, dwgdirect 1.13 libs sorry, i don't have much to add, or sample file to attach. we are exporting from our software to dwg format. first we call appendloop on oddbhatchptr with a odgepoint2darray with coincident points. then call to auditdatabase which reports the coincident problem. auditdatabase also reports that it has fixed the problem. the result we are seeing is that wrong vertices were removed by the auditdatabase fix. not a big deal from this side, we get around it by filtering the points before building the hatch which probably should have been done in the first place. regards, erle |
所有的时间均为北京时间。 现在的时间是 08:54 AM. |