FreeCAD / FreeCAD/FreeCAD-macros

Macro: Center of mass macro ceased to work in weekly r41354 (2025.04.21)

Open
#210 14 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
267
Forks
171
PR merge metrics
No merged PRs in 30d

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues

### Problem description

when you try to make visible the center of mass in the drawing, by clicking on the eye, the macro freezes. See attached file.

[center_of_mass_bug.zip](https://github.com/user-attachments/files/19912153/center_of_mass_bug.zip)

### Full version info

```shell
OS: Slackware 15.0 x86_64 (KDE//usr/share/xsessions/plasma/xcb)
Architecture: x86_64
Version: 1.1.0dev.41354 (Git) AppImage
Build date: 2025/04/21 18:01:03
Build type: Release
Branch: main
Hash: fd390acd53dae91898145a22d74050d0d648a45b
Python 3.11.12, Qt 6.8.3, Coin 4.0.3, Vtk 9.3.1, boost 1_86, Eigen3 3.4.0, PySide
shiboken , xerces-c 3.3.0, IfcOpenShell 0.8.0, OCC 7.8.1
Locale: Spanish/Argentina (es_AR)
Stylesheet/Theme/QtStyle: unset/Classic/fusion
Logical DPI/Physical DPI/Pixel Ratio: 96/52.445/1
Installed mods:
* Plot.backup1736919899.3132463 2024.11.26 (Disabled)
* CurvedShapes.backup1736919830.8936977 1.0.13 (Disabled)
* AirPlaneDesign 0.4.1
* Curves.backup1736919830.987689 0.6.53 (Disabled)
* OpenDark.backup1725671265.1599011 2024.3.13 (Disabled)
* CurvedShapes 1.0.13
* freecad.gears 1.0.0
```

### Subproject(s) affected?

Part

### Anything else?

_No response_

### Code of Conduct

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.