mirror of
https://github.com/Haskell-Things/ImplicitCAD.git
synced 2024-08-14 23:40:38 +03:00
add more examples.
This commit is contained in:
parent
fd1ccd17d1
commit
0e518a69ec
5
Examples/example13-e.escad
Normal file
5
Examples/example13-e.escad
Normal file
@ -0,0 +1,5 @@
|
||||
/* Example 13 - The rounded union of a cube and a sphere. */
|
||||
union {
|
||||
cube ([0,0,0],[20,20,20]);
|
||||
translate ([20,20,20]) sphere (15);
|
||||
}
|
6
Examples/example20.escad
Normal file
6
Examples/example20.escad
Normal file
@ -0,0 +1,6 @@
|
||||
union() {
|
||||
square([10, 10]);
|
||||
translate([10, 5])
|
||||
square([10, 20]);
|
||||
}
|
||||
|
14
Examples/example21.scad
Normal file
14
Examples/example21.scad
Normal file
@ -0,0 +1,14 @@
|
||||
union()
|
||||
{
|
||||
cube([10,20,5]);
|
||||
rotate(30)
|
||||
translate([0,30,0])
|
||||
{
|
||||
cube([10,20,5]);
|
||||
rotate(30)
|
||||
translate([0,30,0])
|
||||
{
|
||||
cube([10,20,5]);
|
||||
}
|
||||
}
|
||||
}
|
2
Examples/example22.escad
Normal file
2
Examples/example22.escad
Normal file
@ -0,0 +1,2 @@
|
||||
cube (10);
|
||||
cube (10);
|
1
Examples/example23.escad
Normal file
1
Examples/example23.escad
Normal file
@ -0,0 +1 @@
|
||||
include <example3.escad>;
|
Loading…
Reference in New Issue
Block a user