FreeCAD / FreeCAD/FreeCAD

PartDesign: Crash on Polar Pattern with added feature

Open
#19,337 13 comments 0 reactions 0 assignees View on GitHub
Mod: Part Design Priority: High Status: Confirmed Type: Bug Type: Crash
Dominant language
C++
Stars
33.6k
Forks
6k
Avg merge
3d 17h
Merged PRs (30d)
196

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues

### Problem description

When I make a hole and chamfer on one of the sides and after this I make "polar pattern" of the hole and add the chamfer feature it works.
But if add second ring of holes in same manner and if chamfer of second ring of holes interact with chamfer from first ring of holes the app crash.
I found work around - if I reduce the size of the chamfers to smaller size that ther don't interact between the ring it does not crash.
Here is example: [chetkata.zip](https://github.com/user-attachments/files/18619387/chetkata.zip)

Try it to change 2 chamfers that are close to 1mm because now I work around it with 0.9 mm.
When you change on the second ring that intersect it will crash.

![Image](https://github.com/user-attachments/assets/6cfc283b-36a0-4b2a-9a4d-28b01ad18b10)

### Full version info

```shell
Dev:

OS: Ubuntu 24.04.1 LTS (MATE/mate/xcb)
Architecture: x86_64
Version: 1.1.0dev.40006 (Git) Conda AppImage
Build type: Release
Branch: main
Hash: 11125be89d7ed063b706f633d36552849a22ef7e
Python 3.11.9, Qt 5.15.13, Coin 4.0.3, Vtk 9.2.6, OCC 7.7.2
Locale: English/United States (en_US)
Stylesheet/Theme/QtStyle: unset/FreeCAD Classic/Qt default
Installed mods:
* Curves 0.6.53

Stable:

OS: Ubuntu 24.04.1 LTS (MATE/mate/xcb)
Architecture: x86_64
Version: 1.0.0.39109 (Git) Conda AppImage
Build type: Release
Branch: (HEAD detached at 1.0.0)
Hash: 2fcc5317fe3aee96ca73475986a577719fc78e20
Python 3.11.9, Qt 5.15.13, Coin 4.0.3, Vtk 9.2.6, OCC 7.7.2
Locale: English/United States (en_US)
Stylesheet/Theme/QtStyle: unset/FreeCAD Classic/Qt default
Installed mods:
* Curves 0.6.53
```

### Subproject(s) affected?

None

### Anything else?

_No response_

### Code of Conduct

- [x] I agree to follow this project's Code of Conduct

Contributor guide

Open the contributing guide

Research direction

Start with the attached chetkata.zip reproduction in PartDesign and follow the reported sequence of two polar-patterned hole rings with chamfers. Compare the 0.9 mm workaround with chamfers close to 1 mm that intersect; the work is done when the intersecting-chamfer case no longer crashes.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
design, desktop
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.