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: Geomatics Workbench

Post by HakanSeven12 »

I am very busy and 1 week holiday coming :) Maybe I cant be interested in WB. But I did little changes.

Differrent increments for line and curve(or spiral when its supported in Trails). Also added horizontal geometry points to list.


NCGL.png
NCGL.png (109.74 KiB) Viewed 1833 times
User avatar
Joel_graff
Veteran
Posts: 1949
Joined: Fri Apr 28, 2017 4:23 pm
Contact:

Re: Geomatics Workbench

Post by Joel_graff »

HakanSeven12 wrote: Tue May 28, 2019 10:48 am Differrent increments for line and curve(or spiral when its supported in Trails). Also added horizontal geometry points to list.
Really starting to look like something. I think about getting spirals functioning again, but I'm too focused on getting the editor sorted out.

I was just thinking about your cross-section lines. You obviously generate separate Part.Line objects for each one, but do you need them as actual objects? Or are they there strictly as a visual reference? I ask because it is possible to do that without creating objects that show up in the tree view - but it means directly manipulating the scenegraph (which is what I'm dealing with right now...)
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: Geomatics Workbench

Post by HakanSeven12 »

Joel_graff wrote: Tue May 28, 2019 11:55 am Really starting to look like something. I think about getting spirals functioning again, but I'm too focused on getting the editor sorted out.
Waiting for it :D
Joel_graff wrote: Tue May 28, 2019 11:55 am I was just thinking about your cross-section lines. You obviously generate separate Part.Line objects for each one, but do you need them as actual objects? Or are they there strictly as a visual reference? I ask because it is possible to do that without creating objects that show up in the tree view - but it means directly manipulating the scenegraph (which is what I'm dealing with right now...)
Its not important for basic road but in intersections you need to edit those lines by manually for seperate two road sections(or other surfaces like earthwork). Or you need to edit for different situation.
Last edited by HakanSeven12 on Tue May 28, 2019 12:42 pm, edited 1 time in total.
User avatar
Joel_graff
Veteran
Posts: 1949
Joined: Fri Apr 28, 2017 4:23 pm
Contact:

Re: Geomatics Workbench

Post by Joel_graff »

HakanSeven12 wrote: Tue May 28, 2019 12:06 pm Its not important for basic road but in intersections you need to edit those lines for seperate two road sections(or other surfaces like earthwork). Or you need to edit those lines for different situation.
So what does 'editing' involve? I'm thinking about rolling that functionality into the horizontal alignment tool, since it really seems like it ought to be done there, but I could be wrong... In any case, the lines could be easily generated as scenegraph nodes to be switched on / off as needed - far more efficient than manipulating Part.Line objects.

I guess the idea would be that you'd create a non-visual python object (not a FeaturePython object) to manipulate the data as required and simply update the scenegraph nodes for the visualization. Unless having each cross section line appear in the treeview as a separate object is really helpful to the user, I would think the editing could be managed at the Coin3D scenegraph level, rather than as Part.Line objects.

That said, it's not as straightforward as building lines or FeaturePython objects, so I'm not suggesting going after that at the moment. But you may want to consider it in the future to eliminate cluttering the treeview.
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: Geomatics Workbench

Post by HakanSeven12 »

Joel_graff wrote: Tue May 28, 2019 12:41 pm So what does 'editing' involve? I'm thinking about rolling that functionality into the horizontal alignment tool, since it really seems like it ought to be done there, but I could be wrong... In any case, the lines could be easily generated as scenegraph nodes to be switched on / off as needed - far more efficient than manipulating Part.Line objects.
I guess the idea would be that you'd create a non-visual python object (not a FeaturePython object) to manipulate the data as required and simply update the scenegraph nodes for the visualization. Unless having each cross section line appear in the treeview as a separate object is really helpful to the user, I would think the editing could be managed at the Coin3D scenegraph level, rather than as Part.Line objects.
I dont have enough information about python and FreeCAD. I learned python when I started this workbench from an 1 and half hour video. Coin3D is stranger thing for me.
Joel_graff wrote: Tue May 28, 2019 12:41 pm That said, it's not as straightforward as building lines or FeaturePython objects, so I'm not suggesting going after that at the moment. But you may want to consider it in the future to eliminate cluttering the treeview.
I can add a group and move all wire in to it than make its visibility false.
User avatar
HakanSeven12
Veteran
Posts: 1481
Joined: Wed Feb 06, 2019 10:30 pm

Re: Geomatics Workbench

Post by HakanSeven12 »

All create guide line options activated. Create Guide Lines step is complated.
Next Steps:
Create Sections
Create Multiple Section Views
Volume Calculation Editor
Volume Tables

After all of that, I will put it in Addon Manager.

options.png
options.png (10.65 KiB) Viewed 1725 times
Last edited by HakanSeven12 on Thu May 30, 2019 6:07 pm, edited 1 time in total.
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Geomatics Workbench

Post by Kunda1 »

Nice!!! :tada: :clap: :clap: :clap:
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
Joel_graff
Veteran
Posts: 1949
Joined: Fri Apr 28, 2017 4:23 pm
Contact:

Re: Geomatics Workbench

Post by Joel_graff »

Sweet!
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: Geomatics Workbench

Post by HakanSeven12 »

I use Draft.makePoint to import point files but its slow and heavy for very big data files. So Im testing Points module. Now you are looking to 35400 points. İt's just took 1 second to import all points.


PC.png
PC.png (86.76 KiB) Viewed 1605 times
Last edited by HakanSeven12 on Wed Jun 19, 2019 10:41 pm, edited 1 time in total.
User avatar
Joel_graff
Veteran
Posts: 1949
Joined: Fri Apr 28, 2017 4:23 pm
Contact:

Re: Geomatics Workbench

Post by Joel_graff »

Fantastic!
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
Post Reply