hi i did external workbenches to calculate the weight. I am using "Gui.Selection.getSelectionEx () [0] .Object.Shape.Volume" for volume calculations and "materialtools.cardutils" for material density. Can count many lumps in the table. It also counts the amount of heat needed to heat it. Maybe it will be useful to someone. This is my first External workbenches.
https://github.com/lazik7/masscalc
- FreeCAD forum Users Python scripting and macros
- Search
-
- It is currently Wed Apr 17, 2024 10:17 am
- All times are UTC
masscalc
Need help, or want to share a macro? Post here!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Return to “Python scripting and macros”
Jump to
- Users
- ↳ Help on using FreeCAD
- ↳ Python scripting and macros
- ↳ Install / Compile
- ↳ Packaging
- ↳ Open discussion
- ↳ Announcements & Features
- ↳ Users Showcase
- ↳ Job offers
- ↳ Tutorials and videos
- ↳ Toponaming forum
- Development
- ↳ Developers corner
- ↳ Google Summer of Code (GSoC)
- ↳ Pull Requests
- ↳ Archived Pull Requests
- ↳ Part Design module development
- ↳ Assembly
- ↳ FEM
- ↳ CfdOF / CFD
- ↳ Path/CAM
- ↳ Draft, Arch & BIM
- ↳ IFC
- ↳ Wiki
- ↳ Translation
- ↳ UX/UI Design
- ↳ TechDraw
- ↳ Material
- Forums in other languages
- ↳ Forum français
- ↳ Forum in Deutsch
- ↳ Foro en Español
- ↳ Forum Italiano
- ↳ 日本語フォーラム
- ↳ Форум на русском языке
- ↳ Forum po polsku
- ↳ Foro em Português
- ↳ Magyar fórum
- ↳ 中文论坛 / 中文論壇(简体 / 繁體)
- ↳ Форум українською
- ↳ 한국어 포럼