Your comments
Hi, many thanks for the tips, these allowed to already find a solution for the "mesh on top". The trick was NOT to use the modelimporter class, but to use the STLReader class directly, as this exposes the read-in meshes. The modelimporter only gives a Model3DGroup back, and from this you cannot recreate the points collection (or at least I did not find out how...)
My code now looks like this:
StLReader reader = new StLReader();
viewPort3d.Children.Add(lines);
Now to solve the measurement function...
Hi,
Many thanx for the quick reply. There are actually 2 features I would like some hints on:
- how to make distance measurements between two points in a model
- showing the wire mesh on top of the coloured surfaces
For this last one I read I should use the LinesVisual3D and populate that using the Tesselate function, but this function seems not available on my imported STL-file (a ModelVisual3D object).
Very nice, really impressed. Any change parts of this will ever be released open source? I just started playing around with the Helix toolkit, and your library would be wonderfull to improve the looks and features...
Customer support service by UserEcho
Got the measurement working also. Here my (dirty) code, but should give others some idea how to add the measurement line and label with distance:
private void viewPort3d_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
}