Hello and welcome to another TBC Tip of the Week! How do you like TBC v5.0 so far? Let us know!
In this tip we highlight one of the sample TML’s (Trimble Macro Language) available with any license of TBC advanced or higher. This macro is PointCloud by Boundary. This allows for repeatable selections of points using complex (or simple!) polygons.
Here we have a dataset collected by an SX10 of a road overpass in Germany. By using the PointCloud by Boundary macro we can repeatedly trim only the focus of the scan from point clouds throughout the life of a project. A surface boundary or any polyline/linestring can be used.
Here I have a surface boundary from a previous job.
On the Macros ribbon, select the macro (or what is usually a command) PointCloud by Boundary.
For this macro to work, the Polygon Select option must be used.
Select the Boundary: box to put the mouse focus there.
And select your polyline/linestring to get the point cloud selection.
And there you have it! This selected area can then be made into a new region using the Create Region command on the Point Clouds ribbon, added to an existing region, sampled to create a surface or many other things. Here that selection is with the ground extracted, spatially sampled, and a surface created.
Hope you enjoyed this week’s tip! If you have any suggestions for future tips, or have any questions leave us a comment!
TBC - From Field to Finish with Confidence