counterhas.blogg.se

Flexisign 12 bent shape
Flexisign 12 bent shape










flexisign 12 bent shape

Whether you are bending pipe for running electrical conduit or a metal project, calculating the bend for the start and end point can be an important factor.

FLEXISIGN 12 BENT SHAPE ZIP

It's more fun to play with as well, watching the skirt panels zip around, rotate, and even morph, in response to voice commands.Measurment a 90 deg. I'm also working on a rather more involved version, which is much more interactive and flexible in what it can do. Incidentally, LoopRez is a fairly bare-bones script. If ( llDetectedOwner ( 0 ) = llGetOwner ()) LlRezObject ( objectName, pos, ZERO_VECTOR, rot, 0 ) If ( n = ( numObjects / 2 ) ) // LSL's implementation of llRotBetween at theta = pi radians is reversed at 180 degrees, so this manually corrects it the scary formula calculates a unit vector TANGENTIAL to the ellipse, and llRotBetween is used to figure out how much the object needs to rotate to lie parallel to the tangent the following make the objects face outwards properly for an ellipse using theta alone is only correct for a circle Rot = rot * llEuler2Rot () // flare generation (poof) Rotation rot // rotation in quaternion formatįor( n = 0 n ) // user-chosen rotation offset correction Integer n // which object is being placed No need to mess with anything below here Vector rotOffset = // rotation offset in DEGREES - fixes the rotation of ALL objects for flexi prims, often you will want Integer numObjects = 12 // how many objectsįloat xRadius = 0.6 // ellipse x-axis radius in metersįloat yRadius = 1.0 // ellipse y-axis radius in metersįloat flareAngle = 30.0 // how many DEGREES the bottom of object will flare outwards, the "poof" factorįloat bendCoefficient = 0.0 // makes a "saddle shape", bends DOWN this number of meters at extremes of X-axis String objectName = "Object" // object to use will need to be in the inventory of the prim containing this script CONFIGURATION PARAMETERS, change these to your liking - even spacing of objects can be accomplished, but requires simulation of integral calculus, which slows down the script - i.e., objects "bunch up" at the long ends of an ellipse the effect should be acceptable for non-extreme ellipses

flexisign 12 bent shape

- this version does NOT insure equal spacing of objects along the perimeter of the ellipse 5) get out of Edit Mode, and touch the prim 4) put "Object" into the prim containing the script, by dragging it from your inventory 3) create an object that will be used, and name it "Object" 1) create a prim that will contain this script and the object to use - can also get a 'saddle' bend, to generate a bend that might help for necklaces (from Ariane Brodie) - properly handles object rotation corrections (for example, X-axis 180 degree rotation helps for flexi-prim skirts) - can set how much the objects flare outwards - all facing "outwards", along a tangent to the ellipse - rez a number of objects in an ellipse, whose size is determined by xRadius and yRadius LoopRez v0.6, by Ged Larsen, 20 December 2006 Please post any comments or suggestions you might have: Have fun! Please let me know if you find the script helpful (I'd love to see pics of any designs that benefited from the script), or if you have any suggestions.

flexisign 12 bent shape

adjusting the location where the ellipse of objects will be rezzed correcting the initial rotation of the object introducing a "bend" to the ellipse, to form a saddle shape that might be helpful for necklaces the angle that each panel flares outwards the radius of the ellipse along the Y-axis (side-to-side) the radius of the ellipse along the X-axis (front-to-back) the number of copies of the object in the completed ellipse watch it generate an ellipse with multiple copies of your object click on the prim containing the LoopRez script drag the "Object" from your inventory into the contents of the prim containing the LoopRez script chose an object to use and name it "Object" Further, the objects can optionally be made to flare outwards (i.e., panels of a skirt that hang straight down vs. Natalia Zelmanov has written an excellent tutorial on using the script to create skirtsĮach object faces "outwards" in the ellipse. Some uses might be to help place the panels of a skirt or beads of a necklace. This script helps place multiple copies of an object in a circular or elliptical shape.












Flexisign 12 bent shape