Linking Manifold lib to Microsoft Visual Studio C# #870
-
Could someone please explain how to link Manifold in a Winform application developed in C#? Example of a desired C# function:
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
@goswinr Did you get this working? Perhaps we should add some documentation on this, especially since none us core contributors are Windows/C# users. |
Beta Was this translation helpful? Give feedback.
-
If you follow the steps in https://stackoverflow.com/questions/11425202/is-it-possible-to-call-a-c-function-from-c-net, do you have any issue? If yes, show us the error messages? |
Beta Was this translation helpful? Give feedback.
-
@edumarzolla I released a nuget package may be helpful. using ManifoldNET;
var cylinder1 = Manifold.Cylinder(10f, 5f, 5f, 360, true);
var cylinder2 = Manifold.Cylinder(20f, 1f, 1f, 360, true);
var result = Manifold.BooleanOperation(cylinder1, cylinder2, BoolOperationType.Subtract);
result.MeshGL.ExportMeshGL("result.glb"); I tested it in notebook and it works. |
Beta Was this translation helpful? Give feedback.
@edumarzolla I released a nuget package may be helpful.
I tested it in notebook and it works.