[merged] PR #4118 The section cut feature

Merged, abandoned or rejected pull requests are moved here to clear the main Pull Requests forum.
nic
Posts: 135
Joined: Thu Apr 18, 2019 1:14 pm
Location: France

Re: [merged] PR #4118 The section cut feature

Post by nic »

Thanks for this feature!

Something I would find really cool : being able to preselect the cut using the fast ``view>>clipping plane``, then press a button from it when I'm happy with the cut.

temp2persistent_cut.png
temp2persistent_cut.png (37.13 KiB) Viewed 4569 times
User avatar
uwestoehr
Veteran
Posts: 4961
Joined: Sun Jan 27, 2019 3:21 am
Location: Germany
Contact:

Re: [merged] PR #4118 The section cut feature

Post by uwestoehr »

user1234 wrote: Sun Feb 06, 2022 11:56 am Often some Objects are not correct cut. Independent if it is a linked object or not. The question is if this i OCCT
This is a bug in OCC. Because in your second example you gut at 0.000. When I change it too 0.001, the cut is correct.

For your other, more complex example. I don't get any cut at all. Also the trick I want to implement to put the solids to be cut into a Boolean Fragments instead of a compound fails. It seems the reason is also here OCC. Because hen I omit Body008 and Array002, then I get at least with Boolean Fragments a cut.

So unless someone knows how to cut it right using OCC, I have no idea how to improve the situation.

What is your OCC version? I have OFF 7.5.3 and maybe OCC 7.6 is better.
user1234
Veteran
Posts: 3345
Joined: Mon Jul 11, 2016 5:08 pm

Re: [merged] PR #4118 The section cut feature

Post by user1234 »

uwestoehr wrote: Tue Feb 15, 2022 4:40 am What is your OCC version? I have OFF 7.5.3 and maybe OCC 7.6 is better.
7.6.0. Will uptade the next days to 7.6.1 (which will not solve the issue).

Greetings
user1234
User avatar
NewJoker
Veteran
Posts: 3018
Joined: Sun Oct 11, 2020 7:49 pm

Re: [merged] PR #4118 The section cut feature

Post by NewJoker »

uwestoehr wrote: Tue Feb 15, 2022 4:40 am
Is there a way to make it work with assemblies, at least simple ones like the example below ?

persistent cut assy.png
persistent cut assy.png (60.77 KiB) Viewed 4157 times
User avatar
uwestoehr
Veteran
Posts: 4961
Joined: Sun Jan 27, 2019 3:21 am
Location: Germany
Contact:

Re: [merged] PR #4118 The section cut feature

Post by uwestoehr »

NewJoker wrote: Fri Mar 04, 2022 9:24 am Is there a way to make it work with assemblies, at least simple ones like the example below ?
The limitation for now is that parts touching each other cannot be cut. I plan to work on an option to allow this. But since FreeCAD 0.20 reached the feature freeze, this will not happen soon.
User avatar
NewJoker
Veteran
Posts: 3018
Joined: Sun Oct 11, 2020 7:49 pm

Re: [merged] PR #4118 The section cut feature

Post by NewJoker »

uwestoehr wrote: Sat Mar 05, 2022 9:21 pm I plan to work on an option to allow this.
It would be great. I only managed to correctly cut this assembly when I used Part Union on it. But then the edges between the parts are lost:

bolt.PNG
bolt.PNG (9.41 KiB) Viewed 4018 times
User avatar
uwestoehr
Veteran
Posts: 4961
Joined: Sun Jan 27, 2019 3:21 am
Location: Germany
Contact:

Re: [merged] PR #4118 The section cut feature

Post by uwestoehr »

Here is a description of the feature: https://wiki.freecadweb.org/Part_SectionCut
User avatar
NewJoker
Veteran
Posts: 3018
Joined: Sun Oct 11, 2020 7:49 pm

Re: [merged] PR #4118 The section cut feature

Post by NewJoker »

uwestoehr wrote: Sun Mar 06, 2022 5:10 am Here is a description of the feature: https://wiki.freecadweb.org/Part_SectionCut
Great wiki article, thanks for sharing it. However, the article says that only intersecting parts are not cut. Shouldn’t it say that touching parts (with zero clearance) are not cut too ? In my example, there were no interferences, at least intentional ones. Unless even minimal penetration due to inaccuracy is sufficient for the cut to not work.

Also, if it’s a bug in OCC then maybe we could report it to let the OCC devs know. There’s a chance that they will fix it in the future.
chrisb
Veteran
Posts: 53930
Joined: Tue Mar 17, 2015 9:14 am

Re: [merged] PR #4118 The section cut feature

Post by chrisb »

NewJoker wrote: Sat Mar 05, 2022 10:51 pm But then the edges between the parts are lost:
The edges remain if you omit refining.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
NewJoker
Veteran
Posts: 3018
Joined: Sun Oct 11, 2020 7:49 pm

Re: [merged] PR #4118 The section cut feature

Post by NewJoker »

chrisb wrote: Sun Mar 06, 2022 9:58 am The edges remain if you omit refining.
Refine is already set to false for both Fusion and SectionCutX:

refine.PNG
refine.PNG (49.72 KiB) Viewed 3825 times

It seems to affect only the external edges.
Post Reply