How to add polygons faces between curves?

   887   4   1
User Avatar
Member
2 posts
Joined: Nov. 2023
Offline
Hello Houdini Community,

I'm a beginner. Would anyone be able to let me know how I can procedurally add a polygon face to each side of the deformed box in the attached file?

Attachments:
boxhelp.hiplc (118.2 KB)

User Avatar
Member
269 posts
Joined: Aug. 2018
Offline
File attached with a couple of simple alternatives.
Image Not Found

This is trickier than you might think. How would H know how to build the polygons? Ie, which points to connect in what order?
The polygon elements of H are set up differently to other 3D softwares - so It is a wise investment of your time to learn and understand the difference between points and vertices (two different things in H), edges, and polygons.

Here's a starter:

https://tokeru.com/cgwiki/Points_and_Verts_and_Prims.html [tokeru.com]

If you are bringing in an iges file... H has (sadly) very poor facilities. I'm not sure what iges version it supports.
Edited by Mike_A - Sept. 16, 2024 17:26:26

Attachments:
boxhelp_02.hiplc (120.7 KB)

User Avatar
Member
2 posts
Joined: Nov. 2023
Offline
Thanks so much for your help. The Add SOP did the trick. Can this application of the Add SOP be 'piecewise-looped' across similar cube-like geometry?
User Avatar
Member
269 posts
Joined: Aug. 2018
Offline
Sorry for the late response - not been around for a few days.

H has multiple 'for loop' SOP's - but you're still faced with the same issue: How do you identify the logical units / points to connect?

Let's take a different approach: What's your aim here? Are you trying to import IGES / CAD geo, or something else? Maybe there is a better way to approach what you need to do?
Edited by Mike_A - Sept. 22, 2024 14:39:08
User Avatar
Member
395 posts
Joined: April 2018
Offline
Like Mike_A said, it's not apparent what your end goal is, so this may or may not be applicable to you:

Attachments:
Enter_a_filename.png (422.6 KB)

  • Quick Links