Host Software – Enough with GITHUB!

So, just a quick note on the host software side: We decided to move over to Google code as our main depot instead of github!!

The reason being I (Hradec) personally CAN’T WORK WITH GIT ANYMORE!! I think I’m getting to old or something, but I simple can get my head around git, to the point I have lost some code a few months back due to wrong/bad submissions.

Since then, I have being working with all the host software code in my personal Subversion depot, and now that we’re finding some people willing to help, I’m moving it back to the open, but this time at google code.

So, here it is: http://code.google.com/p/chemshapes/

It’s now on good and old subversion, which is what I known best… 🙂

The host is maturing, and I have sorted a lot of issues in it and have finally centralized the rendering code into one place, so booth viewport preview and print/slice is calculated from the same place.

Also, all OpenGL rendering is deferred (yep, deferred rendering, like most games these days), which means I can finally make use of lots of image processing power give to us from the mighty GPUs theses days to get our realtime slicer up and running.

Stays tuned for the Windows/OSX releases which should come up really soon… by the way… WITH SLICING OUTPUT TO FILES,  to start with!!! So you guys can start using it for testing with your own slideshow/firmware setup (including with Jon Watson Macro for mach3 to control powerpoint!!)

stay tuned!

Comments (9)

  1. 12:37 am, March 23, 2012Henrique Muringa  / Reply

    TJ and Hradec are the fantastic two… Awesome software, awesome hardware =]

  2. 8:20 am, March 23, 2012Hearty  / Reply

    Hi,

    Really soon, mean when?
    I’m in a hurry to test it.

    Regards,

    • 9:47 pm, March 26, 2012hradec  / Reply

      @Hearty
      I prefer not to give any dates, so soon… 🙁

  3. 10:15 am, March 23, 2012Martin  / Reply

    Great news,
    Can you give us a little list of linux-packages needed to be installed to test the new software from source-code? i want to participate but had always trouble tro get the source working in the last releases.

    Martin

    • 9:46 pm, March 26, 2012hradec  / Reply

      @Martin
      Apart from python itself, I think you only need python-opengl and python-qt4. Everything else is self-contained in the trunk.
      I also need subversion to check the code out.
      Make sure you also have make installed for convenience, since by just running “make” in a command line runs the host software without building a distribution package.

      If you’re running Ubuntu or any other debian distro, to get those installed, just open a terminal and type:

      sudo apt-get install python-opengl
      sudo apt-get install python-qt4
      sudo apt-get install make
      sudo apt-get install subversion

      then, to check out the code, just type:

      svn checkout http://chemshapes.googlecode.com/svn/chemshapes/trunk chemshapes

      and to run, you just have to go to the host folder and type:

      make

      that should be it! let me known if you run into trouble!!

      -H

      • 11:25 am, April 17, 2012Martin  / Reply

        @hradec

        I tried to get the source compiling in ubuntu 11.1 x86 and also in x64. in both systems i installed the following packages after a fresh install from OS:

        sudo apt-get install subversion
        sudo apt-get install python-qt4
        sudo apt-get install pyqt4-dev-tools
        sudo apt-get install python-opengl
        sudo apt-get install libqt4-opengl
        sudo apt-get install python-imaging python-imaging-tk
        sudo apt-get install qt4-designer
        sudo apt-get install python-pyside.qtopengl
        sudo apt-get install gtk2-engines-pixbuf (only needed in x64 ubuntu)

        then of course: svn checkout http://chemshapes.googlecode.com/svn/chemshapes/trunk chemshapes

        In both systems (x86 and x64) I ended up with the following compile-error:

        ************************************************
        root@WS-Ubuntu:~/chemshapes/host# make
        /root/chemshapes/host/draft.py

        Traceback (most recent call last):

        File “./draft.py”, line 634, in

        w=win(app)

        File “./draft.py”, line 133, in __init__

        self.ui.setupUi( self )

        File “/root/chemshapes/host/draft_ui.py”, line 19, in setupUi

        Frame.setObjectName(_fromUtf8(“Frame”))

        TypeError
        :
        ‘PySide.QtCore.QObject.setObjectName’ called with wrong argument types:
        PySide.QtCore.QObject.setObjectName(QString)
        Supported signatures:
        PySide.QtCore.QObject.setObjectName(unicode)
        make: *** [dev] Fehler 1
        *****************************************************

        it is the same error until several weeks.
        for me as a non-coder it seems to be sth. with the conversion of Utf8.
        maybe this is just a systemrelated issue and someone can tell me how to fix this.

        Thank you

        • 4:48 pm, April 17, 2012hradec  / Reply

          @Martin
          remove PySide (python-pyside.qtopengl package) and try again!
          It uses PySide in OSX, so if it finds PySide, it will try to use it.
          The problem is that I haven’t test it in OSX for quite a while now, and I won’t be surprised if PySide compatibility is broken.

          Removing PySide should make it fallback to PyQt4 automatically, and it should work!

          • 9:49 am, April 18, 2012Martin 

            @hradec
            YEEEEEHAAAAA! got it to compile! i had to remove all pyside-stuff and add a nother package “python-qt4-gl” . After that the compile process worked!
            Thank you for this hint!

  4. 10:08 am, April 18, 2012Martin  / Reply

    So for all Ubuntu-Users (and maybe many other distros) here a list of packages need to be installed after a fresh Ubuntu-Install:

    sudo apt-get install subversion
    sudo apt-get install python-qt4
    sudo apt-get install pyqt4-dev-tools
    sudo apt-get install python-opengl
    sudo apt-get install libqt4-opengl
    sudo apt-get install python-qt4-gl
    sudo apt-get install python-imaging python-imaging-tk
    sudo apt-get install gtk2-engines-pixbuf (!!!only needed in x64 Ubuntu!!!)

    Then to download the CS1-host-source-code:
    svn checkout http://chemshapes.googlecode.com/svn/chemshapes/trunk chemshapes

    Then go to the apropriate directory cd /home/”your username”/chemshapes/host/
    Enter make . It should compile!

    @hradec
    maybe you can add this to the readme-file for linux users.

Leave a Reply

Allowed Tags - You may use these HTML tags and attributes in your comment.

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Pingbacks (0)

› No pingbacks yet.