Feature proposal: new select mode

The interface, modeling, 3d editing tools, import/export, feature requests, etc

Moderators: jesterKing, stiv

Post Reply
Caronte
Posts: 76
Joined: Wed Oct 16, 2002 12:53 am
Location: Valencia-Spain-Europe

Feature proposal: new select mode

Post by Caronte »

It would be nice if we could select faces between an area size range.
Imagine an huge model filled of many, many faces would be very good to select the big faces only (i.e: area>4), to assign a material to it by example.

Thanks in advance ;)
Last edited by Caronte on Wed Aug 31, 2005 11:42 am, edited 1 time in total.
Caronte.
"Some Day, All Will Be Digital"
http://www.nicodigital.com

halibut
Posts: 0
Joined: Fri Apr 25, 2003 2:02 pm
Contact:

Post by halibut »

Sounds like a python script rather than a new select mode.

Caronte
Posts: 76
Joined: Wed Oct 16, 2002 12:53 am
Location: Valencia-Spain-Europe

Post by Caronte »

My latest model have 400000 faces, do you know how slow may be a python script for check the size of every face?
Caronte.
"Some Day, All Will Be Digital"
http://www.nicodigital.com

simonharvey
Posts: 0
Joined: Tue May 18, 2004 8:11 am

Post by simonharvey »

Caronte wrote:My latest model have 400000 faces, do you know how slow may be a python script for check the size of every face?
Comared with doing it manually it would be instant

LetterRip
Posts: 0
Joined: Thu Mar 25, 2004 7:03 am

Post by LetterRip »

I'd say about a second or two to check the area of every face,

LetterRip

joeri
Posts: 96
Joined: Fri Jan 10, 2003 6:41 pm
Contact:

Post by joeri »

I think this is a good example, no offence, of what a single user needs and projects that need on all of the users.

Why would I ever want to select all the faces with area < 1bu in an object of 400000 faces? ( Why would I have an object of 400000 faces anyway? What is that; NewYork in one mesh? )

In that case it's typical python stuff. Unless you can come up with a very good reason why we all want to select thoose faces.

Caronte
Posts: 76
Joined: Wed Oct 16, 2002 12:53 am
Location: Valencia-Spain-Europe

Post by Caronte »

joeri wrote:I think this is a good example, no offence, of what a single user needs and projects that need on all of the users.
I don't think like you.
joeri wrote:Why would I ever want to select all the faces with area < 1bu in an object of 400000 faces? ( Why would I have an object of 400000 faces anyway? What is that; NewYork in one mesh? )
Sometime an model with only 1000 faces also can be a pain to select what you want.

Why would I ever want to select all the linked (Obj Ipo, Obdata, material, texture)?
Why would I ever want to select all by type (Mesh, Curve, Surface...)?
Why would I ever want to select by Box, Lasso, bb...?
Why would I ever want to select EdgeLoops, RingLoops, Connected faces...?

The answer is: To do things more easy. the more metods, the better.

May be you never needed this function and don't understand why is usefull.

joeri wrote:In that case it's typical python stuff. Unless you can come up with a very good reason why we all want to select thoose faces.
The reason is the same as many of the other select metods.
LetteRip wrote:I'd say about a second or two to check the area of every face
No, in fact Is very fast and the code is already there (the face area button in F9).

Well, anyway it´s a sugerence in case some coder want to code it.

P.D: Sorry but my english is very poor, I can´t explain better :(
Caronte.
"Some Day, All Will Be Digital"
http://www.nicodigital.com

LetterRip
Posts: 0
Joined: Thu Mar 25, 2004 7:03 am

Post by LetterRip »

You asked how long would it take in python, which for certain operations is an order of magnitude or so slower than c coded versions.

have a look at cambos website the script that does flatten it shows the formula for finding face area, and then either look at the python docs or another script to see how to select faces with a script.

LetterRip

joeri
Posts: 96
Joined: Fri Jan 10, 2003 6:41 pm
Contact:

Post by joeri »

Caronte wrote:May be you never needed this function and don't understand why is usefull.
Not maybe, but fact.
That's why I ask you how you would use it.
But you also don't seem to know, or so it seems.
Caronte wrote:The reason is the same as many of the other select metods.
I see, it's to difficult for you to explain where it's usefull for.
I'll give an example:

Q. Why would I ever want to select all the linked (Obj Ipo, Obdata, material, texture)?
A. You would want to select all the objects with the material wood to give it a better material wood. Or all linked with Obj Ipo can be moved to layer 12.

Q. Why would I ever want to select all by type (Mesh, Curve, Surface...)?
A. For example to delete all text that you no longer need.

Q. Why would I ever want to select EdgeLoops, RingLoops, Connected faces...?
A. To subdivide edges in an ordened ring, for example on an arm.

Now why would I want to select all small faces?
Can you give an example?


Caronte wrote:The answer is: To do things more easy. the more metods, the better.
Nonsens.
I understand you want to select things, but the different selection methods are different because that how they fit best to a certain goal.
My question is to what goal does your proposed selection method fit?

Caronte
Posts: 76
Joined: Wed Oct 16, 2002 12:53 am
Location: Valencia-Spain-Europe

Post by Caronte »

:idea: Ideasman did it and more powerfull!!!
http://members.iinet.net.au/~cpbarton/i ... el_same.py

I'm happy!

Thank you very much, Ideasman :D :D :D

Take a look in her page to get more usefull scripts ;)
http://members.iinet.net.au/~cpbarton/ideasman/
Caronte.
"Some Day, All Will Be Digital"
http://www.nicodigital.com

joeri
Posts: 96
Joined: Fri Jan 10, 2003 6:41 pm
Contact:

Post by joeri »

So how slow is it?

Caronte
Posts: 76
Joined: Wed Oct 16, 2002 12:53 am
Location: Valencia-Spain-Europe

Post by Caronte »

Enough for me, and faster than nothing ;)
Caronte.
"Some Day, All Will Be Digital"
http://www.nicodigital.com

Post Reply