aurawind2k

aurawind2k

About Me

Connect

LOCATION
Not Specified
ウェブサイト

Houdini Engine

Availability

Not Specified

Recent Forum Posts

Curve SOP question 2008年11月14日12:05

I have a curve sop and want to adjust the points via a python script but I don't know how to “cook” the geometry. How do I go about cooking that geometry so that my script works?

Object Model question concerning points 2008年11月12日15:46

I would like to create a script that given a curve SOP I can adjust their points' position in code but I can't figure out how to do it. Is there a way to do this? I tried the following code but I was getting a Geometry readonly error.

curve = hou.node('/obj/SampleCurve/curve1')
geo = curve.geometry()
pts = geo.points()
pt = pts
pt = pt + .01
pts.setPosition(pts,pt)