2017 © Pedro Peláez
 

library stlslice

PHP 7 library for slicing each layer of an STL file

image

php3d/stlslice

PHP 7 library for slicing each layer of an STL file

  • Tuesday, February 7, 2017
  • by grosan.flaviu
  • Repository
  • 1 Watchers
  • 5 Stars
  • 30 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 7 % Grown

The README.md

php3d/stlslice

Build Status, (*1)

Synopsis

This library provides PHP 7 functionality for slicing STL formatted 3D objects, and converting them to SVG or GCODE., (*2)

NOTE: GCode conversion is highly experimental - change to suit your needs., (*3)

NOTE: Requires bcscale(16);, (*4)

Set-up

Add this to your composer.json file:, (*5)

  [...]
  "require": {
      [...]
      "php3d/stlslice": "1.*"
  }

Then run composer:, (*6)

composer.phar install

Examples

Extract layers:, (*7)

$layers = (new \php3d\stlslice\STLSlice($stl, 10))->slice();

Convert to SVG:, (*8)

See stl2svg.php, (*9)

Convert to GCode (milling machine):, (*10)

See stl2gcode.php, (*11)

The Versions

07/02 2017

dev-master

9999999-dev https://github.com/fgheorghe/stlslice

PHP 7 library for slicing each layer of an STL file

  Sources   Download

MIT

The Requires

 

3d stl stereolithography 3d printing

07/08 2016

1.1

1.1.0.0 https://github.com/fgheorghe/stlslice

PHP 7 library for slicing each layer of an STL file

  Sources   Download

MIT

The Requires

 

3d stl stereolithography 3d printing

31/07 2016

1.0

1.0.0.0 https://github.com/fgheorghe/stlslice

PHP 7 library for slicing each layer of an STL file

  Sources   Download

MIT

The Requires

 

3d stl stereolithography 3d printing