Giter Site home page Giter Site logo

zhuberty / hslice Goto Github PK

View Code? Open in Web Editor NEW

This project forked from haskell-things/hslice

0.0 0.0 0.0 3.85 MB

HSlice - A Haskell based slicer for 3D printing.

Home Page: https://implicitcad.org/

License: GNU Affero General Public License v3.0

Shell 0.78% JavaScript 10.62% Haskell 87.95% Makefile 0.65% Dhall 0.01%

hslice's Introduction

HSlice

IRC

A slicer / G-code generator for RepRap firmwares written in Haskell, using Projective Geometric Algebra.

To compile:

Run make from the root directory of this repository.

To run:

Run ./extcuraengine with options:

  • -l infile Name of the ASCII STL file to read (default is in.stl)
  • -o outfile Name of file to output to (default is out.gcode)

All other settings are supplied in KEY=VALUE form, using the same keys that CURA defines in it's JSON file. For instance:

  • -s layer_height=0.1
  • -s layer_height_0=0.3
  • -s speed_layer_0=30
  • -s machine_width=100
  • -s machine_depth=100
  • -s machine_height=100
  • -s machine_nozzle_size=0.4
  • -s material_diameter=2.85
  • -s outer_inset_first=False
  • -s infill_sparse_density=20
  • -s wall_line_count=2
  • -s infill_line_width=0.4
  • -s infill_pattern=lines
  • -s speed_infill=60
  • -s speed_layer_0=30
  • -s speed_travel=120
  • -s speed_wall_0=30
  • -s speed_wall_x=60
  • -s top_bottom_thickness=0.8
  • -s top_bottom_pattern_0=concentric

FAQ

Wait but...why?

Haskell all of the things.

No but like...why Haskell?

Functional programming is beautiful, and gets us closer to perfection.

What's Projective Geometric Algebra?

Projective Geometric algebra is a system that we use to represent geometry. Most programmers will be familiar with Linear Algebra, this is just a way of representing things that, once you understand it, is less confusing, less error prone, and represents objects (lines, points) with more values than linear algebra, which we hope translates into less error from using floating point math.

We're using a clifford algebra of (2,0,1)*, to represent 2D spaces (EG: layers) in this program. For more information, you should see the SIGGRAPH 2019 video "Geometric Algebra", or many of Charles Gunn's papers on the subject.

What sick, twisted masochists did this?

Catherine Moresco and Noah Halford are two fourth-year undergraduates at the University of Chicago who originally wrote this.

Julia Longtin is the developer that picked it up, and is cleaning it off, to run her printers.

Can I contribute?

Pull requests welcome. Currency is welcome. Cheering is welcome! Drop by #implicitcad on libera IRC, or sign up for the implicitcad mailing list, OR email the author at [email protected]!

hslice's People

Contributors

julialongtin avatar nhalford avatar fisx avatar catherinemoresco avatar sorki avatar l29ah 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.