View Issue Details

IDProjectCategoryView StatusLast Update
0001936PartDesignBugpublic2017-04-19 21:49
Reporterquick61Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version 
Target VersionFixed in Version0.17 
Summary0001936: Part Design Pad Fails with Circle In Square When Circle Is Close To Edge Of Square.
DescriptionIn Part Design, when creating a square and including a circle that has a radius close to the edges of the square, Pad fails and produces an invalid solid.

This is occurring in both Release and Master versions as reported on the FreeCAD forum.
Steps To ReproduceCreate a sketch consisting of a 40 mm square and an 18.5 mm radius circle centered in the square. Pad the Sketch.

See attached file.
Additional InformationFreeCAD forum threads -

http://forum.freecadweb.org/viewtopic.php?f=3&t=9494

http://forum.freecadweb.org/viewtopic.php?f=3&t=9262

OS: Kubuntu 14.04.1 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.15.4530 (Git)
Branch: master
Hash: 2ef086a02837670c21de65e8d33fa17fe1d8ef59
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17-dev

and

OS: Kubuntu 14.04.1 LTS
Word size: 64-bit
Version: 0.14.3705 (Git)
Branch: releases/FreeCAD-0-14
Hash: f25e6e4716fb63ef3ac618ce9e552761bbc1b4b1
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
SoQt version: 1.6.0a
OCC version: 6.7.1
TagsNo tags attached.

Activities

2015-01-27 06:10quick61New Issue
2015-01-27 06:10quick61File Added: Pad_Fail.fcstd

quick61

2015-01-27 06:10

reporter  

Pad_Fail.fcstd (5,737 bytes)

quick61

2015-01-27 21:45

reporter   ~0005743

After doing some testing, it seems that any circle that has a radius equal to or greater than 96.19% of the edge length of the square will fail to produce a valid Pad.

http://forum.freecadweb.org/viewtopic.php?f=3&t=9494#p77032
2017-01-16 10:14Kunda1Project@4@ => PartDesign

normandc

2017-04-16 16:26

manager   ~0008830

This is no longer an issue in current master based on OCCT 7.1.0, but still is with OCCT 6.8.0. I sketched a 40x40mm square with a R19.999mm circle inside it, the Pad works and produces a valid solid with the latest OCCT version.

If someone else confirms we can set this report as fixed.

To quickly check:
  1. Load the attached file
  2. Right-click on the Document label ("Pad_Fail") and select "Mark to recompute"
  3. Click on the Refresh icon or CTRL + R
  4. The solid in the 3D view should update to a box with a large hole in it.


OS: Ubuntu 16.04.2 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.10807 (Git)
Build type: None
Branch: master
Hash: b32e9806e1b075c745c0c9692e81aea1dcab81e4
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0

Kunda1

2017-04-18 00:51

manager   ~0008849

@chrisb do you mind testing this ticket?

chrisb

2017-04-19 21:47

reporter   ~0008856

The error exists in 0.16.6707.
The error is gone in 0.17 if the sketch is created and padded within a body.

OS: Ubuntu 14.04.5 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.10887 (Git)
Build type: None
Branch: master
Hash: 67fc70dadae471cb3d77dcf5562b4a86ec79f95d
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 7.1.0

Kunda1

2017-04-19 21:49

manager   ~0008857

Resolved
2017-04-19 21:49Kunda1Statusnew => resolved
2017-04-19 21:49Kunda1Resolutionopen => fixed
2017-04-19 21:49Kunda1Fixed in Version => 0.17

Issue History

Date Modified Username Field Change
2015-01-27 06:10 quick61 New Issue
2015-01-27 06:10 quick61 File Added: Pad_Fail.fcstd
2015-01-27 21:45 quick61 Note Added: 0005743
2017-01-16 10:14 Kunda1 Project @4@ => PartDesign
2017-04-16 16:26 normandc Note Added: 0008830
2017-04-18 00:51 Kunda1 Note Added: 0008849
2017-04-19 21:47 chrisb Note Added: 0008856
2017-04-19 21:49 Kunda1 Status new => resolved
2017-04-19 21:49 Kunda1 Resolution open => fixed
2017-04-19 21:49 Kunda1 Fixed in Version => 0.17
2017-04-19 21:49 Kunda1 Note Added: 0008857