Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is DesignSPHysics ready for FreeCAD v1.0 release ? #218

Closed
luzpaz opened this issue Sep 11, 2024 · 6 comments
Closed

Is DesignSPHysics ready for FreeCAD v1.0 release ? #218

luzpaz opened this issue Sep 11, 2024 · 6 comments

Comments

@luzpaz
Copy link
Contributor

luzpaz commented Sep 11, 2024

@kwahoo2
Copy link

kwahoo2 commented Sep 15, 2024

DesignSPHysics thinks that FreeCAD 1.0 is too low version:
obraz

Here is the culprit:
https://github.com/DualSPHysics/DesignSPHysics/blob/master/mod/freecad_tools.py#L45

FreeCAD.Version()[0] + FreeCAD.Version()[1] returns 10, while min version constant is 018.

After making a workaround for this, there is another issue:
12:10:43 pyException: Traceback (most recent call last): File "/home/adi/.local/share/FreeCAD/Macro/DesignSPHysics.FCMacro", line 25, in <module> boot() File "/home/adi/.local/share/FreeCAD/Mod/DesignSPHysics/mod/main.py", line 149, in boot fc_object_tree: QtGui.QTreeWidget = get_fc_main_window().findChildren(QtGui.QSplitter)[0].findChildren(QtGui.QTreeWidget)[0] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^ <class 'IndexError'>: list index out of range

@luzpaz
Copy link
Contributor Author

luzpaz commented Sep 15, 2024

@imestevez 👆

@luzpaz
Copy link
Contributor Author

luzpaz commented Nov 11, 2024

@imestevez ping

@imestevez
Copy link
Collaborator

It is not comptatible with FreeCAD =>v1.0 yet.

@luzpaz
Copy link
Contributor Author

luzpaz commented Nov 21, 2024

Is there an ETA ?

@imestevez
Copy link
Collaborator

The latest version is already compatible with FreeCAD v1.0

@luzpaz luzpaz closed this as completed Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants