高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】vectorising Curves That Use Dashed Linetype
vectorising curves that use dashed linetype
vectorising curves that use dashed linetype
we are using dd to implement an xref-like object, which displays a dwg. i've attached a screen shot, which shows two of these objects, both displaying a simple dwg. both dwg's are basically the same, only difference is that the other (shown above) uses acad_iso02w100 linetype, other uses continuous.
the one using dashed linetype is not properly vectorized. what could be the reason for this ?
jukka suomela
attached images
when curves are approximated by polyline deviation is used to determine number of polyline points required. in your case deviation seems to be too large.
do you set it the same for both cases?
can you reproduce the situation in one of our samples (odamfcapp for example)?
sergey slezkin
thanks sergey, i was able to find the bug. odamfcapp displayed the curves correctly.
we used to set the sreen size to odgsdevice as (0,0) - (1,1), with a call to onsize. when i changed this to the actual screen size, dashed curves displayed ok.
best regards,
jukka suomela
|