polyexpand2D + boolean = bad result!
1975 7 0- olivierth
- Member
- 1004 posts
- Joined: April 2017
- Offline
Hi!
I was using a boolean to cut the shape of the floor through the wood planks. Both geos are 2D and the boolean was working. When I decided to “shrink” the shape of the walls by adding a polyexpand2D sop right before the boolean, it stopped working. The result of the boolean is zero points.
I uploaded a simpler version of a circle through a grid. The same problem happens
I was using a boolean to cut the shape of the floor through the wood planks. Both geos are 2D and the boolean was working. When I decided to “shrink” the shape of the walls by adding a polyexpand2D sop right before the boolean, it stopped working. The result of the boolean is zero points.
I uploaded a simpler version of a circle through a grid. The same problem happens
Edited by olivierth - Feb. 4, 2019 08:13:28
- robsdesign
- Member
- 236 posts
- Joined: March 2015
- Offline
I'm not sure why it happens but if you compare the Y size of the circle, transform and polyexpand you'll see it's off zero on all except the circle. You can add a transform sop after the polyexpand and scale Y to 0 or use a match size sop but neither return it to zero. (But close enough that the Boolean works again)
- olivierth
- Member
- 1004 posts
- Joined: April 2017
- Offline
- vusta
- Member
- 555 posts
- Joined: Feb. 2017
- Offline
- olivierth
- Member
- 1004 posts
- Joined: April 2017
- Offline
- voidcoder
- Member
- 12 posts
- Joined: May 2023
- Offline
Banging head against the wall for several hours now. Same issue. PolyExpand2d produced geometry will always mess boolean ops.
I have a curve which I first need to expand then crop using another randomly shaped 2D mesh as a mask. If I use PolyExtrude on the curve the produced mesh will work fine with any boolean ops. However if I use PolyExpand2d the boolean becomes broken. Trouble is PolyExtrude doesn't quite work for what I need this for, need PolyExpand2d for uniform expansion on both sides of the curve.
Any ideas what is going on please?
I have a curve which I first need to expand then crop using another randomly shaped 2D mesh as a mask. If I use PolyExtrude on the curve the produced mesh will work fine with any boolean ops. However if I use PolyExpand2d the boolean becomes broken. Trouble is PolyExtrude doesn't quite work for what I need this for, need PolyExpand2d for uniform expansion on both sides of the curve.
Any ideas what is going on please?
- CYTE
- Member
- 678 posts
- Joined: Feb. 2017
- Offline
- voidcoder
- Member
- 12 posts
- Joined: May 2023
- Offline
-
- Quick Links