DorinDXN wrote: ↑Sat Aug 06, 2022 11:41 am
added "in this code"
the code provided performs rotations of the camera, I want translation instead.
Thanks,
Coin3D is not know from much people (other than some coders), probably I've not explained correctly things, as I was reasoning as a "programmer" my fault, sorry.
Probably adding also information about you FC version using istruction provided here:
https://forum.freecadweb.org/viewtopic.php?f=3&t=2264
it will be better as it is versioned in case of "future changes", as forums posts hopefully will be retained for a long time, doing that if the solution proposed and proved to be useful in say 0.20.1 (as a simple example) it will be immediate to have some doubt that if it will not work in FreeCAD 2.00 as something could have changed.
For the title, IMHO maybe it is better to write something like this:
How to do camera Translation instead of Rotation?
Sorry again for bothering and thanks for your kindness.
Regards
Carlo D.
PS as example my version of FC is (among others):
Code: Select all
OS: Artix Linux (openbox)
Word size of FreeCAD: 64-bit
Version: 0.20.29177 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 0.20)
Hash: 68e337670e227889217652ddac593c93b5e8dc94
Coin 4.0.0, Vtk 9.1.0, OCC 7.5.3
Locale: Italian/Italy (it_IT)
Installed mods:
* Curves 0.5.2
you could easily see that this version is compiled using:
Python 3.9.13
Qt 5.12.9
Coin 4.0.0
OCC 7.5.3
that have some relevance when coding in Python, maybe some Python construct supported by 3.9.13 could not working of worse work different from maybe Python 3.10.0 or in Python 3.8.7.