From 72a33ca462a5c4a438a9d4da5280b6f1f39f9d0d Mon Sep 17 00:00:00 2001 From: adam-urbanczyk <13981538+adam-urbanczyk@users.noreply.github.com> Date: Sat, 10 May 2025 18:14:50 +0200 Subject: [PATCH] Doc fix --- doc/free-func.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/free-func.rst b/doc/free-func.rst index e57cded9..d00fb05d 100644 --- a/doc/free-func.rst +++ b/doc/free-func.rst @@ -398,7 +398,7 @@ to work with higher level objects like wires. du = pi Nturns = 2 - # consturct the base surface + # construct the base surface base = cylinder(d, h).faces("%CYLINDER") # construct a planar 2D patch for u,v trimming @@ -422,10 +422,10 @@ Finally, it is also possible to map whole faces. .. cadquery:: - from cadquery.func import text, faceOn, extrude + from cadquery.func import sphere, text, faceOn - t = text("CadQuery", 0.6, halign="left").moved(rz=90) + base = sphere(5).faces() - result = extrude(faceOn(base, t), (0.05, 0, 0)) + result = faceOn(base, text("CadQuery", 1))