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!
vocx
Veteran
Posts: 5197
Joined: Thu Oct 18, 2018 9:18 pm

Re: Geomatics Workbench

Post by vocx »

lalberts wrote: Thu Feb 06, 2020 2:46 pm Are both Add-Ons Geodata and Geomatic compatible? can they both exist at the same time in FreeCAD (both installed at the same time)?

Thanks
Lukas
The GeoData workbench was started by microelly2 but he never completed it. It was more or less prototype code.

Then, Hakan started Geomatics Workbench using code from microelly's GeoData. So, GeoData is more or less obsolete, as more functionality was developed in Geomatics Workbench.

However, some time later Hakan said he didn't want to continue development of the Geomatics workbench (post). Nevertheless, shortly afterwards bidandou decided he could continue the project and became the second main developer and maintainer (post).

So, you shouldn't use GeoData; you should use Geomatics, and preferably direct your questions to bidandou in the GitHub repository.
Always add the important information to your posts if you need help. Also see Tutorials and Video tutorials.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
lalberts
Posts: 87
Joined: Fri Feb 05, 2016 2:40 pm
Location: Esslingen am Neckar

Re: Geomatics Workbench

Post by lalberts »

OK Thanks a lot.

Lukas
User avatar
HakanSeven12
Veteran
Posts: 1481
Joined: Wed Feb 06, 2019 10:30 pm

Re: Geomatics Workbench

Post by HakanSeven12 »

vocx wrote: Fri Feb 07, 2020 6:09 am shortly afterwards bidandou decided he could continue the project and became the second main developer and maintainer (post).
I don't think bidandou works on wb anymore.
User avatar
HakanSeven12
Veteran
Posts: 1481
Joined: Wed Feb 06, 2019 10:30 pm

Re: Geomatics Workbench

Post by HakanSeven12 »

I added new triangulation algorithm based on Delaunator. Its very fast. I ported it from js to python.

Github link of Delaunator: https://github.com/HakanSeven12/Delaunator-Python


Test.png
Test.png (63.95 KiB) Viewed 1705 times
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Geomatics Workbench

Post by Kunda1 »

That's pretty dang cool :o 8-)
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
User avatar
Joel_graff
Veteran
Posts: 1949
Joined: Fri Apr 28, 2017 4:23 pm
Contact:

Re: Geomatics Workbench

Post by Joel_graff »

Fantastic!
FreeCAD Trails workbench for transportation engineering: https://www.github.com/joelgraff/freecad.trails

pivy_trackers 2D coin3D library: https://www.github.com/joelgraff/pivy_trackers
User avatar
HakanSeven12
Veteran
Posts: 1481
Joined: Wed Feb 06, 2019 10:30 pm

Re: Geomatics Workbench

Post by HakanSeven12 »

Kunda1 wrote: Fri Feb 28, 2020 4:22 pm That's pretty dang cool :o 8-)
Joel_graff wrote: Mon Mar 02, 2020 12:10 pm Fantastic!
Thanks :)
User avatar
microelly2
Veteran
Posts: 4688
Joined: Tue Nov 12, 2013 4:06 pm
Contact:

Re: Geomatics Workbench

Post by microelly2 »

it's intersting, but I made a test with scipy (qhull in the backround)

Code: Select all

from scipy.spatial import Voronoi, voronoi_plot_2d

print ("scipy")
start_time = time.clock()
vor = Voronoi(points)

#
# delaunay
#
edges=[]
col=[]
for r in  vor.ridge_points:
	pts=[points[v] for v in r if v  !=  -1]
	if len(pts)>1:
		for i in range(len(pts)-1):
			pa=pts[i]
			pb=pts[i+1]
			xa,ya=pa[0],pa[1]
			xb,yb=pb[0],pb[1]
			edges += [(xa,ya,xb,yb)]

triangulation_time = time.clock() - start_time
print(triangulation_time)
    
with the same test dataset these are the test time on my computer:

pure python: 250 s
scipy time: 4.9 s
User avatar
HakanSeven12
Veteran
Posts: 1481
Joined: Wed Feb 06, 2019 10:30 pm

Re: Geomatics Workbench

Post by HakanSeven12 »

microelly2 wrote: Mon Mar 02, 2020 9:27 pm it's intersting, but I made a test with scipy (qhull in the backround)
with the same test dataset these are the test time on my computer:

pure python: 250 s
scipy time: 4.9 s
Yes. Scipy more faster than delaunator but it's not included in FreeCAD. So I want to use minimal python code for triangulation and I'm happy with result. Here is the comparison: https://forum.freecadweb.org/viewtopic. ... 94#p373471
User avatar
eccioloste
Posts: 37
Joined: Tue Sep 26, 2017 2:59 pm
Contact:

Re: Geomatics Workbench

Post by eccioloste »

Hello,
I don't know if it's the right place.
But I am using Geomatics WB, which will be the best upgrade for my scope of work.
I have uploaded a .xyz file, but I don't understand how to set the units. It always imports as "mm", though i have set Freecad to m units.
What am I missing? I followed installation steps and set the decimals to 10 because I sometimes have longer decimals.

340391.42511567 5073227.2524919 1759.5
340393.42433041 5073227.2524919 1759.39
340395.42354515 5073227.2524919 1759.22
340397.42275989 5073227.2524919 1759.0601

This is a part of my xyz file

Help please.
Regards
Post Reply