Giter Site home page Giter Site logo

pyslice's Introduction

PySlice

Python 3D printing slicer made for the 15112 project. This program loads and displays an STL mesh in 3D and allows the user to create 2d contour slices for creating "vase style" 3d printing paths Uses Tkinter and Numpy. Can display and slice (low poly) meshes for 3d printing toolpaths

How do I run this project?

  1. Install the numpy module
  2. Open psApp.py from the pyslicemain folder
  3. Use the buttons and arrow keys to interact
  4. save a custom mesh as customMesh.stl in the Mesh_Models folder to load your custom mesh

Shortcuts

-use left and right arrow keys to rotate mesh view on the z axis -use the up and down arrow keys to rotate by a horizontal axis

  • use 'x' and 'y' keys to switch the horizontal axis for rotation
  • click the home icon to return to the default view (ISO with Z up) -use 'n' to cycle through provided default meshes -use the 'h' and 'g' keys to change the slice height up or down by .5mm increments -use 'm' to run the slicer -use 'c' to hide/show slices

Planned Additions: There's a lot~ Soon: improved program efficiency + speed Contour linking algorithm transfer motion controls Countour offsets infill option

Slice analysis Gcode export PlugIn v Standalone mode

Function Breakdown: psApp: contains primary app functionality, calls other modules

psMeshImport: opens a mesh with given filepath, converts binary data to facets (3d planar triangles)

UIWidgets: classes and settings for UI functions: window, buttons, rescale etc

ps3D_Render: classes and methods for rendering 3D data to window - mesh and slice classes, isometric projection, rotation matrix, window autoscale, origin grid

psSlicer: functions for generating the mesh slices, naive facet search method, triangle/plane intersection, slice class for storing data

psExport: function to export slice 3d points to CSV, classes for additional post processing data (WIP)

pyslice's People

Contributors

pbmachine avatar

Watchers

 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.