Hi guys, i’ve made a small addon to help me up with my everyday tasks, and wanted to share it.
Because i deal with architecture design and mostly cubic shapes, i thought it would be nice to have a more precise scale/strech tool, so i made an effort to make something like a cage-scale command. The basic blender scale function was a little bit too arbitrary for my needs, so this one uses a fixed point for scaling and a snap function for stretching. It works in object mode and is best with things such as boxes, beams, windows, table-tops and so on. My knowledge of python is very basic and the code is quite primitive, but it seems to work so far…
Just unzip the package, put NP_cage_scale.py to your addons_contrib folder and activate it in the UserPref.
Select one or more objects and spacetab-search for NP_cage_scale operator. In short - Select, run operator, pick mode and transform
It uses some modal listeners, so it is a bit on the slow side… But so far this is the best i could do
Don’t be confused when the mode cage appears all by itself, it is suppose to do that. Explore the mode options by snapping to the points of the cage. When in stretch mode, you can use snap. Addon also reacts well to orthographic views and interruption with ESC, RMB, ENTER and so on (many thanks to CoDEmanX and lukas_t).
Maybe it is best to consider this as an operator prototype, a command mockup I need some help on improving it eventualy and i would like to hear what you think…
Attachments
NP_cage_scale_016.py.zip (6.25 KB)NP_cage_scale_017.py.zip (6.82 KB)