Skip to main content
14 events
when toggle format what by license comment
Jul 4, 2022 at 13:13 comment added Anton @kglr, wow, cool stuff. How would you go about merging 3d polygons, like, say, two 3d triagles with common edge? tr1 = MeshRegion[{{0, 0, 0}, {1, 1, 0}, {1, 3, 0}},Triangle[{1, 2, 3}]]; tr2 = MeshRegion[{{2, 0, 0}, {1, 1, 0}, {1, 3, 0}},Triangle[{1, 2, 3}]];
Dec 5, 2020 at 12:08 comment added kglr @user64494, oh i (mis)interpreted "unite polygons" and "hole".
Dec 5, 2020 at 11:56 comment added user64494 No, think of the horizontal jont edge. Removing it, one obtains a polygon without holes and with the simply-connected interior. Of course, that polygon is not simple.
Dec 5, 2020 at 11:48 comment added kglr @user64494, if you combine the two green pieces the resulting shape will have a hole, no?
Dec 5, 2020 at 11:47 history edited kglr CC BY-SA 4.0
added 583 characters in body
Dec 5, 2020 at 11:17 comment added user64494 The result of gr1 in "Combined polygons cannot have holes" is not final yet: two green polygons can be combined.
Dec 5, 2020 at 11:15 history edited kglr CC BY-SA 4.0
added 558 characters in body
Dec 5, 2020 at 10:10 history edited kglr CC BY-SA 4.0
added 433 characters in body
Dec 5, 2020 at 9:59 history undeleted kglr
Dec 5, 2020 at 6:25 history deleted kglr via Vote
Dec 5, 2020 at 6:24 comment added kglr @user64494, thanks for the upvote. I was about to delete this answer because removing multiple holes requires a more complicated approach. Good question btw. I will post an update if I find a clean way to handle multiple holes.
Dec 5, 2020 at 6:07 comment added user64494 +1. Thank you for your interest to the question and your work. The results of gr1 and gr4 are not final and can be extended.
Dec 5, 2020 at 3:04 history edited kglr CC BY-SA 4.0
deleted 17 characters in body
Dec 5, 2020 at 2:59 history answered kglr CC BY-SA 4.0