Vojtech Bubnik 59552a8aee PlaceholderParser & G-code export: Exchange of position & extrusion status between custom G-codes and slicer, extension of script syntax.
Newly each custom G-code block may exchange the following values with slicer:

Position and Z-hop:
position (read/write)- 3 element vector (X, Y, Z) of current G-code position. Z element contains the current Z hop.
zhop (read only)- initial zhop value

Extruders: vector variables, one element per extruder:
e_position (read/write) - absolute E position, only available with absolute extruder addressing
e_retracted (read/write) - current retraction state
e_restart_extra (read/write) - current planned extra deretraction when starting printing

For readibility, script's if / elsif / else / endif syntax was modified:

{if cond then
	block
elsif cond then
	block
else
	block
endif}

Semicolon is not required after else or endif.
2023-03-28 12:47:32 +02:00
2023-03-09 17:22:14 +01:00
2022-10-27 20:01:55 +02:00
2023-03-23 22:55:38 +01:00
2022-12-23 16:07:09 +01:00
2017-10-21 16:09:25 +02:00
2023-03-06 15:38:38 +01:00

PrusaSlicer logo

PrusaSlicer

You may want to check the PrusaSlicer project page. Prebuilt Windows, OSX and Linux binaries are available through the git releases page or from the Prusa3D downloads page. There are also 3rd party Linux builds available.

PrusaSlicer takes 3D models (STL, OBJ, AMF) and converts them into G-code instructions for FFF printers or PNG layers for mSLA 3D printers. It's compatible with any modern printer based on the RepRap toolchain, including all those based on the Marlin, Prusa, Sprinter and Repetier firmware. It also works with Mach3, LinuxCNC and Machinekit controllers.

PrusaSlicer is based on Slic3r by Alessandro Ranellucci and the RepRap community.

See the project homepage and the documentation directory for more information.

What language is it written in?

All user facing code is written in C++, and some legacy code as well as unit tests are written in Perl. Perl is not required for either development or use of PrusaSlicer.

The slicing core is the libslic3r library, which can be built and used in a standalone way. The command line interface is a thin wrapper over libslic3r.

What are PrusaSlicer's main features?

Key features are:

  • multi-platform (Linux/Mac/Win) and packaged as standalone-app with no dependencies required
  • complete command-line interface to use it with no GUI
  • multi-material (multiple extruders) object printing
  • multiple G-code flavors supported (RepRap, Makerbot, Mach3, Machinekit etc.)
  • ability to plate multiple objects having distinct print settings
  • multithread processing
  • STL auto-repair (tolerance for broken models)
  • wide automated unit testing

Other major features are:

  • combine infill every 'n' perimeters layer to speed up printing
  • 3D preview (including multi-material files)
  • multiple layer heights in a single print
  • spiral vase mode for bumpless vases
  • fine-grained configuration of speed, acceleration, extrusion width
  • several infill patterns including honeycomb, spirals, Hilbert curves
  • support material, raft, brim, skirt
  • standby temperature and automatic wiping for multi-extruder printing
  • customizable G-code macros and output filename with variable placeholders
  • support for post-processing scripts
  • cooling logic controlling fan speed and dynamic print speed

Development

If you want to compile the source yourself, follow the instructions on one of these documentation pages:

Can I help?

Sure! You can do the following to find things that are available to help with:

What's PrusaSlicer license?

PrusaSlicer is licensed under the GNU Affero General Public License, version 3. The PrusaSlicer is originally based on Slic3r by Alessandro Ranellucci.

How can I use PrusaSlicer from the command line?

Please refer to the Command Line Interface wiki page.

Description
No description provided
Readme AGPL-3.0 605 MiB
Languages
C++ 72.7%
HTML 15.8%
C 9.2%
JavaScript 0.9%
CMake 0.6%
Other 0.3%