Translate objects into the third dimension.

Wire Rigging

Project : Modeling

Here is a great technique I used to make a wire with maya. This sounds like a simple task but the trick was I want to make an uninsulated piano wire with all of the individual wires are exposed.

Wire Rigging Wire Rigging

The requirements for the wire I needed was it had to be constructed for use over and over in different scenes and maintained it's proper proportions during manipulation. Using simple curves and connection editor I was able to achieve these requirements.

To start off I made the cross section of the wire. After examining it I noted that there was 7 smaller wires making this wire. One wire is in the middle and the other 6 wrapped around it. That makes for an easy construction.

Make a NURBS circle, move it in the X direction one diameter length. Change the rotating pivot point back to the world space origin. The world space origin is also the center of the initial circle.

Wire Rigging

Then duplicate it 5 times while rotating it 60 degrees on the Z axes.

Wire Rigging

Make a larger circle 3x the diameter and put that on another layer. You'll use that as a low rez version. Also add the center circle and put that on another layer. Most of the time you'll not see the center wire but you might at the ends.

Wire Rigging Wire Rigging

Layout the path of the wire by using create -> CV curve tool. After creating the desired path I rebuild the curve to insure proper Parameter Range (0 to 1) and number of span. After that, add an arcLengthDimension node at the end of the curve by create -> messure tools -> Arc Length Tool or by using this MEL "arcLengthDimension curve1.u[1] ;"

Wire Rigging Wire Rigging

Now extrude the circles along the path. You can do it all at once if you select all of the circles and then the path last then extrude.

Wire Rigging

To get the proper rotation based on the length you need to connect the Arc Length to the Rotation. Open the connection Editor and load the arcLenthDimensionShape node on the left and a extrude node from one of the new extruded shapes. Connect Arc Length to Rotation.

Wire Rigging

To adjust the ratio of the rotation to the length of the wire simply adjust the conversion node. To find that node, open the hypergraph and load the network for the extruded surface. You'll see that there isn't a node between the arcLength and the extrude node but there is a dashed line. Mouse over the dashed line and it shows unitConversion not the I/O of that connection as normal. This is because the dashed line indicates it is an auxiliary node. Show -> Show Auxiliary Nodes to see the unitCoversion node.

Wire Rigging Wire Rigging

Select the node and you'll see in the attribute editor a single variable that you can adjust.

Wire Rigging

Now when you adjust and tweak your CV's of the path you'll maintain the proper rotation scale.

Wire Rigging Wire Rigging

Permalink |

Projects

Miscellaneousness

Last Updated : 2009-02-16 21:06:21

From 'What's on Ian's mind' to oddities and information.

Classic Art Studies

Last Updated : 2008-01-11 14:30:47

Drawings, Painting, Photography and Sculpture.

Gallery

Last Updated : 2006-12-06 09:05:02

Finial Renderings.

Textures

Last Updated : 2006-11-11 10:34:07

The heart of a good rendering is textures. Here are my current texture studies.

HDRI

Last Updated : 2006-10-27 18:13:19

High Dynamic Range Image - I'm making HDR images for image based lighting.

Modeling

Last Updated : 2006-08-08 22:10:30

Translating objects into the third dimension.