mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-19 13:40:49 +03:00
0030878: Modeling Algorithms - BRepLib_MakeFace produces face with abnormal surface
When collecting the points to build plane use the points on the curve instead of poles (in case of BSpline and Bezier curves). Side effect changes: Changes in Geom2dHatch_Elements are to increase the chance of correct 2d classification (by the means of Geom2dHatch_Classifier) by taking more than just one point on the edge to construct the classification ray and by checking if this ray is not tangent to the edge itself.
This commit is contained in:
22
tests/mkface/mkplane/bug30878_1
Normal file
22
tests/mkface/mkplane/bug30878_1
Normal file
@@ -0,0 +1,22 @@
|
||||
puts "============="
|
||||
puts "0030878: Modeling Algorithms - BRepLib_MakeFace produces face with abnormal surface"
|
||||
puts "============="
|
||||
|
||||
brestore [locate_data_file bug30878_wire.brep] w
|
||||
|
||||
# build the face on the original wire
|
||||
mkplane result w 1
|
||||
|
||||
checkprops result -s 69458.1
|
||||
|
||||
# reduce the tolerance
|
||||
settolerance w 0.7
|
||||
|
||||
# build face again
|
||||
mkplane result w 1
|
||||
|
||||
checkprops result -s 69458.1
|
||||
|
||||
set MaxFTol 0.7
|
||||
set MaxETol 0.7
|
||||
set MaxVTol 0.7
|
11
tests/mkface/mkplane/bug30878_2
Normal file
11
tests/mkface/mkplane/bug30878_2
Normal file
@@ -0,0 +1,11 @@
|
||||
puts "REQUIRED ALL: Error. mkplane has been finished with \"Not Planar\" status."
|
||||
puts "REQUIRED ALL: Error : The mkface can not be built."
|
||||
|
||||
puts "============="
|
||||
puts "0030878: Modeling Algorithms - BRepLib_MakeFace produces face with abnormal surface"
|
||||
puts "============="
|
||||
|
||||
brestore [locate_data_file bug30878_wire2.brep] w
|
||||
|
||||
mkplane result w 1
|
||||
|
@@ -1,9 +1,9 @@
|
||||
puts "TODO OCC23068 ALL: Error : big tolerance of shape result"
|
||||
puts "TODO OCC23068 ALL: Faulty shapes in variables faulty_1 to faulty_2"
|
||||
#puts "TODO OCC24255 ALL: An exception was caught"
|
||||
#puts "TODO OCC24255 ALL: Error: Offset is not done."
|
||||
#puts "TODO OCC24255 ALL: Error : The offset cannot be built."
|
||||
#puts "TODO OCC23068 ALL: Error : big tolerance of shape result"
|
||||
#puts "TODO OCC23068 ALL: Faulty shapes in variables faulty_1 to faulty_2"
|
||||
#puts "TODO OCC23068 ALL: Error : The resulting shape is WRONG"
|
||||
puts "TODO OCC31005 ALL: Error: Offset is not done"
|
||||
puts "TODO OCC31005 ALL: Error: The command cannot be built"
|
||||
puts "TODO OCC31005 ALL: Error : The offset cannot be built"
|
||||
|
||||
restore [locate_data_file offset_wire_041.brep] s
|
||||
|
||||
|
@@ -1,4 +1,6 @@
|
||||
puts "TODO OCC25109 ALL: Faulty shapes in variables"
|
||||
puts "TODO OCC31005 ALL: Faulty shapes in variables"
|
||||
puts "TODO OCC31005 ALL: Error : The length of result shape is"
|
||||
puts "TODO OCC31005 ALL: Error : The resulting shape is WRONG"
|
||||
|
||||
restore [locate_data_file case_3_wire2.brep] s
|
||||
|
||||
|
Reference in New Issue
Block a user