View Issue Details

IDProjectCategoryView StatusLast Update
0033904CommunityOCCT:Modeling Algorithmspublic2025-09-05 13:56
Reporterj.bourgoin Assigned Toakaftasev  
PrioritynormalSeveritymajor 
Status newResolutionopen 
PlatformWindowsOSVC++ 2022 
Product Version7.7.1 
Summary0033904: Issue with cutting of 1 cylinder by another one
DescriptionHello,

Cutting an cylinder with anoter one to get a thickness doesn't work with a thickness < 4e-5.
Here I attached 2 cases : thickness of 3e-5 and thickness of 4e-5.
Steps To Reproduce    // Parameters
    const gp_Ax2 lTransform ; // Default value
    double lThickness = 3.0e-5 ;

    // First cylinder
    TopoDS_Shape lShape1 = BRepPrimAPI_MakeCylinder(lTransform, 200.0, 100.0, 5.0).Shape() ;

    // Second cylinder, cutting the first one
    TopoDS_Shape lShape2 = BRepPrimAPI_MakeCylinder(lTransform, 200.0 - lThickness, 100.0, 5.0).Shape() ;

    // Perform hollowing
    TopoDS_Shape lShapeResult = BRepAlgoAPI_Cut(lShape1, lShape2).Shape() ;

    // Save the result
    BRepTools::Write(lShapeResult, "cylinder.brep") ;
TagsNo tags attached.
Test case number

Attached Files

Activities

j.bourgoin

2025-08-21 12:58

reporter   ~0117073

Examples in attached files
cylinder3e-5.brep (3,714 bytes)   
cylinder4e-5.png (64,006 bytes)   
cylinder3e-5.png (54,143 bytes)   
cylinder4e-5.brep (3,699 bytes)   

Issue History

Date Modified Username Field Change
2025-08-21 12:58 j.bourgoin New Issue
2025-08-21 12:58 j.bourgoin Assigned To => akaftasev
2025-08-21 12:58 j.bourgoin Note Added: 0117073
2025-08-21 12:58 j.bourgoin File Added: cylinder3e-5.brep
2025-08-21 12:58 j.bourgoin File Added: cylinder4e-5.png
2025-08-21 12:58 j.bourgoin File Added: cylinder3e-5.png
2025-08-21 12:58 j.bourgoin File Added: cylinder4e-5.brep