GithubHelp home page GithubHelp logo

skylight's People

Contributors

evride avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

skylight's Issues

Feature Request: Start / End gcode text boxes

Would it be possible to add Start and End gcode text boxes to the GUI? I normally like to do a G1 Z15 F500 at the very end of a print in Creation Workshop so I can lift my model out of the resin at the very end of a print. :)

Skylight crashes when manually entering a number into the Slice Settings tab fields

C:\Users\Shane\Downloads\Skylight-master\Skylight-master>main.py
Traceback (most recent call last):
File "C:\Python34\lib\tkinter__init__.py", line 1533, in call
return self.func(*args)
File "C:\Users\Shane\Downloads\Skylight-master\Skylight-master\main.py", line
304, in settingChanged
config.set('layerHeight', float(vLayerHeight.get()))
ValueError: could not convert string to float:

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\Shane\Downloads\Skylight-master\Skylight-master\main.py", line
462, in
root.mainloop()
File "C:\Python34\lib\tkinter__init__.py", line 1120, in mainloop
self.tk.mainloop(n)
File "C:\Python34\lib\tkinter__init__.py", line 1537, in call
self.widget._report_exception()
AttributeError: 'StringVar' object has no attribute '_report_exception'

C:\Users\Shane\Downloads\Skylight-master\Skylight-master>

Slicing fails

After placing Slic3r into the root of the Skylight folder, the following error occurs when trying to slice a STL:

C:\Users\Shane\Downloads\Skylight-master\Skylight-master>main.py
Traceback (most recent call last):
File "C:\Python34\lib\tkinter__init__.py", line 1533, in call
return self.func(*args)
File "C:\Users\Shane\Downloads\Skylight-master\Skylight-master\main.py", line
231, in layerChanged
validateDim(self.selectedLayer, self.layerSelector)
TypeError: validateDim() missing 1 required positional argument: 'field'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\Shane\Downloads\Skylight-master\Skylight-master\main.py", line
462, in
root.mainloop()
File "C:\Python34\lib\tkinter__init__.py", line 1120, in mainloop
self.tk.mainloop(n)
File "C:\Python34\lib\tkinter__init__.py", line 1537, in call
self.widget._report_exception()
AttributeError: 'StringVar' object has no attribute '_report_exception'
Exception in thread Thread-1:
Traceback (most recent call last):
File "C:\Python34\lib\threading.py", line 920, in _bootstrap_inner
self.run()
File "C:\Python34\lib\threading.py", line 868, in run
self.target(self.args, *self.kwargs)
File "C:\Users\Shane\Downloads\Skylight-master\Skylight-master\main.py", line
62, in sliceFile
sliceComplete()
File "C:\Users\Shane\Downloads\Skylight-master\Skylight-master\main.py", line
66, in sliceComplete
viewLayerFrame.setHandler(handler)
File "C:\Users\Shane\Downloads\Skylight-master\Skylight-master\main.py", line
220, in setHandler
self.layerSelector['from'] = 1
File "C:\Python34\lib\tkinter__init
.py", line 1326, in setitem
self.configure({key: value})
File "C:\Python34\lib\tkinter__init
.py", line 1319, in configure
return self.configure('configure', cnf, kw)
File "C:\Python34\lib\tkinter__init
.py", line 1310, in _configure
self.tk.call(_flatten((self._w, cmd)) + self._options(cnf))
RuntimeError: main thread is not in main loop

C:\Users\Shane\Downloads\Skylight-master\Skylight-master>

Error thrown if 'temp.svg' doesn't exist in the root directory

Updated to latest commit: 5f1597a

C:\Users\sgraber\Downloads\Skylight-master (1)\Skylight-master>main.py
Exception in thread Thread-1:
Traceback (most recent call last):
File "C:\Python34\lib\threading.py", line 920, in _bootstrap_inner
self.run()
File "C:\Python34\lib\threading.py", line 868, in run
self._target(_self._args, *_self._kwargs)
File "C:\Users\sgraber\Downloads\Skylight-master (1)\Skylight-master\main.py",
line 62, in sliceFile
sliceComplete()
File "C:\Users\sgraber\Downloads\Skylight-master (1)\Skylight-master\main.py",
line 65, in sliceComplete
handler.openFile('temp.svg')
File "C:\Users\sgraber\Downloads\Skylight-master (1)\Skylight-master\PrintHand
ler.py", line 66, in openFile
self.svg = ET.parse(filename).getroot()
File "C:\Python34\lib\xml\etree\ElementTree.py", line 1187, in parse
tree.parse(source, parser)
File "C:\Python34\lib\xml\etree\ElementTree.py", line 587, in parse
source = open(source, "rb")
FileNotFoundError: [Errno 2] No such file or directory: 'temp.svg'

AttributeError: 'NoneType' object has no attribute 'find'

From latest commit: 5f1597a

To get around the problem of no 'temp.svg' file (Issue 4), I created an empty temp.svg in Inkscape, saved it, and moved it to the Skylight root directory. Reran the program, selected a STL to slice, and received the following traceback:

C:\Users\sgraber\Downloads\Skylight-master (1)\Skylight-master>main.py
Exception in thread Thread-1:
Traceback (most recent call last):
File "C:\Python34\lib\threading.py", line 920, in _bootstrap_inner
self.run()
File "C:\Python34\lib\threading.py", line 868, in run
self._target(_self._args, *_self._kwargs)
File "C:\Users\sgraber\Downloads\Skylight-master (1)\Skylight-master\main.py",
line 62, in sliceFile
sliceComplete()
File "C:\Users\sgraber\Downloads\Skylight-master (1)\Skylight-master\main.py",
line 65, in sliceComplete
handler.openFile('temp.svg')
File "C:\Users\sgraber\Downloads\Skylight-master (1)\Skylight-master\PrintHand
ler.py", line 67, in openFile
self.processData()
File "C:\Users\sgraber\Downloads\Skylight-master (1)\Skylight-master\PrintHand
ler.py", line 74, in processData
colorStart = style.find('fill:')
AttributeError: 'NoneType' object has no attribute 'find'

C:\Users\sgraber\Downloads\Skylight-master (1)\Skylight-master>

main.py: minor changes to default spinner values

Starting @ line 387, I have marked my line changes with '# sg' as i found with experience the default values were limiting to the user:

    Label(self, text="Layer Height (mm)").pack(anchor=W)
    self.layerHeightInput = Spinbox(self, from_=0.000, to=1.000, increment=0.005, format="%.3f" , textvariable=self.vLayerHeight)  # sg
    self.layerHeightInput.pack(anchor=W)

    Label(self, text="Exposure Time (ms)").pack(anchor=W)
    self.exposureTimeInput = Spinbox(self, from_=0, to=100000, increment=100 , textvariable=self.vExposureTime)  # sg
    self.exposureTimeInput.pack(anchor=W)
    Label(self, text="Starting Exposure Time (ms)").pack(anchor=W)
    self.startExposureInput = Spinbox(self, from_=0, to=100000, increment=100 , textvariable=self.vStartingExposureTime)  # sg
    self.startExposureInput.pack(anchor=W)
    Label(self, text="Starting Layers").pack(anchor=W)
    self.startingLayersInput = Spinbox(self, from_=0, to=100, increment=1 , textvariable=self.vStartingLayers)
    self.startingLayersInput.pack(anchor=W)
    Label(self, text="Post-Exposure Pause (ms)").pack(anchor=W)
    self.postPauseInput = Spinbox(self, from_=0, to=100000, increment=50 , textvariable=self.vPostPause)  # sg
    self.postPauseInput.pack(anchor=W)
    Label(self, text="Z-Retract Distance (mm)").pack(anchor=W)
    self.zRetractInput = Spinbox(self, from_=0, to=5000, increment=50 , textvariable=self.vRetractDistance)
    self.zRetractInput.pack(anchor=W)
    Label(self, text="Z-Retract Speed (mm/min)").pack(anchor=W)
    self.retractSpeedInput = Spinbox(self, from_=0, to=500, increment=25 , textvariable=self.vRetractSpeed)  # sg
    self.retractSpeedInput.pack(anchor=W)
    Label(self, text="Z-Return Speed (mm/min)").pack(anchor=W)
    self.returnSpeedInput = Spinbox(self, from_=0, to=500, increment=25 , textvariable=self.vReturnSpeed)  # sg
    self.returnSpeedInput.pack(anchor=W)
    Label(self, text="Pre-Exposure Pause (ms)").pack(anchor=W)
    self.prePauseInput = Spinbox(self, from_=0, to=100000, increment=50 , textvariable=self.vPrePause)  # sg
    self.prePauseInput.pack(anchor=W)

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.