Is there any way to add a primitive to a geometry through python?

   896   1   0
User Avatar
Member
159 posts
Joined: 2月 2018
Offline
I find there's no such hou.Geometry().addprim() method, and only hou.Geometry().merge(geometry), which can merge two geometry, but what if I want to merge a primitive to a geometry or construct a geometry with a primitive, is there any way to do that?
Thanks.
User Avatar
Member
8619 posts
Joined: 7月 2007
Offline
EricSheng
I find there's no such hou.Geometry().addprim()
what kind of primitive you want to create? for polygons there is:
hou.Geometry.createPolygon()
hou.Geometry.createPolygons()

there is a few others for packed, nurbs, volume, …
www.sidefx.com/docs/houdini/hom/hou/Geometry.html
Tomas Slancik
FX Supervisor
Method Studios, NY
  • Quick Links