高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】hatchlines
hatchlines?
hatchlines?
hello,
got this hatch with a lot of hatchlines, the file hatch original.dwg consists of one hatch originaly a part in a big drawing that we have stripped down (also removed things in odamfcapp to get less things in it).
the hatch copied.dwg, is a new drawing with the same hatch copy/pasted from the original drawing.
now for the first drawing hatch original.dwg the numhatchlines() reports
10382 lines and for hatch copied.dwg 4617 lines.
how can this differ so much? looking in odamfcapp on the hatches in the different files it doesn't appear to be this big a difference.
the real problem is those extra lines seems not to be within the loops of the hatch, looks correct when rendering this in odamfcapp. but in our application we do get more lines than we expect in the wrong places.
thanks
// joakim
attached files
extra lines are caused by dd bug in hatching algorithm. it seems to be a tolerance issue depending on coordinates values.
sergey slezkin
|