How to create Window Mullion from Base Grid

   2119   4   1
User Avatar
Member
4 posts
Joined: Nov. 2018
Offline
hi guys, Im new to houdini.

been trying to create a window mullion from a simple base geometry (Grid) and window profile (Primitive Plane)

so far I have managed to copy the window profile into the modified Grid points (see attached). but then I dont know how to “bridge” those primitives to form a vertical Mullion.

I have attached the screenshot that I made so far.

would want to make this a digital asset so that it will work on any form of grid that will be plugged into.

appreciate for the help. thank you

Attachments:
connect all polygons.JPG (204.8 KB)
connect all polygon.hipnc (67.3 KB)

User Avatar
Member
4 posts
Joined: Nov. 2018
Offline
Any help guys?
User Avatar
Member
240 posts
Joined: March 2015
Offline
Hi, you could try the following;

- Add a Sort sop before copy. (example is sorted by X)
- Use a Skin sop after copy. referencing the number of grid rows for Groups of N.
- Add polycap at the end (optional)

If you can't directly use the Grid Rows as a reference, you'll need to figure out a way of calculating it.

Another option would be to use a sweep sop instead of copy to points.

Attachments:
Skin_Connect.jpg (59.5 KB)
connect_all_polygon_RS.hipnc (86.8 KB)

User Avatar
Member
4 posts
Joined: Nov. 2018
Offline
robsdesign
Hi, you could try the following;

- Add a Sort sop before copy. (example is sorted by X)
- Use a Skin sop after copy. referencing the number of grid rows for Groups of N.
- Add polycap at the end (optional)

If you can't directly use the Grid Rows as a reference, you'll need to figure out a way of calculating it.

Another option would be to use a sweep sop instead of copy to points.



Many Thanks for the great suggestion! this work perfect for me do u mind if I ask another question?

1. Is it possible to create Group based on specific pattern in point numbers, for example:
I have a grid of 4x4 so there will be point number list as below:

{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15}

and I want it to be clustered into 4 groups:

Group 1: {0, 1, 2, 3}
Group 2: {4, 5, 6, 7}
Group 3: {8, 9, 10, 11}
Group 4: {12, 13, 14, 15}

2. Second question, is it possible to shift or change point number sequence in houdini? perhaps if I want to flip a grid mattrix such as:

|0 1 2|
|3 4 5|
|6 7 8|

to change into:

|0 3 6|
|1 4 7|
|2 5 8|

basically flipping the matrix.


many thanks Robs!
Edited by JangRony - Nov. 30, 2018 07:04:34
User Avatar
Member
240 posts
Joined: March 2015
Offline
Hi, I've attached another screenshot and hip file.

For the first question, I've shown a couple of methods but I expect there are better ways to do it.

1st is more procedural;
- Sort Points by X
- Use Add to connect Points referencing number of rows
- Use Assemble to create multiple groups
- Promote those groups to points
- Copy group back to grid.

2nd is less procedural;
- Sort Points by X
- Group by range referencing rows, points and previous offset.

1st will handle rows with the Add sop and columns with Assemble.
2nd will handle rows with the range but the columns needs to match number of groups. (by adding more groups to the range manually)

For the second question, this is essentially what I'm doing with the Sort sop in both examples. It's changing the point order using X. There are quite a few options for Sort (like shift, proximity, reverse etc) so it might be worth looking into it.

Rob

Attachments:
Groups_sample.jpg (74.9 KB)
Groups_sample.hiplc (142.4 KB)

  • Quick Links