1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-16 03:34:42 +02:00

update example

This commit is contained in:
Justin Lin
2021-10-27 15:51:35 +08:00
parent 5b65cc16a7
commit bb2f10043f

View File

@@ -1,17 +1,17 @@
use <../__comm__/__frags.scad>; use <../__comm__/__frags.scad>;
use <../sweep.scad>; use <../sweep.scad>;
// e = 0; // use <polyhedra/superellipsoid.scad>;
// n = 0;
// $fn = 24; // $fn = 24;
// for(e = [0:.25:2]) { // for(e = [0:.5:4]) {
// for(n = [0:.25:3]) // for(n = [0:.5:3])
// translate([e / .25, n / .25] * 3) // translate([e / .5, n / .5] * 3)
// superellipsoid(e, n); // superellipsoid(e, n);
// } // }
module superellipsoid(e, n) { module superellipsoid(e, n) {
function _sgn(x) = function _sgn(x) =
x < 0 ? -1 : x < 0 ? -1 :