ノードを作る
node = hou.node(“/obj”)
node.createNode(“geo”)
ポリゴンを作る
node = hou.pwd()
geo = node.geometry()
point0 = geo.createPoint()
point1 = geo.createPoint()
point0.setPosition((0, 0, 0))
point1.setPosition((10, 0, 0))
polygon = geo.createPolygon()
polygon.addVertex(point0)
polygon.addVertex(point1)