Code Monkey home page Code Monkey logo

Comments (7)

Siemenc avatar Siemenc commented on September 25, 2024

I think I solved this for both cutout and pocket. I copied a piece of code and did some fixing on making the trees match. I've only tested on the example below (gray uses old code, green is using edited code). In the pocket component this also seems to solve some unwanted artifacts happening in this specific case (see red marked areas).
image
I think I'll first do a bit more testing before replacing the pocket and cutout component and committing to Github. @JensDyvik Do you happen to have some kind of file with a lot of different geometry to test on?

from bark-beetle-parametric-toolpaths.

Siemenc avatar Siemenc commented on September 25, 2024

I started doing some testing and found out I also had to do a fix in the case of using only 1 curve. Now it seems to be working quite well. In the case of the pocket it seems like it's also way faster.
image

from bark-beetle-parametric-toolpaths.

Siemenc avatar Siemenc commented on September 25, 2024

Tried committing with Github. But I get an error saying "Failed to sync this branch - You might need to open a shell and debug the state of the repo."

from bark-beetle-parametric-toolpaths.

Siemenc avatar Siemenc commented on September 25, 2024

Seems like it worked now. I completely disabled my antivirus.

from bark-beetle-parametric-toolpaths.

JensDyvik avatar JensDyvik commented on September 25, 2024

Very exciting to have this fixed. Thank you very much. The fix has been included in the main CNC milling example in the latest development folder: b1dd65f

I dont have a specific torture testing docuement. Maybe you could upload the one you made to a test object folder in the repo?

from bark-beetle-parametric-toolpaths.

JensDyvik avatar JensDyvik commented on September 25, 2024

By the way, as mentioned before, the planar surface function is a potential method for solving endless objects inside objects. And extracting isocurves from the planar surfaces could potentially be a fast and reliable way of creating pocket raster lines.

from bark-beetle-parametric-toolpaths.

Siemenc avatar Siemenc commented on September 25, 2024

I added a folder with the curves I've been using for testing. Some caused issues before and are still causing issues (the H with the snake right now for example). I'll also keep using this as a place to store new objects that cause issues while I encounter them.

Yeah the planar surface method for solving endless objects inside objects is a really good idea. It requires a bit more data tree matching than the solution I integrated now. I think for now this works but it's definitely something to look into for the future!

from bark-beetle-parametric-toolpaths.

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.