Importing rcs-data from drone scan

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
User avatar
HakanSeven12
Veteran
Posts: 1481
Joined: Wed Feb 06, 2019 10:30 pm

Re: Importing rcs-data from drone scan

Post by HakanSeven12 »

HakanSeven12 wrote: Sat Jun 20, 2020 9:07 am But there is some bug at pivy trackers so maybe you need to wait untill this PR merged.
https://github.com/joelgraff/pivy_trackers/pull/22
Bug fixed. You can try it.
thschrader
Veteran
Posts: 3157
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

Re: Importing rcs-data from drone scan

Post by thschrader »

HakanSeven12 wrote: Mon Jun 22, 2020 2:20 pm ...
Bug fixed. You can try it.
Thanks.
Just downloaded trails-wb, pivy-tracker, freecad python support from github (maybe too early?)
I have copied pivy-tracker/FC-python support files into the empty Trails subfolder. I hope this was right,
see my folder structure below (I am not a coder, forgive me...)
After restart FC Trails wont load, giving back this:

Code: Select all

During initialization the error "module 'pivy.coin' has no attribute 'SoGeoCoordinate'" occurred in freecad.trails
--------------------------------------------------------------------------------
Traceback (most recent call last):
  File "<string>", line 148, in InitApplications
  File "importlib\__init__.py", line 126, in import_module
  File "<frozen importlib._bootstrap>", line 994, in _gcd_import
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "C:\Users\thomas.schrader\AppData\Roaming\FreeCAD\Mod\Trails\freecad\trails\__init__.py", line 53, in <module>
    'pivy_trackers.pivy_trackers.tracker.context_tracker', 'ContextTracker')
  File "C:\Users\thomas.schrader\AppData\Roaming\FreeCAD\Mod\Trails\freecad\trails\__init__.py", line 50, in import_class
    return getattr(import_module(path, name), name)
  File "C:\Users\thomas.schrader\AppData\Roaming\FreeCAD\Mod\Trails\freecad\trails\__init__.py", line 43, in import_module
    return __import__(path, globals(), locals(), _name_list)
  File "C:\Users\thomas.schrader\AppData\Roaming\FreeCAD\Mod\Trails\pivy_trackers\pivy_trackers\tracker\context_tracker.py", line 27, in <module>
    from ..trait.base import Base
  File "C:\Users\thomas.schrader\AppData\Roaming\FreeCAD\Mod\Trails\pivy_trackers\pivy_trackers\trait\base.py", line 26, in <module>
    from ..coin.coin_enums import NodeTypes as Nodes
  File "C:\Users\thomas.schrader\AppData\Roaming\FreeCAD\Mod\Trails\pivy_trackers\pivy_trackers\coin\coin_enums.py", line 332, in <module>
    class NodeTypes(Const):
  File "C:\Users\thomas.schrader\AppData\Roaming\FreeCAD\Mod\Trails\pivy_trackers\pivy_trackers\coin\coin_enums.py", line 342, in NodeTypes
    GEO_COORDINATE = coin.SoGeoCoordinate
AttributeError: module 'pivy.coin' has no attribute 'SoGeoCoordinate'
--------------------------------------------------------------------------------

My system:
OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.20980 (Git)
Build type: Release
Branch: master
Hash: c2818d9159385d23b182dc7167af2d4bacbee94c
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Germany (de_DE)
trails_wb.JPG
trails_wb.JPG (54.28 KiB) Viewed 1033 times
User avatar
HakanSeven12
Veteran
Posts: 1481
Joined: Wed Feb 06, 2019 10:30 pm

Re: Importing rcs-data from drone scan

Post by HakanSeven12 »

Your file path seems correct. I don't have this bug. Are you using LP or Conda version?

My system:

Code: Select all

OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.21718 (Git)
Build type: Release
Branch: master
Hash: 002e25b5617f2c79f65968f1f82f7267899965c3
Python version: 3.8.2
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: Turkish/Turkey (tr_TR)
thschrader
Veteran
Posts: 3157
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

Re: Importing rcs-data from drone scan

Post by thschrader »

I use the LP version.
fc_version.JPG
fc_version.JPG (43.75 KiB) Viewed 970 times
Last weekend I tried the newest dev-snapshot, but the 0.19_21673 has an error in
the cfdof-wb (the dependencies-checker in Edit/Preferences/CFD gives a gmsh-error).
At the moment I will remain on my version above.
User avatar
HakanSeven12
Veteran
Posts: 1481
Joined: Wed Feb 06, 2019 10:30 pm

Re: Importing rcs-data from drone scan

Post by HakanSeven12 »

Can you try conda version?
thschrader
Veteran
Posts: 3157
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

Re: Importing rcs-data from drone scan

Post by thschrader »

Just tried
fc_version_new.JPG
fc_version_new.JPG (12.59 KiB) Viewed 962 times
OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.21673 (Git)
Build type: Release
Branch: master
Hash: e1cfaf129866b3482bf8650e8993089a834747f0
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Germany (de_DE)

Gives back:

Code: Select all

During initialization the error "module 'pivy.coin' has no attribute 'SoGeoCoordinate'" occurred in freecad.trails
--------------------------------------------------------------------------------
Traceback (most recent call last):
  File "<string>", line 148, in InitApplications
  File "importlib\__init__.py", line 126, in import_module
  File "<frozen importlib._bootstrap>", line 994, in _gcd_import
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "C:\Users\thomas.schrader\AppData\Roaming\FreeCAD\Mod\Trails\freecad\trails\__init__.py", line 53, in <module>
    'pivy_trackers.pivy_trackers.tracker.context_tracker', 'ContextTracker')
  File "C:\Users\thomas.schrader\AppData\Roaming\FreeCAD\Mod\Trails\freecad\trails\__init__.py", line 50, in import_class
    return getattr(import_module(path, name), name)
  File "C:\Users\thomas.schrader\AppData\Roaming\FreeCAD\Mod\Trails\freecad\trails\__init__.py", line 43, in import_module
    return __import__(path, globals(), locals(), _name_list)
  File "C:\Users\thomas.schrader\AppData\Roaming\FreeCAD\Mod\Trails\pivy_trackers\pivy_trackers\tracker\context_tracker.py", line 27, in <module>
    from ..trait.base import Base
  File "C:\Users\thomas.schrader\AppData\Roaming\FreeCAD\Mod\Trails\pivy_trackers\pivy_trackers\trait\base.py", line 26, in <module>
    from ..coin.coin_enums import NodeTypes as Nodes
  File "C:\Users\thomas.schrader\AppData\Roaming\FreeCAD\Mod\Trails\pivy_trackers\pivy_trackers\coin\coin_enums.py", line 332, in <module>
    class NodeTypes(Const):
  File "C:\Users\thomas.schrader\AppData\Roaming\FreeCAD\Mod\Trails\pivy_trackers\pivy_trackers\coin\coin_enums.py", line 342, in NodeTypes
    GEO_COORDINATE = coin.SoGeoCoordinate
AttributeError: module 'pivy.coin' has no attribute 'SoGeoCoordinate'
--------------------------------------------------------------------------------
User avatar
HakanSeven12
Veteran
Posts: 1481
Joined: Wed Feb 06, 2019 10:30 pm

Re: Importing rcs-data from drone scan

Post by HakanSeven12 »

Its LP version try conda.
conda.png
conda.png (3.44 KiB) Viewed 956 times
thschrader
Veteran
Posts: 3157
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

Re: Importing rcs-data from drone scan

Post by thschrader »

HakanSeven12 wrote: Tue Jun 23, 2020 7:05 am Its LP version try conda.
Done.
Trails loaded. This is what I see with
OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.21718 (Git)
Build type: Release
Branch: master
Hash: 002e25b5617f2c79f65968f1f82f7267899965c3
Python version: 3.8.2
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: German/Germany (de_DE)
fc_conda_version_new.JPG
fc_conda_version_new.JPG (114.67 KiB) Viewed 951 times
error-message:

Code: Select all

C:\GA-NT\Anwendungen\TS_513538\FreeCAD\FreeCAD_0.19.21718-Win-Conda_vc14.x-x86_64\bin\lib\site-packages\mpmath\ctx_mp_python.py:892: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if other is 0:
C:\GA-NT\Anwendungen\TS_513538\FreeCAD\FreeCAD_0.19.21718-Win-Conda_vc14.x-x86_64\bin\lib\site-packages\mpmath\ctx_mp_python.py:986: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if other is 0:
User avatar
HakanSeven12
Veteran
Posts: 1481
Joined: Wed Feb 06, 2019 10:30 pm

Re: Importing rcs-data from drone scan

Post by HakanSeven12 »

It's not important. Everything is fine.
Post Reply