[Sidefx-houdini-list] new points at center of poly faces
rangi at kanuka.com.au
Wed Mar 30 03:34:10 EDT 2011
The add sop is used to add a single point at the origin. forgot that bit.
On 30 March 2011 17:33, Rangi Sutton <rangi at kanuka.com.au> wrote:
> add sop.. copy sop with nprims("../PRIM_SRC") in the num copies, and in
> translates use prim("../PRIM_SRC", $CY, "P", 0).
> Make an asset. Forget about it. Maybe python does this better.
> Actually, I think there's an asset in that toolbox that was posted the
> other day that does this.
> scaling prims to zero does work though.. can be a problem if you have
> identical prims.. since they'll fuse.
> On 30 March 2011 17:24, Miles Green <Miles.Green at al.com.au> wrote:
>> I need to efficiently get a new point at the center of all my current
>> poly faces..
>> i'm sure there are multiple ways to do this, but my current method of :
>> [input polygons]-->[facet(uniquepoints]->[primitive (scale to 0.001)]->
>> is a little slow..
>> any other suggestions appreciated
Rangi Sutton Kanuka Studio Pty Ltd
rangi at kanuka.com.au http://www.kanuka.com.au/
Studio +61 (0)7 3139 1040 35 Dover St. Albion
Mobile +61 (0)4 1521 1280 QLD 4010 Australia
More information about the Sidefx-houdini-list