I am currently working on recreating a city in Blender. I have two 3D versions of this city: the first one comes from my lidar data, therefore it is deformed and very "raw". The second one is a clean 3D version (a simple extrusion of the buildings from an openstreetmaps map), but the buildings do not have the good height.
I am very new to using python with 3D objects, but do you think it is possible to make a script that would make my clean 3D buildings automatically take the height of the buildings of the raw lidar version?
I would imagine, as an example, a script that would make my two objs have the same height when the x and y coordinates are equal?
I would appreciate any help, even by just telling me "where" I should look at to find answers.
Thanks in advance
EDIT 2: I applied a shrinkwrap modifier, and the elevation infos seem to be correctly aquired by my "clean" buildings. However, they are slightly deformed on the x and y axis. Is there a way to apply this modifier only on the height of my objects (Z axis) and not on the x and y axis?