csg visualization bug/fix

This commit is contained in:
Joachim Schoeberl 2009-04-05 11:39:00 +00:00
parent 53834fdecd
commit 42e72d3bb6
2 changed files with 21 additions and 1 deletions

View File

@ -1060,7 +1060,7 @@ namespace netgen
IndexSet & iset, IndexSet & iset,
int level) int level)
{ {
if (level > 10) return; // if (level > 10) return;
//tams.AddTriangle (tria); //tams.AddTriangle (tria);
//(*testout) << "tria " << tams.GetPoint(tria[0]) << " - " << tams.GetPoint(tria[1]) << " - " << tams.GetPoint(tria[2]) //(*testout) << "tria " << tams.GetPoint(tria[0]) << " - " << tams.GetPoint(tria[1]) << " - " << tams.GetPoint(tria[2])

20
tutorials/test.dem Normal file
View File

@ -0,0 +1,20 @@
# Demo file
t = 0;
camerapos (0 : -7,0,0; 1: -6,0,0; 10: -5,0,0);
camerapos (10: -5,0,0; 11: -5,-5,0; 12: 0,-5,0);
camerapos (12: 0,-5,0);
camerapos (14: 0,-5,0; 15: 0,-4,0);
camerapos (15: 0,-4,0; 16: 4,-4,0; 17: 4,0,0);
camerapos (17: 4,0,0; 18: 4,4,0; 19: 0,4,0);
camerapos (19: 0,4,0; 20: -4,4,0; 21: -4,0,0);
camerapos (21: -4,0,0);
camerapos (22: 0,-4,-4);
camerapos (23: -4,0,-4);
camerapos (24: -4,-4,-4);
camerapos (25: -4,-4,-4; 30: 4,-4,-4; 35: 4,4,4);