查看单个帖子
旧 2009-05-06, 07:28 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】oddbblockreferenceexplode90

oddbblockreference::explode()
oddbblockreference::explode()
i've found a problem with a block reference, which has, as i can see in autocad 2002, a
scale x factor of -1, a scale y factor of 1 and a scale z factor of 1.
the block reference contains 10 lines and an arc, and when i draw in a window the "exploded" block, lines are correctly transformed but arc is not (it seems as if the start and end points are interchanged or something like that).
if i explode the block reference inside autocad and then draw the entities inside my program, all of them are correctly drawn.
this problem occurs only when scale factors x and y has diferent signs.
do you think is possible that oddbblockreference::explode() is not working correctly in this case.
if you want i send to you the dwg file, please indicate to me an e-mail adress.

i reproduced the problem. it's a bug in oddbarc::transformby(). we'll fix it. thanks.
sergey slezkin
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)