找回密码
 注册
Simdroid-非首页
查看: 43|回复: 3

[二次开发] 请问一下网格处理时系统怎么计算近似全局尺寸的

[复制链接]
发表于 2018-6-7 22:24:32 | 显示全部楼层 |阅读模式 来自 河北保定
大家好,我想问一下网格划分撒种子时候有一个近似全局尺寸,根据每个零件大小的不同,会有不同的值,系统是怎么计算这个值的,我有一个脚本需要根据零件尺寸大小自动撒种子,不知道这个值该怎么取.谢谢大家
p.seedPart(size=2.0, deviationFactor=0.1, minSizeFactor=0.1)

本帖子中包含更多资源

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

×
 楼主| 发表于 2018-6-7 22:25:40 | 显示全部楼层 来自 河北保定
Simdroid开发平台
我查了文档,里面也没有说
  1. 30.2.23 seedPart(...)

  2. This method assigns global edge seeds to the given parts.

  3. Required arguments

  4. regions
  5. A sequence of Part objects specifying the part instances to seed.

  6. size
  7. A Float specifying the desired global element size for the edges.

  8. Optional arguments

  9. deviationFactor
  10. A Float specifying the deviation factor , where  is the chordal deviation and  is the element length.

  11. minSizeFactor
  12. A Float specifying the size of the smallest allowable element as a fraction of the specified global element size.

  13. constraint
  14. A SymbolicConstant specifying how closely the seeds must be matched by the mesh. The default value is FREE. If unspecified, the existing constraint will remain unchanged. Possible values are:

  15. FREE: The resulting mesh can be finer or coarser than the specified seeds.

  16. FINER: The resulting mesh can be finer than the specified seeds.

  17. Return value

  18. None
  19. Exceptions

  20. None.
复制代码

回复 不支持

使用道具 举报

发表于 2018-6-8 00:35:44 来自手机 | 显示全部楼层 来自 英国
平均单元边长
回复 不支持

使用道具 举报

发表于 2018-6-8 00:37:22 来自手机 | 显示全部楼层 来自 英国
网格默认尺寸,没有指定就用这个
回复 不支持

使用道具 举报

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

本版积分规则

Archiver|小黑屋|联系我们|仿真互动网 ( 京ICP备15048925号-7 )

GMT+8, 2024-4-23 21:06 , Processed in 0.029515 second(s), 11 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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