MoI discussion forum
MoI discussion forum

Full Version: Boolean problems on planar surfaces

From: Joaco Cardoso (JOAQUIN_CARDOSO)
27 Oct   [#1]
Hi!

I'm having a recurrent problem in MoI and can't find a solution despite searching everywhere.

I'm currently working on a house model intended for 3D printing. Problems arise when I try to boolean union planar solids. I'm attaching images of the solids I want to union and the result after the operation, which shows edges that shouldn't appear. I still get a solid but usually run into errors while working on it further.

I can find a solution when working with surfaces rather than solids, but it's extremely time-consuming. I would really appreciate it if anyone knew another way to solve this.

I'm also attaching the .3dm file.

Thanks!





Attachments:
Boolean error.3dm

Image Attachments:
Boolean errors on planar surfaces 1.jpg  Boolean errors on planar surfaces 2.jpg 


From: val2
27 Oct   [#2]
Joaco,
I would pull the walls up without the door breaks and add boxes where the doors are and boolean them out after. It's much easier than adding in the header.
I build my curve lines with the rectangle where I can and then either trim them or boolean them or separate them to build the curve walls. that way I can guarantee they are straight. Many times I think the walls are straight and they will be out by some small amount making it difficult to make a nice looking wall. If I'm in doubt about straightness of curves I use the align tool with the points.

Val
From: Michael Gibson
27 Oct   [#3] In reply to [#1]
Hi Joaco, if you zoom in pretty closely to this area it looks like the surfaces are not quite aligned on that side. They seem to be aligned on the other side so this surface is probably at a slight angle.





- Michael

Image Attachments:
joaco_house1.png  joaco_house2.png 


From: Michael Gibson
27 Oct   [#4] In reply to [#1]
There's an internal surface here, this is probably what is messing up further booleans:





- Michael

Image Attachments:
joaco_house3.png  joaco_house4.png 


From: Michael Gibson
27 Oct   [#5] In reply to [#1]
Hi Joaco, here's a version with that problem area fixed up. It looks like the rest of the model is ok.

I did the fix by deleting the walls in that area and making new ones by drawing in 2 lines, extruding them and using Edit > Trim to cut them, then Edit > Join:







Booleans should be ok on it now that there aren't any overlapping internal surfaces anymore.

- Michael

Attachments:
Boolean error2_3dm.zip

Image Attachments:
joaco_house5.png  joaco_house6.png  joaco_house7.png 


From: Frenchy Pilou (PILOU)
27 Oct   [#6]
I will use something like that
draw closed surfaces (rectangles, polylines etc...
Trim each closed lines
Planar each closed lines for make each surface
Each surround surface with a name + color
Will be more easy as soon as project has more than 2 pieces! :)



then Flat Lines by Max Smirnov https://moi3d.com/wiki/MaxScriptArchive
Extrude
all walls are solid and can will be Booleaned...and very easy to snap at the good hight...
And calculate surace a game boy! ;)
In fact you can recreate SketchUp inside Moi3D! ;)


From: Larry Fahnoe (FAHNOE)
28 Oct   [#7] In reply to [#1]
Hi Joaco,

I second Val's suggestion to cut doors and windows into walls that have been extruded. Some time back I wrote a script to help with that: https://moi3d.com/forum/messages.php?webtag=MOI&msg=10907.1

--Larry
From: Michael Gibson
28 Oct   [#8] In reply to [#7]
Also subset booleans can help with stuff like this.

That's where you can select just some faces on the base object like here just the 2 vertical planes for this wall, and the boolean will only cut those faces.





- Michael

Image Attachments:
joaco_house8.png  joaco_house9.png 


From: Frenchy Pilou (PILOU)
30 Oct   [#9]
See this post for a new version of Fat Lines! ;)
https://moi3d.com/forum/index.php?webtag=MOI&msg=7594.49


From: Joaco Cardoso (JOAQUIN_CARDOSO)
31 Oct   [#10]
Hi,

Thanks a lot to everyone! It's great to know MoI has such a supportive community. I guess I need to change my workflow to avoid these problems. In this case, I imported the original CAD plans provided by my client to model the house, but they seemed to come with some errors. All the information and tools you shared are of great help. Thanks a lot, guys. I've been struggling for quite some time with this.