Changeset 2286

Show
Ignore:
Timestamp:
11/26/08 10:56:39 (16 months ago)
Author:
janehu
Message:

Modified the hollow operation to create intersect corner as right angle instead of rounded, this behavior will be the same as acis.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • cgm/trunk/geom/OCC/OCCModifyEngine.cpp

    r2271 r2286  
    37293729  double tol = 1.e-3; //hard coded for now, can be changed by application 
    37303730  TopoDS_Shape* solid = shape_list.get(); 
    3731   BRepOffsetAPI_MakeThickSolid hollower(*solid, face_shapes, depth, tol); 
     3731  BRepOffsetAPI_MakeThickSolid hollower(*solid, face_shapes, depth, tol, 
     3732                                        BRepOffset_Skin, Standard_False, 
     3733                                        Standard_False, GeomAbs_Intersection); 
    37323734  TopoDS_Shape new_shape = hollower.Shape(); 
    37333735  TopoDS_Solid old_solid = TopoDS::Solid(*solid);