1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-08 14:17:06 +03:00

Compare commits

...

7 Commits

Author SHA1 Message Date
jgv
58da1449d0 Intermediate version cutting stripes up to 1 edge. 2015-05-18 18:46:19 +03:00
apn
485a1040e9 Update of testing cases for Debian 7.0 64 bit 2015-05-15 15:33:10 +03:00
ibs
7d679df3be 0025750: Coding rules - eliminate GCC warning -Wunused-but-set-variable in OSD_signal.cxx for Android build
Move variable aSigInfo to the proper scope.
2015-05-14 17:43:49 +03:00
apn
aad4bc1f7b 0026192: Porting testing database on Debian70 64bit
Modified test cases for platform Debian70 64bit

Changed todo mapping for Debian70-64
2015-05-14 17:35:28 +03:00
jgv
12945d7720 0026202: Wrong result of chamfer on cylindrical surface: wrong value of chord
Test case for issue CR26202
2015-05-14 17:05:38 +03:00
msv
56e26740b4 0026198: ShapeConstruct_ProjectCurveOnSurface builds infinite line instead of bounded curve
Description of the method ShapeConstruct_ProjectCurveOnSurface::Perform has been updated to actual state.
2015-05-14 15:19:55 +03:00
bugmaster
32dd120d25 Incrementation of OCCT version up to 7.0.0dev 2015-05-14 14:56:36 +03:00
63 changed files with 215 additions and 155 deletions

View File

@@ -197,7 +197,7 @@ void ChFi3d_ChBuilder::Add(const TopoDS_Edge& E)
TopoDS_Edge E_wnt = E;
E_wnt.Orientation(TopAbs_FORWARD);
Spine->SetEdges(E_wnt);
if(PerformElement(Spine)){
/*if(PerformElement(Spine))*/{
PerformExtremity(Spine);
Spine->Load();
myListStripe.Append(Stripe);
@@ -244,7 +244,7 @@ void ChFi3d_ChBuilder::Add(const Standard_Real Dis,
Spine = Handle(ChFiDS_ChamfSpine)::DownCast(Sp);
Spine->SetEdges(E_wnt);
if(PerformElement(Spine)){
/*if(PerformElement(Spine))*/{
Spine->Load();
myListStripe.Append(Stripe);
@@ -357,7 +357,7 @@ void ChFi3d_ChBuilder::Add(const Standard_Real Dis1,
Spine = Handle(ChFiDS_ChamfSpine)::DownCast(Sp);
Spine->SetEdges(E_wnt);
if(PerformElement(Spine)){
/*if(PerformElement(Spine))*/{
Spine->Load();
myListStripe.Append(Stripe);
@@ -499,7 +499,7 @@ void ChFi3d_ChBuilder::AddDA(const Standard_Real Dis1,
Spine = Handle(ChFiDS_ChamfSpine)::DownCast(Sp);
Spine->SetEdges(E_wnt);
if(PerformElement(Spine)){
/*if(PerformElement(Spine))*/{
Spine->Load();
myListStripe.Append(Stripe);

View File

@@ -353,15 +353,11 @@ Standard_Boolean ChFiKPart_MakeChamfer(TopOpeBRepDS_DataStructure& DStr,
gp_Ax3 AxCyl = Cyl.Position();
// OrCyl is the point on axis of cylinder in the plane normal to the
// axis containing OrSpine
gp_Pnt Loc = AxCyl.Location();
gp_Vec LocSp(Loc, OrSpine);
gp_XYZ temp = AxCyl.Direction().XYZ();
temp = temp.Multiplied(LocSp.XYZ().Multiplied(temp) );
OrCyl.SetXYZ( (Loc.XYZ()).Added(temp) );
// gp_XYZ temp = AxCyl.Direction().XYZ();
// temp = temp.Multiplied( OrSpine.XYZ().Multiplied(temp) );
// OrCyl.SetXYZ( (AxCyl.Location().XYZ()).Added(temp) );
// Project <OrSpine> onto <AxCyl>
gp_XYZ AxLoc = AxCyl.Location().XYZ(); //aLine.Location().XYZ();
gp_XYZ AxDir = AxCyl.Direction().XYZ();
Standard_Real Parameter = (OrSpine.XYZ() - AxLoc) * AxDir;
OrCyl.SetXYZ( AxLoc + Parameter * AxDir );
//construction of POnPln
gp_Vec VecTranslPln,tmp;

View File

@@ -1669,6 +1669,8 @@ proc _tests_platform_def {} {
set env(os_type) RedHat$num
} elseif { [regexp {Debian[ \tA-Za-z/]+([0-9]+)[.]([0-9]+)} $issue res num subnum] } {
set env(os_type) Debian$num$subnum
} elseif { [regexp {Debian[ \tA-Za-z/]+([0-9]+)} $issue res num] } {
set env(os_type) Debian${num}0
} elseif { [regexp {CentOS[ \tA-Za-z]+([0-9]+)[.]([0-9]+)} $issue res num subnum] } {
set env(os_type) CentOS$num$subnum
} elseif { [regexp {Scientific[ \tA-Za-z]+([0-9]+)[.]([0-9]+)} $issue res num subnum] } {

View File

@@ -129,11 +129,6 @@ static void Handler (const int theSignal)
perror ("sigaction");
}
siginfo_t * aSigInfo = NULL;
#ifdef SA_SIGINFO
aSigInfo = theSigInfo;
#endif
#if defined(HAVE_PTHREAD_H) && defined(NO_CXX_EXCEPTION)
if (pthread_self() != getOCCThread() || !Standard_ErrorHandler::IsInTryBlock()) {
// use the previous signal handler
@@ -143,6 +138,12 @@ static void Handler (const int theSignal)
if (asigacthandler.sa_flags & SA_SIGINFO) {
void (*aCurInfoHandle)(int, siginfo_t *, void *) = asigacthandler.sa_sigaction;
siginfo_t * aSigInfo = NULL;
#ifdef SA_SIGINFO
aSigInfo = theSigInfo;
#endif
if (aSigInfo) {
switch (aSigInfo->si_signo) {
case SIGFPE:

View File

@@ -99,14 +99,15 @@ is
nbinterval : Integer = -1 )
returns Boolean is virtual;
---Purpose: Computes the projection of 3d curve onto a surface using the
-- standard algorithm from ProjLib. Returns False if standard
-- projector fails or raises an exception or cuts the curve by
-- parametrical bounds of the surface. Else, if pcurve computed
-- successfully, returns True.
-- specialized algorithm. Returns False if projector fails,
-- otherwise, if pcurve computed successfully, returns True.
-- The continuity, maxdeg and nbinterval are parameters of call
-- to Approx_CurveOnSurface. If nbinterval is equal to -1
-- (default), this value is computed depending on source 3d curve
-- and surface.
-- and surface. The output curve 2D is guaranteed to be same-parameter
-- with input curve 3D on the interval [First, Last]. If the output curve
-- lies on a direct line the infinite line is returned, in the case
-- same-parameter condition is satisfied.
---Status:
-- FAIL1 if the standard projector fails (no result)
-- FAIL2 if the standard projector raises an exception
@@ -140,7 +141,7 @@ is
c2d : out Curve from Geom2d)
returns Boolean;
---Purpose: Computes the projection of 3d curve onto a surface using
-- either standard projector (method PerformByStandard()) or
-- either standard projector (method PerformByProjLib()) or
-- internal one (method Perform()). The selection is done by
-- analyzing the surface and 3d curve and is aimed to filter
-- the cases potentially dangerous for the standard projector.

View File

@@ -33,8 +33,8 @@
#define _Standard_Version_HeaderFile
// Primary definitions
#define OCC_VERSION_MAJOR 6
#define OCC_VERSION_MINOR 9
#define OCC_VERSION_MAJOR 7
#define OCC_VERSION_MINOR 0
#define OCC_VERSION_MAINTENANCE 0
//! This macro must be commented in official release, and set to non-empty
@@ -42,12 +42,12 @@
//! - "dev" for official (certified) version (master branch) between releases
//! - "beta..." or "rc..." for beta releases or release candidates
//! - "project..." for version containing project-specific fixes
//#define OCC_VERSION_DEVELOPMENT "beta"
#define OCC_VERSION_DEVELOPMENT "dev"
// Derived (manually): version as real and string (major.minor)
#define OCC_VERSION 6.9
#define OCC_VERSION_STRING "6.9"
#define OCC_VERSION_COMPLETE "6.9.0"
#define OCC_VERSION 7.0
#define OCC_VERSION_STRING "7.0"
#define OCC_VERSION_COMPLETE "7.0.0"
//! Derived: extended version as string ("major.minor.maintenance.dev")
#ifdef OCC_VERSION_DEVELOPMENT

View File

@@ -18,4 +18,9 @@ set aFile $imagedir/shape.pdf
set format PDF
set size 154489
if { [string compare $tcl_platform(platform) "windows"] != 0 } {
set size 144401
} else {
set size 154489
}

View File

@@ -1,8 +1,8 @@
# ? - because sometimes test is killed by elapsed time
puts "TODO OCC26018 ALL: TEST INCOMPLETE"
puts "TODO ?OCC26018 ALL: Process killed by CPU limit"
puts "TODO ?OCC26017 Debian60-64: \\*\\* Exception"
puts "TODO ?OCC26017 Debian60-64: An exception was caught"
puts "TODO ?OCC26017 Debian70-64: \\*\\* Exception"
puts "TODO ?OCC26017 Debian70-64: An exception was caught"
puts "TODO ?OCC26017 ALL: Tcl Exception:"
puts "TODO ?OCC26017 ALL: Error: sh141385A0_copy is not a valid shape"
puts "TODO ?OCC26017 ALL Error: sh59D36470_copy is not a valid shape"

View File

@@ -1,5 +1,5 @@
puts "TODO OCC26018 ALL: Error : The area of the resulting shape is"
puts "TODO OCC26018 Debian60-64: Faulty shapes in variables faulty_1 to faulty_"
puts "TODO OCC26018 Debian70-64: Faulty shapes in variables faulty_1 to faulty_"
puts "TODO ?OCC26017 Windows: Faulty shapes in variables faulty_1 to faulty_"
source [locate_data_file 20000_et1_401-ta6027.prt.2.gdml.tcl]

View File

@@ -1,7 +1,7 @@
puts "TODO ?OCC26017 Debian60-64: \\*\\* Exception"
puts "TODO ?OCC26017 Debian60-64: An exception was caught"
puts "TODO ?OCC26017 Debian70-64: \\*\\* Exception"
puts "TODO ?OCC26017 Debian70-64: An exception was caught"
puts "TODO ?OCC26017 ALL: Faulty shapes in variables faulty_1 to faulty_"
puts "TODO ?OCC26017 Debian60-64: Process killed by CPU limit"
puts "TODO ?OCC26017 Debian60-64: TEST INCOMPLETE"
puts "TODO ?OCC26017 Debian70-64: Process killed by CPU limit"
puts "TODO ?OCC26017 Debian70-64: TEST INCOMPLETE"
source [locate_data_file 20000_et1_401-ta6029.prt.2.gdml.tcl]

View File

@@ -1,5 +1,5 @@
puts "TODO OCC26018 ALL: Error : The area of the resulting shape is"
puts "TODO OCC26018 Debian60-64: Faulty shapes in variables faulty_1 to faulty_"
puts "TODO OCC26018 Debian70-64: Faulty shapes in variables faulty_1 to faulty_"
source [locate_data_file 20000_et3_401-ta6037.prt.2.gdml.tcl]
## image is differ from application

View File

@@ -1,4 +1,4 @@
puts "TODO OCC26018 Windows: Faulty shapes in variables faulty_1 to faulty_"
puts "TODO ?OCC26017 Debian60-64: Faulty shapes in variables faulty_1 to faulty_"
puts "TODO ?OCC26017 Debian70-64: Faulty shapes in variables faulty_1 to faulty_"
source [locate_data_file 20000_et5_401-ta6160.prt.2.gdml.tcl]

View File

@@ -1,7 +1,7 @@
# ? - because sometimes test is killed by elapsed time
puts "TODO ?OCC26017 Debian60-64: \\*\\* Exception"
puts "TODO ?OCC26017 Debian60-64: An exception was caught"
puts "TODO ?OCC26017 Debian70-64: \\*\\* Exception"
puts "TODO ?OCC26017 Debian70-64: An exception was caught"
puts "TODO ?OCC26017 ALL: TEST INCOMPLETE"
puts "TODO ?OCC26017 ALL: Process killed by CPU limit"
puts "TODO ?OCC26017 ALL: Faulty shapes in variables faulty_1 to faulty_"

View File

@@ -1,7 +1,7 @@
puts "TODO ?OCC26017 ALL: Faulty shapes in variables faulty_1 to faulty_"
puts "TODO ?OCC26017 Debian60-64: \\*\\* Exception"
puts "TODO ?OCC26017 Debian60-64: An exception was caught"
puts "TODO ?OCC26017 Debian60-64: TEST INCOMPLETE"
puts "TODO ?OCC26017 Debian60-64: Process killed by CPU limit"
puts "TODO ?OCC26017 Debian70-64: \\*\\* Exception"
puts "TODO ?OCC26017 Debian70-64: An exception was caught"
puts "TODO ?OCC26017 Debian70-64: TEST INCOMPLETE"
puts "TODO ?OCC26017 Debian70-64: Process killed by CPU limit"
source [locate_data_file 20000_g1-2_et1.asm.5.gdml.tcl]

View File

@@ -1,5 +1,5 @@
puts "TODO OCC26018 ALL: Error : The area of the resulting shape is"
puts "TODO OCC26018 Debian60-64: Faulty shapes in variables faulty_1 to faulty_"
puts "TODO OCC26018 Debian70-64: Faulty shapes in variables faulty_1 to faulty_"
source [locate_data_file 20000_g1-2_et3.asm.2.gdml.tcl]
## image is differ from application

View File

@@ -1,7 +1,7 @@
puts "TODO ?OCC26017 ALL: Faulty shapes in variables faulty_1 to faulty_"
puts "TODO ?OCC26017 Debian60-64: XIO: fatal IO error"
puts "TODO ?OCC26017 Debian60-64: TEST INCOMPLETE"
puts "TODO ?OCC26017 Debian60-64: Tcl Exception"
puts "TODO ?OCC26017 Debian60-64: Error: shC26D310_copy is not a valid shape"
puts "TODO ?OCC26017 Debian70-64: XIO: fatal IO error"
puts "TODO ?OCC26017 Debian70-64: TEST INCOMPLETE"
puts "TODO ?OCC26017 Debian70-64: Tcl Exception"
puts "TODO ?OCC26017 Debian70-64: Error: shC26D310_copy is not a valid shape"
source [locate_data_file 20000_g1-2_et4.asm.3.gdml.tcl]

View File

@@ -1,6 +1,7 @@
puts "TODO ?OCC26017 ALL: TEST INCOMPLETE"
puts "TODO ?OCC26017 Debian60-64: \\*\\* Exception"
puts "TODO ?OCC26017 Debian60-64: An exception was caught"
puts "TODO ?OCC26017 Debian70-64: \\*\\* Exception"
puts "TODO ?OCC26017 Debian70-64: An exception was caught"
puts "TODO ?OCC26017 ALL: Faulty shapes in variables faulty_1 to faulty_"
puts "TODO ?OCC26017 ALL: Process killed by CPU limit"
source [locate_data_file 20000_ss2_401-ta5993.prt.2.gdml.tcl]

View File

@@ -1,5 +1,5 @@
puts "TODO ?OCC26017 Debian60-64: TEST INCOMPLETE"
puts "TODO ?OCC26017 Debian60-64: \\*\\* Exception"
puts "TODO ?OCC26017 Debian60-64: An exception was caught"
puts "TODO ?OCC26017 Debian70-64: TEST INCOMPLETE"
puts "TODO ?OCC26017 Debian70-64: \\*\\* Exception"
puts "TODO ?OCC26017 Debian70-64: An exception was caught"
source [locate_data_file 401-ta6001-3.prt.1.gdml.tcl]

View File

@@ -1,8 +1,8 @@
puts "TODO ?OCC26017 Debian60-64: TEST INCOMPLETE"
puts "TODO ?OCC26017 Debian60-64: \\*\\* Exception"
puts "TODO ?OCC26017 Debian60-64: An exception was caught"
puts "TODO ?OCC26017 Debian60-64: X Error of failed request"
puts "TODO ?OCC26017 Debian60-64: XIO: fatal IO error 11"
puts "TODO ?OCC26017 Debian60-64: Process killed by CPU limit"
puts "TODO ?OCC26017 Debian70-64: TEST INCOMPLETE"
puts "TODO ?OCC26017 Debian70-64: \\*\\* Exception"
puts "TODO ?OCC26017 Debian70-64: An exception was caught"
puts "TODO ?OCC26017 Debian70-64: X Error of failed request"
puts "TODO ?OCC26017 Debian70-64: XIO: fatal IO error 11"
puts "TODO ?OCC26017 Debian70-64: Process killed by CPU limit"
source [locate_data_file voile_3.asm.1.gdml.tcl]

View File

@@ -3,7 +3,7 @@
puts "TODO ?OCC26019 ALL: Error: bopcheck failed"
puts "TODO ?OCC26019 ALL: Faulty shapes in variables faulty_1 to faulty_"
puts "TODO ?OCC26019 Debian60-64: Error : The area of the resulting shape is"
puts "TODO ?OCC26019 Debian70-64: Error : The area of the resulting shape is"
# planar face
plane pln_f1 -2740.6595835899998 -150 -1050 1.110223024625157e-016 1 1.1102230246251563e-016

View File

@@ -3,7 +3,7 @@
puts "TODO ?OCC26019 ALL: Error: bopcheck failed"
puts "TODO ?OCC26019 ALL: Error : The area of the resulting shape"
puts "TODO ?OCC26019 Debian60-64: Faulty shapes in variables faulty_1 to faulty_"
puts "TODO ?OCC26019 Debian70-64: Faulty shapes in variables faulty_1 to faulty_"
# planar face
plane pln_f1 -1863.18155559 1250 -1538.57262704 1.110223024625157e-016 1 1.1102230246251563e-016

View File

@@ -2,8 +2,8 @@
# plane
puts "TODO OCC26020 ALL: Error: bopcheck failed"
puts "TODO OCC26020 Debian60-64: Faulty shapes in variables faulty_1 to faulty_"
puts "TODO OCC26020 Debian60-64: Error : The area of the resulting shape is"
puts "TODO OCC26020 Debian70-64: Faulty shapes in variables faulty_1 to faulty_"
puts "TODO OCC26020 Debian70-64: Error : The area of the resulting shape is"
# planar face
plane pln_f1 590.6877421677151 -519.8775759738943 -93.555747452441423 0.64798185367609173 0.7547095802227719 -0.10263024323494339

View File

@@ -3,7 +3,7 @@
puts "TODO OCC26020 ALL: Error: bopcheck failed"
puts "TODO ?OCC26019 ALL: Faulty shapes in variables faulty_1 to faulty_"
puts "TODO OCC26020 Debian60-64: Error : The area of the resulting shape is"
puts "TODO OCC26020 Debian70-64: Error : The area of the resulting shape is"
# planar face
plane pln_f1 79.400363856921899 8.7220982904821555e-015 -94.116057183203139 -0.83335943573869897 -2.2204460492503131e-016 -0.55273144551877762

View File

@@ -3,7 +3,7 @@
puts "TODO OCC26020 ALL: Faulty shapes in variables faulty_1 to faulty_"
puts "TODO OCC26020 ALL: Error: bopcheck failed"
puts "TODO OCC26020 Debian60-64: Error : The area of the resulting shape is"
puts "TODO OCC26020 Debian70-64: Error : The area of the resulting shape is"
# planar face
plane pln_f1 35.877464033656999 5.9462928582193458e-016 -25.973690230789806 -0.64944804833018333 -3.0834627769631957e-016 -0.76040596560003137

View File

@@ -3,7 +3,7 @@
puts "TODO OCC26020 ALL: Faulty shapes in variables faulty_1 to faulty_"
puts "TODO OCC26020 ALL: Error: bopcheck failed"
puts "TODO OCC26020 Debian60-64: Error : The area of the resulting shape is"
puts "TODO OCC26020 Debian70-64: Error : The area of the resulting shape is"
# planar face
plane pln_f1 32.294537607197917 1.8096910201742288e-014 -39.176406819310692 -0.77162458338772011 -6.6613381477509373e-016 -0.63607822027776384

View File

@@ -2,8 +2,8 @@
# plane
puts "TODO OCC26020 Windows: Faulty shapes in variables faulty_1 to faulty_"
puts "TODO OCC26020 Debian60-64: Error : The area of the resulting shape is"
puts "TODO OCC26020 Debian60-64: Error: bopcheck failed"
puts "TODO OCC26020 Debian70-64: Error : The area of the resulting shape is"
puts "TODO OCC26020 Debian70-64: Error: bopcheck failed"
# planar face
plane pln_f1 -331.49269816258993 -487.15663197846379 -460.05843051255943 -0.29784456643004237 0.75470958022277179 -0.58455287508322795

View File

@@ -2,8 +2,8 @@
# plane
puts "TODO OCC26020 Windows: Faulty shapes in variables faulty_1 to faulty_"
puts "TODO OCC26020 Debian60-64: Error : The mkvolume is not valid. The area is"
puts "TODO OCC26020 Debian60-64: Error : The area of the resulting shape is"
puts "TODO OCC26020 Debian70-64: Error : The mkvolume is not valid. The area is"
puts "TODO OCC26020 Debian70-64: Error : The area of the resulting shape is"
# planar face
plane pln_f1 -513.57358775546049 376.87261141864394 391.24411461018769 -0.35888381816183362 -0.86162916044152549 0.35888381816183351

View File

@@ -2,8 +2,8 @@
# cylinder plane unstable
puts "TODO ?OCC26019 ALL: Faulty shapes in variables faulty_1 to faulty_"
puts "TODO ?OCC26019 Debian60-64: Error: bopcheck failed"
puts "TODO ?OCC26019 Debian60-64: Error : The area of the resulting shape is"
puts "TODO ?OCC26019 Debian70-64: Error: bopcheck failed"
puts "TODO ?OCC26019 Debian70-64: Error : The area of the resulting shape is"
# planar face
plane pln_f1 0 -875 -1.4432899320127035e-014 0 1 1.1102230246251565e-016

View File

@@ -3,7 +3,7 @@
puts "TODO ?OCC26019 ALL: Error: bopcheck failed"
puts "TODO ?OCC26019 ALL: Faulty shapes in variables faulty_1 to faulty_"
puts "TODO ?OCC26019 Debian60-64: Error : The area of the resulting shape is"
puts "TODO ?OCC26019 Debian70-64: Error : The area of the resulting shape is"
# planar face
plane pln_f1 0 -232.5 3.8857805861880479e-015 0 -1 -1.1102230246251565e-016

View File

@@ -2,7 +2,7 @@
# cylinder plane
puts "TODO OCC26020 ALL: Error: bopcheck failed"
puts "TODO OCC26020 Debian60-64: Error : The area of the resulting shape is"
puts "TODO OCC26020 Debian70-64: Error : The area of the resulting shape is"
# planar face
plane pln_f1 1665.7013364039071 -825 -339.75605834598957 0.15643446504023129 4.4408920985006257e-016 0.98768834059513766

View File

@@ -2,7 +2,7 @@
# cylinder plane
puts "TODO OCC26020 ALL: Error: bopcheck failed"
puts "TODO OCC26020 Debian60-64: Error : The area of the resulting shape is"
puts "TODO OCC26020 Debian70-64: Error : The area of the resulting shape is"
# planar face
plane pln_f1 0 -1450 -4.4408920985006262e-015 0 1 1.1102230246251565e-016

View File

@@ -2,8 +2,8 @@
# cylinder plane
puts "TODO OCC26020 ALL: Faulty shapes in variables faulty_1 to faulty_"
puts "TODO OCC26020 Debian60-64: Error: bopcheck failed"
puts "TODO OCC26020 Debian60-64: Error : The area of the resulting shape is"
puts "TODO OCC26020 Debian70-64: Error: bopcheck failed"
puts "TODO OCC26020 Debian70-64: Error : The area of the resulting shape is"
# planar face
plane pln_f1 -335.23319463083521 698.25 1031.741684575172 0.95105651629515375 3.3306690738754676e-016 0.30901699437494723

View File

@@ -4,6 +4,8 @@
puts "TODO OCC26020 ALL: TEST INCOMPLETE"
puts "TODO ?OCC26020 ALL: Process killed by CPU limit"
puts "TODO ?OCC26020 Debian70-64: \\*\\* Exception"
puts "TODO ?OCC26020 Debian70-64: An exception"
# planar face
plane pln_f1 460.8377555733228 -1160 121.87519451048833 -0.17364817766693036 1.1223734950417248e-017 0.98480775301220813

View File

@@ -4,8 +4,8 @@
puts "TODO OCC26020 Windows: Error status"
puts "TODO OCC26020 Windows: TEST INCOMPLETE"
puts "TODO OCC26020 Debian60-64: Faulty shapes in variables faulty_1 to faulty_"
puts "TODO ?OCC26019 Debian60-64: Error: bopcheck failed"
puts "TODO OCC26020 Debian70-64: Faulty shapes in variables faulty_1 to faulty_"
puts "TODO ?OCC26019 Debian70-64: Error: bopcheck failed"
# planar face
plane pln_f1 -2.4595121467478056e-014 -746.52181700999995 1844.22896887 0.86602540378443849 -0.47367733686073094 -0.16009303715192033

View File

@@ -1,6 +1,6 @@
puts "TODO OCC12345 Debian60-64: An exception was caught"
puts "TODO OCC12345 Debian60-64: Faulty OCC1138 : here is reading problem when the filename is a directory name."
puts "TODO OCC12345 Debian60-64: Faulty OCC1138"
puts "TODO ?OCC12345 Debian70-64: An exception was caught"
puts "TODO ?OCC12345 Debian70-64: Faulty OCC1138 : here is reading problem when the filename is a directory name."
puts "TODO ?OCC12345 Debian70-64: Faulty OCC1138"
puts "================"
puts "OCC1138"

View File

@@ -1,5 +1,5 @@
puts "TODO OCC23626 Debian60-64 Windows: Tcl Exception"
puts "TODO OCC23626 Debian60-64 Windows: TEST INCOMPLETE"
puts "TODO OCC23626 Debian70-64 Windows: Tcl Exception"
puts "TODO OCC23626 Debian70-64 Windows: TEST INCOMPLETE"
puts "================"
puts "OCC63"

View File

@@ -1,5 +1,5 @@
puts "TODO ?OCC25921 Debian60-64: Tcl Exception: Memory leak detected"
puts "TODO ?OCC25921 Debian60-64: TEST INCOMPLETE"
puts "TODO ?OCC25921 Debian70-64: Tcl Exception: Memory leak detected"
puts "TODO ?OCC25921 Debian70-64: TEST INCOMPLETE"
puts "============"
puts "OCC7287"

View File

@@ -1,5 +1,5 @@
puts "TODO ?OCC25921 Debian60-64: Tcl Exception: Memory leak detected"
puts "TODO ?OCC25921 Debian60-64: TEST INCOMPLETE"
puts "TODO ?OCC25921 Debian70-64: Tcl Exception: Memory leak detected"
puts "TODO ?OCC25921 Debian70-64: TEST INCOMPLETE"
puts "============"
puts "OCC7287"

View File

@@ -1,5 +1,5 @@
puts "TODO ?OCC25921 Debian60-64: Tcl Exception: Memory leak detected"
puts "TODO ?OCC25921 Debian60-64: TEST INCOMPLETE"
puts "TODO ?OCC25921 Debian70-64: Tcl Exception: Memory leak detected"
puts "TODO ?OCC25921 Debian70-64: TEST INCOMPLETE"
puts "============"
puts "OCC7287"

View File

@@ -1,5 +1,5 @@
puts "TODO ?OCC25921 Debian60-64: Tcl Exception: Memory leak detected"
puts "TODO ?OCC25921 Debian60-64: TEST INCOMPLETE"
puts "TODO ?OCC25921 Debian70-64: Tcl Exception: Memory leak detected"
puts "TODO ?OCC25921 Debian70-64: TEST INCOMPLETE"
puts "============"

View File

@@ -1,5 +1,5 @@
puts "TODO ?OCC25921 Debian60-64: Tcl Exception: Memory leak detected"
puts "TODO ?OCC25921 Debian60-64: TEST INCOMPLETE"
puts "TODO ?OCC25921 Debian70-64: Tcl Exception: Memory leak detected"
puts "TODO ?OCC25921 Debian70-64: TEST INCOMPLETE"
puts "============"
puts "OCC7287"

View File

@@ -1,6 +1,6 @@
#puts "TODO OCC24074 Debian60-64 Windows: An exception was caught"
puts "TODO OCC24074 Debian60-64 Windows: Error: Offset is not done"
puts "TODO OCC24074 Debian60-64 Windows: TEST INCOMPLETE"
#puts "TODO OCC24074 ALL: An exception was caught"
puts "TODO OCC24074 ALL: Error: Offset is not done"
puts "TODO OCC24074 ALL: TEST INCOMPLETE"
puts "============"
puts "OCC24074"

View File

@@ -6,16 +6,20 @@ puts ""
# Bad tolerance edge generated by blend algorithm
###############################################################################################
decho off
test bugs modalg_3 bug615
decho on
restore [locate_data_file OCC615.brep] a
checkshape a
explode a e
if [catch {blend result a 9 a_15 } catch_result] {
puts "Faulty OCC615: function BLEND works with exception"
} else {
puts "OCC615 OK: function CHAMF works OK"
}
explode result E
regexp {Tolerance +MAX=([-0-9.+eE]+)} [tolerance result_21] full MaxTol_1
puts "MaxTolerance = $MaxTol_1"
set MaxTol 0.001
if { $MaxTol_1 > $MaxTol } {
@@ -24,3 +28,5 @@ if { $MaxTol_1 > $MaxTol } {
puts "OCC25199 OK: Good tolerance edge generated by blend algorithm"
}
set square 197055.
set 2dviewer 0

40
tests/bugs/modalg_6/bug26202 Executable file
View File

@@ -0,0 +1,40 @@
puts "============"
puts "OCC26202"
puts "============"
puts ""
#######################################################################
# Wrong result of chamfer on cylindrical surface: wrong value of chord
#######################################################################
restore [locate_data_file bug26202_shell.brep] b
explode b
explode b_2 e
smallview
donly b b_2_1
fit
xwd $imagedir/${test_image}_1.png
chamf q b b_2_1 b_2 0.02 0.01
explode q v
explode b v
donly b_2 q_1 q_5
fit
xwd $imagedir/${test_image}_2.png
donly q b b_2 q_1 q_5
xwd $imagedir/${test_image}_3.png
distmini dd b_2 q_5
dump dd_val
#dd_val is 0.013334, but must be 0.02
set info [dump dd_val]
regexp "\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\* Dump of dd_val \\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\n(\[-0-9*\.+eE\]+)" $info full Length
set expected_Length 0.02
set tol_abs_Length 1.0e-4
set tol_rel_Length 0.0001
checkreal "Length" ${Length} ${expected_Length} ${tol_abs_Length} ${tol_rel_Length}

View File

@@ -1,5 +1,5 @@
puts "TODO OCC12345 ALL: Faulty OCC565: function intersection works wrongly with trimmed Surfaces"
puts "TODO OCC12345 Debian60-64 MacOS: Faulty OCC565: function intersection works wrongly with infinite Surfaces"
puts "TODO OCC12345 Debian70-64 MacOS: Faulty OCC565: function intersection works wrongly with infinite Surfaces"
puts "========"
puts "OCC567"

View File

@@ -32,7 +32,7 @@ if { $stat != 1 } {
# Y axis rotation
vrotate 0 $m_pi 0
vfit
vmoveto 185 246
vmoveto 159 246
set x_coord 113
set y_coord 294

View File

@@ -13,10 +13,10 @@ vdimension dim1 -length -shapes b_9 -text 3d -plane zox
vselmode b 2 1
vselmode dim1 2 1
vfit
vmoveto 140 370
vmoveto 130 352
set x_coord 140
set y_coord 370
set x_coord 130
set y_coord 352
checkcolor $x_coord $y_coord 0 1 1
if { $stat != 1 } {

View File

@@ -156,68 +156,68 @@ proc check_cross_picking { pick object name } {
# pick coord { [flyout], dimension line, text }
# check sensitives "len1"
set pick_coord { { 99 133 } { 106 124 } { 76 131 } }
set check_coord { 125 124 }
set pick_coord { {100 133 } { 106 124 } { 76 130 } }
set check_coord { 123 125 }
check_picking $pick_coord $check_coord "length dimension (len1)"
check_cross_picking $pick_coord len1 "length dimension (len1)"
# check sensitives "len2"
set pick_coord { { 99 167 } { 127 176 } { 185 183 } }
set check_coord { 112 176 }
set pick_coord { { 100 167 } { 126 177 } { 187 180 } }
set check_coord { 106 177 }
check_picking $pick_coord $check_coord "length dimension (len2)"
check_cross_picking $pick_coord len2 "length dimension (len2)"
# check sensitives "len3"
set pick_coord { { 99 114 } { 110 98 } { 131 105 } }
set check_coord { 152 109 }
set pick_coord { { 100 114 } { 106 99 } { 120 97 } }
set check_coord { 153 109 }
check_picking $pick_coord $check_coord "length dimension (len3)"
check_cross_picking $pick_coord len3 "length dimension (len3)"
# check sensitives "diam1"
set pick_coord { { 247 150 } { 194 157 } }
set check_coord { 236 150 }
set pick_coord { { 247 151 } { 184 150 } }
set check_coord { 236 151 }
check_picking $pick_coord $check_coord "diameter dimension (diam1)"
check_cross_picking $pick_coord diam1 "diameter dimension (diam1)"
# check sensitives "diam2"
set pick_coord { { 221 98 } { 305 105 } }
set check_coord { 238 98 }
set pick_coord { { 221 99 } { 285 99 } }
set check_coord { 239 99 }
check_picking $pick_coord $check_coord "diameter dimension (diam2)"
check_cross_picking $pick_coord diam2 "diameter dimension (diam2)"
# check sensitives "diam3"
set pick_coord { { 204 225 } { 268 242 } { 243 249 } }
set check_coord { 204 233 }
set pick_coord { { 205 225 } { 263 242 } { 224 242 } }
set check_coord { 205 233 }
check_picking $pick_coord $check_coord "diameter dimension (diam3)"
check_cross_picking $pick_coord diam3 "diameter dimension (diam3)"
# check sensitives "rad1"
set pick_coord { { 287 157 } { 326 164 } }
set check_coord { 287 157 }
set pick_coord { { 288 158 } { 310 157 } }
set check_coord { 288 158 }
check_picking $pick_coord $check_coord "radius dimension (rad1)"
check_cross_picking $pick_coord rad1 "radius dimension (rad1)"
# check sensitives "rad2"
set pick_coord { { 320 242 } { 383 249 } }
set check_coord { 340 242 }
set pick_coord { { 320 242 } { 362 241 } }
set check_coord { 320 242 }
check_picking $pick_coord $check_coord "radius dimension (rad2)"
check_cross_picking $pick_coord rad2 "radius dimension (rad2)"
# check sensitives "ang1"
set pick_coord { { 112 268 } { 96 220 } { 80 250 } }
set check_coord { 96 220 }
set pick_coord { { 113 229 } { 96 221 } { 85 256 } }
set check_coord { 86 250 }
check_picking $pick_coord $check_coord "angle dimension (ang1)"
check_cross_picking $pick_coord ang1 "angle dimension (ang1)"
# check sensitives "ang2"
set pick_coord { { 139 301 } { 152 327 } { 65 297 } }
set check_coord { 108 320 }
set pick_coord { { 140 311 } { 91 310 } { 50 278 } }
set check_coord { 105 318 }
check_picking $pick_coord $check_coord "angle dimension (ang2)"
check_cross_picking $pick_coord ang2 "angle dimension (ang2)"
# check sensitives "ang3"
set pick_coord { { 171 304 } { 199 321 } { 252 285 } }
set check_coord { 191 324 }
set pick_coord { { 172 303 } { 163 327 } { 243 287 } }
set check_coord { 183 326 }
check_picking $pick_coord $check_coord "angle dimension (ang3)"
check_cross_picking $pick_coord ang3 "angle dimension (ang3)"

View File

@@ -18,7 +18,7 @@ vsetdispmode b 1
vdrawtext text "Open\nCASCADE" -pos 0 0 0 -color 1.0 0.0 0.0 -halign center -valign center -angle -45 -zoom 1 -height 50 -aspect regular -font Arial
set bug_info [vreadpixel 255 283 rgb name]
set bug_info [vreadpixel 259 279 rgb name]
if {$bug_info != "RED"} {
puts "ERROR: OCC25732 is reproduced. Text is missed."
}

View File

@@ -5,8 +5,14 @@ puts "=================================="
puts "Select3D_ISensitivePointSet: Crash when clearing selections (only with TBB)"
puts "=================================="
restore [locate_data_file crash_compound.brep]
restore [locate_data_file bug26146_crash_compound.brep] crash_compound
vinit
vdisplay crash_compound
vfit
vdump ${imagedir}/${casename}_1.png
vremove crash_compound ;# crashed here
vdump ${imagedir}/${casename}_2.png

View File

@@ -14,7 +14,7 @@ if { [string compare $command chamf_sequence] == 0 } {
if { [string compare ${os} "Windows-64-VC9"] != 0 && [string compare ${os} "Windows-64-VC10"] != 0} {
set nf 0
if {[string compare $os "Debian60-64"] == 0 } {
if {[string compare $os "Debian70-64"] == 0 } {
if { [string compare $group dist_dist] == 0 } {
set nf 2
} elseif { [string compare $group equal_dist] == 0 } {

View File

@@ -1,6 +1,6 @@
# !!!! This file is generated automatically, do not edit manually! See end script
puts "TODO CR23096 ALL: NBSHAPES : Faulty"
puts "TODO CR23096 Debian60-64: Error : 2 differences with reference data found :"
puts "TODO CR23096 Debian70-64: Error : 2 differences with reference data found :"
set LinuxDiff 2
set filename trj12_b3-sy-214.stp

View File

@@ -1,6 +1,6 @@
#F6----------------------------------------------
puts "TODO OCC22803 Debian60-64: Error in depouille"
puts "TODO OCC22803 Debian60-64: Error : The skin cannot be built."
puts "TODO OCC22803 Debian70-64: Error in depouille"
puts "TODO OCC22803 Debian70-64: Error : The skin cannot be built."
puts "TODO OCC22803 Windows: Faulty shapes in variables faulty_1 to faulty_"
polyline p 0 0 3 0 0 0 10 0 0 10 0 3
beziercurve bc 4 10 0 3 7 0 2 3 0 3 0 0 3

View File

@@ -2,7 +2,7 @@
# Date : 02 Dec 98
puts "TODO OCC22803 All: Error: The tolerance of the resulting shape is too big"
#puts "TODO OCC23511 Debian60-64: The area of the resulting shape is 186543"
#puts "TODO OCC23511 Debian70-64: The area of the resulting shape is 186543"
restore [locate_data_file CFE903_pro12ggx.rle] base

View File

@@ -14,7 +14,7 @@ if { [string compare $command "shading"] == 0 } {
set nbn 83
if {
[string compare $os "Mandriva2008"] == 0
|| [string compare $os "Debian60-64"] == 0
|| [string compare $os "Debian70-64"] == 0
} {
### set nbl 19
### set nbfree($os) $nbl

View File

@@ -23,7 +23,7 @@ if { [string compare $command "shading"] == 0 } {
### set os $env(os_type)
### }
### set bug_freelinks "OCC22687"
### if {[string compare $os "Mandriva2008"] == 0 || [string compare $os "MacOS"] == 0 || [string compare $os "Mandriva2010"] == 0 || [string compare $os "Debian40"] == 0 || [string compare $os "Debian60-64"] == 0 || [string compare $os "windows"] == 0} {
### if {[string compare $os "Mandriva2008"] == 0 || [string compare $os "MacOS"] == 0 || [string compare $os "Mandriva2010"] == 0 || [string compare $os "Debian40"] == 0 || [string compare $os "Debian70-64"] == 0 || [string compare $os "windows"] == 0} {
### set nb 4
### } else {
### set nb 6

View File

@@ -1,7 +1,7 @@
puts "TODO OCC23748 ALL: Error : The offset cannot be built."
puts "TODO OCC23748 Windows: Error: Offset is not done."
puts "TODO OCC23748 Debian60-64: An exception was caught"
puts "TODO OCC23748 Debian60-64: \\*\\* Exception \\*\\*"
puts "TODO OCC23748 Debian70-64: An exception was caught"
puts "TODO OCC23748 Debian70-64: \\*\\* Exception \\*\\*"
restore [locate_data_file offset_wire_092.brep] s

View File

@@ -1,7 +1,7 @@
puts "TODO OCC23748 ALL: Error : The offset cannot be built."
puts "TODO OCC23748 Windows: Error: Offset is not done."
puts "TODO OCC23748 Debian60-64: An exception was caught"
puts "TODO OCC23748 Debian60-64: \\*\\* Exception \\*\\*"
puts "TODO OCC23748 Debian70-64: An exception was caught"
puts "TODO OCC23748 Debian70-64: \\*\\* Exception \\*\\*"
restore [locate_data_file offset_wire_092.brep] s

View File

@@ -1,7 +1,7 @@
puts "TODO OCC23748 ALL: Error : The offset cannot be built."
puts "TODO OCC23748 Windows: Error: Offset is not done."
puts "TODO OCC23748 Debian60-64: An exception was caught"
puts "TODO OCC23748 Debian60-64: \\*\\* Exception \\*\\*"
puts "TODO OCC23748 Debian70-64: An exception was caught"
puts "TODO OCC23748 Debian70-64: \\*\\* Exception \\*\\*"
restore [locate_data_file offset_wire_092.brep] s

View File

@@ -1,7 +1,7 @@
puts "TODO OCC23748 ALL: Error : The offset cannot be built."
puts "TODO OCC23748 Windows: Error: Offset is not done."
puts "TODO OCC23748 Debian60-64: An exception was caught"
puts "TODO OCC23748 Debian60-64: \\*\\* Exception \\*\\*"
puts "TODO OCC23748 Debian70-64: An exception was caught"
puts "TODO OCC23748 Debian70-64: \\*\\* Exception \\*\\*"
restore [locate_data_file offset_wire_092.brep] s

View File

@@ -1,7 +1,7 @@
puts "TODO OCC23748 ALL: Error : The offset cannot be built."
puts "TODO OCC23748 Windows: Error: Offset is not done."
puts "TODO OCC23748 Debian60-64: An exception was caught"
puts "TODO OCC23748 Debian60-64: \\*\\* Exception \\*\\*"
puts "TODO OCC23748 Debian70-64: An exception was caught"
puts "TODO OCC23748 Debian70-64: \\*\\* Exception \\*\\*"
restore [locate_data_file offset_wire_092.brep] s

View File

@@ -1,7 +1,7 @@
puts "TODO OCC23748 ALL: Error : The offset cannot be built."
puts "TODO OCC23748 Windows: Error: Offset is not done."
puts "TODO OCC23748 Debian60-64: An exception was caught"
puts "TODO OCC23748 Debian60-64: \\*\\* Exception \\*\\*"
puts "TODO OCC23748 Debian70-64: An exception was caught"
puts "TODO OCC23748 Debian70-64: \\*\\* Exception \\*\\*"
restore [locate_data_file offset_wire_092.brep] s

View File

@@ -19,9 +19,9 @@ lappend values "$diff_cl"
if { [string compare $tcl_platform(platform) "windows"] != 0 } {
set check_values { 1.2363286058767904
1.9537414143534
2.7537414143534
1.2596260162601621
2.8737043746844462
3.937043746844462
1.2133020329576465
1.2164522569168656
1.2495457282327385