hradec / chemshapes

a repository for chemshapes.com hardware and software development of High Resolution Open Source 3D Printers.
chemshapes.com
12 stars 2 forks source link

It sort of slices #4

Open reprap101 opened 13 years ago

reprap101 commented 13 years ago

Gooday.

I finally have one version of the slicer running on a Lenovo running windows 7. I think it has an inbuilt graphics card with an Intel q45/q43 chipset. I can load a red teapot, and slide the slice slider. When I hit the slice it button nothing happens. The log doesnt run.

Havent been able to run the slicer on a Mac yet. Have Python 2.7 loaded, and host in the same folder, but no go yet. Thanks Reprap

hradec commented 13 years ago

Thanks for the info!! good to known it works with onboard intel q4x chipset!!

I'll have a look at OSX... It works on my OSX, so it's probably because I have something installed locally that I forgot to add to the __debug_env_osx folder!

I'll test it myself on my wifes mac... lol... I'll get it sorted asap!

-H blog http://hradec.blogspot.com/ home http://hradec.com/

On Tue, Aug 2, 2011 at 11:57 PM, reprap101 < reply@reply.github.com>wrote:

Gooday.

I finally have one version of the slicer running on a Lenovo running windows 7. I think it has an inbuilt graphics card with an Intel q45/q43 chipset. I can load a red teapot, and slide the slice slider. When I hit the slice it button nothing happens. The log doesnt run.

Havent been able to run the slicer on a Mac yet. Have Python 2.7 loaded, and host in the same folder, but no go yet. Thanks Reprap

Reply to this email directly or view it on GitHub: https://github.com/hradec/chemshapes/issues/4

reprap101 commented 13 years ago

Thanks again for your great work. On the hardware side, I have a four axis home brew cnc machine usning Mach3 software. I am 70% through building a new Z axis which is being mounted on a two shelf projector trolly. I should be able to complete the mechanical part of the printer next week. I have been running the mach 3 macro with test slices sucessfully. It reverses the z travel every frame instead of tilting the tray. It will be interesting to see how it works. Reprap.

reprap101 commented 13 years ago

Hi I tried this on a mac at work. Hope this helps find the missing directory. Also what folder should I put the host folder in? I was thinking documents might be a good genreal repository. Thanks Reprap.

hradec-chemshapes-f370f20 Last login: Fri Aug 5 15:09:05 on ttyp1 /Users/crowsnest/Documents/host/_OSX\ -\ Click\ here\ to\ run\ Chemshapes\ Host\ Software.command; exit Welcome to Darwin! cnr263-me016:~ crowsnest$ /Users/crowsnest/Documents/host/_OSX\ -\ Click\ here\ to\ run\ Chemshapes\ Host\ Software.command; exit /Users/crowsnest/Documents/host/_OSX - Click here to run Chemshapes Host Software.command: line 4: ./pythonosx: No such file or directory logout [Process completed]

hradec commented 13 years ago

cool.. thanks for the info...

I just submitted a change to the OSX .command script that should fix it (hopefully!!)

give it a try and let me known!!

-H blog http://hradec.blogspot.com/ home http://hradec.com/

On Thu, Aug 4, 2011 at 11:27 PM, reprap101 < reply@reply.github.com>wrote:

Hi I tried this on a mac at work. Hope this helps find the missing directory. Also what folder should I put the host folder in? I was thinking documents might be a good genreal repository. Thanks Reprap.

hradec-chemshapes-f370f20 Last login: Fri Aug 5 15:09:05 on ttyp1 /Users/crowsnest/Documents/host/_OSX\ -\ Click\ here\ to\ run\ Chemshapes\ Host\ Software.command; exit Welcome to Darwin! cnr263-me016:~ crowsnest$ /Users/crowsnest/Documents/host/_OSX\ -\ Click\ here\ to\ run\ Chemshapes\ Host\ Software.command; exit /Users/crowsnest/Documents/host/_OSX - Click here to run Chemshapes Host Software.command: line 4: ./pythonosx: No such file or directory logout [Process completed]

Reply to this email directly or view it on GitHub: https://github.com/hradec/chemshapes/issues/4#issuecomment-1733294

reprap101 commented 13 years ago

Hi in home computer Placed host file in documents and this is the result.

Last login: Sat Aug 6 09:42:23 on ttys000 /Users/me/Documents/hradec-chemshapes-c9384b6/host/_OSX\ -\ Click\ here\ to\ run\ Chemshapes\ Host\ Software.command ; exit; me-computer:~ me$ /Users/me/Documents/hradec-chemshapes-c9384b6/host/_OSX\ -\ Click\ here\ to\ run\ Chemshapes\ Host\ Software.command ; exit; logout

[Process completed]

reprap101 commented 13 years ago

Hi this is what I get if I put the host folder in the python 2.7 application folder

Last login: Sat Aug 6 09:49:17 on ttys000 /Applications/Python\ 2.7/host/_OSX\ -\ Click\ here\ to\ run\ Chemshapes\ Host\ Software.command ; exit; me-computer:~ me$ /Applications/Python\ 2.7/host/_OSX\ -\ Click\ here\ to\ run\ Chemshapes\ Host\ Software.command ; exit; /Applications/Python 2.7/host/_OSX - Click here to run Chemshapes Host Software.command: line 3: cd: /Applications/Python: No such file or directory logout

[Process completed]

reprap101 commented 13 years ago

Hi I cant edit this because its read only but is it version 2.6 or 2.7?

chemshapes / host / __debug_env_osx / .Python /System/Library/Frameworks/Python.framework/Versions/2.6/Python

reprap101 commented 13 years ago

Hi I downloaded python 2.6 and 2.7 on a clean machine at work to get round the path to 2.6 I mentioned earlier. I dont have any lost file calls now, but I dont get the slicer software running. Thanks reprap

Last login: Mon Aug 8 11:28:28 on ttys000 600900B206DE304:~ student$ /Volumes/Scratch/python/hradec-chemshapes-c9384b6/host/_OSX\ -\ Click\ here\ to\ run\ Chemshapes\ Host\ Software.command ; exit; logout

[Process completed]

hradec commented 13 years ago

python 2.7 is self contained in the same folder, inside __dev_env_osx folder. So you shouldn't need to download any special python version.

I'll keep digging to find what the issue is...

-H blog http://hradec.blogspot.com/ home http://hradec.com/

On Sun, Aug 7, 2011 at 6:33 PM, reprap101 < reply@reply.github.com>wrote:

Hi I downloaded python 2.6 and 2.7 on a clean machine at work to get round the path to 2.6 I mentioned earlier. I dont have any lost file calls now, but I dont get the slicer software running. Thanks reprap

Last login: Mon Aug 8 11:28:28 on ttys000 600900B206DE304:~ student$ /Volumes/Scratch/python/hradec-chemshapes-c9384b6/host/_OSX\ -\ Click\ here\ to\ run\ Chemshapes\ Host\ Software.command ; exit; logout

[Process completed]

Reply to this email directly or view it on GitHub: https://github.com/hradec/chemshapes/issues/4#issuecomment-1750901

reprap101 commented 13 years ago

Hi Should Python auto install on the Macintosh so It can be found in the /System/Library/Frameworks/Python.framework/Versions/2.6/Python path called in chemshapes / host / __debug_env_osx / .Python script? Try it on a virgin macintosh to see if yours creates the framework. Reprap

hradec commented 13 years ago

the host software doens't install anything on your computer... That path you found is just leftover file from when I was setting things up, and it doesn't actually use that file for anything!

All that's needed is inside the _debug_dev_osx folder and you shouldn't install anything extra locally.

I need to investigate the problem you're having, but my time is limited this week due to the Vancouver Siggraph 2011 event.

I'll try to have a look at it over the weekend!

-H blog http://hradec.blogspot.com/ home http://hradec.com/

On Tue, Aug 9, 2011 at 2:42 PM, reprap101 < reply@reply.github.com>wrote:

Hi Should Python auto install on the Macintosh so It can be found in the /System/Library/Frameworks/Python.framework/Versions/2.6/Python path called in chemshapes / host / __debug_env_osx / .Python script? Try it on a virgin macintosh to see if yours creates the framework. Reprap

Reply to this email directly or view it on GitHub: https://github.com/hradec/chemshapes/issues/4#issuecomment-1767761

reprap101 commented 13 years ago

Thanks, enjoy Siggraph. Im a fan of Douglas Trumbull. reprap

reprap101 commented 13 years ago

Hi just tested the latest

hradec-chemshapes-4dffd50 downloads and runs in windows if placed in a python 27 folder but not otherwise.

Callibration csi cube loads and I can drive slice slider. When I hit the slice button nothing happens, no activity in log window.

Would like to be able to save slices stack to export for use with Mach 3 software.

hradec commented 13 years ago

The slice button will be removed in the future, as now it uses the realtime version. I'll keep in mind to add an option to save out images of a simulated print so you can use with mach3 software. I'll look into the python27 folder name dependency...

thanks for the testing, by the way... really appreciate!

-H blog http://hradec.blogspot.com/ home http://hradec.com/

On Thu, Aug 11, 2011 at 4:46 PM, reprap101 < reply@reply.github.com>wrote:

Hi just tested the latest

hradec-chemshapes-4dffd50 downloads and runs in windows if placed in a python 27 folder but not otherwise.

Callibration csi cube loads and I can drive slice slider. When I hit the slice button nothing happens, no activity in log window.

Would like to be able to save slices stack to export for use with Mach 3 software.

Reply to this email directly or view it on GitHub: https://github.com/hradec/chemshapes/issues/4#issuecomment-1787057

reprap101 commented 13 years ago

Thanks for the thanks, Just ran latest download on virgin mac, runs short script Last login: Fri Aug 12 11:02:32 on console /Volumes/Scratch/2011-sem2-peterg/hradec-chemshapes-4dffd50/host/_OSX\ -\ Click\ here\ to\ run\ Chemshapes\ Host\ Software.command ; exit; 600900B206DE301:~ student$ /Volumes/Scratch/2011-sem2-peterg/hradec-chemshapes-4dffd50/host/_OSX\ -\ Click\ here\ to\ run\ Chemshapes\ Host\ Software.command ; exit; logout

[Process completed]

then nothing. reprap

hradec commented 13 years ago

there should be a log_.html file in the same folder... could you send it to me, plz?

-H blog http://hradec.blogspot.com/ home http://hradec.com/

On Thu, Aug 11, 2011 at 6:07 PM, reprap101 < reply@reply.github.com>wrote:

Thanks for the thanks, Just ran latest download on virgin mac, runs short script Last login: Fri Aug 12 11:02:32 on console /Volumes/Scratch/2011-sem2-peterg/hradec-chemshapes-4dffd50/host/_OSX\ -\ Click\ here\ to\ run\ Chemshapes\ Host\ Software.command ; exit; 600900B206DE301:~ student$ /Volumes/Scratch/2011-sem2-peterg/hradec-chemshapes-4dffd50/host/_OSX\ -\ Click\ here\ to\ run\ Chemshapes\ Host\ Software.command ; exit; logout

[Process completed]

then nothing. reprap

Reply to this email directly or view it on GitHub: https://github.com/hradec/chemshapes/issues/4#issuecomment-1787424

reprap101 commented 13 years ago

Hi sorry to be thick, which the same folder as...

From idle.

Python 2.7.2 (v2.7.2:8527427914a2, Jun 11 2011, 15:22:34) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type "copyright", "credits" or "license()" for more information.

WARNING: The version of Tcl/Tk (8.5.7) in use may be unstable. Visit http://www.python.org/download/mac/tcltk/ for current information. [DEBUG ON]

[DEBUG OFF]

From log init.py

rom PySide.QtCore import QIODevice, QFile, SIGNAL, SLOT, QObject from PySide.QtGui import QPlainTextEdit import PySide.QtUiTools as QtUiTools

import time, traceback, socket

class log: def init(self, logfile='log_%s.html' % socket.gethostname(), QPlainTextEdit_widget=None, error=False): self.attachLog( QPlainTextEdit_widget ) self.logfile = logfile

self._write('='*80, cleanText=True)

self._write('new log started...', cleanText=True)

    self.error = error

def remove(self):
    self._write('='*80, cleanText=True)

def attachLog( self, QPlainTextEdit_widget ):
    self.QPlainTextEdit_widget = QPlainTextEdit_widget 

def _write(self, msg, warning = False, error = False, cleanText=False):
    msg = msg.rstrip()
    if msg:
        if not cleanText:
            if self.error:
                msg = '<FONT COLOR="#ff0000" ><strong>PYTHON EXCEPTION:</strong></FONT> \t<FONT COLOR="#cc6600">%s</FONT>' % msg
            elif warning:
                msg = '<FONT COLOR="#eeee00"><strong>WARNING:</strong></FONT> <FONT COLOR="#aaaa00">%s</FONT>' % msg
            elif error:
                msg = '<FONT COLOR="#ff0000"><strong>ERROR:</strong></FONT> <FONT COLOR="#aa3300">%s</FONT>' % msg
            else:
                msg = '<FONT COLOR="#00aa00">%s</FONT>' % msg
            msg =  '%s >>  %s' % (time.ctime(),msg)
        if self.QPlainTextEdit_widget:
            self.QPlainTextEdit_widget.appendHtml ( msg )
        self.logFile = open(self.logfile,'a')
        self.logFile.write( '%s<br>' % msg )
        self.logFile.flush()
        self.logFile.close()

def flush(self):
    pass

def write( self, str ):
    self._write( str, 
        error = ( 'exception' in str.lower() or 'error' in str.lower() ),
        warning = ( 'warning' in str.lower() or 'attention' in str.lower() )
     )

def warning( self, str ):
    self._write( 'WARNING: %s' % str )

def error( self, str ):
    self._write( 'ERROR: %s' % str )

def handleException(self, Exception, err):
    self._write( 'EXCEPTION: %s' % traceback.format_exc() )
hradec commented 13 years ago

the host folder... the same folder were you run the software... were the "_OSX - Click here to run Chemshapes Host Software.command" file is!

-H blog http://hradec.blogspot.com/ home http://hradec.com/

On Thu, Aug 11, 2011 at 11:46 PM, reprap101 < reply@reply.github.com>wrote:

Hi sorry to be thick, which the same folder as...

From idle.

Python 2.7.2 (v2.7.2:8527427914a2, Jun 11 2011, 15:22:34) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type "copyright", "credits" or "license()" for more information.

WARNING: The version of Tcl/Tk (8.5.7) in use may be unstable. Visit http://www.python.org/download/mac/tcltk/ for current information. [DEBUG ON]

[DEBUG OFF]

From log init.py

rom PySide.QtCore import QIODevice, QFile, SIGNAL, SLOT, QObject from PySide.QtGui import QPlainTextEdit import PySide.QtUiTools as QtUiTools

import time, traceback, socket

class log: def init(self, logfile='log_%s.html' % socket.gethostname(), QPlainTextEdit_widget=None, error=False): self.attachLog( QPlainTextEdit_widget ) self.logfile = logfile

self._write('='*80, cleanText=True)

self._write('new log started...', cleanText=True)

   self.error = error

def remove(self): self._write('='*80, cleanText=True)

def attachLog( self, QPlainTextEdit_widget ): self.QPlainTextEdit_widget = QPlainTextEdit_widget

def _write(self, msg, warning = False, error = False, cleanText=False): msg = msg.rstrip() if msg: if not cleanText: if self.error: msg = 'PYTHON EXCEPTION: \t%s' % msg elif warning: msg = '<FONT COLOR="#eeee00">WARNING: <FONT COLOR="#aaaa00">%s' % msg elif error: msg = '<FONT COLOR="#ff0000">ERROR: <FONT COLOR="#aa3300">%s' % msg else: msg = '%s' % msg msg = '%s >> %s' % (time.ctime(),msg) if self.QPlainTextEdit_widget: self.QPlainTextEdit_widget.appendHtml ( msg ) self.logFile = open(self.logfile,'a') self.logFile.write( '%s
' % msg ) self.logFile.flush() self.logFile.close()

def flush(self): pass

def write( self, str ): self._write( str, error = ( 'exception' in str.lower() or 'error' in str.lower() ), warning = ( 'warning' in str.lower() or 'attention' in str.lower() ) )

def warning( self, str ): self._write( 'WARNING: %s' % str )

def error( self, str ): self._write( 'ERROR: %s' % str )

def handleException(self, Exception, err): self._write( 'EXCEPTION: %s' % traceback.format_exc() )

Reply to this email directly or view it on GitHub: https://github.com/hradec/chemshapes/issues/4#issuecomment-1789262

reprap101 commented 13 years ago

hi running this on an imac

Last login: Wed Aug 10 17:49:53 on ttys000 /Users/me/Documents/hradec-chemshapes-6e72285/host/_OSX\ -\ Click\ here\ to\ run\ Chemshapes\ Host\ Software.command ; exit; me-computer:~ petergreen$ /Users/me/Documents/hradec-chemshapes-6e72285/host/_OSX\ -\ Click\ here\ to\ run\ Chemshapes\ Host\ Software.command ; exit; logout

[Process completed]

reprap101 commented 13 years ago

this is from draft.devLog in _debug_env_w32 Last login: Sat Aug 13 09:10:48 on ttys000 /Users/me/Documents/hradec-chemshapes-6e72285/host/draft.devLog ; exit; me-computer:~ me$ /Users/me/Documents/hradec-chemshapes-6e72285/host/draft.devLog ; exit; /Users/me/Documents/hradec-chemshapes-6e72285/host/draft.devLog: line 1: may: command not found /Users/me/Documents/hradec-chemshapes-6e72285/host/draft.devLog: line 2: ===========: command not found /Users/me/Documents/hradec-chemshapes-6e72285/host/draft.devLog: line 4: Added: command not found logout

[Process completed]

reprap101 commented 13 years ago

Sorry I dont see log_.html file in the host folder on my mac. There are no htm files. Could it be in a sub folder that I havent found.

reprap101 commented 13 years ago

Sorry checked path this is a unix file from host/ draft.devLog Last login: Sat Aug 13 09:10:48 on ttys000 /Users/me/Documents/hradec-chemshapes-6e72285/host/draft.devLog ; exit; me-computer:~ me$ /Users/me/Documents/hradec-chemshapes-6e72285/host/draft.devLog ; exit; /Users/me/Documents/hradec-chemshapes-6e72285/host/draft.devLog: line 1: may: command not found /Users/me/Documents/hradec-chemshapes-6e72285/host/draft.devLog: line 2: ===========: command not found /Users/me/Documents/hradec-chemshapes-6e72285/host/draft.devLog: line 4: Added: command not found logout

[Process completed]

reprap101 commented 13 years ago

Hi Hope you enjoyed siggraph. Ive almost finished my uv3d printer. Here are the photos Reprap 101

https://picasaweb.google.com/118257776948658176570