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
Joel_graff
Veteran
Posts: 1949
Joined: Fri Apr 28, 2017 4:23 pm
Contact:

Re: Civil engineering feature implementation (Transportation Engineering)

Post by Joel_graff »

HakanSeven12 wrote: Wed Jun 26, 2019 7:08 am Hi Joel. I download your WB again and "E2 Kolu" is broken.
I noticed that too.

The issue is that there's incorrect geometry in the alignment. My previous implementation was just more tolerant of that than the current one is. I considered trying to make it better, but then I decided not to, because if the geometry is incorrect, then the user needs to fix it anyway.

Anyway, the proper course of action would be for the user to go into the horizontal alignment design tool and fix the geometry there (when I get it done ;) ), or fix it outside of FreeCAD and re-import.
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: Civil engineering feature implementation (Transportation Engineering)

Post by HakanSeven12 »

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

Re: Civil engineering feature implementation (Transportation Engineering)

Post by HakanSeven12 »

I put my guidelines group inside of Alignments group. When I try to save, it gives this error.

Code: Select all

Traceback (most recent call last):
  File "C:\Users\Hakan\AppData\Roaming\FreeCAD\Mod\freecad.trails-dev\freecad\trails\project\project_observer.py", line 72, in slotStartSaveDocument
    _cb()
  File "C:\Users\Hakan\AppData\Roaming\FreeCAD\Mod\freecad.trails-dev\freecad\trails\alignment\alignment_group.py", line 132, in write_xml
    _list.append(_obj.Proxy.get_data())
<class 'AttributeError'>: 'App.DocumentObjectGroup' object has no attribute 'Proxy'
User avatar
Joel_graff
Veteran
Posts: 1949
Joined: Fri Apr 28, 2017 4:23 pm
Contact:

Re: Civil engineering feature implementation (Transportation Engineering)

Post by Joel_graff »

HakanSeven12 wrote: Sun Jun 30, 2019 12:54 pm I put my guidelines group inside of Alignments group. When I try to save, it gives this error.
Hmmm... Something changed. I'll take a look in the next day or two.
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
Joel_graff
Veteran
Posts: 1949
Joined: Fri Apr 28, 2017 4:23 pm
Contact:

Re: Civil engineering feature implementation (Transportation Engineering)

Post by Joel_graff »

Just a note, I've updated the Trails github to start tracking issues / milestones and have set a rough roadmap for the 0.1 release... which is going to be a while yet, I'm sure.

Also have added support to the model for finding the station / offset of an arbitrary point along the alignment and completed initial curve editing.

Steady as she goes...
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: Civil engineering feature implementation (Transportation Engineering)

Post by HakanSeven12 »

Joel_graff wrote: Wed Jul 10, 2019 4:44 pm Also have added support to the model for finding the station / offset of an arbitrary point along the alignment.
I want to ask about this feature but you already did it :)
User avatar
Joel_graff
Veteran
Posts: 1949
Joined: Fri Apr 28, 2017 4:23 pm
Contact:

Re: Civil engineering feature implementation (Transportation Engineering)

Post by Joel_graff »

It's there. At least for arcs and tangents. Not promising spirals any time soon. lol
When you need to use it, let me know.
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
jmaustpc
Veteran
Posts: 11207
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: Civil engineering feature implementation (Transportation Engineering)

Post by jmaustpc »

Hi all, just a bit of fun, Kunda1 posted the following picture of an intersection in Japan. truly amazing! I just noticed it today so I thought I would post the "opposite"...one of my favourite highways in Australia...First Japan again....next post will be Australia.
Kunda1 wrote: Sat Dec 30, 2017 8:25 pm Saw this on reddit and thought it was appropriate for this thread:

Image

google maps link: https://goo.gl/maps/DBbqyD3ufMo
User avatar
HakanSeven12
Veteran
Posts: 1481
Joined: Wed Feb 06, 2019 10:30 pm

Re: Civil engineering feature implementation (Transportation Engineering)

Post by HakanSeven12 »

jmaustpc wrote: Sat Jul 13, 2019 8:54 am Hi all, just a bit of fun, Kunda1 posted the following picture of an intersection in Japan. truly amazing! I just noticed it today so I thought I would post the "opposite"...one of my favourite highways in Australia...First Japan again....next post will be Australia.
From Turkey :) not so complex

https://goo.gl/maps/m99PNgYZpuXf7DRL6
jmaustpc
Veteran
Posts: 11207
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: Civil engineering feature implementation (Transportation Engineering)

Post by jmaustpc »

HakanSeven12 wrote: Sat Jul 13, 2019 9:52 am From Turkey :) not so complex
:D


If you were in Adelaide, the capital city of South Australia and you wanted to go to the next major city to the west, you would go down the Australian Federal Highway 1 across the Nullarbor plain to Perth Western Australia, a short little trip of approximately 2100km. which to put in the perspective of Western Europe is about the distance from Berlin Germany to London England and all the way back again. There are actually some bends and corners in the highway, but the longest straight bit without a bend is almost 150km long. This photo from Google street view was taken one morning, not much traffic!

https://www.google.com/maps/@-31.573331 ... 312!8i6656
Screenshot_20190713_195459.png
Screenshot_20190713_195459.png (932.71 KiB) Viewed 919 times
Post Reply