Welcome! Log In Create A New Profile

Advanced

Wood Plugin for Slic3r?

Posted by labmat 
Re: Wood Plugin for Slic3r?
January 29, 2013 12:58PM
hello !

I would like a lot a post processor for slic3r (with the instructions how to install it on windows install )
thank you a lot for the script

what do you think of the small change to work with hopping ?

remplace
if newZ != z:
z = newZ

with
if newZ > z:
z = newZ

thank you again
Re: Wood Plugin for Slic3r?
January 29, 2013 11:34PM
Hello Jeremie your blog post was actually mentioned and linked to at the beginning of this thread. I thank you for creating this script, I have had fun using it and have amazed coworkers and family members with the simulated wood grain. I have done some playing with the temperature settings to get a greater contrast on the prints. I have it dialed in pretty well at 180° - 230°, I haven't messed with the grain size yet since I was playing with temperature more.

I know I would love to have this script integrated into slic3r, I have no idea how thus can be made to happen.



Edited 1 time(s). Last edit at 01/29/2013 11:35PM by labmat.
Re: Wood Plugin for Slic3r?
January 31, 2013 01:58PM
Hello jeremie, nice plugin there smiling smiley

Slic3r's post-processing scripts are quite easy to create. Basically Slic3r will call your script with a single argument, being the path to the G-code file. Your script can then read it and modify it in-place. I think you can adapt your one with very few changes, let us know how it goes!
Re: Wood Plugin for Slic3r?
February 07, 2013 09:07PM
I am trying to get this script to work under macOS. i can run it from the Terminal but when I try i get an error:

plexbook:3DP plexus$ ./wood.py -i tet-wpy.gcode -o tet-wpy2.gcode -n 180 -x 220
Traceback (most recent call last):
  File "./wood.py", line 198, in 
    main(sys.argv[1:])
  File "./wood.py", line 170, in main
    temps.append(minTemp + (maxTemp - minTemp) * nn)
TypeError: unsupported operand type(s) for -: 'str' and 'str'

Is there a way to get this to work with Slic3r post processing script under macOS?
Re: Wood Plugin for Slic3r?
February 07, 2013 09:20PM
plexus Wrote:
-------------------------------------------------------
> I am trying to get this script to work under
> macOS. i can run it from the Terminal but when I
> try i get an error:

I too am on a Mac and I was getting the same error when trying to set the temps in the script with -n & -x I found it easier to just edit wood.py with the temps I wanted ( I believe 18 & 220 are the defaults), the script works just fine when you don't use -n & -x
Re: Wood Plugin for Slic3r?
April 17, 2013 12:39PM
back on the topic after a reinstall

with win 7 and python 2.7.7 i got the same error if i try to specify min max temp

pb whit numeric/str type for the variables ? (i'm not a python specialist )

it work anyway thank you
Re: Wood Plugin for Slic3r?
April 17, 2013 12:41PM
it would be great to have it implemented as a plugin for slic3r

still don't know how to do it :-/
Re: Wood Plugin for Slic3r?
September 22, 2016 12:36PM
Hi. I really would like this kind of module in slic3r. I downloaded the script from here. Also I have python27 installed, win 10 64 b.
When I execute the script, I get this:

Traceback (most recent call last):
File "F:\wood.py", line 196, in
main(sys.argv[1:])
File "F:\wood.py", line 168, in main
temps.append(minTemp + (maxTemp - minTemp) * nn)
TypeError: unsupported operand type(s) for -: 'str' and 'str'

The command issued was Wood.py -i garras.gcode -o garras_temp.gcode -n 190 -x 250
Re: Wood Plugin for Slic3r?
April 15, 2018 01:53AM
Have you found a way to have this script work on a mac? I would love to use this with slic3r.
Sorry, only registered users may post in this forum.

Click here to login