User avatar
By deadalvs
#291202
hi ..

is it possible to have an object's attribute drive it's geometry ?

i am thinking about an input field (like the scale value) that drives for example the frame width in a window.

how's it possible or done best to create such intelligent objects without using construction history ?
User avatar
By DrMerman
#291220
Hey man :)

Something like this? :

http://www.drmerman.com/dump/windowFrame.mb

Basically, I've used the connectAttr command to connect the FrameWidth and FrameDepth attributes to the appropriate parts of the objects history, like this :
Code: Select all
connectAttr windowFrame.FrameWidth windowFrameWidth.localScaleX;
connectAttr windowFrame.FrameWidth windowFrameWidth.localScaleY;
connectAttr windowFrame.FrameWidth windowFrameWidth.localScaleZ;

connectAttr windowFrame.FrameDepth windowFrameDepth.localTranslateZ;
You might have to do some dynamic renaming in your script if you want multiple windows, but this should get you on your way.

Hope it helps!

Matt

It looks more like a smooth normal problem. Like i[…]

I had some very strong highlights in some material[…]

Daydreamer

Thanks everyone! I didn't want to use volumetrics […]

opening V5 files in v6

just installed latest version for Rhino V6 when I[…]