Hi! I want to start debugging some issues I have while using FCGears with parameters taken from a spreadsheet.
Some of the values are correctly assigned but some don't. The gears starts showing some errors after the assignment and it shows the "std::bad_cast" exception.
I don't know where to start debugging with FreeCAD, I'm developer and I've used freecad for so long that I'm willing to contribute, this is a good starting point. Can somebody point me out where to start?
FCGears: some issues when using values from Spreadsheet
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
-
- Posts: 17
- Joined: Fri Dec 22, 2017 4:20 pm
- Location: Argentina
- Contact:
FCGears: some issues when using values from Spreadsheet
0666: read and write access for all!
Re: FCGears: some issues when using values from Spreadsheet
There are some limitations of the gears. Not all values are accepted. But "std::bad_cast" sounds like something different. I guess it's best to post your freecad-version and the FreeCAD-file.epileftric wrote: ↑Thu Nov 07, 2019 1:34 pm I don't know where to start debugging with FreeCAD, I'm developer and I've used freecad for so long that I'm willing to contribute, this is a good starting point. Can somebody point me out where to start?
-
- Posts: 17
- Joined: Fri Dec 22, 2017 4:20 pm
- Location: Argentina
- Contact:
Re: FCGears: some issues when using values from Spreadsheet
I'm using this version:
And the file is attached, the issues are with the bevel gear's heigth
Code: Select all
OS: Ubuntu 18.04.3 LTS (Budgie:GNOME/budgie-desktop)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.18320 (Git) AppImage
Build type: Release
Branch: LinkStage3
Hash: 1488153018418e0d8b7357c4a418235231e4c40e
Python version: 3.7.3
Qt version: 5.6.3
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
- Attachments
-
- Bevel.FCStd
- (61.48 KiB) Downloaded 35 times
0666: read and write access for all!
Re: FCGears: some issues when using values from Spreadsheet
Which value do I have to assign to reproduce the problem?
-
- Posts: 17
- Joined: Fri Dec 22, 2017 4:20 pm
- Location: Argentina
- Contact:
Re: FCGears: some issues when using values from Spreadsheet
Any value would trigger the issue, but I just realized that with newer versions it just works. I feel like an A-hole now.
0666: read and write access for all!
Re: FCGears: some issues when using values from Spreadsheet
Such things can happen for the 0.19_pre builds. Good to know it's solved.
If you move on with this project, it would be nice if you can share the final output. A parametric tool to create a pair of gears is a requested feature here:
https://github.com/looooo/freecad.gears/issues/33
If you move on with this project, it would be nice if you can share the final output. A parametric tool to create a pair of gears is a requested feature here:
https://github.com/looooo/freecad.gears/issues/33
-
- Posts: 17
- Joined: Fri Dec 22, 2017 4:20 pm
- Location: Argentina
- Contact:
Re: FCGears: some issues when using values from Spreadsheet
Will try to! I did this gearbox as a forward design (not to say quick and dirty) to do some testing, now I'm starting from scratch to do it properly with a spreadsheet and well calculated distances.
- Attachments
-
- gearbox.png (164.42 KiB) Viewed 1093 times
0666: read and write access for all!