Ship WB problems and it's future in core (0.18)
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Be nice to others! Read the FreeCAD code of conduct!
Re: Ship WB problems and it's future in core (0.18)
Can you tell from using very simple data which one is right? I would guess that python3 has received improvements. If the results are better there would be no need to search further.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
-
- Veteran
- Posts: 3157
- Joined: Sat May 20, 2017 12:06 pm
- Location: Germany
Re: Ship WB problems and it's future in core (0.18)
@looo:
Is it possible for you to add ship-weights (ship, engines, tanks, see tutorial)
and plot the stability curve?
Please see here:
https://forum.freecadweb.org/viewtopic. ... 2&start=10
Thomas
Is it possible for you to add ship-weights (ship, engines, tanks, see tutorial)
and plot the stability curve?
Please see here:
https://forum.freecadweb.org/viewtopic. ... 2&start=10
Thomas
Re: Ship WB problems and it's future in core (0.18)
I don't know which one is the right one. I compared the data from the table and it looks like there are only differences in the last row. The plots are scaled so it looks like all data is different, but it's only the last one which differs.
Maybe some integer division is involved...
I created a tank, but wasn't able to add point-weights.thschrader wrote: ↑Sun Nov 11, 2018 5:12 pm Is it possible for you to add ship-weights (ship, engines, tanks, see tutorial)
and plot the stability curve?
Re: Ship WB problems and it's future in core (0.18)
regarding the difference of the plots:
The problem is caused by rounding some values. The bounding box which is used for the computation sets it's values with a little function which uses the default values for the number of decimals. Because of a problem I have encountered previously there were some changes made by me to not use the rounding for this part of the computation. So I guess the plot on the right (py3) is more correct and maybe there are more issues like these in the code.
The problem is caused by rounding some values. The bounding box which is used for the computation sets it's values with a little function which uses the default values for the number of decimals. Because of a problem I have encountered previously there were some changes made by me to not use the rounding for this part of the computation. So I guess the plot on the right (py3) is more correct and maybe there are more issues like these in the code.
Re: Ship WB problems and it's future in core (0.18)
I somehow doubt that.
There i guess still is a problem of not enough users using Py3 builds. And therefore solutions such as PIP-Tools are still limited to rather small potential group of end users.But I guess such changes are not good for the update-mechanism... So yes tell the testers to use the pip-tools.
That explains it.regarding the difference of the plots:
The problem is caused by rounding some values. The bounding box which is used for the computation sets it's values with a little function which uses the default values for the number of decimals. Because of a problem I have encountered previously there were some changes made by me to not use the rounding for this part of the computation. So I guess the plot on the right (py3) is more correct and maybe there are more issues like these in the code.
Re: Ship WB problems and it's future in core (0.18)
Can I assign issue #3607 to you?looo wrote:
(if so do you have an account on the tracker? and if so but it's not a 'Developer' account, can you PM @kkremitzki to elevate your privileges?)
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
Re: Ship WB problems and it's future in core (0.18)
I've opened a ticket on https://github.com/FreeCAD/freecad.ship/issues/6 to track issue #3607looo wrote:
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