![]() |
【转帖】hickening a face
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 |
所有的时间均为北京时间。 现在的时间是 08:15 PM. |