Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
/**
* slice.scad
*
* @copyright Justin Lin, 2019
* @license https://opensource.org/licenses/lgpl-3.0.html
*
* @see https://openhome.cc/eGossip/OpenSCAD/lib3x-slice.html
*
**/
function slice(lt, begin, end) =
let(ed = is_undef(end) ? len(lt) : end)
[for(i = begin; i < ed; i = i + 1) lt[i]];
bb33edfd7This file is pinned to the selected release. Download the original to open it in your design tool.