mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
class TopOpeBRep_FacesIntersector method static void MergeWLinesIfAllSegmentsAlongRestriction(IntPatch_SequenceOfLine& theSlin, const Handle(Adaptor3d_HSurface)& theSurface1, const Handle(Adaptor3d_TopolTool)& theDomain1, const Handle(Adaptor3d_HSurface)& theSurface2, const Handle(Adaptor3d_TopolTool)& theDomain2, const Standard_Real theTolArc) Protection from null wlines has been added. Test-case for issue #25766
12 lines
444 B
Plaintext
12 lines
444 B
Plaintext
puts "========"
|
|
puts "OCC25766"
|
|
puts "========"
|
|
puts ""
|
|
########################################################################################
|
|
# Exception is raised during building section using BRepAlgo_Section on attached faces
|
|
########################################################################################
|
|
|
|
restore [locate_data_file OCC25766_surface1.brep] b1
|
|
restore [locate_data_file OCC25766_surface2.brep] b2
|
|
section r b1 b2
|