Scripts done during tutorial

Create a line with inputs

input=hou.pwd().inputs()[0]
points=input.geometry().points()

pos1=points[0].position()
pos2=points[1].position()

pos1_str=str(pos1)[1:-1]
pos2_str=str(pos2)[1:-1]

x=pos1_str+” “+pos2_str
return x

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s