高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】problem with acadpart proxies
problem with acadpart proxies
problem with acadpart proxies
i've gotten several dwgs over the last couple years which contain proxies with acadpart data (i.e. solids) which i am having a consistent problem with (up to and including using dd2.1).
the acis data for these parts is always flipped in z. for instance, with the attached 5321.dwg, the proxy entity extents are returned as having z values between -12.5 and -9.87. in reality, the acis data has z values between 9.87 and 12.5. x and y are just fine. if i view the same file in autocad, the z's are negative (just like dd2.1 tells me) but that's not what's in the acis data.
in all these instances, autocad recognizes these entities as a 'block reference' with no scaling, no transformation, and no rotation. (exploding in autocad makes them disappear!!!)
i think my handling of the acis data is correct - i worked that out a couple years ago with help from this forum. only these cases are turning out upside down.
can someone tell me what i'm missing? i don't see anything telling me that this part is flipped in z, but the actual entity is flipped from the acis data. i'd appreciate any help.
attached files
hi,
i have made some tests with 4659. mfcapp loads acadpart as proxy object. it has proxy object graphics data. mfcapp draws graphics data, not inside stored sat. i store graphics data and draw it like lines in autocad and in mechanical desktop. see attachments for results. graphics data are flipped in mechanical desktop, but not in autocad. also i found that x&z coordinate vectors has different orientation in autocad and md.
i am not sure, but it seems that this is a md features...
attached images (13.1 kb, 9 views)
(26.1 kb, 7 views)
alex,
interesting. thanks for doing that investigation. i will try to find out what i can about what md is doing differently.
pete
|