W: script for selecting perimeter of selected face

Next
 From:  Yenmonger (OTTERMAN)
3867.1 
Heya guys, I poked around for a bit and couldn't find other instances of this functionality.

What I would like to do is select a face of a solid, then select the lines that make its perimeter, like so:




  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
3867.2 In reply to 3867.1 
Hi Yenmonger, there is one script here that will allow you to select all the edges of one face boundary, the way it works is by selecting 2 edges of the boundary and then running the script:
http://moi3d.com/forum/index.php?webtag=MOI&msg=3335.5

That allows you to be more selective since it would let you grab just the outside boundary of a face that has a bunch of internal holes in it for example.

To just switch selection to all edges that belong to a selected face, use this script:

script: /* switch selection from a face to its edges */ var gd = moi.geometryDatabase; var faces = gd.getSelectedObjects().getFaces(); gd.deselectAll(); for ( var i = 0; i < faces.length; ++i ) faces.item(i).getEdges().setProperty( 'selected', true );

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
3867.3 In reply to 3867.2 
Does this a new Script not yet published?
---
Pilou
Is beautiful that please without concept!
My Gallery
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
3867.4 In reply to 3867.3 
Hi Pilou, actually that script has come up a couple of times before:

http://moi3d.com/forum/index.php?webtag=MOI&msg=2434.8
http://moi3d.com/forum/index.php?webtag=MOI&msg=2088.2

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Yenmonger (OTTERMAN)
3867.5 In reply to 3867.2 
Wooo! Sniff, I love you, man!
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All