几何尺寸与公差论坛

 找回密码
 注册
查看: 656|回复: 0

【转帖】hickening a face

[复制链接]
发表于 2009-4-12 22:39:13 | 显示全部楼层 |阅读模式
thickening a face
i have been working on some code for a long time and it has really got me
basically i want to perform the following:
1) loop through all the faces of a certain body
2) select each and every face
3) use the the featurebossthicken method to create a new body from each face
i have managed to cycle through the faces and used entity.select4 to select each and every face, however i didn't manage to thicken the face.
has anyone got any ideas? should i be selecting the surfaces underlying the faces instead? if so how do i do that?
thanks in advance
j. sivan
edited: 02/12/2009 at 01:19 pm by jonathan sivan
can you post your selecting code (2)?
hi jonathan,
featurebossthicken applies to surfaces and not faces so i am guessing this is why the code is failing... also when selecting a surface to apply the thicken feature to it you need to mark it with the number 1.
i have not tried what you want to achieve so i am not sure if it will work if you select the underlying surfaces (face2::getsurface)
an alternative to what you are trying to do however i have tried and it does work...
you can loop through all your faces like you do now, select them insert a sketch on them convert entities of the face and then extrude the sketch.
this will allow you to thickenn the faces of a body.
cheers,
--stav.
in this world i am nobody...
and nobody is perfect ;) !!!
---------
solidworks office 2008 sp4.0
dell precision pws390
nvidia quadro fx 3450/4000 sdi
thanks a lot everybody,
i didn't manage to thicken the surface underlying the face, however what i did was convert the surface to a sheetbody and then extruded the sheet body. pretty similar to what stavros suggested
just goes to show there are many ways to skin a cat.
jonathan
quick
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|几何尺寸与公差论坛

GMT+8, 2024-12-23 18:04 , Processed in 0.035762 second(s), 20 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

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