I have a problem with precision of mesh vertices. When i check the coordinates in grasshopper it has many decimals but when i check the result in my C# component it somehow rounds the coordinates.
The same happens with the end nodes of lines.
How close is good enough?
Due to some legacy reasons the vertices default to displaying their positions in floats. You can look at the locations in double precision by calling Point3dAt function
Thank you very much, this put me on the right track.
Another think that was necessary in my case was to change the line
V.AddVertices(M.Vertices);
to
V.AddVertices(M.Vertices.ToPoint3dArray());
So my MeshVertexList V saved points as Point3d instead of Point3f in the first place.
1 Like