From 6c8030d26a355b42362b64d502ad06b791e6bb30 Mon Sep 17 00:00:00 2001 From: felix-otto <122539281+felix-otto@users.noreply.github.com> Date: Sat, 18 Feb 2023 21:22:17 +0100 Subject: [PATCH] add extrustion distance to get sample code working (#1275) Without the parameter I got the following error message: TypeError: extrude() missing 1 required positional argument: 'distance' --- doc/primer.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/primer.rst b/doc/primer.rst index 27a5c28c4..65229ce26 100644 --- a/doc/primer.rst +++ b/doc/primer.rst @@ -144,7 +144,7 @@ your operations, and defines the first solid object created as the 'context soli you create are automatically combined (unless you specify otherwise) with that solid. This happens even if the solid was created a long way up in the stack. For example:: - Workplane('XY').box(1,2,3).faces(">Z").circle(0.25).extrude() + Workplane('XY').box(1,2,3).faces(">Z").circle(0.25).extrude(1) Will create a 1x2x3 box, with a cylindrical boss extending from the top face. It was not necessary to manually combine the cylinder created by extruding the circle with the box, because the default behavior for extrude is