mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-12 22:20:35 +05:00
csg - py
This commit is contained in:
parent
8c4b7151a7
commit
5840597b4c
@ -88,7 +88,7 @@ public:
|
||||
Primitive * prim = solid -> GetPrimitive();
|
||||
for (int i = 0; i < prim->GetNSurfaces(); i++)
|
||||
prim->GetSurface(i).SetBCProperty (abc);
|
||||
cout << "set " << prim->GetNSurfaces() << " surfaces to bc " << bc << endl;
|
||||
// cout << "set " << prim->GetNSurfaces() << " surfaces to bc " << bc << endl;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1287,7 +1287,7 @@ namespace netgen
|
||||
// cout << "solid = " << *this << endl;
|
||||
if (!inv_cyl && !inv_plane && scala < 0)
|
||||
{
|
||||
cout << "fix for degenerated cyl-plane edge: just the cylinder" << endl;
|
||||
// cout << "fix for degenerated cyl-plane edge: just the cylinder" << endl;
|
||||
Solid * sol = new Solid (cyl);
|
||||
sol -> op = TERM_REF;
|
||||
return sol;
|
||||
@ -1299,7 +1299,7 @@ namespace netgen
|
||||
// cout << "solid = " << *this << ", inv_plane = " << inv_plane << " inv_cyl = " << inv_cyl << " scalb " << scalb << endl;
|
||||
if (!inv_plane && !inv_cyl && (scala < 0))
|
||||
{
|
||||
cout << "fix for degenerated cyl-plane edge: just the plane" << endl;
|
||||
// cout << "fix for degenerated cyl-plane edge: just the plane" << endl;
|
||||
// return new Solid (plane);
|
||||
Solid * sol = new Solid (plane);
|
||||
sol -> op = TERM_REF;
|
||||
|
Loading…
Reference in New Issue
Block a user