FreeCAD Trails Workbench (Transportation and Geomatics)

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
sgriska
Posts: 20
Joined: Fri Feb 04, 2022 1:27 pm

Re: FreeCAD Trails Workbench (Transportation and Geomatics)

Post by sgriska »

I am having trouble installing the workbench by running "git clone --recursive https://github.com/joelgraff/freecad.trails.git". I get the following error:

Fetched in submodule path 'pivy_trackers', but it did not contain ab0ec4f2cf99bbfef79ca4800ca527ea4cfb2d8c. Direct fetching of that commit failed.

How do I fix this?
User avatar
HakanSeven12
Veteran
Posts: 1481
Joined: Wed Feb 06, 2019 10:30 pm

Re: FreeCAD Trails Workbench (Transportation and Geomatics)

Post by HakanSeven12 »

You can install it from addon manager
freeCAD-beginner
Posts: 2
Joined: Wed Mar 09, 2022 10:35 am

Re: FreeCAD Trails Workbench (Transportation and Geomatics)

Post by freeCAD-beginner »

I am trying to import survey points, using the Trails WB,
but keep getting this error.

Would somebody perhaps know what causes this error
and what I can do to make it work.

12:56:27 Traceback (most recent call last):
File "/home/admin/.FreeCAD/Mod/Trails/Trails/objects/georigin.py", line 60, in onChanged
node = self.get_geoorigin()
File "/home/admin/.FreeCAD/Mod/Trails/Trails/objects/georigin.py", line 102, in get_geoorigin
if not isinstance(node, coin.SoGeoOrigin):
<class 'AttributeError'>: module 'pivy.coin' has no attribute 'SoGeoOrigin'
12:56:27 Traceback (most recent call last):
File "/home/admin/.FreeCAD/Mod/Trails/Trails/objects/georigin.py", line 60, in onChanged
node = self.get_geoorigin()
File "/home/admin/.FreeCAD/Mod/Trails/Trails/objects/georigin.py", line 102, in get_geoorigin
if not isinstance(node, coin.SoGeoOrigin):
<class 'AttributeError'>: module 'pivy.coin' has no attribute 'SoGeoOrigin'
12:56:27 Traceback (most recent call last):
File "/home/admin/.FreeCAD/Mod/Trails/Trails/objects/georigin.py", line 60, in onChanged
node = self.get_geoorigin()
File "/home/admin/.FreeCAD/Mod/Trails/Trails/objects/georigin.py", line 102, in get_geoorigin
if not isinstance(node, coin.SoGeoOrigin):
<class 'AttributeError'>: module 'pivy.coin' has no attribute 'SoGeoOrigin'
12:56:27 Traceback (most recent call last):
File "/home/admin/.FreeCAD/Mod/Trails/Trails/objects/georigin.py", line 60, in onChanged
node = self.get_geoorigin()
File "/home/admin/.FreeCAD/Mod/Trails/Trails/objects/georigin.py", line 102, in get_geoorigin
if not isinstance(node, coin.SoGeoOrigin):
<class 'AttributeError'>: module 'pivy.coin' has no attribute 'SoGeoOrigin'
12:56:27 Traceback (most recent call last):
File "/home/admin/.FreeCAD/Mod/Trails/Trails/viewproviders/view_cluster.py", line 79, in attach
self.geo_coords = coin.SoGeoCoordinate()
<class 'AttributeError'>: module 'pivy.coin' has no attribute 'SoGeoCoordinate'
12:56:27 Traceback (most recent call last):
File "/home/admin/.FreeCAD/Mod/Trails/Trails/viewproviders/view_cluster.py", line 120, in onChanged
self.point_labels.removeAllChildren()
<class 'AttributeError'>: 'ViewProviderCluster' object has no attribute 'point_labels'
12:56:27 Traceback (most recent call last):
File "/home/admin/.FreeCAD/Mod/Trails/Trails/viewproviders/view_cluster.py", line 120, in onChanged
self.point_labels.removeAllChildren()
<class 'AttributeError'>: 'ViewProviderCluster' object has no attribute 'point_labels'
12:56:27 Traceback (most recent call last):
File "/home/admin/.FreeCAD/Mod/Trails/Trails/viewproviders/view_cluster.py", line 180, in updateData
self.markers.markerIndex = marker_dict[marker]
<class 'AttributeError'>: 'ViewProviderCluster' object has no attribute 'markers'
12:56:27 Traceback (most recent call last):
File "/home/admin/.FreeCAD/Mod/Trails/Trails/viewproviders/view_cluster.py", line 120, in onChanged
self.point_labels.removeAllChildren()
<class 'AttributeError'>: 'ViewProviderCluster' object has no attribute 'point_labels'
User avatar
HakanSeven12
Veteran
Posts: 1481
Joined: Wed Feb 06, 2019 10:30 pm

Re: FreeCAD Trails Workbench (Transportation and Geomatics)

Post by HakanSeven12 »

Try appimage version of freecad. This will fix the issue.
freeCAD-beginner
Posts: 2
Joined: Wed Mar 09, 2022 10:35 am

Re: FreeCAD Trails Workbench (Transportation and Geomatics)

Post by freeCAD-beginner »

HakanSeven12 wrote: Wed Mar 09, 2022 2:31 pm Try appimage version of freecad. This will fix the issue.
thank you. the appimage doesn't seem to have this bug,
and I could import survey points, but the FreeCAD AppImage
runs very unstable on Leap 15.2

so, it's not a solution for me and I am back to Civil 3D to process land survey.

I really miss the old Geomatics WB, where I could import
maps from OSM and do a lot more than in Trails.
User avatar
HakanSeven12
Veteran
Posts: 1481
Joined: Wed Feb 06, 2019 10:30 pm

Re: FreeCAD Trails Workbench (Transportation and Geomatics)

Post by HakanSeven12 »

Python 3.10 causes this issue. It breaks pivy. I have ideas about making a seperate gis module for osm and other geomatics stuffs. But I lost my interes on freecad. Maybe I can do something in the feature. We will see.
User avatar
HakanSeven12
Veteran
Posts: 1481
Joined: Wed Feb 06, 2019 10:30 pm

Re: FreeCAD Trails Workbench (Transportation and Geomatics)

Post by HakanSeven12 »

freeCAD-beginner wrote: Fri Mar 11, 2022 12:08 pm I really miss the old Geomatics WB, where I could import
maps from OSM and do a lot more than in Trails.
I worked on this one a little bit and I created another workbench for gis releated tools.

https://twitter.com/Seven12Hakan/status ... 806Sg&s=19
User avatar
regis
Posts: 725
Joined: Sun Jul 12, 2015 8:17 am
Contact:

Re: FreeCAD Trails Workbench (Transportation and Geomatics)

Post by regis »

Hello guys, I've got a question concerning the trails tutorial, would anyone be able to assist here?
Attachments
Snipaste_2022-06-04_22-33-19.png
Snipaste_2022-06-04_22-33-19.png (13.91 KiB) Viewed 2093 times
paullee
Veteran
Posts: 5097
Joined: Wed May 04, 2016 3:58 pm

Re: FreeCAD Trails Workbench (Transportation and Geomatics)

Post by paullee »

I have also wondered about this for a while but has no time to find out, good to have some pointers :D
User avatar
Vincent B
Veteran
Posts: 4713
Joined: Sun Apr 05, 2015 9:02 am
Location: La Rochelle, France

Re: FreeCAD Trails Workbench (Transportation and Geomatics)

Post by Vincent B »

Hi,
how to delete some terrain triangle?
Post Reply