找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 579|回复: 2

[求助]:如何对变比例的块中的三维实体进行干涉检查

[复制链接]
发表于 2002-10-10 03:23:01 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?立即注册

×
如何对变比例的块中的三维实体进行干涉检查
论坛插件加载方法
发帖求助前要善用【论坛搜索】功能,那里可能会有你要找的答案;
如果你在论坛求助问题,并且已经从坛友或者管理的回复中解决了问题,请把帖子标题加上【已解决】;
如何回报帮助你解决问题的坛友,一个好办法就是给对方加【D豆】,加分不会扣除自己的积分,做一个热心并受欢迎的人!

已领礼包: 145个

财富等级: 日进斗金

发表于 2002-10-10 03:25:34 | 显示全部楼层

Re: [求助]:如何对变比例的块中的三维实体进行干涉检查

最初由 i_want_2 发布
[B]如何对变比例的块中的三维实体进行干涉检查 [/B]


给你贴篇资料,看看是否有帮助。


  1. [FONT=courier new]

  2. Testing interference of solid in non-uniformly transformed block  
  3. ID    2029  
  4. Applies to:    AutoCAD 2000I
  5. AutoCAD 2002


  6. This document is part of    Coordinates and Transformations   Solids   Block Reference   Intersecting Entities     


  7. Question
  8. How can I test whether two solids interfere, if one is in a BLOCK, which has
  9. a non-uniform transformation.
  10. Answer
  11. ACIS doesn't allow non-uniform transformations on the solids. Since its going
  12. to be ACIS that does the interference detection, this will be a problem,
  13. assuming that you want to interfere one solid which has the transformation
  14. and one which does not. If you are testing two block references which both
  15. have the same transformation, then one can simply test the contents of the
  16. block without applying the transformation.

  17. An alternative approach would be to facet the solids, transform the facets,
  18. and test these. There are various techniques for extracting facets listed
  19. elsewhere, for example using the ACRE functions, or calling the worldDraw
  20. function of the solid. The disadvantage to this approach is that you have to write
  21. the code to check the facet interference, and the result would only be to a
  22. certain tolerance.

  23. Testing whether two facets interfere is fairly straightforward, assuming the
  24. facets are triangular. If the two triangles are coplanar, then just test
  25. whether any of the line segments intersect, and if not, whether either
  26. triangle lies wholly inside the other. If they are not coplanar, then take
  27. each edge of the facet and calculate whether it intersects the plane of the
  28. other triangle. If it does, check whether the intersection point lies within
  29. the triangle.

  30. Finally, if you know that the facetted models do not interfere, you'll need
  31. to check whether one solid is contained entirely within the other. To do
  32. this, take any point on one of the solids, transform this point with the
  33. transform of its block references. Then transform the point with the inverse
  34. of the transformation of the block references of the other solid ( to get it
  35. back into the space of the other solid ). Then test whether it lies inside
  36. the solid ( using the B-Rep API point containment function ). You'll have to
  37. do this both ways round of course.
  38. [/FONT]
论坛插件加载方法
发帖求助前要善用【论坛搜索】功能,那里可能会有你要找的答案;
如果你在论坛求助问题,并且已经从坛友或者管理的回复中解决了问题,请把帖子标题加上【已解决】;
如何回报帮助你解决问题的坛友,一个好办法就是给对方加【D豆】,加分不会扣除自己的积分,做一个热心并受欢迎的人!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2002-10-10 03:48:56 | 显示全部楼层
thank you
论坛插件加载方法
发帖求助前要善用【论坛搜索】功能,那里可能会有你要找的答案;
如果你在论坛求助问题,并且已经从坛友或者管理的回复中解决了问题,请把帖子标题加上【已解决】;
如何回报帮助你解决问题的坛友,一个好办法就是给对方加【D豆】,加分不会扣除自己的积分,做一个热心并受欢迎的人!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|申请友链|Archiver|手机版|小黑屋|辽公网安备|晓东CAD家园 ( 辽ICP备15016793号 )

GMT+8, 2024-11-15 19:42 , Processed in 0.182459 second(s), 36 queries , Gzip On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表