
Fri, 07/06/2007 - 12:02
Forums:
hi,
i'm using occjava and viewer3D in my project and the input data is an xml file that describes cylindric and parallelpiped geometry with a floor and a ceiling not horizontale...vertex and slops are used.
so my question is: what's the best solution to wrappe this data with the data tacken in charge by opencascade. should i wrappe the xml file to an BRep or step file or should i only build the corresponding opencascade structures and which solution is the easiest one.
Fri, 07/06/2007 - 13:58
In order to write a BREP file you should build a TopoDS_Shape object anyhow. After you have built the shape, writing to BREP is easy by BRepTools::Write(). So your main task is to build the shape from your XML file.