News:

When replying to a specific statement be sure to quote the previous post.

Main Menu
TurboCAD 2026 Platinum box
Now available

TurboCAD 2026.2

The latest update for TurboCAD 2026. It installs over any 2026 build and keeps your activation, drawings and settings. Get it from the Start Page or Help > Check for Update.

Strange Boolean Behaviou

Started by minuteman64, March 18, 2023, 11:50:53 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

minuteman64

Using TC Deluxe 2021.  Been struggling with this drawing for some time now and finally zeroing in on a last, remaining issue.

I have a part made up of multiple components and counter sunk screw holes.  In the attached PNG, #2 shows the result of adding all the components together and finishing with a subtract of the screw holes (view is Hidden Line).  The screw holes that were subtracted are #3.

All is well except the screw holes.  They don't look right in Hidden Line.  In Wireframe they show as holes from the top, but looking from the side there is no profile (kind of like "virtual" holes).  They also show as through holes in Render.  And, of course, my Slicer doesn't like the objectYou cannot view this attachment.You cannot view this attachment.   at all.

Image #1 shows the result of starting with the base and subtracting the screw holes (same screw holes, labeled #3) before adding any of the other components.  The holes appear to be "real" holes (can see the profile in Wireframe side view) and my Slicer gives a thumbs up.

So, I'm wondering if there is some sort of hierarchy that must be followed for Boolean operations (subtract first, then add?  other?) or if there is another issue.

Attached are the PNG and the actual TC file.

Andy H

I could only open in 2021 platinum.  But it showed the item in (1) as OK.  BUT.  The finished item (in 2), is a hollow shell.   TC didn't like one of the operations, and couldn't create a proper TC surface, so created a shell instead.

Try slicing it in half, and look inside.

minuteman64

Yep, it was hollow.  I went back and re-constructed the piece.  Starting with the base, I subtracted the screw holes.  Still a solid.  Then I added the other components.  All of the components showed as solid individually.  However, when I added everything together I had a hollow structure.  Next step:  add the components one at a time to see if a particular component is the culprit.  The good news - doing the screw hole subtract first seems to make Cura happier.  Don't know how it will print, but may as well give it a try.

minuteman64

Problem solved for now.  I have a bad component.  I can take the base, subtract the screw holes and add two of the components and everything stays solid.  When I add the third component (the one with the open "jaws" for inserting a hinge pin) the entire assembly changes from solid to hollow.

The component in question was the most complicated to draw - several add-on fragments to tweak the function/fit.  So, I likely have a problem somewhere in there.  I can now re-draw, using the existing component as a template and simplify the drawing considerably.  Hopefully that will do the trick.

minuteman64

Project complete (assuming it actually prints OK)!  Re-drew the questionable component.  Based on a comment I saw/received somewhere on here, that TC doesn't always play well with Simple Extrudes, I exploded all of the Simple Extrudes to Extrudes before performing any Boolean operations.  Don't know if it was that,or just the careful re-draw, but the part stayed solid through all of the component additions.  TC 3d print check now likes it and Cura now likes it.

minuteman64

Final update.  I forgot to add a couple of components that were made from Simple Extrude exploded to Extrude.  Did the add and ...... whoops ..... hollow again.  Blew up the 2d profiles from those components and found a very tiny error in both.  Re-drew and, finally, everything OK.

So, my conclusion on this project is that I need to take more care in my drawing.  Appears drawing errors were more of a factor than the Simple Extrude vs. Extrude.  Specifically, I had some 2d profiles that were supposed to be aligned to faces of 3d objects.  But I missed.  TC didn't seem to like just a slight bit of mis-alignment.

Jeff_in_90620

Quote from: minuteman64 on March 23, 2023, 11:08:47 AMBlew up the 2d profiles from those components and found a very tiny error in both.  Re-drew and, finally, everything OK.

What were the "very tiny" errors?


Jeff
Jeff

TC 2026 Pro Platinum plus 2015->2024 (most with LightWorks & RedSDK) & V21
System: AMD Ryzen 9 7950X, MSI Mag X670E Tomahawk WiFi, 64GB RAM @ 4.80GHz, ARC A770 w/16GB, 3 x Samsung NVMe 990 (1TB), Windows 11 Pro (64-bit)

Andy H

Quote from: minuteman64 on March 23, 2023, 11:08:47 AMFinal update.  I forgot to add a couple of components that were made from Simple Extrude exploded to Extrude.  Did the add and ...... whoops ..... hollow again.  Blew up the 2d profiles from those components and found a very tiny error in both.  Re-drew and, finally, everything OK.

Good to hear you got everything sorted.

minuteman64

Quote from: Jeff_in_90620 on March 23, 2023, 02:39:04 PM
Quote from: minuteman64 on March 23, 2023, 11:08:47 AMBlew up the 2d profiles from those components and found a very tiny error in both.  Re-drew and, finally, everything OK.

What were the "very tiny" errors?


Jeff

I was drawing a 2d profile on a facet of a 3d object.  The 3d object had one sloping wall with a curve at the top.  One side of the 2d figure was supposed to follow the straight portion of the sloping wall.  I started with an angled construction line that was supposed to go from the bottom to the end of that segment.  However, I hit the vertex of one of the curve segments (instead of the top of the straight portion) with the terminus of the angled construction line.  Had to blow up the view so that the 1mm thick wall covered about 3" of screen to see the problem.