Code Monkey home page Code Monkey logo

liblathe's Introduction

LibLathe Python package codecov

LibLathe is an opensource standalone python library for generating lathe paths and gcode for use with cnc lathes.

| โš ๏ธ WARNING: LibLathe is currently experimental / Proof of concept and only suitable for testing. |

Examples

Facing:

Facing Example

Roughing:

Roughing Example

Profiling:

Profiling Example

Parting:

Parting Example

Links

liblathe's People

Contributors

brett-parker avatar dubstar-04 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

liblathe's Issues

[Feature] - Add drilling operation

Simple drilling operation

  • centre line drilling only
  • peck drilling
  • canned cycle and simplified* output

Simplified output would discritise canned cycles to individual G0/1 moves for use on a basic controller. This would usually be done in a post processor but it might be a nice feature to build into the library.

remove the groove fails for arc segments

removing the groove fails for arch segments and allows the tool to continue around the arc.

calculate the point on the arc where the normal is == tool max angle

Add ability to log to file

create a logging module to allow a consistent method to write to a logfile or print debug information

add human unstandable output such as 'Line Element', 'Clockwise Arc' and map the flow through each function:

from inspect import getframeinfo, stack

def debuginfo(message):
caller = getframeinfo(stack()[1][0])
print "%s - %s - lineno %d: %s" % (caller.filename, caller.function, caller.lineno, message)

[filename.py - functionname- lineno xx: message]

Added supported versions banner

Add python supported versions banner to top of readme.md - This can be done through PyPi API. Need account and release first.

Define MVP for release

Define what the minimum viable product looks like to release. Once released a standard release cycle will be followed.

Enhance imagedraw capabilities

Add to current imagedraw functionality

  1. Plotting only rapid (G0)
  2. Plotting only cutting moves (G1, 2 and 3)
  3. Handle other than lines (G2/G3)

[Doc] - Overview documentation

Create an overview document to give a pictoral example of the internal class stucture and what each class represents.

This should help with integration and on-boarding so it should be basic / simple to understand.

I cannot load it

I'm trying to load your lib on my debian testing machine with FreeCad 0.18.4. I copied the whole folder in my mod directory then i type in the python console:

import LibLathe

without errors, but i cannot find it anywhere. Thanks

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.