mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-16 03:34:42 +02:00
update example
This commit is contained in:
@@ -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 :
|
||||||
|
Reference in New Issue
Block a user