Giter Site home page Giter Site logo

multi-extrusion-post-processing-scripts-for-slic3r's People

Contributors

makertum avatar pxt avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

multi-extrusion-post-processing-scripts-for-slic3r's Issues

Argument "" isn't numeric in multiplication (*) at G:\Downloads\Multi-Extrusion-post-processing-scripts-for-Slic3r-master\wipe_towers_v02.pl line 761, <> line 25.

After setting up Perl on Windows Server 2012 R2 (equivalent of 8.1), with Strawberry Perl, I had Slic3r spit out these two errors to Repetier Host.

13:49:13.287 : <Slic3r> Argument "" isn't numeric in multiplication (*) at G:\Downloads\Multi-Extrusion-post-processing-scripts-for-Slic3r-master\wipe_towers_v02.pl line 761, <> line 25.

13:49:13.288 : <Slic3r> Argument "" isn't numeric in multiplication (*) at G:\Downloads\Multi-Extrusion-post-processing-scripts-for-Slic3r-master\wipe_towers_v02.pl line 764, <> line 26.

Slic3r hangs upon running this post-processing script

When running this script in Slic3r 1.2.9, slic3r hangs at "running post-processing scripts". I've had some serious issues with the perl intepreter not working, but this script seems to work from the command line. What should be the program used to open .pl scripts like this one? I have it set to perl.exe, should it be wperl.exe? For whatever reason, it just doesn't seem to really work. I'm not sure this is really an issue, but I've looked everywhere I could and tried my very best google-fu. I'm using strawberry perl, and have had some weird issues with getting it to run any sort of script in general. It usually just pops up an empty console window when I double click a perl script.

Any help would be greatly appreciated. I've tried to fix whatever's going on as best as I could, but figured going to the source could be my very last step if I got truly stuck. Thanks.

First layer prints too fast

Hi,

the first layer prints too fast causing a poor adhesion so a new parameter like first_layer_speed or so would be nice.

help using script-No towers

Hi,

I tried your scripts, but I can’t find any wipe towers on Repetier print preview. I used wipe_towers_tc_v02.pl, copied it to a folder named test dual(D:\test dual) and followed everything as per instruction on GitHub

  1. in post processing scripts, given the directory name D:\test dual
  2. Edited start ,end gcodes, after layer change, and tool change gcode

Can you tell me what’s wrong?
Here’s the screen shots

https://drive.google.com/open?id=0B5_IWI68ZqZTUWZCZzlmay1mVGc

How to handle Errors

A small Overview to fix Errors into v02:

1) Can’t do inplace edit without backup at R:\Wipetowers\wipe_towers_v02.pl line 98.
Simply add that: $^I = ‘.bak’; into your Script. It should look like that:
`##########

MAIN LOOP

$^I = ‘.bak’;
while () {
if($start==0){`

2) R:\Wipetowers\wipe_towers_v02.pl line 759, line 21.
Argument “” isn’t numeric in multiplication (*) at R:\Wipetowers\wipe_towers_v02.pl line 762, line 22.
Edit your Start G-Code and replace
; bedWidth=[bed_size_X]
; bedDepth=[bed_size_Y]
with
; bedWidth=200 (Put in here the bedWidth you have)
; bedDepth=200 (Put in here the bedDepth you have)

3) The Script does nothing
Perl installed?
If yes: Generate G-Code with Sclic3r -> Open Command-Shell (cmd) and enter the following:
Perl PathToYourScript\wipe_towers_v02.pl PathToYourG-code\filename.gcode

Hope it helps
Siggi

towers don't extrude due to zero E length

I like the idea of this script, and have been trying to understand how it works. So far my towers are not getting extruded because the lengths are all zero. Snippet of the post-processed GCODE:

; printing square tower with layer height 0.206
G1 X98 Y173 F7800
G1 X98 Y173 F7800
; printing brim
G1 X100 Y175 F7800
G1 E0 F6000
G1 X100 Y185 E0 F3600
G1 X110 Y185 E0 F3600
G1 X110 Y175 E0 F3600
G1 X100 Y175 E0 F3600
G1 X100 Y175 F7800
…

These zero-length extrusions are present for the entire file.

Initial GCODE generated with Slic3r 1.2.9, and this is reproducible with any input object. I haven't yet figured out the full logic flow of the script to understand where the issue is, any hints would be appreciated.

Error in post processing

(Sorry for the terrible description)

When I run the gcode through the post processor I get this error. I've tried trimming down my gcode to the bare minimum, but no luck.

I am running the latest version of ActivePerl for Windows(10) and I am slicing using Slic3r. This is the error I receive.


D:\Users\james_000\Downloads>"wipe_towers_v01.pl" Hollow_Face_Dragon4.gcode
Bareword found where operator expected at D:\Users\james_000\Downloads\wipe_towe
rs_v01.pl line 5, near ""en" class"
(Missing operator before class?)
Bareword found where operator expected at D:\Users\james_000\Downloads\wipe_towe
rs_v01.pl line 13, near "<title>Multi"
(Missing operator before Multi?)
Can't modify numeric lt (<) in scalar assignment at D:\Users\james_000\Downloads
\wipe_towers_v01.pl line 5, near ""en" class"
syntax error at D:\Users\james_000\Downloads\wipe_towers_v01.pl line 5, near ""e
n" class"
Unrecognized character \xC2; marked by <-- HERE after at master <-- HERE near co
lumn 92 at D:\Users\james_000\Downloads\wipe_towers_v01.pl line 13.


I was going to attach gocde, but it is too big. Let me know if you'd like me to email it.

Thanks for all your help, this should be implimented in Slic3r for sure!!!

Wrong travel values

Hi,

wipe_towers_v02.pl generates wrong travel values for me i don't know if it depends on a special version i use the version visible in the top line of the files in the attached zip. The values are huge like "G1 X-555 Y855 E70345.1856 F3000". The way i can maximum travel is X180xY180 so i took that as values for the bedWidth/bedDepth or should take the real size of the bed (x=210.40 y=200.50)? The second extruder can reach 16mm over 180 on the X-axis so using the real bed values seems wrong. Maybe is it better to call bedWidth/bedDepth XMax/YMax or so then if it refers to the travel maximum. To print to the maximum possible bed X size a new parameter like extruder_offset would be needed and error messages or so if the towers are placed somewhere outside the range of the extruder in my case the offset is 32 so the ranges are for extruder1 0 till 180-16 and for extruder2 0+32 till 180+16.

test-dual-extruder_cubes-pillars-script.zip

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.