Multiple scalar to coordinate

To post any request/idea for new functionalities
Post Reply
mariolino
Posts: 36
Joined: Fri Sep 08, 2023 11:10 am

Multiple scalar to coordinate

Post by mariolino »

hello Daniel

I would like to ask you because I would really need it, the possibility of setting the coordinates from the scalars, not like now that you have to do one coordinate at a time, but like you did recently for the normals, where a box is proposed and in a few steps you can assign all coordinates. I use it a lot because I do calculations between the scalars and calculate new coordinates which I then need to assign!

thanks
Mariolino
daniel
Site Admin
Posts: 7779
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Multiple scalar to coordinate

Post by daniel »

That's now done!

You can test that in the latest 2.13.beta version.

Mind however that it will only work if you select one entity at a time.
Daniel, CloudCompare admin
mariolino
Posts: 36
Joined: Fri Sep 08, 2023 11:10 am

Re: Multiple scalar to coordinate

Post by mariolino »

Thank you Daniel, many thanks, it works very well !!!
mariolino
Posts: 36
Joined: Fri Sep 08, 2023 11:10 am

Re: Multiple scalar to coordinate

Post by mariolino »

hello Daniel,
is it possible to extend the functionality of ‘set SFs as coords’ with the possibility of directly imputing in X,Y,Z a real number (in addition to the possibility of choosing a scalar) to be assigned directly to all coordinates, it is very useful for speeding up certain tasks such as flattening a cloud on a plane with z assigned, for example.
Thank you
Mario
daniel
Site Admin
Posts: 7779
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Multiple scalar to coordinate

Post by daniel »

Ah, that would be more logically be done in two steps (first create a 'constant' SF, and the map it to the coordinate).

But to flatten out a cloud, it's maybe faster to use 'Edit > Multiply / Scale' and set 0 for the dimension to flatten. And then you can 'translate' the cloud if you want to shift it to a particular Z value for instance.
Daniel, CloudCompare admin
mariolino
Posts: 36
Joined: Fri Sep 08, 2023 11:10 am

Re: Multiple scalar to coordinate

Post by mariolino »

Another system is with the 4x4 matrix to put the 3.3 member at 1e-20. Then apply a translation with the 3,4 member .

I am already using all these methods......
The fastest thing would be to do it directly from ‘set SFs as coords’ ......
Thank you very much from now on if you get a chance to implement it ....
Thanks
Mario
Post Reply