View Issue Details

IDProjectCategoryView StatusLast Update
0003703Part[FreeCAD] Featurepublic2019-02-21 15:30
ReporterPepperSoris Assigned Towmayer  
PrioritynormalSeveritytweakReproducibilityalways
Status closedResolutionfixed 
PlatformPCOSWindows 10OS Version
Product Version[FreeCAD] 0.17 
Target VersionFixed in Version[FreeCAD] 0.18 
Summary0003703: Part->3D-Offset should warn if resulting object is not a solid
DescriptionAs described in
https://forum.freecadweb.org/viewtopic.php?f=3&t=32110&p=267820#p267820
I tried to do a 3D-offset on a compound solid. (a M4 hex nut)

From a user perspective, the result from the 3D-offset operation should also be a valid solid. (An be usable in a subsequent boolean operation.)

However, in this case, the result is a shell, not a solid, and the user has no obvious way of noticing the difference. There is no change of the icon, no warning message, or no helping message in the python log window how to make the resulting object a solid again.

The work-around here was to use Part->"Convert to solid", but it was frustrating user experience to find that out.
Steps To ReproduceHave a look at the attached file with a metric M4 nut from the Fastener-Toolbox
TagsNo tags attached.

Relationships

related to 0003571 closedwmayer Offset3D of volumes intersection is not solid 

Activities

PepperSoris

2018-11-19 07:01

reporter  

Problem with Boolean Cut.FCStd (15,238 bytes)

wmayer

2019-02-21 15:30

administrator   ~0012712

The actual problem is a different behaviour of the BRepOffsetAPI_MakeOffsetShape class.
When the passed shape is a compound with a solid then the output is only a shell instead of a solid.

The trick is to extract the solid and pass it to the algorithm.

https://github.com/FreeCAD/FreeCAD/commit/c3a8348861372b055c2446a09f0fc49a6cd7a2ef#diff-3e2f45e587986f349c1b94c10d8088f9

Issue History

Date Modified Username Field Change
2018-11-19 07:01 PepperSoris New Issue
2018-11-19 07:01 PepperSoris File Added: Problem with Boolean Cut.FCStd
2019-02-21 15:27 wmayer Relationship added related to 0003571
2019-02-21 15:30 wmayer Assigned To => wmayer
2019-02-21 15:30 wmayer Status new => closed
2019-02-21 15:30 wmayer Resolution open => fixed
2019-02-21 15:30 wmayer Fixed in Version => 0.18
2019-02-21 15:30 wmayer Note Added: 0012712