File: cylsphere.geo

package info (click to toggle)
netgen 6.2.2501%2Bdfsg1-12
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 12,980 kB
  • sloc: cpp: 165,197; tcl: 6,310; python: 2,804; sh: 522; makefile: 87
file content (12 lines) | stat: -rw-r--r-- 218 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
#
## Cylinder and Spehre
#
algebraic3d
solid cyl = cylinder ( 3, 0, 0; -3, 0, 0; 0.5 )
	and plane (-2, 0, 0; -1, 0, 0)
	and plane (2, 0, 0; 1, 0, 0);
solid sp = sphere (0, 0, 0; 1);

solid main = sp or cyl;

tlo main;