Issue #7146 - [Bug] Unable to Part Cross-section wires

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!
User avatar
Simbioz
Posts: 67
Joined: Tue Mar 30, 2021 2:55 pm

Issue #7146 - [Bug] Unable to Part Cross-section wires

Post by Simbioz »

Using Part WB I create a torus, Angle3-> 90º then advanced utilities to create shapes, Wires from edges and I select all visible edges of the part. Then I select the wire and I do an explode compound. I select one circle of the exploded wire and do a Part cross-section, the cross-section is visible in the task tab but when I click OK it is no longer visible (Yes, I activated the toggle visibility function).
Why the cross-section is not showing? Part_CrossSections does not contain any hints and neither does:

Code: Select all

site:forum.freecadweb.org intitle:cross-section explode
While in the Cross-section Task tab
While in the Cross-section Task tab
crosssection1.jpeg (32.33 KiB) Viewed 1516 times
After pressing ok
After pressing ok
crosssection2.jpeg (31.55 KiB) Viewed 1516 times
Thanks.


OS: Arch Linux (sway/sway)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24415 (Git)
Build type: Release
Branch: makepkg
Hash: 476ecf091941bead59b14e44afa6064d5a66afa3
Python version: 3.10.5
Qt version: 5.15.4
Coin version: 4.0.1
OCC version: 7.5.3
Locale: English/United States (en_US)
explode_test.FCStd
The actual file
(11.68 KiB) Downloaded 38 times
Github issue: https://github.com/FreeCAD/FreeCAD/issues/7146
Last edited by Simbioz on Fri Jul 08, 2022 12:41 am, edited 2 times in total.
Non native English speaker.
User avatar
Simbioz
Posts: 67
Joined: Tue Mar 30, 2021 2:55 pm

Re: Part Cross-section and exploded compound

Post by Simbioz »

Some additional info I gave gathered:
This message appears when recomputing the wire cross-section:

Code: Select all

<Part> ViewProviderExt.cpp(1336): Cannot compute Inventor representation for the shape of explode_test#Wire_child0_cs
Also, I enabled RunBOPCheck and got:

Code: Select all

-------Name------------------Type-----Error
explode_test.Wire_child0_cs|Compound|Invalid
Shape Content:

Code: Select all

Checked object: explode_test.Wire_child0_cs (Wire_child0_cs):
Shape type:  Compound
Vertices:  0
Edges:  0
Wires:  0
Faces:  0
Shells:  0
Solids:  0
CompSolids:  0
Compounds:  1
Shapes:  1
----------
Area:  0.0
Volume:  0.0
Length:  0.0
Orientation:  Forward
Shouldn't it have at least an edge or wire?
Non native English speaker.
User avatar
thomas-neemann
Veteran
Posts: 11801
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: Part Cross-section and exploded compound

Post by thomas-neemann »

Simbioz wrote: Sun Jul 03, 2022 9:24 pm ...
what should come out of it in the end?
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
User avatar
Simbioz
Posts: 67
Joined: Tue Mar 30, 2021 2:55 pm

Re: Part Cross-section and exploded compound

Post by Simbioz »

thomas-neemann wrote: Mon Jul 04, 2022 6:01 am
Simbioz wrote: Sun Jul 03, 2022 9:24 pm ...
what should come out of it in the end?
the visible cross section?
Non native English speaker.
User avatar
thomas-neemann
Veteran
Posts: 11801
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: Part Cross-section and exploded compound

Post by thomas-neemann »

Simbioz wrote: Mon Jul 04, 2022 9:53 am ...
I mean: what do you want to construct?
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
User avatar
Simbioz
Posts: 67
Joined: Tue Mar 30, 2021 2:55 pm

Re: Part Cross-section and exploded compound

Post by Simbioz »

thomas-neemann wrote: Mon Jul 04, 2022 9:54 am
Simbioz wrote: Mon Jul 04, 2022 9:53 am ...
I mean: what do you want to construct?
I am just experimenting. Anyway, Is this a bug, some software limitation or there is another tool for dealing with 2D geometry?
I realized that applying the part cross section to other objects like a part circle yields the same results, but, a draft WB circle will work with the tool.
Non native English speaker.
User avatar
thomas-neemann
Veteran
Posts: 11801
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: Part Cross-section and exploded compound

Post by thomas-neemann »

Simbioz wrote: Mon Jul 04, 2022 5:07 pm ... a draft WB circle will work with the tool.
I can create everything I need in arch, which includes draft and part
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
User avatar
adrianinsaval
Veteran
Posts: 5541
Joined: Thu Apr 05, 2018 5:15 pm

Re: Part Cross-section and exploded compound

Post by adrianinsaval »

I'm not sure why it doesn't work here but doing a cross section of a wire does not make sense IMO.
User avatar
thomas-neemann
Veteran
Posts: 11801
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: Part Cross-section and exploded compound

Post by thomas-neemann »

adrianinsaval wrote: Mon Jul 04, 2022 8:08 pm I'm not sure why it doesn't work here but doing a cross section of a wire does not make sense IMO.
+1
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
User avatar
Simbioz
Posts: 67
Joined: Tue Mar 30, 2021 2:55 pm

Re: Part Cross-section and exploded compound

Post by Simbioz »

adrianinsaval wrote: Mon Jul 04, 2022 8:08 pm I'm not sure why it doesn't work here but doing a cross section of a wire does not make sense IMO.
What about closed wires? they make a face which can be sectioned.
Non native English speaker.
Post Reply