Cynthia Desgagné
CynthiaDesgagne
About Me
Connect
LOCATION
St-Jean-sur-Richelieu,
Canada
WEBSITE
Houdini Skills
Availability
Not Specified
Recent Forum Posts
Created points are not in proper order Aug. 12, 2025, 12:01 p.m.
Thank you animatrix_, the Sort Node makes a lot of sense. Looking at the documentation, I'll use sort "by attribute" with the distance between the point and the first point. It should now always be perfect.
Created points are not in proper order Aug. 12, 2025, 8:04 a.m.
Thank you BabaJ for your answer. I removed all the irrelevant stuff from my file, so I hope my files can be useful, as you suggested. For simplification's sake, I am simply adding a box in lieu of the window, and some parameters for my asset have been removed.
To see my issue, swap between -1 (correct) and 1 (incorrect) for Central Offset on the AddWindows node. Values of more than 2 are also correct.
To see my issue, swap between -1 (correct) and 1 (incorrect) for Central Offset on the AddWindows node. Values of more than 2 are also correct.
Created points are not in proper order Aug. 8, 2025, 9:11 a.m.
I'm making a little Digital Asset that adds a variable number of windows to a primitive. I do this by adding segments to the primitive, creating central points for each segment and using copy to points to place my windows. This works great.
I recently added a parameter to add empty segments on either side and I used an attribute wrangle to simply remove the extra points. It works, except when I want the rightmost space empty (centerOffset = 1), because when I create a central point for each wall segment, the rightmost one isn't the last one as one would expect.
I could cheat it, but I would rather find an elegant solution to this problem, so I'm open to suggestions.
I recently added a parameter to add empty segments on either side and I used an attribute wrangle to simply remove the extra points. It works, except when I want the rightmost space empty (centerOffset = 1), because when I create a central point for each wall segment, the rightmost one isn't the last one as one would expect.
I could cheat it, but I would rather find an elegant solution to this problem, so I'm open to suggestions.