netgen/tutorials/lshape3d.geo

27 lines
408 B
GLSL
Raw Normal View History

2009-01-13 18:03:21 +05:00
algebraic3d
#
## 3D Lshape - domain
#
solid c1 = plane (-1, -1, 0; 0, 0, -1)
and plane (-1, -1, 0; 0, -1, 0)
and plane (-1, -1, 0; -1, 0, 0)
and plane (1, 1, 1; 0, 0, 1)
and plane (1, 1, 1; 0, 1, 0)
and plane (1, 1, 1; 1, 0, 0);
solid f1 = plane (0, 0, 0; -1, 0, 0);
solid f2 = plane (0, 0, 0; 0, 1, 0);
solid main = c1 and not (f1 and f2);
tlo main;