Skip to content

Linking Manifold lib to Microsoft Visual Studio C# #870

Answered by weianweigan
edumarzolla asked this question in Q&A
Discussion options

You must be logged in to vote

@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.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@goswinr
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by elalish
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants