shape_ellipse


傳回橢圓形的座標點,可以與我的 xxx_extrude 或內建的 polygon 模組一同使用。

參數

  • axes : [x, y] 形式,x 為半長軸,y 為半短軸長度。
  • $fa, $fs, $fn : 橢圓也可以使用 resize([x, y]) circle(r = x) 來產生,因此也可以使用這些特殊變數來控制,詳見 circle 模組說明。

範例

include <shape_ellipse.scad>;

polygon(
    shape_ellipse([40, 20])
);

shape_ellipse

include <shape_ellipse.scad>;
include <circle_path.scad>;
include <helix.scad>;
include <rotate_p.scad>;
include <cross_sections.scad>;
include <polysections.scad>;
include <helix_extrude.scad>;

$fn = 8;

shape_pts = shape_ellipse([20, 10]);

helix_extrude(shape_pts, 
    radius = 40, 
    levels = 5, 
    level_dist = 20,
    rt_dir = "CLK"
);

shape_ellipse