Mon, 02/09/2015 - 20:17
This topic is actually not pure Modeling topic, while Modeling and Data Exchange issue. The problem I recently met lies in reconstructing the attributes assignment of the subshapes in the sewed model. Basically, the following example: I import the model, which contains only faces (no shell, no solids), but each face has some attributes in XCAFDoc (colors, for instance). And I would like to sew all faces into solid (using BRepBuilderAPI_Sewing) preserving the correct colorization of the faces and place it back into XCAF removing the initial faces.
Using ShapeBuild_ReShape doesn't help unfortunately, because applying the result reshaper to the initial set of faces delivers some other faces rather than the ones included in the result solid (traversing all faces of the solid can't identify any match). Actually, it's clear, that ShapeBuild_ReShape can't help in this way, because in 2 separate calls it creates 2 separate shapes, which couldn't be matched without deep geometry analysis. But maybe I don't understand something? Or doing something wrong?
Mon, 02/09/2015 - 22:44
Use history of modification provided by sewing.
Sat, 06/18/2005 - 15:27
Hello,
I use NetBeans for java programming.
Could you be so kind to explain me how to use OCC with java and then with NetBeans ?
Regards
Giuseppe