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

Re: Civil engineering feature implementation (Transportation Engineering)

Postby Joel_graff » Fri Jan 22, 2021 9:27 pm

Fantastic! I noticed you were working with the orthogonal function code. Wondered what you were up to. ;)
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: 1182
Joined: Wed Feb 06, 2019 10:30 pm

Re: Civil engineering feature implementation (Transportation Engineering)

Postby HakanSeven12 » Sat Jan 23, 2021 4:11 am

I just added guidelines support for draft lines :) some times you are doing some updates and that broke the alignments. So I added this feature to continue to my test.
User avatar
HakanSeven12
Posts: 1182
Joined: Wed Feb 06, 2019 10:30 pm

Re: Civil engineering feature implementation (Transportation Engineering)

Postby HakanSeven12 » Mon Jan 25, 2021 6:52 am

Hi Joel. I have an idea. I think we need to change alignment structure a little bit. I want to make something like this in treeview.

Code: Select all

GeoOrigin
|_Alignments
    |_Alignment001
        |_Horizontal Geometry
        |_Vertical Geometry(Profile)
        |_Guideline Clusters

    |_Alignment002
        |_Horizontal Geometry
        |_Vertical Geometry(Profile)
        |_Guideline Clusters
User avatar
Joel_graff
Posts: 1915
Joined: Fri Apr 28, 2017 4:23 pm
Contact:

Re: Civil engineering feature implementation (Transportation Engineering)

Postby Joel_graff » Mon Jan 25, 2021 1:17 pm

HakanSeven12 wrote:
Mon Jan 25, 2021 6:52 am
Hi Joel. I have an idea. I think we need to change alignment structure a little bit. I want to make something like this in treeview.
That seems like a good idea. I've kicked that around several times and have never really settled on an exact structure. What you're proposing seems to be what I had thought at one time myself.
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
Posts: 1915
Joined: Fri Apr 28, 2017 4:23 pm
Contact:

Re: Civil engineering feature implementation (Transportation Engineering)

Postby Joel_graff » Mon Jan 25, 2021 1:23 pm

HakanSeven12 wrote:
Sat Jan 23, 2021 4:11 am
I just added guidelines support for draft lines :) some times you are doing some updates and that broke the alignments. So I added this feature to continue to my test.
Yeah, that's kind of why I was suggesting we get in the habit of creating a new branch every time we update a feature. Now that you're doing a lot more development on your side, it's pretty important we don't break things. :)
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: 1182
Joined: Wed Feb 06, 2019 10:30 pm

Re: Civil engineering feature implementation (Transportation Engineering)

Postby HakanSeven12 » Tue Jan 26, 2021 6:22 pm

Joel_graff wrote:
Mon Jan 25, 2021 1:17 pm
That seems like a good idea. I've kicked that around several times and have never really settled on an exact structure. What you're proposing seems to be what I had thought at one time myself.
Good :) so can you do something for that anytime soon?
User avatar
HakanSeven12
Posts: 1182
Joined: Wed Feb 06, 2019 10:30 pm

Re: Civil engineering feature implementation (Transportation Engineering)

Postby HakanSeven12 » Thu Jan 28, 2021 8:52 am

Hi Joel. I made a SoGeo nodes implementation for your alignments. Take alook and tell me is it ok for you or not.
Attachments
alignment_sogeo.png
alignment_sogeo.png (105.21 KiB) Viewed 450 times
User avatar
Joel_graff
Posts: 1915
Joined: Fri Apr 28, 2017 4:23 pm
Contact:

Re: Civil engineering feature implementation (Transportation Engineering)

Postby Joel_graff » Thu Jan 28, 2021 3:15 pm

Ok, I'll take a closer look. I've been reworking a lot of code, fixing bugs and other issues, so I really haven't had much time. You've been making really great progress, though!

Also, on the object hierarchy issue, I'll try to get that sorted out in the next day or two - it doesn't seem too difficult.
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: 1182
Joined: Wed Feb 06, 2019 10:30 pm

Re: Civil engineering feature implementation (Transportation Engineering)

Postby HakanSeven12 » Thu Jan 28, 2021 5:52 pm

Joel_graff wrote:
Thu Jan 28, 2021 3:15 pm
Also, on the object hierarchy issue, I'll try to get that sorted out in the next day or two - it doesn't seem too difficult.
Ok. Waiting for this :)
User avatar
Joel_graff
Posts: 1915
Joined: Fri Apr 28, 2017 4:23 pm
Contact:

Re: Civil engineering feature implementation (Transportation Engineering)

Postby Joel_graff » Thu Jan 28, 2021 10:26 pm

HakanSeven12 wrote:
Thu Jan 28, 2021 5:52 pm
Ok. Waiting for this
I implemented the hierarchy, but the refactor of the alignment group object broke things - like object highlighting... Anyway, I don't know what's messed up, so until I can figure it out and test things, I'm not going to merge anything.

I'll let you know once I've sorted things out.
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