RFE polywire SOP

   3602   3   1
User Avatar
Member
387 posts
Joined: July 2005
Offline
RFE for Polywire SOP

Perhaps there should be an option to use the input curve's normals?

AFAIK, presently, to do this, you need to enable the “Joint Upvector” option
and then enter the following 3 expressions for NX, NY, NZ:

point(“../pwInput”, $PT, “N”, 0)
point(“../pwInput”, $PT, “N”, 1)
point(“../pwInput”, $PT, “N”, 2)

Where “pwInput” is a Null SOP going into the Polywire SOP (to avoid clazy feedback/self-referencing).

It seems like this is what you'd normally want, so a toggle: “Use Wire Normals” might help.

cheers,
ben.
''You're always doing this: reducing it to science. Why can't it be real?'' – Jackie Tyler
User Avatar
Member
2199 posts
Joined: July 2005
Online
What's wrong with just putting $NX,$NY,$NZ in the upvector parameter?
The trick is finding just the right hammer for every screw
User Avatar
Member
50 posts
Joined: Sept. 2006
Offline
I havn't tried, but if what simon suggests works for you, you can just add it as a preset for the PolyWire SOP.
User Avatar
Member
387 posts
Joined: July 2005
Offline
Simon
What's wrong with just putting $NX,$NY,$NZ in the upvector parameter?
omg. haha! yes. nice. thx simon. I just RTFM:
The four numerical parameters support all the local variables of the Point operation, plus the LSYSTEM specific variables of $WIDTH, $SEGS, $DIV, $LAGE, $GEN, and $ARC.
the docs need an update; there's more than four “numerical” parms.
Change “the Point operation” to “the Point SOP”?

ofer
… you can just add it as a preset for the PolyWire SOP.
Indeed! It's tempting to set it as a “permanent default” but they're ticking timebombs. Just when you get used to them, they're gone with the next version of Houdini (or you give another user a script with an opadd - boom!).

btw i noticed an “LSYSTEM” option in the presets menu.. Interesting.

b.
''You're always doing this: reducing it to science. Why can't it be real?'' – Jackie Tyler
  • Quick Links