DiscussionsIssue archiveOCCT:Modeling Algorithms

Archived issue #0031993

Boolean operation on arguments imported from a step file does not work correctly.

CommunityOCCT:Modeling Algorithmsnew0 public notes

Search issues

Description

I exported the shape from SolidWorks as step file.
And I want to do boolean operation on it in OCC.
But I get incorrect result with any errors.

I suppose this happens because imported shapes have some defects.
Draw[67]> bopargcheck step_1_3 -O #FB
Made faulty shape: s1COnS_1 (MaxDist = 0.002217327758767739, MaxPar = 0.1245655804749155)
Made faulty shape: s1COnS_2 (MaxDist = 0.0012070304483742327, MaxPar = 0.018731643957181774)
Faulties for FIRST  shape found : 2
---------------------------------
Shapes are not suppotrted by BOP: NO
Self-Intersections              : NO
Check for SI has been aborted   : NO
Too small edges                 : NO
Bad faces                       : NO
Too close vertices              : DISABLED
Too close edges                 : DISABLED
Shapes with Continuity C0       : NO
Invalid Curve on Surface        : YES  Cases(2)  Total shapes(4)


Is there a way to heal such shape?

Steps to reproduce

stepread Attachment 1 (STEP) step *

explode step_1

box box1 150 1 300 30 500 30

bclearobjects
bcleartools

baddobjects box1 step_1_1 step_1_2 step_1_3
bapibuild res1

explode res1

Public activity

No public notes

Participants are labeled by their role within this record.