Geotechnical Work Addon
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Be nice to others! Read the FreeCAD code of conduct!
Re: Geotechnical Work Addon
.
Deleted users/...mod/Trails folder and re-cloned - Trails(alpha) WB appears in Workbench Drop-down but when opened:....
. .
16:05:51 cannot import name 'ContextTracker'
16:05:51 Traceback (most recent call last):
File "C:\Users\Daz\AppData\Roaming\FreeCAD\Mod\freecad.trails\freecad\trails\init_gui.py", line 212, in Initialize
from .design.project.commands \ File "C:\Users\Daz\AppData\Roaming\FreeCAD\Mod\freecad.trails\freecad\trails\design\project\commands\edit_alignment_cmd.py", line 32, in <module>
from ..tasks.alignment import edit_alignment_task
File "C:\Users\Daz\AppData\Roaming\FreeCAD\Mod\freecad.trails\freecad\trails\design\project\tasks\alignment\edit_alignment_task.py", line 48, in <module>
from ...trackers.alignment_tracker import AlignmentTracker
File "C:\Users\Daz\AppData\Roaming\FreeCAD\Mod\freecad.trails\freecad\trails\design\project\trackers\alignment_tracker.py", line 32, in <module>
from freecad.trails import ContextTracker, PolyLineTracker, Drag
Deleted users/...mod/Trails folder and re-cloned - Trails(alpha) WB appears in Workbench Drop-down but when opened:....
. .
16:05:51 cannot import name 'ContextTracker'
16:05:51 Traceback (most recent call last):
File "C:\Users\Daz\AppData\Roaming\FreeCAD\Mod\freecad.trails\freecad\trails\init_gui.py", line 212, in Initialize
from .design.project.commands \ File "C:\Users\Daz\AppData\Roaming\FreeCAD\Mod\freecad.trails\freecad\trails\design\project\commands\edit_alignment_cmd.py", line 32, in <module>
from ..tasks.alignment import edit_alignment_task
File "C:\Users\Daz\AppData\Roaming\FreeCAD\Mod\freecad.trails\freecad\trails\design\project\tasks\alignment\edit_alignment_task.py", line 48, in <module>
from ...trackers.alignment_tracker import AlignmentTracker
File "C:\Users\Daz\AppData\Roaming\FreeCAD\Mod\freecad.trails\freecad\trails\design\project\trackers\alignment_tracker.py", line 32, in <module>
from freecad.trails import ContextTracker, PolyLineTracker, Drag
Re: Geotechnical Work Addon
fresh clone ...
only one pivy_trackers directory no pivy_trackers inside this, but
if I change to trails ...
Code: Select all
hugo@Ahorn:~/.FreeCAD/Mod$ git clone --recursive https://github.com/joelgraff/freecad.trails.git trails
Klone nach 'trails' ...
remote: Enumerating objects: 560, done.
remote: Counting objects: 100% (560/560), done.
remote: Compressing objects: 100% (301/301), done.
remote: Total 6718 (delta 318), reused 409 (delta 199), pack-reused 6158
Empfange Objekte: 100% (6718/6718), 4.77 MiB | 3.21 MiB/s, Fertig.
Löse Unterschiede auf: 100% (4574/4574), Fertig.
Submodul 'freecad_python_support' (https://github.com/joelgraff/freecad_python_support) für Pfad 'freecad_python_support' in die Konfiguration eingetragen.
Submodul 'pivy_trackers' (https://github.com/joelgraff/pivy_trackers) für Pfad 'pivy_trackers' in die Konfiguration eingetragen.
Klone nach '/home/hugo/.FreeCAD/Mod/trails/freecad_python_support' ...
remote: Enumerating objects: 142, done.
remote: Counting objects: 100% (142/142), done.
remote: Compressing objects: 100% (97/97), done.
remote: Total 142 (delta 79), reused 82 (delta 40), pack-reused 0
Empfange Objekte: 100% (142/142), 36.95 KiB | 491.00 KiB/s, Fertig.
Löse Unterschiede auf: 100% (79/79), Fertig.
Klone nach '/home/hugo/.FreeCAD/Mod/trails/pivy_trackers' ...
remote: Enumerating objects: 230, done.
remote: Counting objects: 100% (230/230), done.
remote: Compressing objects: 100% (150/150), done.
remote: Total 1897 (delta 165), reused 139 (delta 79), pack-reused 1667
Empfange Objekte: 100% (1897/1897), 406.80 KiB | 1.04 MiB/s, Fertig.
Löse Unterschiede auf: 100% (1465/1465), Fertig.
Submodul-Pfad: 'freecad_python_support': 'b5c10887ccdd068ab1870d031d082d7621242dd8' ausgecheckt
Submodul-Pfad: 'pivy_trackers': '032b930fe0cb8cf67071ffdf02346844b7359cfd' ausgecheckt
hugo@Ahorn:~/.FreeCAD/Mod$
if I change to trails ...
Code: Select all
08:28:28 cannot import name 'ContextTracker' from 'freecad.trails' (/home/hugo/.FreeCAD/Mod/trails__/freecad/trails/__init__.py)
08:28:28 Traceback (most recent call last):
File "/home/hugo/.FreeCAD/Mod/trails__/freecad/trails/init_gui.py", line 212, in Initialize
from .design.project.commands \
File "/home/hugo/.FreeCAD/Mod/trails__/freecad/trails/design/project/commands/edit_alignment_cmd.py", line 32, in <module>
from ..tasks.alignment import edit_alignment_task
File "/home/hugo/.FreeCAD/Mod/trails__/freecad/trails/design/project/tasks/alignment/edit_alignment_task.py", line 48, in <module>
from ...trackers.alignment_tracker import AlignmentTracker
File "/home/hugo/.FreeCAD/Mod/trails__/freecad/trails/design/project/trackers/alignment_tracker.py", line 32, in <module>
from freecad.trails import ContextTracker, PolyLineTracker, Drag
Re: Geotechnical Work Addon
https://github.com/joelgraff/freecad.trails/pull/67Joel_graff wrote: ↑Wed Oct 28, 2020 8:17 pm Originally, it was structured pivy_trackers/pivy_trackers/ to conform to the standard FreeCAD workbench code structure. But pivy_trackers isn't a workbench. It's really a rendering framework for pivy. So it really isn't supposed to be installed as a workbench.
- Joel_graff
- Veteran
- Posts: 1949
- Joined: Fri Apr 28, 2017 4:23 pm
- Contact:
Re: Geotechnical Work Addon
Try again. The import failed because I added a level of hierarchy and didn't fix it.
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
- Joel_graff
- Veteran
- Posts: 1949
- Joined: Fri Apr 28, 2017 4:23 pm
- Contact:
Re: Geotechnical Work Addon
Try again. You kinda stepped into the middle of a code restructure which has been needed but I've been ignoring for exactly this reason.
Anyway, it's the same error @bernd had, so that's a good sign, I suppose.
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
Re: Geotechnical Work Addon
. "Oh I do love to live beside the seaside!"Joel_graff wrote: ↑Thu Oct 29, 2020 9:18 am
Try again. You kinda stepped into the middle of a code restructure which has been needed but I've been ignoring for exactly this reason.
Anyway, it's the same error @bernd had, so that's a good sign, I suppose.
Good Indeed.
Tomorrow, I plan to integrate the Lidar height data, (and costal undersea profile); Map out the existing main State highway with Arch-friendly structures; Create a 6m wide modular concrete hollow section in PartDesign; Use this to sweep out a new 4-lane highway under the existing inadequate costal motorway: prepare a Public Release Design concept to showcase this new sunken motorway extension, and mobilise existing community groups to push for the abandonment of the Local Councils current Transport design that ould have seen low-income and working class communities levelled and amenities uprooted.
Its almost too easy...
and on Saturday.....
Last edited by JellyPalm on Thu Oct 29, 2020 11:55 am, edited 1 time in total.
- Joel_graff
- Veteran
- Posts: 1949
- Joined: Fri Apr 28, 2017 4:23 pm
- Contact:
Re: Geotechnical Work Addon
Good luck! FreeCAD's up to the task, but I fear you may have bit off more than you can chew.
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
Re: Geotechnical Work Addon
well, its good to have a plan
Re: Geotechnical Work Addon
https://github.com/joelgraff/freecad.tr ... 2b467d8430 runs smoot on all my systems
Still the elevations do not work, but most of the import osm refactor work has been done. We will get there
Still the elevations do not work, but most of the import osm refactor work has been done. We will get there
- Joel_graff
- Veteran
- Posts: 1949
- Joined: Fri Apr 28, 2017 4:23 pm
- Contact:
Re: Geotechnical Work Addon
Just an FYI, I'm still refactoring things, so if you end up with broken code... it was probably me.
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