Civil engineering feature implementation (Transportation Engineering)

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
Posts: 749
Joined: Wed Feb 06, 2019 10:30 pm

Re: Civil engineering feature implementation (Transportation Engineering)

Postby HakanSeven12 » Fri Mar 20, 2020 3:59 pm

Joel_graff wrote:
Fri Mar 20, 2020 3:46 pm
I don't think the needed object is exposed in the current pivy release.
Yes but it has a dev release: https://anaconda.org/freecad/pivy/files ... n=0.6.6dev
Joel_graff wrote:
Fri Mar 20, 2020 3:46 pm
Maybe once we get past the next release, Werner can take a look and provide a little direction?
I hope so.
User avatar
Joel_graff
Posts: 1717
Joined: Fri Apr 28, 2017 4:23 pm
Contact:

Re: Civil engineering feature implementation (Transportation Engineering)

Postby Joel_graff » Fri Mar 20, 2020 4:05 pm

Just an FYI, I just took a quick look at the trails error and fixed it. However, there's other broken issues that I have to sort out, so while it doesn't generate any errors at the moment, things may still not work.

Watch the dev branch for updates, if and when I get the time.
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
Posts: 749
Joined: Wed Feb 06, 2019 10:30 pm

Re: Civil engineering feature implementation (Transportation Engineering)

Postby HakanSeven12 » Fri Mar 20, 2020 4:07 pm

Joel_graff wrote:
Fri Mar 20, 2020 4:05 pm
Watch the dev branch for updates, if and when I get the time.
Thanks 🙂
User avatar
Joel_graff
Posts: 1717
Joined: Fri Apr 28, 2017 4:23 pm
Contact:

Re: Civil engineering feature implementation (Transportation Engineering)

Postby Joel_graff » Fri Mar 20, 2020 4:15 pm

Actually, I can confirm, it will import an alignment and allow you to edit it, but actual interactive editing is almost completely broken, undoubtedly because of the numerous API changes that have taken place since I last dealt with it.

I need to come to a stopping point with where I'm at in turns / pivy_trackers before I can get back to Trails.
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
triplus
Posts: 9425
Joined: Mon Dec 12, 2011 4:45 pm

Re: Civil engineering feature implementation (Transportation Engineering)

Postby triplus » Fri Mar 20, 2020 5:45 pm

HakanSeven12 wrote:
Fri Mar 20, 2020 2:58 pm
Only thing that stop me is a bug in FreeCAD: https://tracker.freecadweb.org/view.php?id=4275

It has a solution but I don't know when FC developers interest with that.
In general one of the areas Coin3D should be good at includes geological modelling. Based on all that was discussed over there indeed it looks like the mentioned Coin3D classes are intended to be used for such purposes:
A common problem when dealing with geographic data is the reduced floating point precision you often get.
In addition you now do have access to them using the latest Pivy? The initial difficulties therefore should likely be resolved? That for sure would be a nice outcome.
User avatar
HakanSeven12
Posts: 749
Joined: Wed Feb 06, 2019 10:30 pm

Re: Civil engineering feature implementation (Transportation Engineering)

Postby HakanSeven12 » Fri Mar 20, 2020 6:01 pm

triplus wrote:
Fri Mar 20, 2020 5:45 pm
In addition you now do have access to them using the latest Pivy?
Yes pivy dev give you ability to access SoGeo classes.
triplus wrote:
Fri Mar 20, 2020 5:45 pm
The initial difficulties therefore should likely be resolved? That for sure would be a nice outcome.
No I don't know how to use it.
triplus
Posts: 9425
Joined: Mon Dec 12, 2011 4:45 pm

Re: Civil engineering feature implementation (Transportation Engineering)

Postby triplus » Fri Mar 20, 2020 6:10 pm

HakanSeven12 wrote:
Fri Mar 20, 2020 6:01 pm
Yes pivy dev give you ability to access SoGeo classes.
Great.
No I don't know how to use it.
What likely makes sense now is to open a dedicated forum thread, describing in more detail, maybe add some code, what you are after and where you would need some additional help.
User avatar
HakanSeven12
Posts: 749
Joined: Wed Feb 06, 2019 10:30 pm

Re: Civil engineering feature implementation (Transportation Engineering)

Postby HakanSeven12 » Fri Mar 20, 2020 9:31 pm

triplus wrote:
Fri Mar 20, 2020 6:10 pm
What likely makes sense now is to open a dedicated forum thread, describing in more detail, maybe add some code, what you are after and where you would need some additional help.
Maybe. But there are already two thread about this bug.

https://forum.freecadweb.org/viewtopic.php?f=10&t=35935

https://forum.freecadweb.org/viewtopic.php?f=3&t=36362
serviteur
Posts: 66
Joined: Thu Nov 13, 2014 5:54 pm

Re: Civil engineering feature implementation (Transportation Engineering)

Postby serviteur » Wed Apr 01, 2020 9:42 am

Hello everyone,

How to generate altitudes curves/a Contour Map of terrain on OpenStreetMap, Google Map, etc... into FreeCad 0.18.4 with Geomatics workbench?

Example (English): Google Earth and SketchUp

phpBB [video]


My Thread: https://forum.freecadweb.org/viewtopic. ... 95#p382695
User avatar
HakanSeven12
Posts: 749
Joined: Wed Feb 06, 2019 10:30 pm

Re: Civil engineering feature implementation (Transportation Engineering)

Postby HakanSeven12 » Wed Apr 01, 2020 10:46 am

serviteur wrote:
Wed Apr 01, 2020 9:42 am
Hello everyone,

How to generate altitudes curves/a Contour Map of terrain on OpenStreetMap, Google Map, etc... into FreeCad 0.18.4 with Geomatics workbench?

Example (English): Google Earth and SketchUp

My Thread: https://forum.freecadweb.org/viewtopic. ... 95#p382695
Hi. Firstly Geomatic and Trails will be merge. So you can use import srtm function but I dont now when Joel complate merging. Here is the a test run. After points created you can triangulate it and create contour.

SRTM.png
SRTM.png (86.93 KiB) Viewed 82 times