cj.bravo
Posts: 4
Joined: Thu Nov 15, 2018 5:44 am

Scripts not reading variables

Hey,

so i've this script for example:

;announce new layer <[layer_num]>
;---
M756 S1
M790 ;execute any new layer actions

---

but [layer_num] stays the same way and not reading the layer numer.

in Slic3r the readings are fine...

what changed?
User avatar
dkightley
Posts: 2405
Joined: Tue Mar 10, 2015 4:09 pm

Re: Scripts not reading variables

The slicer software. You've changed from Slicr to Simplify3D!

You have specified something that is specifically designed in Slicr.........and S3D knows nothing about the variable at all! Its as simple as that!

Have a read of this thread: viewtopic.php?f=8&t=1959

The variables that S3D use are whatever you see in square brackets.....and the only script the can be used in is the heading of the paragraph/section they appear in.
Doug Kightley
Volunteer at the National Tramway Museum http://www.tramway.co.uk
Railway modeller and webmaster at http://www.talkingtgauge.net

Return to “General Discussion and Tips”