yekong yekong Wed, 06/22/2022 - 15:16 Forums: Modeling Data and AlgorithmsHello Team, How to compare two solid has the same shape. Thanks in advance! sOup x Wed, 06/22/2022 - 16:31 https://dev.opencascade.org/doc/refman/html/class_topo_d_s___shape.html#... Log in to post comments yekong yekong Thu, 06/23/2022 - 04:06 Thank you for your reply! My questions such as code: { BRepPrimAPI_MakeBox tool1(100, 200, 10); tool1.Build(); TopoDS_Solid box1 = tool1.Solid(); BRepPrimAPI_MakeBox tool2(100, 200, 10); tool2.Build(); TopoDS_Solid box2 = tool2.Solid(); bool bIsSame = box1.IsPartner(box2); //This function Compares pointers? //result : bIsSame is false! } Log in to post comments yekong yekong Fri, 06/24/2022 - 11:07 Is this function difficult? It feels like face recognition Log in to post comments
Wed, 06/22/2022 - 16:31
https://dev.opencascade.org/doc/refman/html/class_topo_d_s___shape.html#...
Thu, 06/23/2022 - 04:06
Thank you for your reply!
My questions such as code:
{
BRepPrimAPI_MakeBox tool1(100, 200, 10);
tool1.Build();
TopoDS_Solid box1 = tool1.Solid();
BRepPrimAPI_MakeBox tool2(100, 200, 10);
tool2.Build();
TopoDS_Solid box2 = tool2.Solid();
bool bIsSame = box1.IsPartner(box2); //This function Compares pointers?
//result : bIsSame is false!
}
Fri, 06/24/2022 - 11:07
Is this function difficult? It feels like face recognition