m_baarou
(M Baarou)
August 19, 2021, 4:31pm
1
Hi
I’m going to remove some cells near the surface but I guess some thing goes wrong! one of nearest cells still reminded and not removed. I don’t know why? how can I remove points surrounding an open Brep as a surface?
I wonder if anyone could guide me.
bests
00.gh (9.4 KB)
HS_Kim
August 19, 2021, 4:53pm
2
If you use list length as domain end which is 1050 in this case, 1050 equals item 0, so you always choose the first item…
00_re.gh (14.2 KB)
1 Like
m_baarou
(M Baarou)
August 19, 2021, 5:49pm
3
thank you very much @HS_Kim . I understood what you done. but when l want to construct a domain I don’t know why 1050 equals item 0?
HS_Kim
August 19, 2021, 6:02pm
4
First item index = 0
Last item index = 1049
so, if you wrap index to list bounds(by default = true), index 1050 = index 0
If you set the wrap input to “False” or list length count-1 as the domain input like the attached, you can avoid this problem…
00_rev2.gh (16.3 KB)
1 Like
m_baarou
(M Baarou)
August 19, 2021, 6:05pm
5
o… thank you very much @HS_Kim