Giter Site home page Giter Site logo

Comments (2)

DavidArayan avatar DavidArayan commented on July 23, 2024

Hi,

Have a look at the code in Slicer.cs L478 that uses MonotoneChain algorithm for the cross section triangulation. What you'd need to do is create your own triangulator and swap out MonotoneChain for your own version.

List<Vector3> intPoints is the list of all intersection points when the cut occurs. At this point the Slicer has already created the other triangles and all you'd need to do is triangulate/create the surface from those points. You might need to consider sending more data through to that function to help with the triangulation.

Solving the triangulation for Concave cuts and all the edge cases (such as cuts with holes in them, cuts that create multiple separate objects etc..) is not a trivial problem to solve and I wish you all the best! If you manage to solve it, i'd love a pull request.

from ezy-slice.

pruebasssaa avatar pruebasssaa commented on July 23, 2024

Sure! I will try, thanks, I can already work with the intersection pointsπŸ‘πŸ‘

from ezy-slice.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.