View Issue Details

IDProjectCategoryView StatusLast Update
0004285FreeCADBugpublic2020-06-09 11:40
Reporterfc_tofu Assigned Towandererfan  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Platformx64OSWindows 10OS Version10.0.17763.1039
Summary0004285: PartWB Bevel/Chamfer command invert surface normal
DescriptionPartWB, Bevel/Chamfer on 3D Offset solid (positive distance)/Thickness solid causes inverted surface normal.
Steps To ReproduceReproduce 1:
1. Create a plane object. Copy and move apart for comparision.
2. use "3D offset" command on above planes to make solid("Fill offset"), one with positive offset, other use negative offset.
(Here found another minor issue, "3D offset" command won't toggle off planes' visibility after generating new feature history.)
3. "Chamfer" command on abvove solids.
3.1 surface normal on positive offset solid is inverted, except chamfer area.
3.2 for comparison, surface normal on negative offset solid is correct.



Reproduce 2:
1. Create cube 100mm * 100mm * 100mm.
2. Select top face, use Thickness command, 10mm thick
3. Select any edge
4. Chamfer(or Bevel) 5mm.
Result: surface normal invert except Chamfer area.

Additional InformationSolid from Extrude/Revolve/Loft/Sweep is not affected by this bug.

Discussion:
Forum thread
TagsChamfer, Part
FreeCAD InformationOS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.19858 (Git)
Build type: Release
Branch: master
Hash: dbe292496b56147c081761084774f42bda56ea90
Python version: 3.7.3
Qt version: 5.12.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Chinese/China (zh_CN)

Activities

fc_tofu

2020-03-10 14:31

reporter  

uwestoehr

2020-06-07 22:49

manager   ~0014515

Fix committed: https://github.com/FreeCAD/FreeCAD/commit/b7ba72bf8fc4024e02d8587e35856f3c1172f36b
by @wandererfan

wandererfan

2020-06-09 11:40

manager   ~0014520

Fix committed to master branch.

Related Changesets

FreeCAD: master 73f086f7

2020-06-07 15:25:18

wandererfan

Details Diff
[Part]Fix 0004285 Bad Shape from Chamfer

- chamfer was producing invalid shape as output.
fix uses shapefix to correct invalid surface/face.
Affected Issues
0004285
mod - src/Mod/Part/App/FeatureChamfer.cpp Diff File

FreeCAD: master b7ba72bf

2020-06-07 19:41:52

wandererfan


Committer: GitHub Details Diff
Merge pull request 0003579 from WandererFan/prefDirs

[Part]Fix 0004285 Bad Shape from Chamfer
Affected Issues
0004285
mod - src/Mod/Part/App/FeatureChamfer.cpp Diff File
mod - src/Mod/TechDraw/Gui/DlgPrefsTechDrawGeneral.ui Diff File

Issue History

Date Modified Username Field Change
2020-03-10 14:31 fc_tofu New Issue
2020-03-10 14:31 fc_tofu Tag Attached: Chamfer
2020-03-10 14:31 fc_tofu Tag Attached: Part
2020-03-10 14:31 fc_tofu File Added: fc019pre_bevel_on_3doffsetsolid.FCStd
2020-03-10 14:31 fc_tofu File Added: fc019pre_partwb_chamfer_on_thinkness.FCStd
2020-03-10 18:28 openBrain Status new => confirmed
2020-06-07 15:31 wandererfan Assigned To => wandererfan
2020-06-07 15:31 wandererfan Status confirmed => assigned
2020-06-07 22:49 uwestoehr Note Added: 0014515
2020-06-07 22:50 uwestoehr Additional Information Updated
2020-06-09 11:40 wandererfan Changeset attached => FreeCAD master b7ba72bf
2020-06-09 11:40 wandererfan Changeset attached => FreeCAD master 73f086f7
2020-06-09 11:40 wandererfan Note Added: 0014520
2020-06-09 11:40 wandererfan Status assigned => closed
2020-06-09 11:40 wandererfan Resolution open => fixed