Material improvements
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: Material improvements
https://github.com/FreeCAD/FreeCAD/pull/2102 see git commit 3651b9b8 add basic card handling. Far far from your development but much better than we had.
If you find a minute it still would be cool to get it at least working without crash.
bernd
If you find a minute it still would be cool to get it at least working without crash.
bernd
Re: Material improvements
I tried compiling the Material fork too. The compiling rebased to upstream worked well for Python3 and Qt5.
But starting the application results in a crash in PropertyPartMaterial.cpp in function SolidMaterialArray::init_type()
1) Py::PropertyPartMaterial ::init_type(); from Application.cpp
2) SolidMaterialArray::init_type(); line 423 from PropertyPartMaterial.cpp
3) behaviors().readyType(); line 321 from PropertyPartMaterial.cpp
Because the coupling C++ to Python is new to me, I have to discover this for a while...
Dietmar
But starting the application results in a crash in PropertyPartMaterial.cpp in function SolidMaterialArray::init_type()
1) Py::PropertyPartMaterial ::init_type(); from Application.cpp
2) SolidMaterialArray::init_type(); line 423 from PropertyPartMaterial.cpp
3) behaviors().readyType(); line 321 from PropertyPartMaterial.cpp
Because the coupling C++ to Python is new to me, I have to discover this for a while...
Dietmar
Code: Select all
Program received signal SIGSEGV, Segmentation fault.
#0 /lib/x86_64-linux-gnu/libc.so.6(+0x37840) [0x7f7a29a44840]
#1 /lib/x86_64-linux-gnu/libpython3.7m.so.1.0(PyTuple_New+0xf7) [0x7f7a2c12e427]
#2 /lib/x86_64-linux-gnu/libpython3.7m.so.1.0(PyType_Ready+0x1ab2) [0x7f7a2bf8eb62]
#3 /lib/x86_64-linux-gnu/libpython3.7m.so.1.0(PyType_Ready+0x1ee8) [0x7f7a2bf8ef98]
#4 0x7f7a2c90dd7e in Py::PythonType::readyType() from /home/dietmar/Code/FreeCAD/freecad-build-master/lib/libFreeCADBase.so+0x1c
#5 0x7f7a2d2c494e in Py::SolidMaterialArray::init_type() from /home/dietmar/Code/FreeCAD/freecad-build-master/lib/libFreeCADApp.so+0x69
#6 0x7f7a2d2c43d0 in Py::PropertyPartMaterial::init_type() from /home/dietmar/Code/FreeCAD/freecad-build-master/lib/libFreeCADApp.so+0x16
#7 0x7f7a2d313480 in App::Application::initTypes() from /home/dietmar/Code/FreeCAD/freecad-build-master/lib/libFreeCADApp.so+0x1a0
#8 0x7f7a2d31329b in App::Application::init(int, char**) from /home/dietmar/Code/FreeCAD/freecad-build-master/lib/libFreeCADApp.so+0x35
#9 /home/dietmar/Code/FreeCAD/freecad-build-master/bin/FreeCAD(main+0x6b8) [0x562b10108cb7]
#10 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xeb) [0x7f7a29a3109b]
#11 /home/dietmar/Code/FreeCAD/freecad-build-master/bin/FreeCAD(_start+0x2a) [0x562b101084ca]
*** Beendet mit Rückgabewert: 01 ***
Re: Material improvements
Since I am a Python guy I am not of a big help here. That is the main reason nothing has been fixed in this branch, because IMHO the would be a big step forward in materials in FreeCAD.
Best to do is to encapsulate the problem and ask a specific question in developer part of the forum. For sure I will help with testing if you would do further developing.
bernd
Best to do is to encapsulate the problem and ask a specific question in developer part of the forum. For sure I will help with testing if you would do further developing.
bernd
Re: Material improvements
Ok, I will do so
Re: Material improvements
The big App::Link merge has taken place. On rebase I get merge conflicts in a few files:
If you are still on this it might makes sense to rebase to up to date master.
Code: Select all
von beiden geändert: src/App/DynamicProperty.cpp
von beiden geändert: src/App/DynamicProperty.h
von beiden geändert: src/App/Property.h
von beiden geändert: src/App/PropertyExpressionEngine.cpp
von beiden geändert: src/App/PropertyStandard.cpp
von beiden geändert: src/Mod/Spreadsheet/App/Cell.cpp
Re: Material improvements
Something for this weekend...
-
- Posts: 602
- Joined: Tue Jan 29, 2013 10:35 pm
Re: Material improvements
I managed to compile it on a rebased master today.bernd wrote: ↑Mon Aug 19, 2019 5:21 am The big App::Link merge has taken place. On rebase I get merge conflicts in a few files:
If you are still on this it might makes sense to rebase to up to date master.Code: Select all
von beiden geändert: src/App/DynamicProperty.cpp von beiden geändert: src/App/DynamicProperty.h von beiden geändert: src/App/Property.h von beiden geändert: src/App/PropertyExpressionEngine.cpp von beiden geändert: src/App/PropertyStandard.cpp von beiden geändert: src/Mod/Spreadsheet/App/Cell.cpp
Eivind
Re: Material improvements
wow which branch on https://github.com/eivindkv/FreeCAD? On Py2 or Py3?
How about this ?
How about this ?
eivindkvedalen wrote: ↑Tue Apr 02, 2019 6:54 pmI discovered that as well, and I'm looking into it now...
Eivind
Re: Material improvements
Off-topic, but just wanted to say, Nice to see you
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
-
- Posts: 602
- Joined: Tue Jan 29, 2013 10:35 pm