[Geometry Nodes] blosm_init_data #90
vvoovv
announced in
Documentation
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Panel "Mark points for modification"
The points to be modified in the original geometry are marked here with the boolean attribute
modify_point
.First, a boolean value for each point in the duplicated and merged geometry is calculated as follows. The value is set to True if:
is_spline_endpoint
(set before the geometry duplication and vertex merge) is equal to True.AND
Otherwise the value is set to False.
Then for each point in the original geometry where
is_spline_endpoint
is equal to True, the nearest point in the duplicated and merged geometry is found (the nodesSample Nearest
andSample Index
) and the value described above is set as the boolean attributemodify_point
. For the rest of the points in the original geometry (whereis_spline_endpoint
is equal to False) the attributemodify_point
is setFalse
.Panel "Store unit vector to the next point (2)"
A unit vector to the next point is calculated and store as the attribute
unit_vector_next
for the merged points. The condition to find those merged points is defined as follows:is_spline_endpoint
(set before the geometry duplication and vertex merge) is equal to True.AND
Beta Was this translation helpful? Give feedback.
All reactions