0
$\begingroup$

I have a set of points which forms a closed loop, and I want to perform cutting/clipping a 3D model using this loop. I have used VTK but in some cases, it has a "Cannot follow edges" problem.

Is there any free library I can use to do such operation?

$\endgroup$
  • $\begingroup$ What is the representation of your 3D model? Is it a mesh, BRep, NURBS, …? $\endgroup$ – nicoguaro May 15 '18 at 19:50
  • $\begingroup$ It is a mesh which is stored in th STL format $\endgroup$ – minpu May 15 '18 at 23:32
  • 2
    $\begingroup$ The statement of your requirements is unclear; a 3D volume can be cut by defining a surface, not a curve. $\endgroup$ – Bill Greene May 17 '18 at 10:38
1
$\begingroup$

It is a bit suspicious that VTK (and supposedly Paraview) has troubles with your mesh: there is a slight chance that there are some troubles with it.

One solution would be to try using GMSH. It supports STL input and certainly has clipping capability. Now, with the newest versions, it also supports access to its functionality via API for at least C/C++/Python.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.