Page 9 of 10

Re: Macro to compute center of mass

Posted: Thu Mar 31, 2022 11:59 am
by mario52
Hi

yes but the original macro:

Code: Select all

__Author__ = 'schupin'
https://github.com/chupins/FreeCAD-macr ... ss.FCMacro

mario

Re: Macro to compute center of mass

Posted: Thu Apr 07, 2022 12:55 pm
by schupin
The 0.5 released containing all SyProLei improvements has been "officially" merged !

Here is its changelog :
  • New: Code base, Requirement raised to Qt5.12+ and Python3 (FreeCAD 0.19)
  • New: Show mass of each solid
  • New: Start window docked or floating (can be set in Parameter Editor)
  • New: Selection matches up tree view or is sorted by name (can be set in Parameter Editor)
  • New: Option to save densities in document
  • Improved: FreeCAD alike Gui look and feel
  • Improved: Scaled color palette (from green to red) to colorify shapes
  • Improved: Visualising the displacement of centre of mass to the geometry
  • Improved: Internal tracking of units
  • Fix: Handling of groups and group objects
  • Fix: Handling of App::Link
  • Fix: Replaced deprecated Qt class
You can get it by updating the macro through the addon manager.

Re: Macro to compute center of mass

Posted: Thu Apr 07, 2022 7:06 pm
by Kunda1
Congrats and thank you!

Re: Macro to compute center of mass

Posted: Fri Apr 08, 2022 8:48 am
by Syres
schupin wrote: Thu Apr 07, 2022 12:55 pm The 0.5 released containing all SyProLei improvements has been "officially" merged !

Here is its changelog :
  • New: Code base, Requirement raised to Qt5.12+ and Python3 (FreeCAD 0.19)
I would like to point out that 0.20 FC is fully supported using Qt5.9.5 (there's more than just Windows involved) but seeing as the old version of the macro works fine for my requirements it's not a show stopper.

Re: Macro to compute center of mass

Posted: Sat Apr 09, 2022 8:25 pm
by chennes
I've just submitted a PR to the FreeCAD-Macros repo -- the __Icon__ metadata points to an invalid URL. See https://github.com/FreeCAD/FreeCAD-macros/pull/127

Re: Macro to compute center of mass

Posted: Tue Jun 07, 2022 4:24 pm
by SyProLei
New Release: Version 0.5.8 is officially available.
Here is the changelog, apart from the internal code improvements:
  • Reinserted: Bounding Box
  • New: Setting to color spheres
  • New: Setting to change color maps
  • Rearranged GUI: Update calculation added, Total density added
  • Fix: Message Boxes could not be used when not running FreeCAD on primary screen in a multimonitor setup
  • Fix: More than one Mesh was not calculated correctly

Re: Macro to compute center of mass

Posted: Tue Jun 07, 2022 4:38 pm
by Kunda1
SyProLei wrote: Tue Jun 07, 2022 4:24 pm New Release: Version 0.5.8 is officially available.
Nice!

Re: Macro to compute center of mass

Posted: Wed Jun 08, 2022 9:32 pm
by schupin
For moderators : don't you think we could move this topic to "Announcements & Features" ?

Re: Macro to compute center of mass

Posted: Thu Jun 09, 2022 6:54 am
by chrisb
schupin wrote: Wed Jun 08, 2022 9:32 pm For moderators : don't you think we could move this topic to "Announcements & Features" ?
This whole discussion is much more than an announcement, so it is probably better if you make a new announcement with a link hereto where to discuss it.

Re: Macro to compute center of mass

Posted: Mon Aug 29, 2022 9:54 am
by SyProLei
chrisb wrote: Thu Jun 09, 2022 6:54 am
schupin wrote: Wed Jun 08, 2022 9:32 pm For moderators : don't you think we could move this topic to "Announcements & Features" ?
This whole discussion is much more than an announcement, so it is probably better if you make a new announcement with a link hereto where to discuss it.
IMHO it would fit in "Python scripting and macros". From our project, we can announce the last big update:

New Release: Version 0.6.0 is officially available.
Here is the changelog:
- New: Masses are editable (a highly requested feature)
- New: Highlights the solid you are working on
- New: No duplicate entries when container and content selected concurrently
- New: Pie charts show density relation in combo box
- New: Legibility of text on colored combo box with WCAG21 1.4.6 Contrast (Enhanced) conformity
- Fix: A Part used as a container for meshes (e.g. .stl's) is recognized correctly
- Fix: Fixes for error and language handling, material editing, combo box and GUI size adjustment