Coder Social home page Coder Social logo

carlohuang / psypnp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from psychogenic/psypnp

0.0 0.0 0.0 1.22 MB

psypnp is a collection of useful scripts for OpenPnP and a library of Python support modules to use in your own

License: Other

Python 100.00%

psypnp's Introduction

psypnp

psypnp -- useful scripts for OpenPnP and a library of Python support modules to roll your own

Copyright (C) 2019-2021 Pat Deegan, https://psychogenic.com/

Released under the terms of the GPL v3 (see LICENSE file for details).

psypnp project

Overview

This package comes with two sets of components:

  • some utility scripts to control an OpenPnP pick & place machine
  • a set of Python modules that are used by the above scripts that can help you write powerful scripts of your own, easily

With this package you can work more efficiently with OpenPnP, for instance by using the auto-setup system to configure feeds for the project

Auto-Setup

then generate a map of the layout

Generate Feed map

move the set of part feeds around until satisfied and export a CSV of the configuration for ease of layout

Feed export CSV

The scripts include various motion control, configuration scripts that save me tons of clicking, a visualizer that shows you feed arrangement graphically through a generated SVG image, a useful REPL terminal, and more.

The modules have facilities for non-volatile information storage, easy use of the GUI to query users and other useful things.

See:

Installation

The contents of this project are meant to be house under the OpenPnP configuration directory (the place where it looks for the scripts/ directory for the contents of the Scripts toolbar menu).

Scripts, to be visible to OpenPnP, must be in the proper directory (~/.openpnp2/scripts under Linux).

Installation is as simple as sticking the contents of: scripts/ data/ and lib/

in there with the rest of the OpenPnP configuration.

The data/ dir is used to hold the non-volatile "db" (pickle) with information we want to have access to between script runs, so must be writeable by the OpenPnP process.

Usage

The scripts themselves, once installed, will be found under the OpenPnP Scripts menu. See the project description page or the source for details, but many of them are pretty self-explanatory.

Same story for the modules. There are examples online and in the scripts, but I also have an OpenPnP Scripting Deep Dive series on Youtube that may be of interest.

psypnp's People

Contributors

psychogenic 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.