Civil engineering feature implementation (Transportation Engineering)
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Be nice to others! Read the FreeCAD code of conduct!
Re: Civil engineering feature implementation (Transportation Engineering)
Olé!
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
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
- ebrahim raeyat
- Posts: 621
- Joined: Sun Sep 09, 2018 7:00 pm
- Location: Iran
- Contact:
Re: Civil engineering feature implementation (Transportation Engineering)
Thank @Joel_graff. when i want to activate your workbench this error appeared:
it seems it is related to relative import. thanks.
Code: Select all
invalid syntax (publisher.py, line 101)
Traceback (most recent call last):
File "/home/ebi/.FreeCAD/Mod/freecad.trails/freecad/trails/init_gui.py", line 110, in Initialize
from .project.commands \
File "/home/ebi/.FreeCAD/Mod/freecad.trails/freecad/trails/project/commands/edit_alignment_cmd.py", line 33, in <module>
from ..tasks.alignment import edit_alignment_task
File "/home/ebi/.FreeCAD/Mod/freecad.trails/freecad/trails/project/tasks/alignment/edit_alignment_task.py", line 46, in <module>
from ...support.publisher import Publisher
- ebrahim raeyat
- Posts: 621
- Joined: Sun Sep 09, 2018 7:00 pm
- Location: Iran
- Contact:
Re: Civil engineering feature implementation (Transportation Engineering)
i forgot to mention my freecad system:
Code: Select all
OS: Ubuntu 18.04.2 LTS (ubuntu:GNOME/ubuntu)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.16718 (Git)
Build type: Release
Branch: master
Hash: cfd04ac6afa091f5c4f18e94756bd58fb6d66806
Python version: 3.7.1
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
- Joel_graff
- Veteran
- Posts: 1949
- Joined: Fri Apr 28, 2017 4:23 pm
- Contact:
Re: Civil engineering feature implementation (Transportation Engineering)
I fixed what was breaking it. You'll find that it's not really very useful at this point, however. I'm really just trying to create an initial 0.1 release with the horizontal tool and there's still a lot of bugs to work out.ebrahim raeyat wrote: ↑Thu Sep 12, 2019 1:27 am Thank @Joel_graff. when i want to activate your workbench this error appeared:
Still, you can import LandXML with single-center curves and edit it. I suspect it won't save or reload properly anymore - been a long time since I've touched that code and a lot has changed.
There is some test data in the workbench at:
freecad/trails/resources/data/alignment/SugarGroveRoad.xml
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
pivy_trackers 2D coin3D library: https://www.github.com/joelgraff/pivy_trackers
- ebrahim raeyat
- Posts: 621
- Joined: Sun Sep 09, 2018 7:00 pm
- Location: Iran
- Contact:
Re: Civil engineering feature implementation (Transportation Engineering)
Thanks. it is now working, although i couldn't work with that. nor one open FCStd or import csv or xml.Joel_graff wrote: ↑Thu Sep 12, 2019 2:03 am
I fixed what was breaking it. You'll find that it's not really very useful at this point, however. I'm really just trying to create an initial 0.1 release with the horizontal tool and there's still a lot of bugs to work out.
Still, you can import LandXML with single-center curves and edit it. I suspect it won't save or reload properly anymore - been a long time since I've touched that code and a lot has changed.
There is some test data in the workbench at:
freecad/trails/resources/data/alignment/SugarGroveRoad.xml
i will follow your work, it is interesting.
Re: Civil engineering feature implementation (Transportation Engineering)
we're on revision 0.19.18198
you should probably update.
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
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
- Joel_graff
- Veteran
- Posts: 1949
- Joined: Fri Apr 28, 2017 4:23 pm
- Contact:
Re: Civil engineering feature implementation (Transportation Engineering)
I haven't really been doing a good job making the user interface accessible, I admit.ebrahim raeyat wrote: ↑Thu Sep 12, 2019 7:33 pm Thanks. it is now working, although i couldn't work with that. nor one open FCStd or import csv or xml.
i will follow your work, it is interesting.
CSV fucntionality is broken and deprecated. I won't be using it going forward.
You can import an XML file by pressing CTRL_Shift_A. That will let you open a file dialog to pick the XML file. That *should* work. Hakan seemed to make it work on his own LandXML files, anyway.
I really should try to update the commands, though. I've really ignored that stuff because I figured no one was paying attention anyway.
Last edited by Joel_graff on Fri Sep 13, 2019 11:51 am, edited 1 time in total.
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
pivy_trackers 2D coin3D library: https://www.github.com/joelgraff/pivy_trackers
- HakanSeven12
- Veteran
- Posts: 1481
- Joined: Wed Feb 06, 2019 10:30 pm
Re: Civil engineering feature implementation (Transportation Engineering)
It works except non-infinity spirals
Support me: Hakan Seven on Patreon
Modern UI: Modern UI on FreeCAD Forum
Trails Workbench: Trails Workbench on FreeCAD Forum
Modern UI: Modern UI on FreeCAD Forum
Trails Workbench: Trails Workbench on FreeCAD Forum
- Joel_graff
- Veteran
- Posts: 1949
- Joined: Fri Apr 28, 2017 4:23 pm
- Contact:
Re: Civil engineering feature implementation (Transportation Engineering)
Have you had a chance to look at the Geomatics issue yet?
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
pivy_trackers 2D coin3D library: https://www.github.com/joelgraff/pivy_trackers
- HakanSeven12
- Veteran
- Posts: 1481
- Joined: Wed Feb 06, 2019 10:30 pm
Re: Civil engineering feature implementation (Transportation Engineering)
I dont have enough time for it but you can talk with https://github.com/allilou. Maybe he can do something.Joel_graff wrote: ↑Fri Sep 13, 2019 11:51 am Have you had a chance to look at the Geomatics issue yet?
Support me: Hakan Seven on Patreon
Modern UI: Modern UI on FreeCAD Forum
Trails Workbench: Trails Workbench on FreeCAD Forum
Modern UI: Modern UI on FreeCAD Forum
Trails Workbench: Trails Workbench on FreeCAD Forum