WireFrameVisual from GeometryModel3D created with MeshBooleanOperations
#3
Thanks for your fast reply.

I only need to have the models edges visible. When I tried to do what you replied earlier, all of the triangle edges were visible. Changing the parameter edgeStartAngleInDegrees doesn't give me the result i would expect.

I wrote something like this (which is pretty much a copy from the edges example):
Code:
//caseObject3D is a GeometryModel3D

var edgeLinePositions = new Point3DCollection();
EdgeLinesFactory.AddEdgeLinePositions(caseObject3D, 0, edgeLinePositions);
MultiLineVisual3D _multiLineVisual3D;
_multiLineVisual3D = new MultiLineVisual3D()
{
  Positions = edgeLinePositions,
  LineColor = Colors.Black,
  LineThickness = 4,
};

MainViewport.Children.Add(_multiLineVisual3D);

Am I missing something?

Also, when i set the CreatePolygonIndicesByDefault = true before creating the meshes i get a StackOverflowException...
  


Messages In This Thread
RE: WireFrameVisual from GeometryModel3D created with MeshBooleanOperations - by ktoschris - 02-16-2021, 03:35 PM

Forum Jump:


Users browsing this thread:
1 Guest(s)