From 47fd773b15f7f211a4fab53fdf526487e47de3bb Mon Sep 17 00:00:00 2001 From: Adrian Mariano Date: Sat, 21 Jun 2025 22:50:15 -0400 Subject: [PATCH] add example --- tutorials/Attachment-Basic-Positioning.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/tutorials/Attachment-Basic-Positioning.md b/tutorials/Attachment-Basic-Positioning.md index d98f7829..460c5c6f 100644 --- a/tutorials/Attachment-Basic-Positioning.md +++ b/tutorials/Attachment-Basic-Positioning.md @@ -73,7 +73,8 @@ For cylindrical type attachables, the Z component of the anchor vector must be to the bottom rim, the middle side, or the top rim of the cylindrical or conical shape. The X and Y components can be any value, pointing towards the circular perimeter of the cone. These combined let you point at any place on the bottom or top rims, or at an arbitrary -side wall. +side wall. When the Z component is zero you can omit it and pass just +an [X,Y] vector. ```openscad-3D include @@ -92,6 +93,14 @@ include cylinder(r1=25, r2=15, h=60, anchor=cylindrical_to_xyz(1,30,1)); ``` +Here we anchor using a 2D XY vector where the Z value is assumed to be +zero: + +```openscad-3D +include +cylinder(r=25, h=6, anchor=[-1,-2]); +``` + --- For Spherical type attachables, you can pass a vector that points at any arbitrary place on