mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 05:50:32 +05:00
Merge branch 'set_occ_bcnames' into 'master'
Set default bcnames in occ geometries See merge request jschoeberl/netgen!169
This commit is contained in:
commit
0e01644a4c
@ -1179,6 +1179,8 @@ void STEP_GetEntityName(const TopoDS_Shape & theShape, STEPCAFControl_Reader * a
|
|||||||
{
|
{
|
||||||
TopoDS_Face face = TopoDS::Face(exp0.Current());
|
TopoDS_Face face = TopoDS::Face(exp0.Current());
|
||||||
STEP_GetEntityName(face,&reader,name);
|
STEP_GetEntityName(face,&reader,name);
|
||||||
|
if (name == string(""))
|
||||||
|
snprintf(name, 50, "bc_%i", occgeo->fnames.Size());
|
||||||
occgeo->fnames.Append(name);
|
occgeo->fnames.Append(name);
|
||||||
for (exp1.Init(face, TopAbs_EDGE); exp1.More(); exp1.Next())
|
for (exp1.Init(face, TopAbs_EDGE); exp1.More(); exp1.Next())
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user