[Fixed] Bug #3281: STL object doesn't retain its rotation after change
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Be nice to others! Read the FreeCAD code of conduct!
[Fixed] Bug #3281: STL object doesn't retain its rotation after change
issue #3281: STL object doesn't retain its rotation after change
OP posted and bailed without uploading an example or saying what version of 0.17 they used. Can someone test this ?
OP posted and bailed without uploading an example or saying what version of 0.17 they used. Can someone test this ?
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
- DeepSOIC
- Veteran
- Posts: 7900
- Joined: Fri Aug 29, 2014 12:45 am
- Location: used to be Saint-Petersburg, Russia
Re: Bug #3281: STL object doesn't retain it's rotation after change
I can confirm it on my rather old FC:
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.12595 (Git)
Build type: Release
Branch: master
Hash: 8c7bb0cd551cf11551ff71d716a16211c6d5e13d
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0
Locale: Russian/RussianFederation (ru_RU)
But I could only reproduce it after I had watched the video. The key is that Placement property is open in property editor while the placement is changed by transform widget. Then, changes in property editor cause some weirdness with angles.
I wonder if this PR fixes it: https://github.com/FreeCAD/FreeCAD/pull/1053
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.12595 (Git)
Build type: Release
Branch: master
Hash: 8c7bb0cd551cf11551ff71d716a16211c6d5e13d
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0
Locale: Russian/RussianFederation (ru_RU)
But I could only reproduce it after I had watched the video. The key is that Placement property is open in property editor while the placement is changed by transform widget. Then, changes in property editor cause some weirdness with angles.
I wonder if this PR fixes it: https://github.com/FreeCAD/FreeCAD/pull/1053
Re: Bug #3281: STL object doesn't retain it's rotation after change
I think the PR may solve at least partly this problem.
But it is not linked to the stl file but for any part, when the rotation leads to revert the rotation axis.
I will make some tests to give you more complete information.
But it is not linked to the stl file but for any part, when the rotation leads to revert the rotation axis.
I will make some tests to give you more complete information.
Last edited by plgarcia on Fri Dec 08, 2017 12:32 pm, edited 1 time in total.
Re: Bug #3281: STL object doesn't retain it's rotation after change
What if you transform the Part. Then select another part and reselect the part before changing its placement.
As the pannel will be reloaded when switching parts, it will be resynchronized with the internal representation.
As the pannel will be reloaded when switching parts, it will be resynchronized with the internal representation.
Re: Bug #3281: STL object doesn't retain it's rotation after change
I have duvuto inscivermi to the forum to be able to answer.
Keep in mind that I can not write English and use the translator.
I've been using Freecad for two years and I'm happy to collaborate.
Thank you
Giuseppe
Keep in mind that I can not write English and use the translator.
I've been using Freecad for two years and I'm happy to collaborate.
Thank you
Giuseppe
Re: Bug #3281: STL object doesn't retain it's rotation after change
Ok the time to recompile everything to make a test.
The PR 1053 solves the problem in all cases I have tested (composition on different axis, negative, positive angles etc.
Good news!
Nevertheless the manipulation I propose by selecting another part before moving the part again after the transform should work, so you can wait the PR is taken.
The PR 1053 solves the problem in all cases I have tested (composition on different axis, negative, positive angles etc.
Good news!
Nevertheless the manipulation I propose by selecting another part before moving the part again after the transform should work, so you can wait the PR is taken.
Re: Bug #3281: STL object doesn't retain it's rotation after change
I had already found the solution in the way you indicated: select another object before changing the position.
Giuseppe
Giuseppe
Re: Bug #3281: STL object doesn't retain it's rotation after change
On Version 0.17 Rev. 12772 2017/12/06it seems solved. The problem is no longer present.
Great.
Thank you
Giuseppe
Great.
Thank you
Giuseppe
Re: Bug #3281: STL object doesn't retain it's rotation after change
I'm confused...so you can't recreate on the latest 0.17 ? (current one as of this writing is 12798)
Or did you install build PR 1053 per @plgarcia and confirm that it fixes it?
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: Bug #3281: STL object doesn't retain it's rotation after change
No the problem is still present in this vesion It happens only with certains angles (negatives angles).
But the PR 1053 solves it as confirmed by kunda1.
Now we have to wait for sombody to pull the PR in FreeCAD master.
Regards