|
@@ -291,12 +291,6 @@ bool cmdMainProcess::CreateProcess_(string pathGeo, string pathParam)
|
|
|
{
|
|
|
if (is_BODY(entC)) ent.add(entC);
|
|
|
printf("current body is %s;", (is_closed_solid_body(entC)?"true":"face"));//判断是否闭合?
|
|
|
- //--------
|
|
|
- msg_str.clear();
|
|
|
- msg_str.append("current body is ");
|
|
|
- msg_str.append((is_closed_solid_body(entC)?"true":"face"));
|
|
|
- msg_str.append(";");
|
|
|
- sm->sendClient->sendMsg(object->ToJson("log",msg_str));
|
|
|
}
|
|
|
printf("\n Body's count is %d;", ent.count());
|
|
|
//--
|
|
@@ -317,11 +311,6 @@ bool cmdMainProcess::CreateProcess_(string pathGeo, string pathParam)
|
|
|
ATTRIB_GEN_INTEGER* pId = NULL;
|
|
|
outcome result = api_find_named_attribute(EdgeEnt[kk], name, reinterpret_cast<ATTRIB_GEN_NAME*&>(pId));
|
|
|
printf("find result : %d\n", result.ok());
|
|
|
- //--
|
|
|
- msg_str.clear();
|
|
|
- msg_str.append("find result : ");
|
|
|
- msg_str.append(to_string(result.ok()));
|
|
|
- msg_str.append(";");
|
|
|
sm->sendClient->sendMsg(object->ToJson("log",msg_str));
|
|
|
if (pId && (result.ok() == TRUE))
|
|
|
{
|
|
@@ -329,12 +318,6 @@ bool cmdMainProcess::CreateProcess_(string pathGeo, string pathParam)
|
|
|
printf("find pId name : %s\n", name);*/
|
|
|
int names = pId->value();
|
|
|
printf("find EdgeEnt pId name : %d\n", names);
|
|
|
- //--
|
|
|
- msg_str.clear();
|
|
|
- msg_str.append("find EdgeEnt pId name : ");
|
|
|
- msg_str.append(to_string(names));
|
|
|
- msg_str.append(";");
|
|
|
- sm->sendClient->sendMsg(object->ToJson("log",msg_str));
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -349,24 +332,12 @@ bool cmdMainProcess::CreateProcess_(string pathGeo, string pathParam)
|
|
|
ATTRIB_GEN_INTEGER* pId = NULL;
|
|
|
outcome result = api_find_named_attribute(FaceEnt[kk] , name, reinterpret_cast<ATTRIB_GEN_NAME*&>(pId));
|
|
|
printf("find result : %d\n", result.ok());
|
|
|
- //--
|
|
|
- msg_str.clear();
|
|
|
- msg_str.append("find result : ");
|
|
|
- msg_str.append(to_string(result.ok()));
|
|
|
- msg_str.append(";");
|
|
|
- sm->sendClient->sendMsg(object->ToJson("log",msg_str));
|
|
|
if (pId && (result.ok() == TRUE))
|
|
|
{
|
|
|
/* const char*name = pId->value();
|
|
|
printf("find pId name : %s\n", name);*/
|
|
|
int names = pId->value();
|
|
|
printf("find FaceEnt pId name : %d\n", names);
|
|
|
- //--
|
|
|
- msg_str.clear();
|
|
|
- msg_str.append("find FaceEnt pId name : ");
|
|
|
- msg_str.append(to_string(names));
|
|
|
- msg_str.append(";");
|
|
|
- sm->sendClient->sendMsg(object->ToJson("log",msg_str));
|
|
|
}
|
|
|
}
|
|
|
}
|