View Issue Details

IDProjectCategoryView StatusLast Update
0023183CommunityOCCT:Modeling Algorithmspublic2012-05-31 09:31
Reporterdingzh Assigned Todingzh  
PrioritynormalSeverityminor 
Status closedResolutionduplicate 
PlatformWindowsOSVC++ 2010 
Product Version6.5.3 
Summary0023183: Splitting face generated wrong result
DescriptionOpen attached .brep file, and try to use the line to split the plane face. The result is not as expectation. Split API is BRepFeat_SplitShape.
FYI: The raw plane face has only two edges, one edge is a line segment, another is an one degree b-spline curve which owns four control points.
TagsNo tags attached.
Test case number

Attached Files

Activities

dingzh

2012-05-31 05:52

reporter  

splitface.rar (31,573 bytes)

abv

2012-05-31 08:03

manager   ~0020608

I could not reproduce the problem; the result is as expected: the square face gets split in two, with one corner separated. In DRAW, with OCCT 6.5.3:

Draw[33]> restore splitface.brep a
a
Draw[34]> explode a
a_1 a_2
Draw[35]> whatis a_1
a_1 is a shape FACE FORWARD Modified Orientable

Draw[36]> whatis a_2
a_2 is a shape EDGE FORWARD Modified Orientable

Draw[37]> splitshape r a_1 a_1 a_2
Draw[38]> explode r
r_1 r_2
Draw[39]> whatis r_1
r_1 is a shape FACE FORWARD Modified Orientable

Draw[40]> whatis r_2
r_2 is a shape FACE FORWARD Modified Orientable
Draw[41]> checkshape r
This shape seems to be valid

Visually the result is Ok as well. Please double-check, and if problem still exists, try to provide DRAW script to reproduce it.

dingzh

2012-05-31 08:38

reporter  

tessedge.png (52,776 bytes)   

dingzh

2012-05-31 08:40

reporter   ~0020611

Hi abv,
 Thanks for your reply. I just do it again, it's still failed in my app. But when I check the edge on the new face, I guess it maybe a tessellation bug. See attached png and brep file.

dingzh

2012-05-31 08:41

reporter  

tessface2.brep (2,552 bytes)

abv

2012-05-31 09:31

manager   ~0020615

The actual problem is not in splitting shape, but in tesselation, as reported in 0023184, thus I close this bug as duplicate.

Note that to work-around this kind of problems you can split your shape by C1 criterion: see DRAW command DT_ShapeDivide for example.

Issue History

Date Modified Username Field Change
2012-05-31 05:52 dingzh New Issue
2012-05-31 05:52 dingzh Assigned To => jgv
2012-05-31 05:52 dingzh File Added: splitface.rar
2012-05-31 08:03 abv Note Added: 0020608
2012-05-31 08:03 abv Assigned To jgv => dingzh
2012-05-31 08:03 abv Status new => feedback
2012-05-31 08:38 dingzh File Added: tessedge.png
2012-05-31 08:40 dingzh Note Added: 0020611
2012-05-31 08:40 dingzh Status feedback => assigned
2012-05-31 08:41 dingzh File Added: tessface2.brep
2012-05-31 09:31 abv Note Added: 0020615
2012-05-31 09:31 abv Status assigned => closed
2012-05-31 09:31 abv Resolution open => duplicate