mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-09-24 21:41:33 +02:00
updated docs
This commit is contained in:
@@ -11,6 +11,8 @@ Rotates a point `a` degrees around an arbitrary axis. The rotation is applied in
|
||||
|
||||
You can use the code below to create a line.
|
||||
|
||||
include <rotate_p.scad>;
|
||||
|
||||
hull() {
|
||||
sphere(1);
|
||||
rotate([0, -45, 45])
|
||||
@@ -20,6 +22,8 @@ You can use the code below to create a line.
|
||||
|
||||
The following code has the same effect.
|
||||
|
||||
include <rotate_p.scad>;
|
||||
|
||||
point = [20, 0, 0];
|
||||
a = [0, -45, 45];
|
||||
|
||||
@@ -34,6 +38,8 @@ The following code has the same effect.
|
||||
|
||||
The `rotate_p` function is useful in some situations. For examples, you probably want to get all points on the path of a spiral around a sphere.
|
||||
|
||||
include <rotate_p.scad>;
|
||||
|
||||
radius = 40;
|
||||
step_angle = 10;
|
||||
z_circles = 20;
|
||||
|
Reference in New Issue
Block a user