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!
fdunn1ca
Posts: 4
Joined: Thu Aug 26, 2021 5:13 pm

Re: Geomatic Workbench

Post by fdunn1ca »

I am trying to create a model of my front yard and ultimately some re-landscaping.
I am pretty much a FreeCad newbie though I was quite fluent in SolidWorks in the past.

Using "Trails (alpha)/Point Tools/Import Point File" I tried to import a space delimited text file. I didn't get preview data but got this error.
Any ideas on what I am doing wrong?

17:36:45 Traceback (most recent call last):
17:36:45 File "/home/frank/.FreeCAD/Mod/freecad.trails/freecad/trails/geomatics/point/import_points.py", line 274, in preview
17:36:45 self.file_reader(file, "Preview")
17:36:45 File "/home/frank/.FreeCAD/Mod/freecad.trails/freecad/trails/geomatics/point/import_points.py", line 201, in file_reader
17:36:45 d = int(description) - 1
17:36:45 ValueError: invalid literal for int() with base 10: ''

Sample of my data:
1 536124 4815582.657 0
2 536124.1122 4815593.425 0.03175
3 536128.0876 4815593.67 0.3048
4 536134.3269 4815593.809 0.83185
5 536134.5458 4815589.184 0.80645
6 536134.5083 4815588.328 0.7874
7 536133.188 4815588.031 0.33655

OS: Ubuntu 21.04 (ubuntu:GNOME/ubuntu)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24291 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 0.19.2)
Hash: 7b5e18a0759de778b74d3a5c17eba9cb815035ac
Python version: 3.8.8
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.4.0
Locale: English/Canada (en_CA)
HakanSeven12 wrote: Mon Apr 08, 2019 10:25 am Image

Import Point File Updated

-Multiple file support.
-Preview of selected file.
-Add and remove files from list.
User avatar
HakanSeven12
Veteran
Posts: 1481
Joined: Wed Feb 06, 2019 10:30 pm

Re: FreeCAD Trails Workbench (Transportation and Geomatics)

Post by HakanSeven12 »

Can you add an screenshot that show your importer setting?
fdunn1ca
Posts: 4
Joined: Thu Aug 26, 2021 5:13 pm

Re: FreeCAD Trails Workbench (Transportation and Geomatics)

Post by fdunn1ca »

Screenshot from 2021-09-06 08-13-26.png
Screenshot from 2021-09-06 08-13-26.png (35.48 KiB) Viewed 3902 times
HakanSeven12 wrote: Sun Sep 05, 2021 7:38 am Can you add an screenshot that show your importer setting?
Thanks for the quick reply.

I attached a screenshot and clicked the "Place inline" button.

Hope that works. Still learning how to use the Forum.

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

Re: FreeCAD Trails Workbench (Transportation and Geomatics)

Post by HakanSeven12 »

Fastest FreeCAD developer 8-)

You need to write a number to description box too. That cause the issue.
fdunn1ca
Posts: 4
Joined: Thu Aug 26, 2021 5:13 pm

Re: FreeCAD Trails Workbench (Transportation and Geomatics)

Post by fdunn1ca »

That worked.

This is very cool. I created a surface from the point group. Now I have to figure out what to do with it.

Can you point me to any documentation?

Thanks,

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

Re: FreeCAD Trails Workbench (Transportation and Geomatics)

Post by HakanSeven12 »

The problem is there is no documentation for trails for now. If you created a surface you can edit it by using surface edit tools. You can import alignment files by using alignment importer. You can create regions(like civil3d sample lines), sections. Than you can calculate areas between sections and print a volume table.
fdunn1ca
Posts: 4
Joined: Thu Aug 26, 2021 5:13 pm

Re: FreeCAD Trails Workbench (Transportation and Geomatics)

Post by fdunn1ca »

Hi Hakan,

Thank you so much for creating these tools and for your support. It looks like I have a lot of learning to do. I'm thinking I will try and figure out how to make a solid from my surface then use the Arch workbench to model my house on it.

I am a retired mechanical engineer so new to all this. What is alignment in this context?

I realise this is above and beyond supporting the Trails tools so if you are too busy please don't feel you need to spend your time teaching me.

Thanks again,

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

Re: FreeCAD Trails Workbench (Transportation and Geomatics)

Post by HakanSeven12 »

This workbench for road design son if you don't have interest on this topic you don't need to learn it to :) you can stick with point groups and surfaces.
User avatar
HakanSeven12
Veteran
Posts: 1481
Joined: Wed Feb 06, 2019 10:30 pm

Re: FreeCAD Trails Workbench (Transportation and Geomatics)

Post by HakanSeven12 »

Some visual fixes for alignments.
Attachments
alignments.PNG
alignments.PNG (23.21 KiB) Viewed 3636 times
Maarten
Posts: 13
Joined: Mon Jul 15, 2019 8:30 pm
Location: Dordrecht, The Netherlands
Contact:

Re: FreeCAD Trails Workbench (Transportation and Geomatics)

Post by Maarten »

Some more tools are added to Trials this morning. 2D/3D PDOK data with 2D BGT with first quick and dirty version of 3D CityJSON.

And some basic documentation about how to use the tools: https://github.com/joelgraff/freecad.tr ... /GIS-tools

Image

Any feedback/testing is very much appreciated!
Post Reply