mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
Check whether p-curve being projected can be approximated by straight line is made before full-scale projection, to improve performance. If straight, pcurve is created as Line only if this will lead to the same range parameterization as 3d curve, otherwise BSpline of degree 1 is created. Re-approximation of line pcurves by bsplines removed from ShapeFix_Edge. Test case updating to new behavior. Added "static" keyword to the fixPeriodictyTroubles() function. Update of test-cases according new behavior
17 lines
334 B
Plaintext
Executable File
17 lines
334 B
Plaintext
Executable File
puts "========================"
|
|
puts " OCC55 "
|
|
puts "========================"
|
|
########################################
|
|
## After reading from STEP file invalid shape was obtained.
|
|
########################################
|
|
|
|
cpulimit 2000
|
|
|
|
stepread [locate_data_file OCC55.stp] a *
|
|
|
|
tpcompound result
|
|
checkshape result
|
|
|
|
set 2dviewer 0
|
|
|