GEM4D Version 220.127.116.11 available for download
Version 18.104.22.168 mostly contain small changes and corrections after the significant updates in the previous version - many thanks for the feedback from users on these aspects.
"Ribbon => Mesh => Export files => Mesh info as CSV => Individual object centers" now adds the object name as a separate column, which makes it easy to export stope centres with the stope name.
Object/Layer names in DXF support a limited character set. To indicate positive and negative values, I previously automatically added a "p" (plus) and "m" (minus) in the object name. This logic created confusion, and I changed the logic as follows:
Remove the addition of a "p" in front of positive values.
Change the "m" (minus) to "n" (negative) in front of negative values.
“Ribbon => Marker => Marker actions => Distance => Add distance column” did not allow an option out if the button is pressed accidentally. I have added a "Cancel" button to opt-out if required.
"Ribbon => Mesh => General settings => Flip poly normals" did not activate when "Backface culling" in checked - fixed.
When importing some files formats, they did not always correctly adjust to the existing coordinate system - fixed.
The data grid precision, which is set with "Ribbon => Marker => General settings => Precision" did not always reset correctly when resetting on loading new files and were corrected - fixed.
Scalar colours for some functions got lost when the data was clipped - fixed.
When deleting data columns, the automatically added prefix column values did not always update correctly - fixed.
Discussion 1: Interpolate values from one Marker dataset to another dataset
It is sometimes useful to interpolate Marker-data to a regular grid (block model), or vice versa. The current limitation in GEM4D is that only a single Marker dataset can be loaded at any time. This can be overcome by converting the target dataset to mesh-information, interpolate the data to the mesh points, save the mesh data out as a CSV-file, and copy the values across to the original dataset. Below are step-by-step instructions on the process.
For this example, let's interpolate values from drill holes to an existing block model. Follow the same process to interpolate block model values to other Marker-data, but switch the order in which the files are loaded.
Step 1: Load the block model (regular grid) data set with "Ribbon => Marker => Load files => Text (CSV).
Step 2: Convert the Marker-data to a DXF-mesh with "Ribbon => Marker => Save and export files => File (DXF)".
Step 3: Load the converted DXF-file with "Ribbon => Mesh => Load and import file formats => Load DXF". Use load "Load DXF" to clean the scene and ensure the DXF-file is the only loaded information. Step 4: Load the Marker data (from drill holes) that will be used to interpolate values to the mesh vertice grid as in Step 1. Make the mesh points transparent to see the Marker data by clicking in the "Left panel => Mesh => Bottom panel => Opacity" column. Mouse-click to the left of the column to make the mesh transparent. Further to the left makes the mesh more transparent.
Step 5: Colour the Marker data on the value that needs to be interpolated to the target dataset by selecting the appropriate value in "Left Panel => Marker => Colour mode => DataColumn". This value corresponds to the prefix that GEM4D automatically adds to the column names.
Step 6: Interpolate the selected column of the drill holes values to the mesh grid by checking the "Left panel => Marker => Iso-surface and Colour mapping => Colour meshes" checkbox. The image should now look similar to the screenshot on the right. the screenshot on the left is after Step 5.
Step 7: Make sure all the meshes are hidden except the mesh grid points, then save the (coloured) DXF-points out as a CSV-file with "Ribbon => Mesh => Export files => Mesh info as CSV => Poly, Line and Point vertices". The scalar values assigned to each mesh point will be exported in a column named "Value".
Step 8: When the points are saved from Markers to a Mesh, and then back to Markers, the order of the points stays the same. The values can thus be copied and pasted to the original dataset using Excel without losing the order of the points.
Discussion 2: Draping images and save as OBJ
I received many questions on the draping of photos/images onto topography meshes. Please have a look at "Discussion: Draping images and save as OBJ" in the link below: