1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
isn 7073768338 0028642: BRepOffsetAPI_ThruSections/BRepFill_Generator are modifying the input shape sections
1) BRepFill_Generator and BRepOffsetAPI_ThruSections now support 'non-destructive' mode for the input shapes (sections wires). The shape history of this algorithms also has been modified.
2) New test grids (based on the previous ones) have been added. These new cases use locked shapes as input arguments
3) The option '-safe' has been added to 'thrusections' command
2022-01-17 20:02:13 +03:00

16 lines
482 B
Plaintext

puts "========"
puts "OCC28642: BRepOffsetAPI_ThruSections/BRepFill_Generator are modifying the input shape sections"
puts "========"
puts ""
#check "closed" thrusection (first profile is same as the last)
polyline p1 0 0 0 1 0 0
polyline p2 2 1 0 2 2 0
polyline p3 3 0 0 4 0 0
polyline p4 2 -1 0 2 -2 0
thrusections result 0 0 p1 p2 p3 p4 p1
checkprops result -s 10.1587
checknbshapes result -vertex 2 -edge 3 -wire 1 -face 1 -shell 1 -solid 0 -compsolid 0 -compound 0 -shape 8