Cutting walled cylinders intersection

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Post Reply
markp
Posts: 4
Joined: Thu Jun 06, 2019 12:27 am

Cutting walled cylinders intersection

Post by markp »

I am trying to cut the intersection of two 2mm wall tubes. But the result have these extra "faces" (idk how they are called), it doesn't look like a clean cut:

Image

I attached the file I am working with, before the cut. To do the cut I expand the parts "Heat Riser" and "Feeder" on the tree view from Model, holding CTRL, I select "heat riser tube" first, then "feeder tube" and click "Part > Join > Cutout from object". Then I do the same but selecting "feeder tube" first and "heat riser tube" last. And the result is the above image.

Is this normal or am I doing something wrong?

OS: Windows 7
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16117 (Git)
Build type: Release
Branch: releases/FreeCAD-0-18
Hash: dbb4cc6415bac848a294f03b80f65e888d531742
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
Attachments
test.FCStd
(122.17 KiB) Downloaded 55 times
User avatar
meme2704
Veteran
Posts: 2926
Joined: Sat Apr 01, 2017 2:47 pm
Location: Vosges

Re: Cutting walled cylinders intersection

Post by meme2704 »

Hi
The sketches of the tubes are not constrained, they only need a few microns of difference to see this defect
chrisb
Veteran
Posts: 54168
Joined: Tue Mar 17, 2015 9:14 am

Re: Cutting walled cylinders intersection

Post by chrisb »

Things like this happen rather frequently if you perform boolean operations on coplanar faces or - as seen here - with tubes of the same diameter.

Furthermore it helps us helping if you minimize the model to a state where nothing irrelevant to show the problem is contained.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
markp
Posts: 4
Joined: Thu Jun 06, 2019 12:27 am

Re: Cutting walled cylinders intersection

Post by markp »

Adding the same contrains to both tubes (48mm inner wall, 50 outter wall) gave me the same result. What seems to work is making outter wall of the 45 degrees tube 49.8mm instead of 50mm:

Image

Is there any other trick to make this without modifying the tube size? It doesn't feel like the right way to do it.
chrisb
Veteran
Posts: 54168
Joined: Tue Mar 17, 2015 9:14 am

Re: Cutting walled cylinders intersection

Post by chrisb »

There's no other way, and it cannot be fixed in FreeCAD as it comes from the 3rd party geometry kernel. Usually you can make the difference even smaller, but I can very well understand that you feel uncomfortable, any difference, albeit extremely small is not equal.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
bejant
Veteran
Posts: 6075
Joined: Thu Jul 11, 2013 3:06 pm

Re: Cutting walled cylinders intersection

Post by bejant »

markp wrote: Wed Jun 12, 2019 1:22 am I am trying to cut the intersection of two 2mm wall tubes. But the result have these extra "faces"
...snip...
Is this normal or am I doing something wrong?
I think that the unwanted residual faces in your image are because the two Sketches used to make the tubes aren't Fully Constrained, and not Fully Constraining them is bad practice.

Even so, after they are Fully Constrained, there are still tiny arc-like residuals that remain. This time I think they are only a display issue which happens because FreeCAD tessellates model objects displayed in the 3D view, and so the model is actually correct but is not precisely displayed on the screen. To test this, after making the Cutout, you can make another solid half-tube with an inside diameter of 100 mm and an outer diameter of something like 110 mm, enclosing the half of the vertical tube away from the angled "feeder tube":
20190612b.png
20190612b.png (30.01 KiB) Viewed 1221 times

Do a Part WB > Boolean Intersection between this new tube and the Cutout. For me there is nothing in the resulting Common, and if this issue was actually some residual edge in the model instead of something more than a display problem I would expect that there be at least two remnants of those residual edges contained in Common.

OS: Ubuntu 18.04.2 LTS
Word size of OS: 32-bit
Word size of FreeCAD: 32-bit
Version: 0.18.1.
Build type: Release
Python version: 3.6.7
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
chrisb
Veteran
Posts: 54168
Joined: Tue Mar 17, 2015 9:14 am

Re: Cutting walled cylinders intersection

Post by chrisb »

I can confirm bejants observation and to add to it: Geometry check including BOPCheck doesn't show any errors,

There is more to say about your model: You have many repititions in your sketches where you well could use Expressions or Sketcher CarbonCopy
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Post Reply