Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk® Softimage® / Modeling / How to - Explode mesh per island
  RSS 2.0 ATOM  

How to - Explode mesh per island
Rate this thread
 
29049
 
Permlink of this thread  
avatar
  • Total Posts: 11
  • Joined: 22 August 2008 01:22 PM

Hello.
How can i explode my polymesh object according to “islands” of polygons
Before
before.jpg
After
after.jpg
In this example i did that selecting and extraing manualy each “island” . I wounder if i can do it easly for complex objects with many polygons.



Replies: 0
avatar
  • uno
  • Posted: 14 September 2008 10:05 PM

try this

'Explode by Polygon Islands (VBS)
'
authorGlazyrin Eugeny (depol@mail.ru)
'=====================
set mySel=getvalue("selectionlist")
for each oObj in mySel
 if oObj.type = "polymsh" then
  do
   if oObj.activeprimitive.geometry.polygons.count > 0 then
    SelectGeometryComponents oObj&".poly[0]"
    set polsel = selection(0)
    do
     GrowSelection
     if polsel = selection(0) then
      ExtractFromComponents "ExtractPolygonsOp", , "polymsh_island", True, siImmediateOperation, siKeepGenOpInputs
      exit do
     end if
     set polsel = selection(0)
    loop
   else
    deleteobj oObj
    exit do
   end if
  loop
 end if
next
ActivateObjectSelTool


Replies: 0
avatar

Hi. Thanks for responde.
Its seems to not work for me. It hang my xsi for ever .i had complex broken glass like polymesh element with around 1300 polygons. Each polygon is isolated from other . I`m going to try it on triangles,quad and smaller ones.



Replies: 0
avatar
  • uno
  • Posted: 14 September 2008 11:56 PM

This script can be slow for the large number islands on object



Replies: 0
avatar

Yeah its working. thanks a lot.



Replies: 0
avatar
  • sfu_Joey
  • Posted: 15 September 2008 05:15 AM

You may also want to try this. Its encapsulated as a command, shows up under Model>Modify>Poly.Mesh, and takes in multiple input objects.

http://community.softimage.com/downloads.php?do=file&id=21


Joey



Replies: 1
/img/forum/dark/default_avatar.png

Sorry for the bump, but you’re my best lead.  Sadly, the link is broken.  Do you know the name of the plugin, or have a link to a current online location?  I tried searching for JP_separate, but no luck on google.

Thanks

Author: lakehaze

Replied: 30 March 2011 04:40 PM  
avatar

[quote=Joey;11206]You may also want to try this. Its encapsulated as a command, shows up under Model>Modify>Poly.Mesh, and takes in multiple input objects.

http://community.softimage.com/downloads.php?do=file&id=21


Joey

i found that script after i post that thread :shame:
Thanks Joey.



Replies: 0
avatar

Hello is this script the same on making the polygons shatter / explode?



Replies: 0
avatar
  • sfu_Joey
  • Posted: 29 September 2008 01:29 AM

[quote=flamefeather;11948]Hello is this script the same on making the polygons shatter / explode?

If you’re referring to JP_Separate, no it not. Seperate takes mesh islands that are part of a single mesh object, isolates them and separates them from the original mesh. Say you have ten spheres which have been merged to a single mesh. You wante to “unmerge” the mesh, thats hat separate does.

If you want to break every polygon apart on the mesh, select all edges, execute Model>Modify>Poly.Mesh>Disconnect components on the selection. Now run JP_Separate. The result will be numerous objects(individual facets) which you can “explode” with ICE or other methods.

Joey



Replies: 0
avatar

Ok thanks man’



Replies: 0