- Screen Shot 2021-07-11 at 7.27.23 AM.png (40.84 KiB) Viewed 1317 times
FCInfo CG of assemblies
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
-
- Veteran
- Posts: 3179
- Joined: Thu Sep 24, 2020 10:31 pm
- Location: Hawaii
- Contact:
Re: FCInfo CG of assemblies
Here it is in action on the enclosed:
- Attachments
-
- testFCInfo.FCStd
- (41.46 KiB) Downloaded 36 times
Re: FCInfo CG of assemblies
Aloha edwilliams16
yes i accept with joy your upgrade
thanks
now is it possible to correct freecad also (and maybe adding "Create volume")
mario
yes i accept with joy your upgrade
thanks
now is it possible to correct freecad also (and maybe adding "Create volume")
mario
Maybe you need a special feature, go into Macros_recipes and Code_snippets, Topological_data_scripting.
My macros on Gist.github here complete macros Wiki and forum.
My macros on Gist.github here complete macros Wiki and forum.
-
- Veteran
- Posts: 3179
- Joined: Thu Sep 24, 2020 10:31 pm
- Location: Hawaii
- Contact:
Re: FCInfo CG of assemblies
Any idea where the code is that displays the Bounding Box? It clearly is ignoring all the container placements.
I'll leave it to you to update the Macro in the wiki.
What about FCInfo? I had a fix above for the center of mass calculations.
Re: FCInfo CG of assemblies
Alhoa
def get_bbox(obj, debug=False):
mario
maybe "\Mod\Draft\draftutils" in gui_utils.pyedwilliams16 wrote: ↑Sun Jul 18, 2021 6:57 pm Any idea where the code is that displays the Bounding Box?
def get_bbox(obj, debug=False):
done Macro_BoundingBox_Tracing merci
not yetedwilliams16 wrote: ↑Sun Jul 18, 2021 6:57 pm What about FCInfo? I had a fix above for the center of mass calculations.
mario
Maybe you need a special feature, go into Macros_recipes and Code_snippets, Topological_data_scripting.
My macros on Gist.github here complete macros Wiki and forum.
My macros on Gist.github here complete macros Wiki and forum.
Re: FCInfo CG of assemblies
Alhoa edwilliams16
your report please
mario
edwilliams16 wrote:ping
done Ver_1-24edwilliams16 wrote: ↑Sun Jul 18, 2021 6:57 pm What about FCInfo? I had a fix above for the center of mass calculations.
your report please
mario
Maybe you need a special feature, go into Macros_recipes and Code_snippets, Topological_data_scripting.
My macros on Gist.github here complete macros Wiki and forum.
My macros on Gist.github here complete macros Wiki and forum.