* Visualize the width of the wire object(s) and be sure its a reasonable size
* Wire points must be reasonably spaced apart. Not to many points and not too few points
* Some key basic attributes that allow better manipulation of the wire object in SOPS are: width, klinear, damplinear, kangular, dampangular, targetstiffness and targetstiffness
* Think of the wire object as having two distinct behaviours – stretching(klinear) and bending(kangular).
– Depending on the material, the wire object can oscillate while stretching(damplinear) and/or oscillate while bending(dampangular)
* Use a uvtexture node to get a normalized mapping of values (0-1) along the wire object. Set Texture type to ‘Rows & Columns’ and attribute class to point.
* Use this wrangle code to remap the values to an attribute:
f@f_uv = firstname.lastname@example.org;
f@f_uv = chramp("uv_ramp",@f_uv);
* If you notices a wiggly behaviour on the wire object, it is most probably because of the oscillating forces. Either the wire is oscillating too much while stretching or bending. Introduce some damping, damplinear or dampangular as the case may be.
* If you want the wire object to be reluctant to any of the forces, play with the targetstiffness and targetdamping attributes. The wire will then quickly go back to rest. targetstiffness will make the wire reluctant to move from its initial position while targetdamping will make it appear reluctant to oscillate.
* This wrangle code lets you create multipliers for the key wire object attributes:
f@klinear = fit(f@f_uv,0,1,chf("min_klinear"),chf("max_klinear"));
f@damplinear = fit(f@f_uv,0,1,chf("min_damplinear"),chf("max_damplinear"));
f@kangular = fit(f@f_uv,0,1,chf("min_kangular"),chf("max_kangular"));
f@dampangular = fit(f@f_uv,0,1,chf("min_dampangular"),chf("max_dampangular"));
f@targetstiffness = fit(f@f_uv,0,1,chf("min_targetstiffness"),chf("max_targetstiffness"));
f@targetdamping = fit(f@f_uv,0,1,chf("min_targetdamping"),chf("max_targetdamping"));
*Remember to substep when needed (also ‘Max Collision Resolved Passes’ on the wire solver)