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!
User avatar
HakanSeven12
Veteran
Posts: 1481
Joined: Wed Feb 06, 2019 10:30 pm

Re: FreeCAD Trails Workbench (Transportation and Geomatics)

Post by HakanSeven12 »

Slope analysis for terrains is finally working. Example analysis for a hill.

https://www.patreon.com/posts/59003414
Attachments
slope analysis.PNG
slope analysis.PNG (101.76 KiB) Viewed 4709 times
User avatar
HakanSeven12
Veteran
Posts: 1481
Joined: Wed Feb 06, 2019 10:30 pm

Re: FreeCAD Trails Workbench (Transportation and Geomatics)

Post by HakanSeven12 »

Direction analysis for terrains. Example analysis for a hill.

https://www.patreon.com/posts/59078871
Attachments
direction analysis.PNG
direction analysis.PNG (172.59 KiB) Viewed 4591 times
User avatar
Joel_graff
Veteran
Posts: 1949
Joined: Fri Apr 28, 2017 4:23 pm
Contact:

Re: FreeCAD Trails Workbench (Transportation and Geomatics)

Post by Joel_graff »

paullee wrote: Sun Oct 31, 2021 7:36 am Trying to find more explanation how to use the Swept Path Analysis - a really long awaited feature - can't find in the github readme, any idea ? :)
Swept Path Analysis is just a proof-of-concept at the moment. I've really not had time to work on anything Trails related, so it's not had much love lately. I'm hoping things will change to where I can get some regular time on Trails again, but I really don't know when that will be.
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
paullee
Veteran
Posts: 5098
Joined: Wed May 04, 2016 3:58 pm

Re: FreeCAD Trails Workbench (Transportation and Geomatics)

Post by paullee »

Thanks @Joel_graff!

Hope you would have more leisure time soon :)
User avatar
HakanSeven12
Veteran
Posts: 1481
Joined: Wed Feb 06, 2019 10:30 pm

Re: FreeCAD Trails Workbench (Transportation and Geomatics)

Post by HakanSeven12 »

I added ranges for analysis. You can determine how many color ranges will be generated for elevations, slopes and directions.

https://www.patreon.com/posts/59366882

elevation.PNG
elevation.PNG (368.87 KiB) Viewed 4273 times
slope.PNG
slope.PNG (373.38 KiB) Viewed 4273 times
direction.PNG
direction.PNG (368.46 KiB) Viewed 4273 times
User avatar
Joel_graff
Veteran
Posts: 1949
Joined: Fri Apr 28, 2017 4:23 pm
Contact:

Re: FreeCAD Trails Workbench (Transportation and Geomatics)

Post by Joel_graff »

HakanSeven12 wrote: Wed Dec 01, 2021 7:23 am I added ranges for analysis. You can determine how many color ranges will be generated for elevations, slopes and directions.
This stuff is simply amazing. I love watching you go at it. :D
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: FreeCAD Trails Workbench (Transportation and Geomatics)

Post by HakanSeven12 »

Thanks ;) can you do a favor for me? I really need to non-infinite spiral fix for alignments. If you have time, that would be great.
User avatar
HakanSeven12
Veteran
Posts: 1481
Joined: Wed Feb 06, 2019 10:30 pm

Re: Trails Workbench (Transportation and Earthwork Workbench)

Post by HakanSeven12 »

looo wrote: Fri Mar 19, 2021 4:12 pm
HakanSeven12 wrote: Mon Mar 15, 2021 11:09 am Yes. We are using new features in next pivy release. Until it released you cant use this wb on linux. Sorry.

I finally created a 0.6.6 release:
https://github.com/coin3d/pivy/releases/tag/0.6.6

maintainers feel free to update the pivy packages :D
Arch based distros are up to date but Debian based distros not. If its possible, can you do something for it? :)
sgrogan wrote: pinged by pinger macro
kkremitzki wrote: pinged by pinger macro
hobbes1069 wrote: pinged by pinger macro
vejmarie wrote: pinged by pinger macro
Image
BrockN
Posts: 3
Joined: Sun Dec 19, 2021 5:21 am

Re: FreeCAD Trails Workbench (Transportation and Geomatics)

Post by BrockN »

I've been using AutoCAD for Civil design since it was DOS based, with DCA modules (yup, I'm pretty old...). Less and less CAD time as the years went by. I was good with Land Desktop and could fake my way through Civil3D when I finally left CAD work behind, but that was a few years ago.

I need to do some civil work for myself on a parcel of land (building a house), so I started working through the basics of FreeCAD tonight (no Autodesk access any longer). So yeah, very much a newbie to FreeCAD. :roll:

My 5 acres was flown with a LiDAR drone. I have a ground LAZ file, SHP file of contours and a TIF/TFW of the DEM. After having issues getting the SHP file to import at the correct scale in FreeCAD (units settings don't seem to have any effect, but this file imports fine into Google Earth Pro) I did some searching and landed on the Trails project. Figured I'd hit the jackpot for sure! :D

However, I'm getting the 'No module named 'laspy'" error. I found a comment about cloning laspy.git, but frankly, that's a little beyond me at this point.
Digging deeper, I came across a suggestion to use the regular point import command instead, and that's where I'm failing now.

The LAZ file is basically ASCI nonsense... not a text based comma or space delimited file. No preview shows in the importer and of course, nothing imports.

Is there a way to import either the SHP file (properly) or the contents of the LAZ file (ideally - build my own surface) with what is available for FreeCAD? Do I need to see if the drone company can spit out a different file type? I'll want to add PL's based on coordinates from GPS survey, do some road design and perhaps a little earthworks...but I need to get the base topo in the drawing first.

FreeCAD appears quite advanced, but it definitely works differently from AutoCAD/Civil3D... :?

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

Re: FreeCAD Trails Workbench (Transportation and Geomatics)

Post by HakanSeven12 »

Welcome to forum :) if you send your file, I can take a look. Maybe I can do something for that.
Post Reply