FreeCAD/FreeCAD

[Bug] Part Cross-section does not work with Part Wires

Aperta

#7146 aperta il 8 lug 2022

 (0 commenti) (0 reazioni) (0 assegnatari)C++ (5550 fork)batch import
Help wantedMod: PartType: Feature

Metriche repository

Star
 (30.913 stelle)
Metriche merge PR
 (Merge medio 24g 7h) (217 PR mergiate in 30 g)

Descrizione

Is there an existing issue for this?

  • I have searched the existing issues

Forums discussion

https://forum.freecadweb.org/viewtopic.php?style=10&f=3&t=69996

Version

0.20 (Release)

Full version info

OS: Arch Linux (sway/sway)
Word size of FreeCAD: 64-bit
Version: 0.20.29177 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 0.20)
Hash: 68e337670e227889217652ddac593c93b5e8dc94
Python 3.9.13, Qt 5.12.9, Coin 4.0.0, Vtk 9.1.0, OCC 7.5.3
Locale: English/United States (en_US)
Installed mods: 
  * fasteners 0.3.46
  * lattice2 1.0.0
  * Help 1.0.3
  * Manipulator 1.4.9

Subproject(s) affected?

Part

Issue description

Closed wires (or any wire) like a circle are not cross-sectioned by Part Cross-section

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

Example file: 7146.zip

While in the Cross-section Task tab image

After pressing OK image

Anything else?

Some additional info I gave gathered:

This message appears when recomputing the wire cross-section:

<Part> ViewProviderExt.cpp(1336): Cannot compute Inventor representation for the shape of explode_test#Wire_child0_cs

Also, I enabled RunBOPCheck and got:

-------Name------------------Type-----Error
explode_test.Wire_child0_cs|Compound|Invalid

Shape Content:

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

Code of Conduct

  • I agree to follow this project's Code of Conduct

Guida contributor