From 020866e3148bccd615a6dbefa1c3a275d518d5c7 Mon Sep 17 00:00:00 2001 From: Jerome Plut Date: Wed, 9 Mar 2022 18:07:37 +0100 Subject: [PATCH] path_extrude example --- docs/src/transformations.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/src/transformations.md b/docs/src/transformations.md index 8821ae5..65502b1 100644 --- a/docs/src/transformations.md +++ b/docs/src/transformations.md @@ -201,6 +201,12 @@ png("swept_cube", s); # hide path_extrude ``` +```@repl 0 +s = G.path_extrude([[[0,0.],[3,0],[5,1]]])*(G.square(10)-([1,2]+G.square(3))); +png("path_extrude", s); # hide +``` +![example: single-path extrusion of a shape](path_extrude.png) + ## User-defined volume deformations ```@docs deform