Giter Site home page Giter Site logo

potatocam's Introduction

PotatoCAM

This project started out of a need to arrive at efficient enough toolpaths for home milling, where you don't do many toolchanges and want to have a highly automated (e.g. from a makefile) workflow.

Goals

  • 2.5D CAM
  • Configurable tolerance
  • STL input
  • Works headless
  • Makefile-friendly configuration
  • GUI to simulate and graph MRR, cut width (radial engagement), cut depth, etc (acceleration makes this hard!)

With human input, commercial packages of all costs do a reasonable job at creating gcode. My main goal is not to be "better" than them at gcode generation, but to be more repeatable and easier to run from something like octoprint.

A base for experiments

Special cutting strategy

The bundled strategy is based on spirals and arcs to attempt constant TEA through material simulation. In order to generate this, we construct a heightmap of the cuttable surfaces, a heightmap that represents the stock, and histogram to determine good stepdowns.

Once thresholded (can the cutter be at a certain depth), we find the voronoi skeleton, clear largest intersection by spiral, then follow remaining bones by arcs (using material simulation to determine cutter backoff -- easier than offsetting polygons). This is roughing.

For finish, we offset polygon and follow path.

Notes vs other CAM

  • Only does climb or conventional. Bidirectional roughing is a thing, along with clubs, but probably not in the first version.

potatocam's People

Contributors

thatch avatar

Watchers

 avatar James Cloos avatar

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.