Timeline for How to replace object with keeping it dimmensions / how to change dimension of an object to scale value
Current License: CC BY-SA 4.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 29, 2020 at 9:09 | comment | added | JakubPelka | new branch over here: blender.stackexchange.com/questions/188193/… | |
Jul 29, 2020 at 8:52 | comment | added | jachym michal | Yes, if all cubes have a different scale, it get's more complicated :) Again, post it as a new question, add the #script hashtag, and you'll have better chance of getting a relevant answer :). Don't forget to include all this new info. | |
Jul 29, 2020 at 8:38 | comment | added | JakubPelka | Now I saw the other comment - your solution works but only if we have unified size of the cube. If every cube in the scene would have different dimensions, than it has to be performed for single cube. And it is not so easy to update in a time... I am trying to reuse city data about vegetation to have them quite up to date in a 3D visualisation for ArchViz purposes. | |
Jul 29, 2020 at 8:38 | comment | added | jachym michal | Right :). Please post this as a new question (you can link this one to provide context). There are many experts on scripting on this site, and they'll surely help :). | |
Jul 29, 2020 at 8:32 | comment | added | JakubPelka | I am now having custom properties with Z - height value for every object, and R- radius value for every object. I am thinking about creating custom script for transform.resize, but have no idea how to access data from custop properties tab. bpy.ops.transform.scale(value=(R,R,Z), orient type='GLOBAL' etc .... I attach my blend file to show the project (part of it) drive.google.com/file/d/14YYIZERVTDGy6ghfRVYXh6gvjtctI7or/… | |
Jul 29, 2020 at 8:17 | comment | added | jachym michal | Well, it should work the same no matter the object count. Are you running into any issues? :) | |
Jul 29, 2020 at 7:48 | comment | added | JakubPelka | Hi, your solution looks well for a small amount of objects. For me - the main problem is that we are talking about ca. 5000 individuals. | |
Jul 28, 2020 at 12:53 | history | answered | jachym michal | CC BY-SA 4.0 |