OpenSCAD Language

  • 格式:txt
  • 大小:1.28 KB
  • 文档页数:1
$fs -- Fragment size in mm
$fn -- Resolution
Older versions may not accept 'd', version 2013.02.28 will not.
(3)cylinder -- 缸体,可有/无锥度
h -- 高度 Default value is 1.
d2 -- 上底面的直径. Default value is 1
center -- boolean. If true will center the height of the cone/cylinder around the origin.
Default is false, placing the base of the cylinder or r1 radius of cone at the origin.
sphere(r = 5); -- 半径为5
sphere(r = 10); -- 半径为10
sphere(d = 2); -- 直径为2
sphere(d = பைடு நூலகம்0); -- 直径为10
sphere(d = 20); -- 直径为20
$fa -- Fragment angle in degrees
polyhedron -- 需要好好研究。
$fa -- Angle in degrees
$fs -- Angle in mm
$fn -- Resolution
(NOTE: d,d1,d2 are only available in version later than 2014.03. Debian is currently know to be behind this)
r -- 上下底面的半径. Default value is 1.
r1 -- 下底面的半径. Default value is 1.
r2 -- 上底面的半径, Default value is 1.
d -- 上下底面的直径. Default value is 1
d1 -- 下底面的直径. Default value is 1
The OpenSCAD Language:
(1)cube -- 立方体
cube(size = 1, center = false); -- 坐标为原点
cube(size = [1,2,3], center = true); -- 坐标为立方体的中心。
(2)sphere -- 球体
sphere(r = 1); -- 半径为1

下载文档原格式

  / 1