Comments (13)
Ok, problem identified.
You're running FreeCAD from a snap. The key feature of the snap is that the program is packaged with its own dependencies, meaning it's not reliant on the packages installed by the OS. The other side of that coin is that installing missing packages on your OS will not be seen by the snap. So we're all out of luck there.
Plan B is to remove flutter analysis, and that will involve editing some lines of code. in the file ~/.local/share/FreeCAD/Mod/Rocket/Ui/Commands/CmdFlutterAnalysis.py
you'll have to change lines 34-48 to look like this:
# from Ui.DialogFinFlutter import DialogFinFlutter
from Ui.Commands.Command import Command
def calcFinFlutter():
# See if we have a fin selected
for fin in FreeCADGui.Selection.getSelection():
if fin.isDerivedFrom('Part::FeaturePython'):
if hasattr(fin,"FinType"):
# try:
# form = DialogFinFlutter(fin)
# form.exec_()
# except TypeError as ex:
# QtGui.QMessageBox.information(None, "", str(ex))
return
Unfortunately it's a bit of a project to replace this code and it's going to be a while before I can get to it.
from rocket.
I've just created a new release that handles the missing QtCharts module more gracefully. You still won't be able to use the flutter analysis dialog without it, but all other functionality will be unaffected.
from rocket.
While this may not pertain to the current topic, I'd like to inquire about the most effective approach for initiating workbench development.
Start here:
https://wiki.freecad.org/Workbench_creation
Good ways to communicate more interactively are through twitter @davesrocketshop ro via the FreeCAD discord channel
from rocket.
Fixed in v3.2.3.
The dependence on QtCharts has been removed, and the flutter dialog uses matplotlib instead. This package is part of the FreeCAD install and should be available on all supported platforms.
You should have full functionality with no need for any work arounds.
from rocket.
Due to licensing issues, the dependency is not automatically included in the Linux versions of FreeCAD. I'll be removing this dependency in a future release.
In the meantime you can manually add it to your system. On ubuntu and likely most Debian derived systems you can do this with:
$ sudo apt install python3-pyqt5.qtchart
from rocket.
Thank you for your response. In addition to your suggestion of using 'sudo apt install python3-pyqt5.qtchart,' I've also attempted to resolve the issue by running 'pip install PySide2.' Unfortunately, I'm still encountering the same error.
from rocket.
Well, let's start from the beginning. From the FreeCAD menu bar, select "Help"->"About FreeCAD". The dialog will show some information, including a button saying "Copy to clipboard". Push the button, and then paste here
from rocket.
Well, let's start from the beginning. From the FreeCAD menu bar, select "Help"->"About FreeCAD". The dialog will show some information, including a button saying "Copy to clipboard". Push the button, and then paste here
[code]
OS: Ubuntu Core 20 (ubuntu:GNOME/ubuntu)
Word size of FreeCAD: 64-bit
Version: 0.21.1.33668 +26 (Git) Snap 759
Build type: Release
Branch: tag: 0.21.1
Hash: f6708547a9bb3f71a4aaade12109f511a72c207c
Python 3.8.10, Qt 5.15.7, Coin 4.0.0, Vtk 7.1.1, OCC 7.6.3
Locale: English/United States (en_US)
Installed mods:
- Rocket 3.2.1
- A2plus 0.4.60n
- Beltrami 1.0.8-alpha
- CfdOF 1.24.5
- lattice2 1.0.0
- fasteners 0.4.66
- Plot 2022.4.17
- Curves 0.6.13
[/code]
from rocket.
Thanks , I really appreciate the help .
from rocket.
While this may not pertain to the current topic, I'd like to inquire about the most effective approach for initiating workbench development.
from rocket.
Thanks ,
from rocket.
I'm going to leave this issue open. The last release allows for graceful failure, but it is still failure not a fix.
The fix is to remove the requirement for QtCharts
from rocket.
Your efforts are greatly appreciated
from rocket.
Related Issues (20)
- Add fin fillets to fin can
- Geometry errors in blunted ogive HOT 2
- Geometry errors in airfoils HOT 1
- Add CONTRIBUTING.md
- Fin can improvements HOT 2
- Transition attachment points
- Failed test Nose Cone HOT 1
- Failed tests Transition
- Add exploded view for rocket builder HOT 1
- Add features for BG/RG
- Allow transition shoulders to match the diameter HOT 2
- Map OpenRocket materials to FreeCAD materials
- Cannot Find Icon HOT 3
- Tooltips for selected tools HOT 2
- [GUI translation] → Nose Cone tool. HOT 1
- [GUI translation] → main menu / Rocket HOT 2
- Improve workflow for exporting multiple parts as a single object
- Changing placement of fins causes them to jump to strange places after copying a fin object HOT 3
- Feature Request: Ability to add threads to round objects such as body tubes, fin cans, etc. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rocket.