PDA

View Full Version : rounding of point values


jupussi
01-28-2004, 10:22 AM
Hello

Is there a way to round many point values simultaneously according to grid value?

lets say I have point that x= 1.0028m

I want to set it exactly to 1m. I can do this by ctrl-v or i for one point. Or if I have many points that have different y and z, but x is the same. The ctrl-v or i works for the x again.

But If I have thousands of points that I want to align to grid precisely. So the points don't have common values, but need to get them aligning to the grid.

I usually use the Grid Snap:fixed when creating the model, but sometimes I forget that and later have to set point values by hand.

Bushmsn
01-28-2004, 10:50 AM
Can you use set value

jupussi
01-28-2004, 11:15 AM
The Set value (ctrl-v) is good when point need to be in some fixed value and you know what value it is.

I need the points to round to nearest grid value. I don't care what the value is exactly, just as it is in the same grid.

example: I have a grid setting of 10mm. Then I have lots of points that have values like:
x: 10,0056mm
x: 19mm
x: 491,1mm

Then I want them to be:
x: 10mm
x: 20mm
x: 490mm

All in one push of a button! hmm, I think this more like a feature request if that functionality isn't in modeller?

Bushmsn
01-28-2004, 11:37 AM
Do the second set of numbers values need to be the ones you gave or could they be close? if so you might be able to use jitter

riki
01-28-2004, 05:26 PM
Try Quantize, maybe what you're looking for.

jupussi
01-29-2004, 03:57 AM
Quantize was exactly the tool that I needed. Thanks!