高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】loading smoothing polyline
loading smoothing polyline
loading smoothing polyline
the 2d polyline smoothing by spline in version 1.06 was represented by oddb2dpolyline object. so i could separate vertexes with type k2dsplinectlvertex and don抰 display they.
but in version 1.07 beta this polyline represents by oddbpolyline and i have problem with separating control vertex.
best regards,
ivan obraztsov
could you send me a sample file illustrating the problem? i failed to reproduce it.
sergey slezkin
i just sent the sample file to you.
best regards,
ivan obraztsov
your 2d polyline entity is incorrect. it has flag "spline fit vertices added" set (bit 4 of dxf group code 70).
but curve fit type (dxf group code 75) is zero.
autocad 2000 treats the situation as if cubic curve fit type was set.
i will replicate autocad's behavior in dd but different applications and even different autocad versions may interpret incorrect entities differently.
sergey slezkin
you are right. but this is very strange. because this file was created and modified in autocad 2002. but i can抰 represent this bug. new files autocad write correctly.
thank you for explanation. so if i understand correctly in version 1.06 dd interpret this incorrect polyline same as autocad 2000 and starting 10.7 (and higher) as lwpolyline.
best regards,
ivan obraztsov
no. dd versions up to 1.07 converted such polyline to lw if file being loaded is of version less than current. starting with 1.07 current dd version was changed from r15 to r18 so you noticed the problem. in other words the same problem was in 1.06 if r12-14 file is loaded. starting with next dd release it will treat such polylines like autocad does.
sergey slezkin
thank you, sergey
best regards,
ivan obraztsov
|