View Issue Details

IDProjectCategoryView StatusLast Update
0033570CommunityOCCT:Modeling Algorithmspublic2024-01-13 15:27
Reporterdpasukhi Assigned Toakaftasev  
PrioritynormalSeverityminor 
Status newResolutionopen 
Target VersionUnscheduled 
Summary0033570: Modeling Algorithms - Incorrect result of cutting spheres
DescriptionI found there might be a problem of the BRepAlgoAPI_Cut algorithm.
For 2 spheres,s1 and s2:
s1=BRepPrimAPI_MakeSphere(gp_Pnt(0,5.5,18),4.0).Shape()
s2=BRepPrimAPI_MakeSphere(gp_Pnt(0,4.5,14),1.0).Shape()

as shown in pict1. when I cut the s2 from s1 using the BRepAlgoAPI_Cut and got the shape s3:
s3=BRepAlgoAPI_Cut(s1,s2).Shape()

The result is shown in pict2. It seems the result is wrong.
But when I change the radius of sphere s2 from 1.0 to 0.99, I got the right shape as shown in pict3.
Additional information
and documentation updates
https://dev.opencascade.org/content/wrong-shape-brepalgoapicut
TagsNo tags attached.
Test case number

Attached Files

  • pict3.png (108,718 bytes)
  • pict2.png (105,172 bytes)
  • pict1.png (103,675 bytes)

Activities

dpasukhi

2024-01-13 15:27

administrator   ~0114908

pict3.png (108,718 bytes)
pict2.png (105,172 bytes)
pict1.png (103,675 bytes)

Issue History

Date Modified Username Field Change
2024-01-13 15:26 dpasukhi New Issue
2024-01-13 15:26 dpasukhi Assigned To => akaftasev
2024-01-13 15:27 dpasukhi Note Added: 0114908
2024-01-13 15:27 dpasukhi File Added: pict3.png
2024-01-13 15:27 dpasukhi File Added: pict2.png
2024-01-13 15:27 dpasukhi File Added: pict1.png