MoI discussion forum
MoI discussion forum

Full Version: Select similar edge/face?

Show messages:  1-4  5-24  25-29

From: Frenchy Pilou (PILOU)
10 Apr 2018   [#25]
Always for your object shown

Assuming that your faces are 3 * 3

script: /* Select by length */ var min = 3.0, max = 3.0; var crvs = moi.geometryDatabase.getObjects().getCurves(); for ( var i = 0; i < crvs.length; ++i ) { var crv = crvs.item(i); var len = crv.getLength(); if ( len>= min && len <= max ) { crv.selected = true; } }

Select all Edges by Type Panel

Copy Move the Edges somewhere in the 3D Space

launch the Script

Construct Planar : you have your faces selectect :)

Will work for a StarWars StarShip!


From: Michael Gibson
10 Apr 2018   [#26] In reply to [#22]
Hi Dimitri, When you have a question or example please post the 3DM file containing the actual geometry instead of only a screenshot. That helps because then I can make sure I'm using your same objects to test with and to answer your question.

re:
> Below I am putting a simple explanatory image. What we do in such a case when we do want to select
> all the similar faces -as the selected one- on such an object (other than selecting them one by one)?

You can use window selection as I described above, you do not have to select them one by one. Start by selecting one face to make the window selection target faces.

In this case I'd switch to split view and use left-to-right "only target fully contained" window selection like this:



- Michael
From: Michael Gibson
10 Apr 2018   [#27] In reply to [#24]
Hi klaudio,

> For example like this, you want to select all faces on the top to use
> Inset, no way but to just pick them individually.

That's a pretty unusual example, because I would usually expect to see the fillet placed after doing the inset, not before.

But just as you described if you do a little bit of planning you can solve that problem and not be required to do individual picks if you use the window selection method before doing the filleting. That way there aren't little fillet surfaces in the way and then assign a name or style to those faces which will persist after filleting. Then they can be selected by one click in the scene browser and you are not required to pick them with individual clicks.

- Michael
From: Rainydaylover (DIMITRI)
11 Apr 2018   [#28]
Thanks for the detailed explanation Michael, I would never imagine that there is such a way of selecting similar items in a scene! : -)
From: VG (VEGASGUITARS)
26 May 2018   [#29] In reply to [#19]
That's so cool - great to know how that works.

Show messages:  1-4  5-24  25-29