Coder Social home page Coder Social logo

cadnano2.5's Introduction

cadnano 2.5 (radnano)

This is a development version of cadnano ported to Qt5/PyQt5, the dev branch is most up to date

Changes

A number of organizational and style changes have occured from cadnano 2

  • cadnano can be run in python without Qt installed at all
  • Python 3 compatible
  • no more camel-case'd variables (fixes namespace collisions)
  • QUndoCommands are broken out to their own modules
  • added a STL generator to generate models for 3D printing
  • Maya code removed.
  • Added ability to take advantage of pyqtdeploy tool to build standalone versions that can be destributed as binary
  • stablized code base so fewer crashes

The only additional burden for development on this code base is installing PyQt5 to use the GUI which is not a one click situation. Fortunately pyqtdeploy should make this a problem for only people who want to hack on the code base.

Running

to run:

python bin/main.py

PyQt5 Installation

the requirements PyQt5 and sip are available from Riverbank Computing Limited at:

if on Windows just download the installer for your python version

if on Linux or Mac follow this path:

you can run the included pyqt5_check.py which will grab, build and install Qt5, sip and PyQt5 in your python environment. It is cleanest using virtualenv and virtualenvwrapper creating a virtualenv with:

mkvirtualenv -p /path/to/python/of/choice/bin/python myvenv
python pyqt5_check.py

and then running the script, but you can definitely install in your system python if you run:

sudo python pyqt5_check.py

or you can manually:

  1. Install Qt5. download the online installer
  2. Build sip and PyQt5 against this Qt5

Of course there are many ways to accomplish this feat, but needless to say OS X and Linux installs of PyQt5 can be painful for some people.

Anaconda

I'm told cadnano runs well in Anaconda with PyQt5 support built in

nno2stl: Conversion of cadnano .nno files to 3D STL model

The purpose of this is for 3D printing cadnano designs

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.