Freesteel » Free Downloads
News: 21.11.2008 - New version (v1.1) released.
Read about the new features.
Slice is a command line utility for cutting a 3D triangulated models saved in the STL file format with a plane in Z to produce a 2D shape. Output formats include plain text, HPGL, XML, or SVG (pictured).
Slice is free to use and distribute in its binary form. Download the Windows Installer here (size: 2Mb).
Slice is one of the fundamental algorithms used in Rapid Prototyping, although it can have other applications, such as generating contour lines on surfaces or creating silhouettes (available in version 2).
Examples. Create your own STL file, or download an example.
To create 11 slices from Z=10 to Z=20 every 1mm and output to a file, type:
slice -z 10,20,1 example.stl -o output.svg
If you do not know the Z range of your model, the following command prints it out:
slice -v example.stl
Question Why has my Z value been moved slightly? You probably asked for a slice that coincides exactly with a horizontal plane or was too close to a nearly horizontal plane. These cases can be ambiguous, so the algorithm moves the position slightly before slicing it. Most geometric algorithms perform this kind of fudging in the background to make them work, but don’t usually show what’s happened, so you never find out.
Question Why isn’t this algorithm open source? There is too little interest in this at the moment. We would like there to be more. If you are working with GPL-licensed software that needs to use slice, you can run it using a command-line call in a process known as aggregation. If this helps you produce something interesting, please get in touch.
- slice can now use two different tool types to calculate the slice, a disk shape and a sphere. By using a height of the disk so that the top is cutting below the highest Z of the STL file the result will model the contours at that height, incuding undercuts.
-
The default tool is the disk shape, contours will not be offset from the geometry of the STL.
(You can specify an offset if required) - slice can be used to produce contours for rapid prototyping from poor STL files that don’t meet the high expectations other rapid prototyping tools require: STL with intersecting or overlapping triangles, triangle edges that are not properly connected to their neighbours, or STL that does not describe a solid can all be processed with good quality resutling contours.
- New output of the most common image formats was added.