Skip to content

Commit c1aacda

Browse files
committed
changed wire point offset
1 parent 99d0752 commit c1aacda

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

inc/cjCreator.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3951,7 +3951,6 @@ void CJGeoCreator::getOuterRaySurfaces(
39513951
}
39523952
if (!faceIsExterior) { continue; }
39533953

3954-
//store the plane representing the surface
39553954
std::unique_lock<std::mutex> listLock(listmutex);
39563955
outerSurfacePairList.emplace_back(std::make_pair(currentFace, lookup->getProductPtr()));
39573956
listLock.unlock();

inc/helper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ std::vector<gp_Pnt> helperFunctions::getPointGridOnWire(const TopoDS_Face& thefa
299299
}
300300

301301
BRepOffsetAPI_MakeOffset offsetter(BRepTools::OuterWire(theface), GeomAbs_Intersection);
302-
offsetter.Perform(-settingsCollection.precisionCoarse());
302+
offsetter.Perform(-1e-3);
303303

304304
if (!offsetter.IsDone()) { return {}; }
305305
const TopoDS_Shape offsettedFace = offsetter.Shape();

0 commit comments

Comments
 (0)