SCAD

atan 反正切

asin  反正弦

数学的 arctangent,  或者反正切,函数。是原则数值返回到 x 的正切弧度,用角度来表示。
atan(y/x)=a,  已知 x 和 y 坐标数值,求角度,

实例:
for(i=[-1:0.01:1])
{
color("maroon")
rotate([0,atan(i),0])
cube([0.5,0.5,150]);
}
for(i=[-1:0.01:1])
{
mirror([0,0,1])
color("navy")
rotate([0,atan(i),0])
cube([0.5,0.5,150]);
}
for(i=[-1:0.01:1])
{
rotate([0,90,0])
color("teal")
rotate([0,atan(i),0])
cube([0.5,0.5,150]);
}
for(i=[-1:0.01:1])
{
rotate([0,270,0])
color("goldenrod")
rotate([0,atan(i),0])
cube([0.5,0.5,150]);
}
color("tan")
rotate([90,0,0])
translate([350,0,0])
cylinder(h=1,r=150, center=true);



码圣代码编程

打字练习

3D创意C++

进入比赛

创客中心

关于傲亚

傲亚CMS

傲亚物联网

我要合作

创客平台

南昌市红谷滩区名门世家2期8号楼608
aoyakefu
TEL:18720086320
kefu@1wwz.com

扫码关注公众号

扫码添加创始人

企业微信服务商