From 65aaaf8853e051968ea4414458381ac711984c57 Mon Sep 17 00:00:00 2001 From: Charles Iliya Krempeaux Date: Mon, 15 Jan 2024 11:52:43 -0800 Subject: [PATCH] initial commits --- index.xhtml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/index.xhtml b/index.xhtml index 3aa4446..91609fb 100644 --- a/index.xhtml +++ b/index.xhtml @@ -163,6 +163,31 @@ cylinder(h=50, r1=20, r2=5); import("3dbenchy.stl") +
+

Centering

+

+ By default, a sphere is centered at the origin — [0,0,0]. + However, cuboids, cylinders, cones, and truncated cones are not, by default, cetered at the origin. +

+

+ To make it so cuboids, cylinders, cones, and truncated cones are centered at the origin, use the center=true paramter. + For example: +

+
+

+cube([50,75,100], center=true);
+
+
+

+ And: +

+

+cylinder(h=50, r1=20, r2=5, center=true);
+
+

+ Etc. +

+