You can see how it's works in video.HakanSeven12 wrote: ↑Fri Nov 13, 2020 8:37 am I implamented the contours in new surface object. Contour interval option added to data properties.
contours.png
FreeCAD Trails Workbench (Transportation and Geomatics)
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Be nice to others! Read the FreeCAD code of conduct!
- HakanSeven12
- Veteran
- Posts: 1481
- Joined: Wed Feb 06, 2019 10:30 pm
Re: Trails Workbench (Transportation and Earthwork Workbench)
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: Trails Workbench (Transportation and Earthwork Workbench)
You need to figure out how to make GIFs. Then I could use it in my presentations. It looks great!
(Honestly, though, I never could figure out a good way to do it in Windows.)
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: Trails Workbench (Transportation and Earthwork Workbench)
Thanks you can use this app for gif https://www.screentogif.com/
Also can you use SoGeo nodes for your alignments?
I did it for point groups and surfaces. I will do it for guidelines too. But firstly you need to do it for your alignments.
Also can you use SoGeo nodes for your alignments?
I did it for point groups and surfaces. I will do it for guidelines too. But firstly you need to do it for your alignments.
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: Trails Workbench (Transportation and Earthwork Workbench)
I've been working to reimplement pivy_trackers... it's been a long, slow process. I'm going through and cleaning up the code base a bit.HakanSeven12 wrote: ↑Fri Nov 13, 2020 1:17 pm I did it for point groups and surfaces. I will do it for guidelines too. But firstly you need to do it for your alignments.
I tried to implement SoGeo nodes, but didn't have much luck - something wrong with the way I handled it. There needs to be a common tree heirarcy for the SoGeoOrigin as there can only be one in the tree. So I think as long as we can establish a common SoGroup (I might suggest a Switch-Separator pair) that lives at the top of the scene graph where we do all of our work, it shouldn't matter.
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: Trails Workbench (Transportation and Earthwork Workbench)
I just using this code for SoGeoOrigin. İt's working good for me. Then I just create a SoGeoSeparator in attach function and add all nodes in it and using SoGeoCoordinate for points.Joel_graff wrote: ↑Fri Nov 13, 2020 7:14 pm .There needs to be a common tree heirarcy for the SoGeoOrigin as there can only be one in the tree.
SoGeoOrigin:
https://github.com/joelgraff/freecad.tr ... tils.py#L8
Attach:
https://github.com/joelgraff/freecad.tr ... up.py#L114
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: Trails Workbench (Transportation and Earthwork Workbench)
Ok. I'll try to take a look next week and see if I can figure out a structure.HakanSeven12 wrote: ↑Fri Nov 13, 2020 8:06 pm I just using this code for SoGeoOrigin. İt's working good for me. Then I just create a SoGeoSeparator in attach function and add all nodes in it and using SoGeoCoordinate for points.
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: Trails Workbench (Transportation and Earthwork Workbench)
Ok
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
Re: Trails Workbench (Transportation and Earthwork Workbench)
OS: Debian GNU/Linux bullseye/sid (LXQt/lightdm-xsession)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.22894 (Git) AppImage
Build type: Release
Branch: master
Hash: 9eb080488d970d313c538473e7272117ea0a7cd1
Python version: 3.8.6
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Hope this is an acceptable place to ask the questions.
Read in a recent note on here that installing the trails wb using the add on manager is now deprecated.
So I removed the add on manager version and started installing the bits to get a working trails wb.
(looking right now the trails wb is listed as alpha - - - is that alpha of the newest iteration or ???)
Git clone and parked that in .FreeCAD/Mod/ .
Wanted to also install cv2, gdal etc in the FreeCAD/Ext folder (as was suggested).
Tried install the python version of gdal using pip - - no joy.
Tried using a tarball version - - - downloaded from Debian - - - also no joy.
Am I pushing the curve here (just wait) or is there a better way to achieve installation of the packages for geodata functions?
TIA
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.22894 (Git) AppImage
Build type: Release
Branch: master
Hash: 9eb080488d970d313c538473e7272117ea0a7cd1
Python version: 3.8.6
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Hope this is an acceptable place to ask the questions.
Read in a recent note on here that installing the trails wb using the add on manager is now deprecated.
So I removed the add on manager version and started installing the bits to get a working trails wb.
(looking right now the trails wb is listed as alpha - - - is that alpha of the newest iteration or ???)
Git clone and parked that in .FreeCAD/Mod/ .
Wanted to also install cv2, gdal etc in the FreeCAD/Ext folder (as was suggested).
Tried install the python version of gdal using pip - - no joy.
Tried using a tarball version - - - downloaded from Debian - - - also no joy.
Am I pushing the curve here (just wait) or is there a better way to achieve installation of the packages for geodata functions?
TIA
- HakanSeven12
- Veteran
- Posts: 1481
- Joined: Wed Feb 06, 2019 10:30 pm
Re: Trails Workbench (Transportation and Earthwork Workbench)
Just install it by using git. That's enough for import osm.
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
Re: Trails Workbench (Transportation and Earthwork Workbench)
OK - - - trails wb is installed. (Using git.)HakanSeven12 wrote: ↑Sat Nov 14, 2020 2:51 pm Just install it by using git. That's enough for import osm.
How do I install cv2, gdal, gdalconst, urllib, chardet, certifi, idna - - - please?