[Closed] BBox Question! Please HELP!!!
Thank you Denis for your interest and for your help! I mentioned from the begining
PS:In case, the object is rotated in a such a way, that a corner is downside, and 3 bottom planes have identical values on z axes, then the script should select as bottom any of them!
The only thing, is that I could not explain better then you – with this code!
In fact the tool should work with groups and objects for interiors that will be places on the walls, tables and so on! There are cases when I download a wall picture for example, I rotate it as it should be, then when I want to place it on the wall – it was rotating somehow else! Now with the script that PolyTools3D wrote it will be easier to implement that script!
Thank you so much once again!
delete objects a = box width:10 length:10 height:10 a.pivot = a.min a.pos = [0,0,0] tm = matrixfromnormal (normalize (a.max – a.min)) a.transform *= inverse tm
that’s an interesting object denis it will crash the MNMesh InitMap function!
maybe not just some iffy coding