delete/dissolve polyline/edge in VEX?
7259 3 0-
- MathieuLeclaire
- Member
- 79 posts
- Joined: 2月 2008
- オフライン
-
- MathieuLeclaire
- Member
- 79 posts
- Joined: 2月 2008
- オフライン
I think I understand. It really depends on the context. I have a primitive per polyline so a simple removeprim works in this case. If a primitive has multiple polylines, I need to create new primitives that won't contain the polyline I'm trying to remove.
I'm starting to wrap my head around this. If anyone has suggestions for documentation/tutorials on how to manage geometry in VEX, feel free to share and I'll look into it.
I'm starting to wrap my head around this. If anyone has suggestions for documentation/tutorials on how to manage geometry in VEX, feel free to share and I'll look into it.
-
- BabaJ
- Member
- 2164 posts
- Joined: 9月 2015
- オフライン
The last argument of removeprim() when set to one removes the points of that primitive.(if no other primitive owns the point/s).
If you set it to zero, the points of that primitive are kept, so in your case you will be able to create a new primitive out of the points of your choosing left afterwards.
If you set it to zero, the points of that primitive are kept, so in your case you will be able to create a new primitive out of the points of your choosing left afterwards.
Edited by BabaJ - 2018年4月18日 12:22:32
-
- smoluck
- Member
- 21 posts
- Joined: 2月 2017
- オフライン
MathieuLeclaire
I think I understand. It really depends on the context. I have a primitive per polyline so a simple removeprim works in this case. If a primitive has multiple polylines, I need to create new primitives that won't contain the polyline I'm trying to remove.
I'm starting to wrap my head around this. If anyone has suggestions for documentation/tutorials on how to manage geometry in VEX, feel free to share and I'll look into it.
did you removed the code you've used ?
i'm searching for that too, but can't find an answer now in your post Mathieu.
-
- Quick Links


