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: FreeCAD Trails Workbench (Transportation and Geomatics)

Post by HakanSeven12 »

I will 8-) I added boundary to surface object. Is you want to use it seperately use this code after you send your object to python console.

Code: Select all

import Part

Part.show(obj.BoundaryShapes)
https://www.patreon.com/posts/54820275
Attachments
boundary.PNG
boundary.PNG (119.56 KiB) Viewed 1862 times
Last edited by HakanSeven12 on Mon Aug 16, 2021 2:57 pm, edited 1 time in total.
User avatar
Meetlat
Posts: 72
Joined: Tue Oct 13, 2020 7:00 am

Re: FreeCAD Trails Workbench (Transportation and Geomatics)

Post by Meetlat »

Perhaps it's nice to offer some different color schemes? While googling around I found this page of an app that illustrates height of microbe scans (talking about a different scale :lol: ) It has a menu where you can select the gradient you want to show for the visualization. http://gwyddion.net/documentation/user- ... r-map.html Could be nice for your workbench? You can find the color schemes at his github here: https://github.com/cbuehler/gwyddion/tr ... /gradients

The icons the program use are also nice, perhaps some inspiration for @bitacovir (http://gwyddion.net/documentation/user- ... r-map.html)
User avatar
HakanSeven12
Veteran
Posts: 1481
Joined: Wed Feb 06, 2019 10:30 pm

Re: FreeCAD Trails Workbench (Transportation and Geomatics)

Post by HakanSeven12 »

They look good to me :) I started to work on slope analysis. Maybe I can take a look at it when I finish slope analysis.
perga
Posts: 1
Joined: Sun Dec 06, 2020 11:53 am

Re: FreeCAD Trails Workbench (Transportation and Geomatics)

Post by perga »

Hi!

Thank you for the possibility to try out the Trails wb. Its really impressive.

I would like to import a .las pointcloud.

I get this message:
21:01:49 Running the Python command 'Import LIDAR' failed:
Traceback (most recent call last):
File "C:\Program Files (x86)\FreeCAD_weekly-builds-25311-Win-Conda_vc14.x-x86_64\Mod\freecad.trails\freecad\trails\geomatics\geoimport_gui.py", line 129, in Activated
from .geoimport import import_lidar
File "C:\Program Files (x86)\FreeCAD_weekly-builds-25311-Win-Conda_vc14.x-x86_64\Mod\freecad.trails\freecad\trails\geomatics\geoimport\import_lidar.py", line 14, in <module>
from laspy.file import File

No module named 'laspy'


What is it that Im doing wrong ?


Greetings from Norway!
perga
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: FreeCAD Trails Workbench (Transportation and Geomatics)

Post by Kunda1 »

Please always post you full About info and make sure you're using the latest version of Trails WB.
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
HakanSeven12
Veteran
Posts: 1481
Joined: Wed Feb 06, 2019 10:30 pm

Re: FreeCAD Trails Workbench (Transportation and Geomatics)

Post by HakanSeven12 »

perga wrote: Fri Jul 30, 2021 7:13 pm Hi!

Thank you for the possibility to try out the Trails wb. Its really impressive.

I would like to import a .las pointcloud.

I get this message:
What is it that Im doing wrong ?


Greetings from Norway!
perga
You are welcome ;) don't use geodata tools import menu. Use import point file instead.
User avatar
HakanSeven12
Veteran
Posts: 1481
Joined: Wed Feb 06, 2019 10:30 pm

Re: FreeCAD Trails Workbench (Transportation and Geomatics)

Post by HakanSeven12 »

Trails reduce all coordinates to origin to fix wavy object issue. But we cant see the real world coordinate of objects at the FreeCAD standart coordinate widget. I added a coordinate widget to statusbar so you can see the utm cordinates at this widget.

https://www.patreon.com/posts/54602811
Attachments
coordinate widget.PNG
coordinate widget.PNG (2.12 KiB) Viewed 2052 times
Last edited by HakanSeven12 on Fri Aug 06, 2021 6:18 pm, edited 1 time in total.
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: FreeCAD Trails Workbench (Transportation and Geomatics)

Post by Kunda1 »

Nice!!!
Where is the code for this located specifically?
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
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: FreeCAD Trails Workbench (Transportation and Geomatics)

Post by Kunda1 »

HakanSeven12 wrote: Fri Aug 06, 2021 10:06 am Here
How do you assign the widget to the status bar, is it these lines?

Code: Select all

    def __init__(self):
        """
        Constructor
        """
        mw = FreeCADGui.getMainWindow()
        super(CoordinateWidget, self).__init__(mw)
        mw.statusBar().addPermanentWidget(self)
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
Post Reply