PDA

View Full Version : Modeler : looking for a point selection tool not found on Flay



lasco
01-19-2005, 09:13 AM
Hi,

Anyone knows if there's a script that allows to
select points depending on their coordinates along one
of the three axis ?
Example selecting all points that has a Y= 1 meter
(with why not, a tolerance setting…)

I'm surprised I did not found anything on Flay.

Matt
01-19-2005, 12:01 PM
Maybe a bit too specialised, but it wouldn't be hard to write. But I imagine it would be slow as you'd have to loop through all the points in a model check the Y value, if it matches add it to the selection.

Lscript's internal 'looping' speed isn't great, so on a big model it would be a pain (still quicker than by hand though). Shame there isn't a way to do this sort of checking of data en-masse.

Or maybe there is but I'm not smart enough to know how!

lasco
01-19-2005, 01:46 PM
True that the loop could be long for huge models.
Though the array point selection tool is quite near of this and
can work fast if not with thousands points.
Also I though another way than "looping" could be used :
using an automtical process including the VOLUME box selection mode.
Theorically I could work just like this besides but the issue
is that the differences of scales are too strong in my models :
My selection sets concern points placed in tens of centimeters
on Y axis, while X and Z distances between points are in hundreds
of meters… too large for an accurate use of the volume selection
by hand, but if a script used this method (creating a selection
box that you can size numerically then select all the points within this box)
it could go fast…

Well anyway I don't even imagine writting a script myself so if someone
thinks the idea is possible to do not in too much time…