Coder Social home page Coder Social logo

icesl-cnc-printer's Introduction

IceSL CNC Printer

Description

A special "printer" configuration for IceSL that generates G-Code for LinuxCNC and possibly other CNC Mill or Router.

This is an experimental use of IceSL for CNC. Some good practices are not (yet) respected (eg machining direction), etc.

NB: This project is not affiliated to IceSL even if the main author know its authors in person.

Usage

  1. Select the printer in the left Menu
  2. Check for proper configuration of brushes
  3. Change your script as shown in next section
  4. Disable plugin prime
  5. Slice your model and save as .ngc files.
  6. Inspect the result, with CAMotics for instance (previously known as OpenSCAM).
  7. Run on your CNC

Script

IceSL is meant for 3D printer, so before generating G-Code you must reverse its intents as shown in test.lua:

shape = cone(25, 1, 5)

-- Viewing:
--emit(shape)

-- Machining:
block_height = 5
emit(
   difference(
      cube(50, 50, block_height),
      translate(0, 0, block_height) * mirror(v(0, 0, 1)) * shape
))

The general idea is that the top of the workpiece will be at level Z=0. So you must generate a cube for the workpiece and remove a mirror of the piece to be machined. All jogs travel will be at positive Z level. All machining paths will be at negative Z level.

test-snapshot.png

Installation

  1. cd <your IceSL path>/gcode
  2. git clone [email protected]:loic-fejoz/icesl-cnc-printer.git cnc
  3. copy settings_icesl-cnc-printer.xml in
  • the bin folder if you run MS/Windows,
  • ~/.icesl/ directory if you run on Linux.

Troubleshooting

You may need to disable shield plugin to avoid segmentation fault.

Contribute

If you would like to hack on icesl-cnc-printer, start by forking the repo on GitHub:

https://github.com/loic-fejoz/icesl-cnc-printer

The best way to contribute is probably one of the following:

Authors

This is a list of people who have contributed code or ideas to icesl-cnc-printer -- for copyright purposes or whatever.

icesl-cnc-printer's People

Contributors

loic-fejoz avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar  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.