New folder "hlr" with subfolders "exact_hlr" and "poly_hlr" has been created.
Draw command "vcomputehlr" has been corrected.
QA command "OCC27341" has been deleted as "vcomputehlr" does its job.
return 0;
}
-//=======================================================================
-//function : OCC27341
-//purpose : check exact HLR algorighm's work
-//=======================================================================
-static Standard_Integer OCC27341 (Draw_Interpretor& , Standard_Integer n, const char** a)
-{
- if (n != 4)
- {
- cout << "Use: OCC27341 res shape axo/top/bottom/front/back/left/right" << endl;
- return 1;
- }
-
- TopoDS_Shape aShape = DBRep::Get(a[2]);
- if (aShape.IsNull())
- return 1;
-
- gp_Pnt anOrigin(0.,0.,0.);
- gp_Dir aNormal(0.57735026918962573, -0.57735026918962573, 0.57735026918962573);
- gp_Ax2 anAxes(anOrigin, aNormal);
- gp_Dir aDX = anAxes.XDirection();
-
- HLRAppli_ReflectLines Reflector(aShape);
-
- if (strcmp(a[3],"axo") == 0)
- {
- aNormal.SetCoord(0.57735026918962573, -0.57735026918962573, 0.57735026918962573);
- aDX.SetCoord(-0.40824829046386307, 0.40824829046386307, 0.81649658092772615);
- }
- else if (strcmp(a[3],"top") == 0)
- {
- aNormal.SetCoord(0,0,1);
- aDX.SetCoord(0,1,0);
- }
- else if (strcmp(a[3],"bottom") == 0)
- {
- aNormal.SetCoord(0,0,-1);
- aDX.SetCoord(0,-1,0);
- }
- else if (strcmp(a[3],"front") == 0)
- {
- aNormal.SetCoord(0,-1,0);
- aDX.SetCoord(0,0,1);
- }
- else if (strcmp(a[3],"back") == 0)
- {
- aNormal.SetCoord(0,1,0);
- aDX.SetCoord(0,0,1);
- }
- else if (strcmp(a[3],"left") == 0)
- {
- aNormal.SetCoord(-1,0,0);
- aDX.SetCoord(0,0,1);
- }
- else if (strcmp(a[3],"right") == 0)
- {
- aNormal.SetCoord(1,0,0);
- aDX.SetCoord(0,0,1);
- }
-
- Reflector.SetAxes(aNormal.X(), aNormal.Y(), aNormal.Z(),
- anOrigin.X(), anOrigin.Y(), anOrigin.Z(),
- aDX.X(), aDX.Y(), aDX.Z());
-
- Reflector.Perform();
-
- TopoDS_Compound Result;
- BRep_Builder BB;
- BB.MakeCompound(Result);
-
- TopoDS_Shape SharpEdges = Reflector.GetCompoundOf3dEdges(HLRBRep_Sharp, Standard_True, Standard_False);
- if (!SharpEdges.IsNull())
- BB.Add(Result, SharpEdges);
- TopoDS_Shape OutLines = Reflector.GetCompoundOf3dEdges(HLRBRep_OutLine, Standard_True, Standard_False);
- if (!OutLines.IsNull())
- BB.Add(Result, OutLines);
- TopoDS_Shape SmoothEdges = Reflector.GetCompoundOf3dEdges(HLRBRep_Rg1Line, Standard_True, Standard_False);
- if (!SmoothEdges.IsNull())
- BB.Add(Result, SmoothEdges);
-
- DBRep::Set(a[1], Result);
-
- return 0;
-}
-
//=======================================================================
//function : OCC27466
//purpose :
theCommands.Add("OCC27235", "OCC27235", __FILE__, OCC27235, group);
theCommands.Add("OCC26930", "OCC26930", __FILE__, OCC26930, group);
theCommands.Add("OCC27466", "OCC27466", __FILE__, OCC27466, group);
- theCommands.Add("OCC27341",
- "OCC27341 res shape axo/top/bottom/front/back/left/right",
- __FILE__, OCC27341, group);
theCommands.Add ("OCC26747_1", "OCC26747_1 result", __FILE__, OCC26747_1, group);
theCommands.Add ("OCC26747_2", "OCC26747_2 result", __FILE__, OCC26747_2, group);
theCommands.Add ("OCC26747_3", "OCC26747_3 result", __FILE__, OCC26747_3, group);
gp_Ax2 aProjAx;
bool hasViewDirArg = false;
Prs3d_TypeOfHLR anAlgoType = Prs3d_TOH_PolyAlgo;
- bool toShowTangentEdges = false, toShowHiddenEdges = false;
+ bool toShowCNEdges = false, toShowHiddenEdges = false;
int aNbIsolines = 0;
if (Handle(V3d_Viewer) aViewer = ViewerTest::GetViewerFromContext())
{
|| anArgCase == "-tangentedges"
|| anArgCase == "-tangent")
{
- toShowTangentEdges = true;
+ toShowCNEdges = true;
if (anArgIter + 1 < theArgNb
- && ViewerTest::ParseOnOff (theArgVec[anArgIter + 1], toShowTangentEdges))
+ && ViewerTest::ParseOnOff (theArgVec[anArgIter + 1], toShowCNEdges))
{
++anArgIter;
}
aVisible[HLRBRep_Sharp] = aHLRToShape.VCompound();
aVisible[HLRBRep_OutLine] = aHLRToShape.OutLineVCompound(); // extract visible outlines
- aVisible[HLRBRep_RgNLine] = aHLRToShape.RgNLineVCompound();
- if (toShowTangentEdges)
+ aVisible[HLRBRep_Rg1Line] = aHLRToShape.Rg1LineVCompound();
+ if (toShowCNEdges)
{
- aVisible[HLRBRep_Rg1Line] = aHLRToShape.Rg1LineVCompound();
+ aVisible[HLRBRep_RgNLine] = aHLRToShape.RgNLineVCompound();
}
if (toShowHiddenEdges)
{
aHidden[HLRBRep_Sharp] = aHLRToShape.HCompound();
aHidden[HLRBRep_OutLine] = aHLRToShape.OutLineHCompound();
- aHidden[HLRBRep_RgNLine] = aHLRToShape.RgNLineHCompound();
- if (toShowTangentEdges)
+ aHidden[HLRBRep_Rg1Line] = aHLRToShape.Rg1LineHCompound();
+ if (toShowCNEdges)
{
- aHidden[HLRBRep_Rg1Line] = aHLRToShape.Rg1LineHCompound();
+ aHidden[HLRBRep_RgNLine] = aHLRToShape.RgNLineHCompound();
}
}
}
HLRBRep_HLRToShape aHLRToShape (aHlrAlgo);
aVisible[HLRBRep_Sharp] = aHLRToShape.VCompound();
aVisible[HLRBRep_OutLine] = aHLRToShape.OutLineVCompound();
- aVisible[HLRBRep_RgNLine] = aHLRToShape.RgNLineVCompound();
- if (toShowTangentEdges)
+ aVisible[HLRBRep_Rg1Line] = aHLRToShape.Rg1LineVCompound();
+ if (toShowCNEdges)
{
- aVisible[HLRBRep_Rg1Line] = aHLRToShape.Rg1LineVCompound();
+ aVisible[HLRBRep_RgNLine] = aHLRToShape.RgNLineVCompound();
}
aVisible[HLRBRep_IsoLine] = aHLRToShape.IsoLineVCompound();
{
aHidden[HLRBRep_Sharp] = aHLRToShape.HCompound();
aHidden[HLRBRep_OutLine] = aHLRToShape.OutLineHCompound();
- aHidden[HLRBRep_RgNLine] = aHLRToShape.RgNLineHCompound();
- if (toShowTangentEdges)
+ aHidden[HLRBRep_Rg1Line] = aHLRToShape.Rg1LineHCompound();
+ if (toShowCNEdges)
{
- aHidden[HLRBRep_Rg1Line] = aHLRToShape.Rg1LineHCompound();
+ aHidden[HLRBRep_RgNLine] = aHLRToShape.RgNLineHCompound();
}
aHidden[HLRBRep_IsoLine] = aHLRToShape.IsoLineHCompound();
}
+++ /dev/null
-puts "============"
-puts "OCC25813"
-puts "============"
-puts ""
-######################################################
-# regression in Hidden Line Removal
-######################################################
-
-pcylinder cc 10 30
-pcylinder cc2 8 50
-ttranslate cc2 0 0 2
-bfuse result cc cc2
-vinit
-vdisplay result
-vfit
-vhlr on
-vhlrtype algo result
-
-checkview -screenshot -3d -path ${imagedir}/${test_image}.png
+++ /dev/null
-puts "============"
-puts "OCC25813"
-puts "============"
-puts ""
-######################################################
-# regression in Hidden Line Removal
-######################################################
-
-restore [locate_data_file bug25813_hlr-bus1-draw-Fusion001.brep] result
-
-vinit
-vdisplay result
-vfit
-vhlr on
-vhlrtype algo result
-
-checkview -screenshot -3d -path ${imagedir}/${test_image}.png
+++ /dev/null
-puts "============"
-puts "OCC25813"
-puts "============"
-puts ""
-######################################################
-# regression in Hidden Line Removal
-######################################################
-
-ptorus result 30 10
-vinit
-vdisplay result
-vfit
-vhlr on
-vhlrtype algo result
-
-checkview -screenshot -3d -path ${imagedir}/${test_image}.png
+++ /dev/null
-puts "============"
-puts "OCC25813"
-puts "============"
-puts ""
-######################################################
-# regression in Hidden Line Removal
-######################################################
-
-restore [locate_data_file bug25813_hlr-test_normandc1m1-draw-Cut001.brep] result
-
-vinit
-vdisplay result
-vfit
-vhlr on
-vhlrtype algo result
-
-checkview -screenshot -3d -path ${imagedir}/${test_image}.png
+++ /dev/null
-puts "============"
-puts "OCC25813"
-puts "============"
-puts ""
-######################################################
-# regression in Hidden Line Removal
-######################################################
-
-restore [locate_data_file bug25813_hlr-fillet2-tcl-f.brep] result
-
-vinit
-vdisplay result
-vfit
-vhlr on
-vhlrtype algo result
-
-checkview -screenshot -3d -path ${imagedir}/${test_image}.png
+++ /dev/null
-puts "============"
-puts "OCC27341"
-puts "============"
-puts ""
-######################################################
-# Incorrect exact HLR results
-######################################################
-
-restore [locate_data_file bug27341_hlrsave.brep] result
-
-vinit
-vdisplay result
-vfit
-vhlr on
-vhlrtype algo result
-
-checkview -screenshot -3d -path ${imagedir}/${test_image}.png
+++ /dev/null
-puts "============"
-puts "OCC27341"
-puts "============"
-puts ""
-######################################################
-# Incorrect exact HLR results
-######################################################
-
-pload QAcommands
-
-restore [locate_data_file bug27341_save.brep] a
-
-set viewname "axo"
-
-smallview
-top
-clear
-
-OCC27341 result a ${viewname}
-build3d result
-
-fit
-
-checkprops result -l 319.505
-
-checkview -screenshot -2d -path ${imagedir}/${test_image}.png
+++ /dev/null
-puts "============"
-puts "OCC27341"
-puts "============"
-puts ""
-######################################################
-# Incorrect exact HLR results
-######################################################
-
-pload QAcommands
-
-restore [locate_data_file bug27341_save.brep] a
-
-set viewname "top"
-
-smallview
-top
-clear
-
-OCC27341 result a ${viewname}
-build3d result
-
-fit
-
-checkprops result -l 291.117
-
-checkview -screenshot -2d -path ${imagedir}/${test_image}.png
+++ /dev/null
-puts "============"
-puts "OCC27341"
-puts "============"
-puts ""
-######################################################
-# Incorrect exact HLR results
-######################################################
-
-pload QAcommands
-
-restore [locate_data_file bug27341_save.brep] a
-
-set viewname "bottom"
-
-smallview
-top
-clear
-
-OCC27341 result a ${viewname}
-build3d result
-
-fit
-
-checkprops result -l 334.113
-
-checkview -screenshot -2d -path ${imagedir}/${test_image}.png
+++ /dev/null
-puts "============"
-puts "OCC27341"
-puts "============"
-puts ""
-######################################################
-# Incorrect exact HLR results
-######################################################
-
-pload QAcommands
-
-restore [locate_data_file bug27341_save.brep] a
-
-set viewname "front"
-
-smallview
-top
-clear
-
-OCC27341 result a ${viewname}
-build3d result
-
-fit
-
-checkprops result -l 361.806
-
-checkview -screenshot -2d -path ${imagedir}/${test_image}.png
+++ /dev/null
-puts "============"
-puts "OCC27341"
-puts "============"
-puts ""
-######################################################
-# Incorrect exact HLR results
-######################################################
-
-pload QAcommands
-
-restore [locate_data_file bug27341_save.brep] a
-
-set viewname "back"
-
-smallview
-top
-clear
-
-OCC27341 result a ${viewname}
-build3d result
-
-fit
-
-checkprops result -l 430.307
-
-checkview -screenshot -2d -path ${imagedir}/${test_image}.png
+++ /dev/null
-puts "============"
-puts "OCC27341"
-puts "============"
-puts ""
-######################################################
-# Incorrect exact HLR results
-######################################################
-
-pload QAcommands
-
-restore [locate_data_file bug27341_save.brep] a
-
-set viewname "left"
-
-smallview
-top
-clear
-
-OCC27341 result a ${viewname}
-build3d result
-
-fit
-
-checkprops result -l 278.784
-checkview -screenshot -2d -path ${imagedir}/${test_image}.png
+++ /dev/null
-puts "============"
-puts "OCC27341"
-puts "============"
-puts ""
-######################################################
-# Incorrect exact HLR results
-######################################################
-
-pload QAcommands
-
-restore [locate_data_file bug27341_save.brep] a
-
-set viewname "right"
-
-smallview
-top
-clear
-
-OCC27341 result a ${viewname}
-build3d result
-
-fit
-
-checkprops result -l 337.535
-checkview -screenshot -2d -path ${imagedir}/${test_image}.png
+++ /dev/null
-puts "============"
-puts "OCC27341"
-puts "============"
-puts ""
-######################################################
-# Incorrect exact HLR results
-######################################################
-
-pload QAcommands
-
-restore [locate_data_file bug27341_hlrsave.brep] a
-
-set viewname "axo"
-
-smallview
-top
-clear
-
-OCC27341 result a ${viewname}
-build3d result
-
-fit
-
-checkprops result -l 6.34998
-
-checkview -screenshot -2d -path ${imagedir}/${test_image}.png
+++ /dev/null
-puts "============"
-puts "OCC27341"
-puts "============"
-puts ""
-######################################################
-# Incorrect exact HLR results
-######################################################
-
-pload QAcommands
-
-restore [locate_data_file bug27341_hlrsave.brep] a
-
-set viewname "top"
-
-smallview
-top
-clear
-
-OCC27341 result a ${viewname}
-build3d result
-
-fit
-
-checkprops result -l 8.05281
-
-checkview -screenshot -2d -path ${imagedir}/${test_image}.png
+++ /dev/null
-puts "============"
-puts "OCC27341"
-puts "============"
-puts ""
-######################################################
-# Incorrect exact HLR results
-######################################################
-
-pload QAcommands
-
-restore [locate_data_file bug27341_hlrsave.brep] a
-
-set viewname "bottom"
-
-smallview
-top
-clear
-
-OCC27341 result a ${viewname}
-build3d result
-
-fit
-
-checkprops result -l 8.40409
-
-checkview -screenshot -2d -path ${imagedir}/${test_image}.png
+++ /dev/null
-puts "============"
-puts "OCC27341"
-puts "============"
-puts ""
-######################################################
-# Incorrect exact HLR results
-######################################################
-
-pload QAcommands
-
-restore [locate_data_file bug27341_hlrsave.brep] a
-
-set viewname "front"
-
-smallview
-top
-clear
-
-OCC27341 result a ${viewname}
-build3d result
-
-fit
-
-checkprops result -l 7.39488
-
-checkview -screenshot -2d -path ${imagedir}/${test_image}.png
+++ /dev/null
-puts "============"
-puts "OCC27341"
-puts "============"
-puts ""
-######################################################
-# Incorrect exact HLR results
-######################################################
-
-pload QAcommands
-
-restore [locate_data_file bug27341_hlrsave.brep] a
-
-set viewname "back"
-
-smallview
-top
-clear
-
-OCC27341 result a ${viewname}
-build3d result
-
-fit
-
-checkprops result -l 9.47163
-
-checkview -screenshot -2d -path ${imagedir}/${test_image}.png
+++ /dev/null
-puts "============"
-puts "OCC27341"
-puts "============"
-puts ""
-######################################################
-# Incorrect exact HLR results
-######################################################
-
-pload QAcommands
-
-restore [locate_data_file bug27341_hlrsave.brep] a
-
-set viewname "left"
-
-smallview
-top
-clear
-
-OCC27341 result a ${viewname}
-build3d result
-
-fit
-
-checkprops result -l 7.42565
-
-checkview -screenshot -2d -path ${imagedir}/${test_image}.png
+++ /dev/null
-puts "============"
-puts "OCC27341"
-puts "============"
-puts ""
-######################################################
-# Incorrect exact HLR results
-######################################################
-
-pload QAcommands
-
-restore [locate_data_file bug27341_hlrsave.brep] a
-
-set viewname "right"
-
-smallview
-top
-clear
-
-OCC27341 result a ${viewname}
-build3d result
-
-fit
-
-checkprops result -l 8.92009
-
-checkview -screenshot -2d -path ${imagedir}/${test_image}.png
+++ /dev/null
-puts "============"
-puts "OCC27341"
-puts "============"
-puts ""
-######################################################
-# Incorrect exact HLR results
-######################################################
-
-pload XDE
-pload QAcommands
-
-testreadstep [locate_data_file bug27341_15.3020_16B1_B3=90.stp] a
-
-set viewname "right"
-
-smallview
-top
-clear
-
-OCC27341 result a ${viewname}
-build3d result
-
-fit
-
-checkprops result -l 1030.62
-
-checkview -screenshot -2d -path ${imagedir}/${test_image}.png
+++ /dev/null
-puts "============"
-puts "OCC27341"
-puts "============"
-puts ""
-######################################################
-# Incorrect exact HLR results
-######################################################
-
-pload XDE
-pload QAcommands
-
-testreadstep [locate_data_file bug27341_211808_PCLNL12K8-15x32.stp] a
-
-set viewname "right"
-
-smallview
-top
-clear
-
-OCC27341 result a ${viewname}
-build3d result
-
-fit
-
-checkprops result -l 414.732
-
-checkview -screenshot -2d -path ${imagedir}/${test_image}.png
+++ /dev/null
-puts "============"
-puts "OCC27341"
-puts "============"
-puts ""
-######################################################
-# Incorrect exact HLR results
-######################################################
-
-pload XDE
-pload QAcommands
-
-testreadstep [locate_data_file bug27341_570-DWLNL-40-08-L_131LANG_16VERSATZ_DIN.stp] a
-
-set viewname "right"
-
-smallview
-top
-clear
-
-OCC27341 result a ${viewname}
-build3d result
-
-fit
-
-checkprops result -l 3249.9
-
-checkview -screenshot -2d -path ${imagedir}/${test_image}.png
+++ /dev/null
-puts "============"
-puts "OCC27341"
-puts "============"
-puts ""
-######################################################
-# Incorrect exact HLR results
-######################################################
-
-pload XDE
-pload QAcommands
-
-testreadstep [locate_data_file bug27341_82-01_Solid_End_Mill_Radius_with_Shrink_Fit_and_extension_HeavyModel.stp] a
-
-set viewname "right"
-
-smallview
-top
-clear
-
-OCC27341 result a ${viewname}
-build3d result
-
-fit
-
-checkprops result -l 2867.9
-
-checkview -screenshot -2d -path ${imagedir}/${test_image}.png
+++ /dev/null
-puts "============"
-puts "OCC27341"
-puts "============"
-puts ""
-######################################################
-# Incorrect exact HLR results
-######################################################
-
-pload XDE
-pload QAcommands
-
-testreadstep [locate_data_file bug27341_ABS_Adapter_CAD.stp] a
-
-set viewname "right"
-
-smallview
-top
-clear
-
-OCC27341 result a ${viewname}
-build3d result
-
-fit
-
-checkprops result -l 1760.66
-
-checkview -screenshot -2d -path ${imagedir}/${test_image}.png
+++ /dev/null
-puts "============"
-puts "OCC27341"
-puts "============"
-puts ""
-######################################################
-# Incorrect exact HLR results
-######################################################
-
-pload XDE
-pload QAcommands
-
-testreadstep [locate_data_file bug27341_ABS_Grundhalter_CAD.stp] a
-
-set viewname "right"
-
-smallview
-top
-clear
-
-OCC27341 result a ${viewname}
-build3d result
-
-fit
-
-checkprops result -l 2893.98
-
-checkview -screenshot -2d -path ${imagedir}/${test_image}.png
+++ /dev/null
-puts "============"
-puts "OCC27341"
-puts "============"
-puts ""
-######################################################
-# Incorrect exact HLR results
-######################################################
-
-pload XDE
-pload QAcommands
-
-testreadstep [locate_data_file bug27341_AIF_Grundhalter_GR1_CAD.stp] a
-
-set viewname "right"
-
-smallview
-top
-clear
-
-OCC27341 result a ${viewname}
-build3d result
-
-fit
-
-checkprops result -l 2282.11
-
-checkview -screenshot -2d -path ${imagedir}/${test_image}.png
+++ /dev/null
-puts "============"
-puts "OCC27341"
-puts "============"
-puts ""
-######################################################
-# Incorrect exact HLR results
-######################################################
-
-pload XDE
-pload QAcommands
-
-testreadstep [locate_data_file bug27341_AWN_Adapter_CAD.stp] a
-
-set viewname "right"
-
-smallview
-top
-clear
-
-OCC27341 result a ${viewname}
-build3d result
-
-fit
-
-checkprops result -l 1170.46
-
-checkview -screenshot -2d -path ${imagedir}/${test_image}.png
+++ /dev/null
-puts "============"
-puts "OCC27341"
-puts "============"
-puts ""
-######################################################
-# Incorrect exact HLR results
-######################################################
-
-pload XDE
-pload QAcommands
-
-testreadstep [locate_data_file bug27341_Adapter_MKG_SWS_CGS_CAD.stp] a
-
-set viewname "right"
-
-smallview
-top
-clear
-
-OCC27341 result a ${viewname}
-build3d result
-
-fit
-
-checkprops result -l 2010.95
-
-checkview -screenshot -2d -path ${imagedir}/${test_image}.png
+++ /dev/null
-puts "============"
-puts "OCC27341"
-puts "============"
-puts ""
-######################################################
-# Incorrect exact HLR results
-######################################################
-
-pload XDE
-pload QAcommands
-
-testreadstep [locate_data_file bug27341_Adapter_VDI_MKG_CAD.stp] a
-
-set viewname "right"
-
-smallview
-top
-clear
-
-OCC27341 result a ${viewname}
-build3d result
-
-fit
-
-checkprops result -l 778.117
-
-checkview -screenshot -2d -path ${imagedir}/${test_image}.png
+++ /dev/null
-puts "============"
-puts "OCC27341"
-puts "============"
-puts ""
-######################################################
-# Incorrect exact HLR results
-######################################################
-
-pload XDE
-pload QAcommands
-
-testreadstep [locate_data_file bug27341_Adapter_VLS_CAD.stp] a
-
-set viewname "right"
-
-smallview
-top
-clear
-
-OCC27341 result a ${viewname}
-build3d result
-
-fit
-
-checkprops result -l 1095.44
-
-checkview -screenshot -2d -path ${imagedir}/${test_image}.png
+++ /dev/null
-puts "============"
-puts "OCC27341"
-puts "============"
-puts ""
-######################################################
-# Incorrect exact HLR results
-######################################################
-
-pload XDE
-pload QAcommands
-
-testreadstep [locate_data_file bug27341_Adapter_Zylinder_2_CAD.stp] a
-
-set viewname "right"
-
-smallview
-top
-clear
-
-OCC27341 result a ${viewname}
-build3d result
-
-fit
-
-checkprops result -l 534.882
-
-checkview -screenshot -2d -path ${imagedir}/${test_image}.png
+++ /dev/null
-puts "============"
-puts "OCC27341"
-puts "============"
-puts ""
-######################################################
-# Incorrect exact HLR results
-######################################################
-
-pload XDE
-pload QAcommands
-
-testreadstep [locate_data_file bug27341_Assembly_ABS_1_CAD.stp] a
-
-set viewname "right"
-
-smallview
-top
-clear
-
-OCC27341 result a ${viewname}
-build3d result
-
-fit
-
-checkprops result -l 9662.5
-
-checkview -screenshot -2d -path ${imagedir}/${test_image}.png
+++ /dev/null
-puts "============"
-puts "OCC27341"
-puts "============"
-puts ""
-######################################################
-# Incorrect exact HLR results
-######################################################
-
-pload XDE
-pload QAcommands
-
-testreadstep [locate_data_file bug27341_Assembly_BILZ_WFL2_1_CAD.stp] a
-
-set viewname "right"
-
-smallview
-top
-clear
-
-OCC27341 result a ${viewname}
-build3d result
-
-fit
-
-checkprops result -l 5934.34
-
-checkview -screenshot -2d -path ${imagedir}/${test_image}.png
+++ /dev/null
-puts "============"
-puts "OCC27341"
-puts "============"
-puts ""
-######################################################
-# Incorrect exact HLR results
-######################################################
-
-pload XDE
-pload QAcommands
-
-testreadstep [locate_data_file bug27341_Assembly_GMS_Kurz_CAD.stp] a
-
-set viewname "right"
-
-smallview
-top
-clear
-
-OCC27341 result a ${viewname}
-build3d result
-
-fit
-
-checkprops result -l 5282.13
-
-checkview -screenshot -2d -path ${imagedir}/${test_image}.png
+++ /dev/null
-puts "============"
-puts "OCC27341"
-puts "============"
-puts ""
-######################################################
-# Incorrect exact HLR results
-######################################################
-
-pload XDE
-pload QAcommands
-
-testreadstep [locate_data_file bug27341_CCS_Adapter_CAD.stp] a
-
-set viewname "right"
-
-smallview
-top
-clear
-
-OCC27341 result a ${viewname}
-build3d result
-
-fit
-
-checkprops result -l 1794.57
-
-checkview -screenshot -2d -path ${imagedir}/${test_image}.png
+++ /dev/null
-puts "============"
-puts "OCC27341"
-puts "============"
-puts ""
-######################################################
-# Incorrect exact HLR results
-######################################################
-
-pload XDE
-pload QAcommands
-
-testreadstep [locate_data_file bug27341_CCT_PMK_32_L_o_CAD.stp] a
-
-set viewname "right"
-
-smallview
-top
-clear
-
-OCC27341 result a ${viewname}
-build3d result
-
-fit
-
-checkprops result -l 2704.1
-
-checkview -screenshot -2d -path ${imagedir}/${test_image}.png
+++ /dev/null
-puts "============"
-puts "OCC27341"
-puts "============"
-puts ""
-######################################################
-# Incorrect exact HLR results
-######################################################
-
-pload XDE
-pload QAcommands
-
-testreadstep [locate_data_file bug27341_CDI_Grundhalter_CAD.stp] a
-
-set viewname "right"
-
-smallview
-top
-clear
-
-OCC27341 result a ${viewname}
-build3d result
-
-fit
-
-checkprops result -l 2429.7
-checkview -screenshot -2d -path ${imagedir}/${test_image}.png
+++ /dev/null
-puts "============"
-puts "OCC27341"
-puts "============"
-puts ""
-######################################################
-# Incorrect exact HLR results
-######################################################
-
-pload XDE
-pload QAcommands
-
-testreadstep [locate_data_file bug27341_CKB_Adapter_CAD.stp] a
-
-set viewname "right"
-
-smallview
-top
-clear
-
-OCC27341 result a ${viewname}
-build3d result
-
-fit
-
-checkprops result -l 755.552
-
-checkview -screenshot -2d -path ${imagedir}/${test_image}.png
+++ /dev/null
-puts "============"
-puts "OCC27341"
-puts "============"
-puts ""
-######################################################
-# Incorrect exact HLR results
-######################################################
-
-pload XDE
-pload QAcommands
-
-testreadstep [locate_data_file bug27341_Drehkopf_HSK_Gewinde_R_CAD.stp] a
-
-set viewname "right"
-
-smallview
-top
-clear
-
-OCC27341 result a ${viewname}
-build3d result
-
-fit
-
-checkprops result -l 1726.77
-
-checkview -screenshot -2d -path ${imagedir}/${test_image}.png
+++ /dev/null
-puts "============"
-puts "OCC27341"
-puts "============"
-puts ""
-######################################################
-# Incorrect exact HLR results
-######################################################
-
-pload XDE
-pload QAcommands
-
-testreadstep [locate_data_file bug27341_Einsatz_BILZ_SEK_BFA_CAD.stp] a
-
-set viewname "right"
-
-smallview
-top
-clear
-
-OCC27341 result a ${viewname}
-build3d result
-
-fit
-
-checkprops result -l 949.574
-
-checkview -screenshot -2d -path ${imagedir}/${test_image}.png
+++ /dev/null
-puts "============"
-puts "OCC27341"
-puts "============"
-puts ""
-######################################################
-# Incorrect exact HLR results
-######################################################
-
-pload XDE
-pload QAcommands
-
-testreadstep [locate_data_file bug27341_HEE_Grundhalter_CAD.stp] a
-
-set viewname "right"
-
-smallview
-top
-clear
-
-OCC27341 result a ${viewname}
-build3d result
-
-fit
-
-checkprops result -l 6584.94
-
-checkview -screenshot -2d -path ${imagedir}/${test_image}.png
+++ /dev/null
-puts "============"
-puts "OCC27341"
-puts "============"
-puts ""
-######################################################
-# Incorrect exact HLR results
-######################################################
-
-pload XDE
-pload QAcommands
-
-testreadstep [locate_data_file bug27341_KMM_Adapter_CAD.stp] a
-
-set viewname "right"
-
-smallview
-top
-clear
-
-OCC27341 result a ${viewname}
-build3d result
-
-fit
-
-checkprops result -l 813.531
-
-checkview -screenshot -2d -path ${imagedir}/${test_image}.png
+++ /dev/null
-puts "============"
-puts "OCC27341"
-puts "============"
-puts ""
-######################################################
-# Incorrect exact HLR results
-######################################################
-
-pload XDE
-pload QAcommands
-
-testreadstep [locate_data_file bug27341_MZX_01_1_CAD.stp] a
-
-set viewname "right"
-
-smallview
-top
-clear
-
-OCC27341 result a ${viewname}
-build3d result
-
-fit
-
-checkprops result -l 211.007
-
-checkview -screenshot -2d -path ${imagedir}/${test_image}.png
+++ /dev/null
-puts "============"
-puts "OCC27341"
-puts "============"
-puts ""
-######################################################
-# Incorrect exact HLR results
-######################################################
-
-pload XDE
-pload QAcommands
-
-testreadstep [locate_data_file bug27341_Rundrohrverteiler.stp] a
-
-set viewname "right"
-
-smallview
-top
-clear
-
-OCC27341 result a ${viewname}
-build3d result
-
-fit
-
-checkprops result -l 6115.27
-
-checkview -screenshot -2d -path ${imagedir}/${test_image}.png
+++ /dev/null
-puts "============"
-puts "OCC27341"
-puts "============"
-puts ""
-######################################################
-# Incorrect exact HLR results
-######################################################
-
-pload XDE
-pload QAcommands
-
-testreadstep [locate_data_file bug27341_SKJ_07_CAD.stp] a
-
-set viewname "right"
-
-smallview
-top
-clear
-
-OCC27341 result a ${viewname}
-build3d result
-
-fit
-
-checkprops result -l 521.037
-
-checkview -screenshot -2d -path ${imagedir}/${test_image}.png
+++ /dev/null
-puts "============"
-puts "OCC27341"
-puts "============"
-puts ""
-######################################################
-# Incorrect exact HLR results
-######################################################
-
-pload XDE
-pload QAcommands
-
-testreadstep [locate_data_file bug27341_conboom.stp] a
-
-set viewname "back"
-
-smallview
-top
-clear
-
-OCC27341 result a ${viewname}
-build3d result
-
-fit
-
-checkprops result -l 48596.2
-
-checkview -screenshot -2d -path ${imagedir}/${test_image}.png
+++ /dev/null
-puts "============"
-puts "OCC27341"
-puts "============"
-puts ""
-######################################################
-# Incorrect exact HLR results
-######################################################
-
-pload XDE
-pload QAcommands
-
-testreadstep [locate_data_file bug27341_rhombisch_Form_V_IC_476_L_CAD.stp] a
-
-set viewname "right"
-
-smallview
-top
-clear
-
-OCC27341 result a ${viewname}
-build3d result
-
-fit
-
-checkprops result -l 40.3211
-
-checkview -screenshot -2d -path ${imagedir}/${test_image}.png
+++ /dev/null
-puts "============"
-puts "OCC27341"
-puts "============"
-puts ""
-######################################################
-# Incorrect exact HLR results
-######################################################
-
-pload XDE
-pload QAcommands
-
-testreadstep [locate_data_file bug27341_stp_ML_MN5260-18-K.stp] a
-
-set viewname "right"
-
-smallview
-top
-clear
-
-OCC27341 result a ${viewname}
-build3d result
-
-fit
-
-checkprops result -l 1126.76
-
-checkview -screenshot -2d -path ${imagedir}/${test_image}.png
+++ /dev/null
-puts "============"
-puts "OCC27719"
-puts "============"
-puts ""
-######################################################
-# Incorrect exact HLR results
-######################################################
-
-pload QAcommands
-
-restore [locate_data_file bug27719_Extruded.brep] a
-
-set viewname "axo"
-
-top
-clear
-
-OCC27341 result a ${viewname}
-build3d result
-
-fit
-
-checkprops result -l 4.04214
-checknbshapes result -vertex 16 -edge 8
-
-checkview -screenshot -2d -path ${imagedir}/${test_image}.png
+++ /dev/null
-puts "============"
-puts "OCC27719"
-puts "============"
-puts ""
-######################################################
-# Incorrect exact HLR results
-######################################################
-
-pload QAcommands
-
-restore [locate_data_file bug27719_Extruded.brep] a
-
-set viewname "top"
-
-top
-clear
-
-OCC27341 result a ${viewname}
-build3d result
-
-fit
-
-checkprops result -l 5.79737
-checknbshapes result -vertex 22 -edge 11
-
-checkview -screenshot -2d -path ${imagedir}/${test_image}.png
+++ /dev/null
-puts "============"
-puts "OCC27719"
-puts "============"
-puts ""
-######################################################
-# Incorrect exact HLR results
-######################################################
-
-pload QAcommands
-
-restore [locate_data_file bug27719_Extruded.brep] a
-
-set viewname "bottom"
-
-top
-clear
-
-OCC27341 result a ${viewname}
-build3d result
-
-fit
-
-checkprops result -l 6.15279
-checknbshapes result -vertex 22 -edge 11
-
-checkview -screenshot -2d -path ${imagedir}/${test_image}.png
+++ /dev/null
-puts "============"
-puts "OCC27719"
-puts "============"
-puts ""
-######################################################
-# Incorrect exact HLR results
-######################################################
-
-pload QAcommands
-
-restore [locate_data_file bug27719_Extruded.brep] a
-
-set viewname "front"
-
-top
-clear
-
-OCC27341 result a ${viewname}
-build3d result
-
-fit
-
-checkprops result -l 7.45731
-checknbshapes result -vertex 24 -edge 12
-
-checkview -screenshot -2d -path ${imagedir}/${test_image}.png
+++ /dev/null
-puts "============"
-puts "OCC27719"
-puts "============"
-puts ""
-######################################################
-# Incorrect exact HLR results
-######################################################
-
-pload QAcommands
-
-restore [locate_data_file bug27719_Extruded.brep] a
-
-set viewname "back"
-
-top
-clear
-
-OCC27341 result a ${viewname}
-build3d result
-
-fit
-
-checkprops result -l 7.48768
-checknbshapes result -vertex 22 -edge 11
-
-checkview -screenshot -2d -path ${imagedir}/${test_image}.png
+++ /dev/null
-puts "============"
-puts "OCC27719"
-puts "============"
-puts ""
-######################################################
-# Incorrect exact HLR results
-######################################################
-
-pload QAcommands
-
-restore [locate_data_file bug27719_Extruded2.brep] a
-
-set viewname "axo"
-
-top
-clear
-
-OCC27341 result a ${viewname}
-build3d result
-
-fit
-
-checkprops result -l 4.53263
-checknbshapes result -vertex 14 -edge 7
-
-checkview -screenshot -2d -path ${imagedir}/${test_image}.png
+++ /dev/null
-puts "============"
-puts "OCC27719"
-puts "============"
-puts ""
-######################################################
-# Incorrect exact HLR results
-######################################################
-
-pload QAcommands
-
-restore [locate_data_file bug27719_Extruded2.brep] a
-
-set viewname "top"
-
-top
-clear
-
-OCC27341 result a ${viewname}
-build3d result
-
-fit
-
-checkprops result -l 4.79563
-checknbshapes result -vertex 16 -edge 8
-
-checkview -screenshot -2d -path ${imagedir}/${test_image}.png
+++ /dev/null
-puts "============"
-puts "OCC27719"
-puts "============"
-puts ""
-######################################################
-# Incorrect exact HLR results
-######################################################
-
-pload QAcommands
-
-restore [locate_data_file bug27719_Extruded2.brep] a
-
-set viewname "bottom"
-
-top
-clear
-
-OCC27341 result a ${viewname}
-build3d result
-
-fit
-
-checkprops result -l 4.64864
-checknbshapes result -vertex 16 -edge 8
-
-checkview -screenshot -2d -path ${imagedir}/${test_image}.png
+++ /dev/null
-puts "============"
-puts "OCC27719"
-puts "============"
-puts ""
-######################################################
-# Incorrect exact HLR results
-######################################################
-
-pload QAcommands
-
-restore [locate_data_file bug27719_Extruded2.brep] a
-
-set viewname "front"
-
-top
-clear
-
-OCC27341 result a ${viewname}
-build3d result
-
-fit
-
-checkprops result -l 5.96312
-checknbshapes result -vertex 16 -edge 8
-
-checkview -screenshot -2d -path ${imagedir}/${test_image}.png
+++ /dev/null
-puts "============"
-puts "OCC27719"
-puts "============"
-puts ""
-######################################################
-# Incorrect exact HLR results
-######################################################
-
-pload QAcommands
-
-restore [locate_data_file bug27719_Extruded2.brep] a
-
-set viewname "back"
-
-top
-clear
-
-OCC27341 result a ${viewname}
-build3d result
-
-fit
-
-checkprops result -l 5.61843
-checknbshapes result -vertex 16 -edge 8
-
-checkview -screenshot -2d -path ${imagedir}/${test_image}.png
+++ /dev/null
-puts "============"
-puts "OCC27720"
-puts "============"
-puts ""
-######################################################
-# HLRBrep_Algo BSpline missing edges
-######################################################
-
-pload QAcommands
-
-restore [locate_data_file bug27720_BSpline.brep] a
-
-set viewname "axo"
-
-top
-clear
-
-OCC27341 result a ${viewname}
-build3d result
-
-fit
-
-checkprops result -l 0.883462
-checknbshapes result -vertex 84 -edge 42
-
-checkview -screenshot -2d -path ${imagedir}/${test_image}.png
+++ /dev/null
-puts "============"
-puts "OCC27720"
-puts "============"
-puts ""
-######################################################
-# HLRBrep_Algo BSpline missing edges
-######################################################
-
-pload QAcommands
-
-restore [locate_data_file bug27720_BSpline.brep] a
-
-set viewname "top"
-
-top
-clear
-
-OCC27341 result a ${viewname}
-build3d result
-
-fit
-
-checkprops result -l 0.980943
-checknbshapes result -vertex 60 -edge 30
-
-checkview -screenshot -2d -path ${imagedir}/${test_image}.png
+++ /dev/null
-puts "============"
-puts "OCC27720"
-puts "============"
-puts ""
-######################################################
-# HLRBrep_Algo BSpline missing edges
-######################################################
-
-pload QAcommands
-
-restore [locate_data_file bug27720_BSpline.brep] a
-
-set viewname "bottom"
-
-top
-clear
-
-OCC27341 result a ${viewname}
-build3d result
-
-fit
-
-checkprops result -l 0.958458
-checknbshapes result -vertex 54 -edge 27
-
-checkview -screenshot -2d -path ${imagedir}/${test_image}.png
+++ /dev/null
-puts "============"
-puts "OCC27720"
-puts "============"
-puts ""
-######################################################
-# HLRBrep_Algo BSpline missing edges
-######################################################
-
-pload QAcommands
-
-restore [locate_data_file bug27720_BSpline.brep] a
-
-set viewname "left"
-
-top
-clear
-
-OCC27341 result a ${viewname}
-build3d result
-
-fit
-
-checkprops result -l 0.820309
-checknbshapes result -vertex 70 -edge 35
-
-checkview -screenshot -2d -path ${imagedir}/${test_image}.png
+++ /dev/null
-puts "============"
-puts "OCC27720"
-puts "============"
-puts ""
-######################################################
-# HLRBrep_Algo BSpline missing edges
-######################################################
-
-pload QAcommands
-
-restore [locate_data_file bug27720_BSpline.brep] a
-
-set viewname "right"
-
-top
-clear
-
-OCC27341 result a ${viewname}
-build3d result
-
-fit
-
-checkprops result -l 0.841499
-checknbshapes result -vertex 92 -edge 46
-
-checkview -screenshot -2d -path ${imagedir}/${test_image}.png
+++ /dev/null
-puts "========"
-puts "0029956: HLR polygonal algorithm: regression in 7.1 relative to 7.0"
-puts "========"
-puts ""
-
-pload XSDRAW
-testreadstep [locate_data_file example_auto_tooling_01.stp] s
-vinit
-vdisplay s
-vfit
-vhlrtype polyAlgo s
-vhlr on
-
-vdump ${imagedir}/${casename}.png
+++ /dev/null
-puts "========"
-puts "0030243: Regression in HLR PolyAlgo in OCCT 7.1.0"
-puts "========"
-puts ""
-
-pload XSDRAW
-testreadstep [locate_data_file BFC_10000.stp] s
-vinit
-vdisplay s
-vfit
-vhlrtype polyAlgo s
-vhlr on
-
-vdump ${imagedir}/${casename}.png
--- /dev/null
+pload TOPTEST
+pload XDE
+pload VISUALIZATION
+
+if { [info exists imagedir] == 0 } {
+ set imagedir .
+}
+
+set depsilon 1.e-7
+
+proc COMPUTE_HLR {viewname algotype} {
+ uplevel #0 top
+ uplevel #0 clear
+ uplevel #0 vinit
+ uplevel #0 vdisplay a
+ uplevel #0 $viewname
+ uplevel #0 vcomputehlr a result -algoType $algotype
+ uplevel #0 fit
+ if { [string compare $algotype "algo"] == 0 } {
+ uplevel #0 build3d result
+ }
+}
\ No newline at end of file
--- /dev/null
+checkprops result -l ${length} -deps ${depsilon}
+
+checkview -screenshot -2d -path ${imagedir}/${test_image}.png
+
+# to end a test script
+puts "TEST COMPLETED"
--- /dev/null
+puts "====================================="
+puts "OCC27341: Incorrect exact HLR results"
+puts "====================================="
+puts ""
+
+set viewname ""
+set length 6.34984
+
+restore [locate_data_file bug27341_hlrsave.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "====================================="
+puts "OCC27341: Incorrect exact HLR results"
+puts "====================================="
+puts ""
+
+set viewname "vtop"
+set length 8.05281
+
+restore [locate_data_file bug27341_hlrsave.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "====================================="
+puts "OCC27341: Incorrect exact HLR results"
+puts "====================================="
+puts ""
+
+set viewname "vbottom"
+set length 8.40404
+
+restore [locate_data_file bug27341_hlrsave.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "====================================="
+puts "OCC27341: Incorrect exact HLR results"
+puts "====================================="
+puts ""
+
+set viewname "vfront"
+set length 7.39488
+
+restore [locate_data_file bug27341_hlrsave.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "====================================="
+puts "OCC27341: Incorrect exact HLR results"
+puts "====================================="
+puts ""
+
+set viewname "vback"
+set length 9.47163
+
+restore [locate_data_file bug27341_hlrsave.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "====================================="
+puts "OCC27341: Incorrect exact HLR results"
+puts "====================================="
+puts ""
+
+set viewname "vleft"
+set length 7.42565
+
+restore [locate_data_file bug27341_hlrsave.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "====================================="
+puts "OCC27341: Incorrect exact HLR results"
+puts "====================================="
+puts ""
+
+set viewname "vright"
+set length 8.92009
+
+restore [locate_data_file bug27341_hlrsave.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "====================================="
+puts "OCC27341: Incorrect exact HLR results"
+puts "====================================="
+puts ""
+
+set viewname ""
+set length 319.505
+
+restore [locate_data_file bug27341_save.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "====================================="
+puts "OCC27341: Incorrect exact HLR results"
+puts "====================================="
+puts ""
+
+set viewname "vtop"
+set length 291.123
+
+restore [locate_data_file bug27341_save.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "====================================="
+puts "OCC27341: Incorrect exact HLR results"
+puts "====================================="
+puts ""
+
+set viewname "vbottom"
+set length 334.113
+
+restore [locate_data_file bug27341_save.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "====================================="
+puts "OCC27341: Incorrect exact HLR results"
+puts "====================================="
+puts ""
+
+set viewname "vfront"
+set length 361.806
+
+restore [locate_data_file bug27341_save.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "====================================="
+puts "OCC27341: Incorrect exact HLR results"
+puts "====================================="
+puts ""
+
+set viewname "vback"
+set length 430.307
+
+restore [locate_data_file bug27341_save.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "====================================="
+puts "OCC27341: Incorrect exact HLR results"
+puts "====================================="
+puts ""
+
+set viewname "vleft"
+set length 278.789
+
+restore [locate_data_file bug27341_save.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "====================================="
+puts "OCC27341: Incorrect exact HLR results"
+puts "====================================="
+puts ""
+
+set viewname "vright"
+set length 337.54
+
+restore [locate_data_file bug27341_save.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+set viewname "vright"
+set length 1038.62
+
+testreadstep [locate_data_file bug27341_15.3020_16B1_B3=90.stp] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+set viewname "vright"
+set length 778.091
+
+testreadstep [locate_data_file bug27341_Adapter_VDI_MKG_CAD.stp] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+set viewname "vright"
+set length 1095.44
+
+testreadstep [locate_data_file bug27341_Adapter_VLS_CAD.stp] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+set viewname "vright"
+set length 533.738
+
+testreadstep [locate_data_file bug27341_Adapter_Zylinder_2_CAD.stp] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "TODO OCC30286 ALL: Error : The length of result shape is 9589.21, expected 9547.11"
+
+set viewname "vright"
+set length 9547.11
+
+testreadstep [locate_data_file bug27341_Assembly_ABS_1_CAD.stp] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+set viewname "vright"
+set length 5934.34
+
+testreadstep [locate_data_file bug27341_Assembly_BILZ_WFL2_1_CAD.stp] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+set viewname "vright"
+set length 5282.13
+
+testreadstep [locate_data_file bug27341_Assembly_GMS_Kurz_CAD.stp] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+set viewname "vright"
+set length 1794.57
+
+testreadstep [locate_data_file bug27341_CCS_Adapter_CAD.stp] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+set viewname "vright"
+set length 2704.1
+
+testreadstep [locate_data_file bug27341_CCT_PMK_32_L_o_CAD.stp] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "TODO OCC30286 Windows: Error : The length of result shape is 2409.86, expected 2418.08"
+
+set viewname "vright"
+set length 2418.08
+
+testreadstep [locate_data_file bug27341_CDI_Grundhalter_CAD.stp] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+set viewname "vright"
+set length 753.392
+
+testreadstep [locate_data_file bug27341_CKB_Adapter_CAD.stp] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "TODO OCC30286 ALL: Error : The length of result shape is 414.732, expected 443.438"
+
+set viewname "vright"
+set length 443.438
+
+testreadstep [locate_data_file bug27341_211808_PCLNL12K8-15x32.stp] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "TODO OCC30286 ALL: Error : The length of result shape is 1736.91, expected 1704.87"
+
+set viewname "vright"
+set length 1704.87
+
+testreadstep [locate_data_file bug27341_Drehkopf_HSK_Gewinde_R_CAD.stp] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+set viewname "vright"
+set length 949.573
+
+testreadstep [locate_data_file bug27341_Einsatz_BILZ_SEK_BFA_CAD.stp] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+set viewname "vright"
+set length 6601.8
+
+testreadstep [locate_data_file bug27341_HEE_Grundhalter_CAD.stp] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+set viewname "vright"
+set length 813.531
+
+testreadstep [locate_data_file bug27341_KMM_Adapter_CAD.stp] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+set viewname "vright"
+set length 211.007
+
+testreadstep [locate_data_file bug27341_MZX_01_1_CAD.stp] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "TODO OCC30286 ALL: Error : The length of result shape is 6115.27, expected 6040.95"
+
+set viewname "vright"
+set length 6040.95
+
+testreadstep [locate_data_file bug27341_Rundrohrverteiler.stp] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+set viewname "vright"
+set length 521.037
+
+testreadstep [locate_data_file bug27341_SKJ_07_CAD.stp] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+set viewname "vback"
+set length 48596.2
+
+testreadstep [locate_data_file bug27341_conboom.stp] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+set viewname "vright"
+set length 40.3211
+
+testreadstep [locate_data_file bug27341_rhombisch_Form_V_IC_476_L_CAD.stp] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+set viewname "vright"
+set length 1130.88
+
+testreadstep [locate_data_file bug27341_stp_ML_MN5260-18-K.stp] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "TODO OCC30286 Linux: Error : The length of result shape is 3249.9, expected 3234.6"
+
+set viewname "vright"
+set length 3234.6
+
+testreadstep [locate_data_file bug27341_570-DWLNL-40-08-L_131LANG_16VERSATZ_DIN.stp] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "TODO OCC30286 ALL: Error : The length of result shape is 2894.57, expected 2765.47"
+
+set viewname "vright"
+set length 2765.47
+
+testreadstep [locate_data_file bug27341_82-01_Solid_End_Mill_Radius_with_Shrink_Fit_and_extension_HeavyModel.stp] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+set viewname "vright"
+set length 1750.87
+
+testreadstep [locate_data_file bug27341_ABS_Adapter_CAD.stp] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+set viewname "vright"
+set length 2874.5
+
+testreadstep [locate_data_file bug27341_ABS_Grundhalter_CAD.stp] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+set viewname "vright"
+set length 2282.64
+
+testreadstep [locate_data_file bug27341_AIF_Grundhalter_GR1_CAD.stp] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "TODO OCC30286 ALL: Error : The length of result shape is 1170.46, expected 1154.09"
+
+set viewname "vright"
+set length 1154.09
+
+testreadstep [locate_data_file bug27341_AWN_Adapter_CAD.stp] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+set viewname "vright"
+set length 2010.95
+
+testreadstep [locate_data_file bug27341_Adapter_MKG_SWS_CGS_CAD.stp] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "============"
+puts "OCC25908"
+puts "============"
+puts ""
+
+set viewname ""
+set length 1051.33
+
+restore [locate_data_file bug25908_hlr-bspline-clone2-tcl-h1.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "============"
+puts "OCC25908"
+puts "============"
+puts ""
+
+set viewname "vtop"
+set length 385.563
+
+restore [locate_data_file bug25908_hlr-bspline-clone2-tcl-h1.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "============"
+puts "OCC25908"
+puts "============"
+puts ""
+
+set viewname "vbottom"
+set length 193.345
+
+restore [locate_data_file bug25908_hlr-bspline-clone2-tcl-h1.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "============"
+puts "OCC25908"
+puts "============"
+puts ""
+
+set viewname "vfront"
+set length 484.485
+
+restore [locate_data_file bug25908_hlr-bspline-clone2-tcl-h1.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "============"
+puts "OCC25908"
+puts "============"
+puts ""
+
+set viewname "vback"
+set length 544.616
+
+restore [locate_data_file bug25908_hlr-bspline-clone2-tcl-h1.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "============"
+puts "OCC25908"
+puts "============"
+puts ""
+
+set viewname "vleft"
+set length 577.935
+
+restore [locate_data_file bug25908_hlr-bspline-clone2-tcl-h1.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "============"
+puts "OCC25908"
+puts "============"
+puts ""
+
+set viewname "vright"
+set length 554.265
+
+restore [locate_data_file bug25908_hlr-bspline-clone2-tcl-h1.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+polyline f1 0 0 0 0 -10 0 100 -10 0 100 0 0 0 0 0
+polyline f2 100 0 0 110 0 0 110 100 0 100 100 0 100 0 0
+polyline f3 100 100 0 100 110 0 0 110 0 0 100 0 100 100 0
+polyline f4 0 100 0 -10 100 0 -10 0 0 0 0 0 0 100 0
+mkplane f1 f1
+mkplane f2 f2
+mkplane f3 f3
+mkplane f4 f4
+explode f1 e
+explode f2 e
+explode f3 e
+explode f4 e
+point pp 50 50 100
+filling a 4 0 1 f1_4 f1 1 f2_4 f2 1 f3_4 f3 1 f4_4 f4 1 pp 0
+
+set viewname ""
+set length 404.283
+set depsilon 1.e-2
+
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+set algotype "algo"
\ No newline at end of file
--- /dev/null
+puts "==========================================="
+puts "OCC25813: regression in Hidden Line Removal"
+puts "==========================================="
+puts ""
+
+set viewname ""
+set length 204.19
+
+pcylinder cc 10 30
+pcylinder cc2 8 50
+ttranslate cc2 0 0 2
+bfuse a cc cc2
+
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "==========================================="
+puts "OCC25813: regression in Hidden Line Removal"
+puts "==========================================="
+puts ""
+
+set viewname ""
+set length 3053.49
+
+restore [locate_data_file bug25813_hlr-bus1-draw-Fusion001.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "==========================================="
+puts "OCC25813: regression in Hidden Line Removal"
+puts "==========================================="
+puts ""
+
+set viewname ""
+set length 302.685
+
+ptorus a 30 10
+
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "==========================================="
+puts "OCC25813: regression in Hidden Line Removal"
+puts "==========================================="
+puts ""
+
+set viewname ""
+set length 1197.37
+
+restore [locate_data_file bug25813_hlr-test_normandc1m1-draw-Cut001.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "==========================================="
+puts "OCC25813: regression in Hidden Line Removal"
+puts "==========================================="
+puts ""
+
+set viewname ""
+set length 1284.73
+
+restore [locate_data_file bug25813_hlr-fillet2-tcl-f.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "====================================="
+puts "OCC27719: Incorrect exact HLR results"
+puts "====================================="
+puts ""
+
+set viewname ""
+set length 4.04214
+
+restore [locate_data_file bug27719_Extruded.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "====================================="
+puts "OCC27719: Incorrect exact HLR results"
+puts "====================================="
+puts ""
+
+set viewname "vtop"
+set length 5.79737
+
+restore [locate_data_file bug27719_Extruded.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "====================================="
+puts "OCC27719: Incorrect exact HLR results"
+puts "====================================="
+puts ""
+
+set viewname "vbottom"
+set length 6.15279
+
+restore [locate_data_file bug27719_Extruded.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "====================================="
+puts "OCC27719: Incorrect exact HLR results"
+puts "====================================="
+puts ""
+
+set viewname "vfront"
+set length 7.45731
+
+restore [locate_data_file bug27719_Extruded.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "====================================="
+puts "OCC27719: Incorrect exact HLR results"
+puts "====================================="
+puts ""
+
+set viewname "vback"
+set length 7.48768
+
+restore [locate_data_file bug27719_Extruded.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "====================================="
+puts "OCC27719: Incorrect exact HLR results"
+puts "====================================="
+puts ""
+
+set viewname ""
+set length 4.53263
+
+restore [locate_data_file bug27719_Extruded2.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "====================================="
+puts "OCC27719: Incorrect exact HLR results"
+puts "====================================="
+puts ""
+
+set viewname "vtop"
+set length 4.79563
+
+restore [locate_data_file bug27719_Extruded2.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "====================================="
+puts "OCC27719: Incorrect exact HLR results"
+puts "====================================="
+puts ""
+
+set viewname "vbottom"
+set length 4.64864
+
+restore [locate_data_file bug27719_Extruded2.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "====================================="
+puts "OCC27719: Incorrect exact HLR results"
+puts "====================================="
+puts ""
+
+set viewname "vfront"
+set length 5.96312
+
+restore [locate_data_file bug27719_Extruded2.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "====================================="
+puts "OCC27719: Incorrect exact HLR results"
+puts "====================================="
+puts ""
+
+set viewname "vback"
+set length 5.61843
+
+restore [locate_data_file bug27719_Extruded2.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "============================================"
+puts "OCC27720: HLRBrep_Algo BSpline missing edges"
+puts "============================================"
+puts ""
+
+set viewname ""
+set length 0.883462
+
+restore [locate_data_file bug27720_BSpline.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "============================================"
+puts "OCC27720: HLRBrep_Algo BSpline missing edges"
+puts "============================================"
+puts ""
+
+set viewname "vtop"
+set length 0.980943
+
+restore [locate_data_file bug27720_BSpline.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "============================================"
+puts "OCC27720: HLRBrep_Algo BSpline missing edges"
+puts "============================================"
+puts ""
+
+set viewname "vbottom"
+set length 0.958458
+
+restore [locate_data_file bug27720_BSpline.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "============================================"
+puts "OCC27720: HLRBrep_Algo BSpline missing edges"
+puts "============================================"
+puts ""
+
+set viewname "vleft"
+set length 0.81982
+
+restore [locate_data_file bug27720_BSpline.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "============================================"
+puts "OCC27720: HLRBrep_Algo BSpline missing edges"
+puts "============================================"
+puts ""
+
+set viewname "vright"
+set length 0.841234
+
+restore [locate_data_file bug27720_BSpline.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "TODO OCC30286 ALL: Error : The length of result shape is 181.598, expected 3."
+
+puts "========================================================================"
+puts "OCC27979: Parasolid converted BREP shows weird lines on hidden line Algo"
+puts "========================================================================"
+puts ""
+
+set viewname ""
+set length 3.
+
+restore [locate_data_file bug27979_parsed.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "TODO OCC30286 ALL: Error : The length of result shape is 321.825, expected 12."
+
+puts "========================================================================"
+puts "OCC27979: Parasolid converted BREP shows weird lines on hidden line Algo"
+puts "========================================================================"
+puts ""
+
+set viewname "vtop"
+set length 12.
+
+restore [locate_data_file bug27979_parsed.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "TODO OCC30286 ALL: Error : The length of result shape is 312.099, expected 4."
+
+puts "========================================================================"
+puts "OCC27979: Parasolid converted BREP shows weird lines on hidden line Algo"
+puts "========================================================================"
+puts ""
+
+set viewname "vbottom"
+set length 4.
+
+restore [locate_data_file bug27979_parsed.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "TODO OCC30286 ALL: Error : The length of result shape is 30.4915, expected 11."
+
+puts "========================================================================"
+puts "OCC27979: Parasolid converted BREP shows weird lines on hidden line Algo"
+puts "========================================================================"
+puts ""
+
+set viewname "vfront"
+set length 11.
+
+restore [locate_data_file bug27979_parsed.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "TODO OCC30286 ALL: Error : The length of result shape is 746.103, expected 4."
+
+puts "========================================================================"
+puts "OCC27979: Parasolid converted BREP shows weird lines on hidden line Algo"
+puts "========================================================================"
+puts ""
+
+set viewname "vback"
+set length 4.
+
+restore [locate_data_file bug27979_parsed.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "TODO OCC30286 ALL: Error : The length of result shape is 227257, expected 11."
+
+puts "========================================================================"
+puts "OCC27979: Parasolid converted BREP shows weird lines on hidden line Algo"
+puts "========================================================================"
+puts ""
+
+set viewname "vleft"
+set length 11.
+
+restore [locate_data_file bug27979_parsed.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "TODO OCC30286 ALL: Error : The length of result shape is 227122, expected 3."
+
+puts "========================================================================"
+puts "OCC27979: Parasolid converted BREP shows weird lines on hidden line Algo"
+puts "========================================================================"
+puts ""
+
+set viewname "vright"
+set length 3.
+
+restore [locate_data_file bug27979_parsed.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "========"
+puts "0029956: HLR polygonal algorithm: regression in 7.1 relative to 7.0"
+puts "========"
+puts ""
+
+set viewname ""
+set length 4197.49
+
+testreadstep [locate_data_file example_auto_tooling_01.stp] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "========"
+puts "0030243: Regression in HLR PolyAlgo in OCCT 7.1.0"
+puts "========"
+puts ""
+
+set viewname ""
+set length 2695.41
+
+testreadstep [locate_data_file BFC_10000.stp] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "==========================="
+puts "OCC7691: Wrong hidden lines"
+puts "==========================="
+puts ""
+
+set viewname "vtop"
+set length 659.892
+
+# load shape
+restore [locate_data_file OCC7691-bottle.brep] a
+trotate a 0 0 0 1 0 0 -90
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+001 exact_hlr
+002 poly_hlr
\ No newline at end of file
--- /dev/null
+puts "====================================="
+puts "OCC27341: Incorrect exact HLR results"
+puts "====================================="
+puts ""
+
+set viewname ""
+set length 6.30238
+
+restore [locate_data_file bug27341_hlrsave.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "TODO OCC30286 ALL: Error : The length of result shape is 8.06872, expected 8.05281"
+
+puts "====================================="
+puts "OCC27341: Incorrect exact HLR results"
+puts "====================================="
+puts ""
+
+set viewname "vtop"
+set length 8.05281
+
+restore [locate_data_file bug27341_hlrsave.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "====================================="
+puts "OCC27341: Incorrect exact HLR results"
+puts "====================================="
+puts ""
+
+set viewname "vbottom"
+set length 8.39744
+
+restore [locate_data_file bug27341_hlrsave.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "TODO OCC30286 ALL: Error : The length of result shape is 7.44464, expected 7.39488"
+
+puts "====================================="
+puts "OCC27341: Incorrect exact HLR results"
+puts "====================================="
+puts ""
+
+set viewname "vfront"
+set length 7.39488
+
+restore [locate_data_file bug27341_hlrsave.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "TODO OCC30286 ALL: Error : The length of result shape is 9.10542, expected 9.47163"
+
+puts "====================================="
+puts "OCC27341: Incorrect exact HLR results"
+puts "====================================="
+puts ""
+
+set viewname "vback"
+set length 9.47163
+
+restore [locate_data_file bug27341_hlrsave.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "====================================="
+puts "OCC27341: Incorrect exact HLR results"
+puts "====================================="
+puts ""
+
+set viewname "vleft"
+set length 7.64599
+
+restore [locate_data_file bug27341_hlrsave.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "====================================="
+puts "OCC27341: Incorrect exact HLR results"
+puts "====================================="
+puts ""
+
+set viewname "vright"
+set length 9.30381
+
+restore [locate_data_file bug27341_hlrsave.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "====================================="
+puts "OCC27341: Incorrect exact HLR results"
+puts "====================================="
+puts ""
+
+set viewname ""
+set length 318.62
+
+restore [locate_data_file bug27341_save.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "====================================="
+puts "OCC27341: Incorrect exact HLR results"
+puts "====================================="
+puts ""
+
+set viewname "vtop"
+set length 291.004
+
+restore [locate_data_file bug27341_save.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "====================================="
+puts "OCC27341: Incorrect exact HLR results"
+puts "====================================="
+puts ""
+
+set viewname "vbottom"
+set length 333.957
+
+restore [locate_data_file bug27341_save.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "====================================="
+puts "OCC27341: Incorrect exact HLR results"
+puts "====================================="
+puts ""
+
+set viewname "vfront"
+set length 361.581
+
+restore [locate_data_file bug27341_save.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "====================================="
+puts "OCC27341: Incorrect exact HLR results"
+puts "====================================="
+puts ""
+
+set viewname "vback"
+set length 430.037
+
+restore [locate_data_file bug27341_save.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "====================================="
+puts "OCC27341: Incorrect exact HLR results"
+puts "====================================="
+puts ""
+
+set viewname "vleft"
+set length 278.723
+
+restore [locate_data_file bug27341_save.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "====================================="
+puts "OCC27341: Incorrect exact HLR results"
+puts "====================================="
+puts ""
+
+set viewname "vright"
+set length 337.361
+
+restore [locate_data_file bug27341_save.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "TODO OCC30286 Linux: Error : The length of result shape is 1021.54, expected 1021.47"
+
+set viewname "vright"
+set length 1021.47
+
+testreadstep [locate_data_file bug27341_15.3020_16B1_B3=90.stp] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+set viewname "vright"
+set length 792.107
+
+testreadstep [locate_data_file bug27341_Adapter_VDI_MKG_CAD.stp] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+set viewname "vright"
+set length 1096.4
+
+testreadstep [locate_data_file bug27341_Adapter_VLS_CAD.stp] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+set viewname "vright"
+set length 514.884
+
+testreadstep [locate_data_file bug27341_Adapter_Zylinder_2_CAD.stp] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+set viewname "vright"
+set length 9547.11
+
+testreadstep [locate_data_file bug27341_Assembly_ABS_1_CAD.stp] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "TODO OCC30286 ALL: Error : The length of result shape is 5496.05, expected 5934.34"
+
+set viewname "vright"
+set length 5934.34
+
+testreadstep [locate_data_file bug27341_Assembly_BILZ_WFL2_1_CAD.stp] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+set viewname "vright"
+set length 5117.25
+
+testreadstep [locate_data_file bug27341_Assembly_GMS_Kurz_CAD.stp] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+set viewname "vright"
+set length 1664.48
+
+testreadstep [locate_data_file bug27341_CCS_Adapter_CAD.stp] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+set viewname "vright"
+set length 2234.46
+
+testreadstep [locate_data_file bug27341_CCT_PMK_32_L_o_CAD.stp] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "TODO OCC30286 ALL: Error : The length of result shape is 2517, expected 2418.08"
+
+set viewname "vright"
+set length 2418.08
+
+testreadstep [locate_data_file bug27341_CDI_Grundhalter_CAD.stp] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+set viewname "vright"
+set length 784.752
+
+testreadstep [locate_data_file bug27341_CKB_Adapter_CAD.stp] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+set viewname "vright"
+set length 443.438
+
+testreadstep [locate_data_file bug27341_211808_PCLNL12K8-15x32.stp] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+set viewname "vright"
+set length 1704.87
+
+testreadstep [locate_data_file bug27341_Drehkopf_HSK_Gewinde_R_CAD.stp] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+set viewname "vright"
+set length 949.199
+
+testreadstep [locate_data_file bug27341_Einsatz_BILZ_SEK_BFA_CAD.stp] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+set viewname "vright"
+set length 6443.08
+
+testreadstep [locate_data_file bug27341_HEE_Grundhalter_CAD.stp] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+set viewname "vright"
+set length 826.794
+
+testreadstep [locate_data_file bug27341_KMM_Adapter_CAD.stp] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+set viewname "vright"
+set length 217.803
+
+testreadstep [locate_data_file bug27341_MZX_01_1_CAD.stp] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+set viewname "vright"
+set length 6040.95
+
+testreadstep [locate_data_file bug27341_Rundrohrverteiler.stp] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+set viewname "vright"
+set length 532.03
+
+testreadstep [locate_data_file bug27341_SKJ_07_CAD.stp] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+set viewname "vback"
+set length 50818.3
+
+testreadstep [locate_data_file bug27341_conboom.stp] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+set viewname "vright"
+set length 39.6744
+
+testreadstep [locate_data_file bug27341_rhombisch_Form_V_IC_476_L_CAD.stp] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+set viewname "vright"
+set length 1126.41
+
+testreadstep [locate_data_file bug27341_stp_ML_MN5260-18-K.stp] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+set viewname "vright"
+set length 3060.33
+
+testreadstep [locate_data_file bug27341_570-DWLNL-40-08-L_131LANG_16VERSATZ_DIN.stp] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "TODO OCC30286 ALL: Error : The length of result shape is 2707.46, expected 2765.47"
+
+set viewname "vright"
+set length 2765.47
+
+testreadstep [locate_data_file bug27341_82-01_Solid_End_Mill_Radius_with_Shrink_Fit_and_extension_HeavyModel.stp] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+set viewname "vright"
+set length 1721.69
+
+testreadstep [locate_data_file bug27341_ABS_Adapter_CAD.stp] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+set viewname "vright"
+set length 2832.69
+
+testreadstep [locate_data_file bug27341_ABS_Grundhalter_CAD.stp] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+set viewname "vright"
+set length 2257
+
+testreadstep [locate_data_file bug27341_AIF_Grundhalter_GR1_CAD.stp] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+set viewname "vright"
+set length 1154.09
+
+testreadstep [locate_data_file bug27341_AWN_Adapter_CAD.stp] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "TODO OCC30286 Linux: Error : The length of result shape is 2025.74, expected 2026.13"
+
+set viewname "vright"
+set length 2026.13
+
+testreadstep [locate_data_file bug27341_Adapter_MKG_SWS_CGS_CAD.stp] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "============"
+puts "OCC25908"
+puts "============"
+puts ""
+
+set viewname ""
+set length 1032.95
+
+restore [locate_data_file bug25908_hlr-bspline-clone2-tcl-h1.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "============"
+puts "OCC25908"
+puts "============"
+puts ""
+
+set viewname "vtop"
+set length 402.413
+
+restore [locate_data_file bug25908_hlr-bspline-clone2-tcl-h1.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "============"
+puts "OCC25908"
+puts "============"
+puts ""
+
+set viewname "vbottom"
+set length 210.378
+
+restore [locate_data_file bug25908_hlr-bspline-clone2-tcl-h1.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "============"
+puts "OCC25908"
+puts "============"
+puts ""
+
+set viewname "vfront"
+set length 453.641
+
+restore [locate_data_file bug25908_hlr-bspline-clone2-tcl-h1.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "============"
+puts "OCC25908"
+puts "============"
+puts ""
+
+set viewname "vback"
+set length 475.129
+
+restore [locate_data_file bug25908_hlr-bspline-clone2-tcl-h1.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "============"
+puts "OCC25908"
+puts "============"
+puts ""
+
+set viewname "vleft"
+set length 548.613
+
+restore [locate_data_file bug25908_hlr-bspline-clone2-tcl-h1.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "============"
+puts "OCC25908"
+puts "============"
+puts ""
+
+set viewname "vright"
+set length 468.174
+
+restore [locate_data_file bug25908_hlr-bspline-clone2-tcl-h1.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "TODO OCC30286 Windows: Error : The length of result shape is 404.004, expected 404.386"
+
+polyline f1 0 0 0 0 -10 0 100 -10 0 100 0 0 0 0 0
+polyline f2 100 0 0 110 0 0 110 100 0 100 100 0 100 0 0
+polyline f3 100 100 0 100 110 0 0 110 0 0 100 0 100 100 0
+polyline f4 0 100 0 -10 100 0 -10 0 0 0 0 0 0 100 0
+mkplane f1 f1
+mkplane f2 f2
+mkplane f3 f3
+mkplane f4 f4
+explode f1 e
+explode f2 e
+explode f3 e
+explode f4 e
+point pp 50 50 100
+filling a 4 0 1 f1_4 f1 1 f2_4 f2 1 f3_4 f3 1 f4_4 f4 1 pp 0
+
+set viewname ""
+set length 404.386
+
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+set algotype "polyAlgo"
\ No newline at end of file
--- /dev/null
+puts "============"
+puts "OCC23625"
+puts "============"
+puts ""
+
+set viewname "vfront"
+set length 28094.3
+
+restore [locate_data_file bug23625_a1.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "============"
+puts "OCC23625"
+puts "============"
+puts ""
+
+set viewname "vfront"
+set length 28988.5
+
+restore [locate_data_file bug23625_a2.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "============"
+puts "OCC23625"
+puts "============"
+puts ""
+
+set viewname "vtop"
+set length 19620.9
+
+restore [locate_data_file bug23625_a3.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "============"
+puts "OCC23625"
+puts "============"
+puts ""
+
+set viewname "vright"
+set length 39816.2
+
+restore [locate_data_file bug23625_a4.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "============"
+puts "OCC23625"
+puts "============"
+puts ""
+
+set viewname "vtop"
+set length 27444.6
+
+restore [locate_data_file bug23625_a4.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "==========================================="
+puts "OCC25813: regression in Hidden Line Removal"
+puts "==========================================="
+puts ""
+
+set viewname ""
+set length 204.02
+
+pcylinder cc 10 30
+pcylinder cc2 8 50
+ttranslate cc2 0 0 2
+bfuse a cc cc2
+
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "TODO OCC30286 Linux: Error : The length of result shape is 3025.48, expected 3025.49"
+
+puts "==========================================="
+puts "OCC25813: regression in Hidden Line Removal"
+puts "==========================================="
+puts ""
+
+set viewname ""
+set length 3025.49
+
+restore [locate_data_file bug25813_hlr-bus1-draw-Fusion001.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "TODO OCC30286 Linux: Error : The length of result shape is 302.441, expected 301.998"
+
+puts "==========================================="
+puts "OCC25813: regression in Hidden Line Removal"
+puts "==========================================="
+puts ""
+
+set viewname ""
+set length 301.998
+
+ptorus a 30 10
+
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "==========================================="
+puts "OCC25813: regression in Hidden Line Removal"
+puts "==========================================="
+puts ""
+
+set viewname ""
+set length 1196.29
+
+restore [locate_data_file bug25813_hlr-test_normandc1m1-draw-Cut001.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "==========================================="
+puts "OCC25813: regression in Hidden Line Removal"
+puts "==========================================="
+puts ""
+
+set viewname ""
+set length 1271.98
+
+restore [locate_data_file bug25813_hlr-fillet2-tcl-f.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "====================================="
+puts "OCC27719: Incorrect exact HLR results"
+puts "====================================="
+puts ""
+
+set viewname ""
+set length 4.0416
+
+restore [locate_data_file bug27719_Extruded.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "====================================="
+puts "OCC27719: Incorrect exact HLR results"
+puts "====================================="
+puts ""
+
+set viewname "vtop"
+set length 5.7955
+
+restore [locate_data_file bug27719_Extruded.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "====================================="
+puts "OCC27719: Incorrect exact HLR results"
+puts "====================================="
+puts ""
+
+set viewname "vbottom"
+set length 6.14978
+
+restore [locate_data_file bug27719_Extruded.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "====================================="
+puts "OCC27719: Incorrect exact HLR results"
+puts "====================================="
+puts ""
+
+set viewname "vfront"
+set length 7.4551
+
+restore [locate_data_file bug27719_Extruded.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "====================================="
+puts "OCC27719: Incorrect exact HLR results"
+puts "====================================="
+puts ""
+
+set viewname "vback"
+set length 7.48367
+
+restore [locate_data_file bug27719_Extruded.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "====================================="
+puts "OCC27719: Incorrect exact HLR results"
+puts "====================================="
+puts ""
+
+set viewname ""
+set length 4.52975
+
+restore [locate_data_file bug27719_Extruded2.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "====================================="
+puts "OCC27719: Incorrect exact HLR results"
+puts "====================================="
+puts ""
+
+set viewname "vtop"
+set length 4.78946
+
+restore [locate_data_file bug27719_Extruded2.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "====================================="
+puts "OCC27719: Incorrect exact HLR results"
+puts "====================================="
+puts ""
+
+set viewname "vbottom"
+set length 4.64744
+
+restore [locate_data_file bug27719_Extruded2.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "====================================="
+puts "OCC27719: Incorrect exact HLR results"
+puts "====================================="
+puts ""
+
+set viewname "vfront"
+set length 5.95411
+
+restore [locate_data_file bug27719_Extruded2.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "====================================="
+puts "OCC27719: Incorrect exact HLR results"
+puts "====================================="
+puts ""
+
+set viewname "vback"
+set length 5.61937
+
+restore [locate_data_file bug27719_Extruded2.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "============================================"
+puts "OCC27720: HLRBrep_Algo BSpline missing edges"
+puts "============================================"
+puts ""
+
+set viewname ""
+set length 0.880713
+
+restore [locate_data_file bug27720_BSpline.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "============================================"
+puts "OCC27720: HLRBrep_Algo BSpline missing edges"
+puts "============================================"
+puts ""
+
+set viewname "vtop"
+set length 0.980432
+
+restore [locate_data_file bug27720_BSpline.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "============================================"
+puts "OCC27720: HLRBrep_Algo BSpline missing edges"
+puts "============================================"
+puts ""
+
+set viewname "vbottom"
+set length 0.958275
+
+restore [locate_data_file bug27720_BSpline.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "TODO OCC30286 ALL: Error : The length of result shape is 0.798972, expected 0.81982"
+
+puts "============================================"
+puts "OCC27720: HLRBrep_Algo BSpline missing edges"
+puts "============================================"
+puts ""
+
+set viewname "vleft"
+set length 0.81982
+
+restore [locate_data_file bug27720_BSpline.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "TODO OCC30286 ALL: Error : The length of result shape is 0.836937, expected 0.841234"
+
+puts "============================================"
+puts "OCC27720: HLRBrep_Algo BSpline missing edges"
+puts "============================================"
+puts ""
+
+set viewname "vright"
+set length 0.841234
+
+restore [locate_data_file bug27720_BSpline.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "TODO OCC30286 ALL: Error : The length of result shape is 3.5348, expected 3."
+
+puts "========================================================================"
+puts "OCC27979: Parasolid converted BREP shows weird lines on hidden line Algo"
+puts "========================================================================"
+puts ""
+
+set viewname ""
+set length 3.
+
+restore [locate_data_file bug27979_parsed.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "TODO OCC30286 ALL: Error : The length of result shape is 12.4882, expected 12."
+
+puts "========================================================================"
+puts "OCC27979: Parasolid converted BREP shows weird lines on hidden line Algo"
+puts "========================================================================"
+puts ""
+
+set viewname "vtop"
+set length 12.
+
+restore [locate_data_file bug27979_parsed.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "TODO OCC30286 ALL: Error : The length of result shape is 4.6692, expected 4."
+
+puts "========================================================================"
+puts "OCC27979: Parasolid converted BREP shows weird lines on hidden line Algo"
+puts "========================================================================"
+puts ""
+
+set viewname "vbottom"
+set length 4.
+
+restore [locate_data_file bug27979_parsed.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "TODO OCC30286 ALL: Error : The length of result shape is 11.4456, expected 11."
+
+puts "========================================================================"
+puts "OCC27979: Parasolid converted BREP shows weird lines on hidden line Algo"
+puts "========================================================================"
+puts ""
+
+set viewname "vfront"
+set length 11.
+
+restore [locate_data_file bug27979_parsed.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "TODO OCC30286 ALL: Error : The length of result shape is 4.15911, expected 4."
+
+puts "========================================================================"
+puts "OCC27979: Parasolid converted BREP shows weird lines on hidden line Algo"
+puts "========================================================================"
+puts ""
+
+set viewname "vback"
+set length 4.
+
+restore [locate_data_file bug27979_parsed.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "TODO OCC30286 ALL: Error : The length of result shape is 11.2106, expected 11."
+
+puts "========================================================================"
+puts "OCC27979: Parasolid converted BREP shows weird lines on hidden line Algo"
+puts "========================================================================"
+puts ""
+
+set viewname "vleft"
+set length 11.
+
+restore [locate_data_file bug27979_parsed.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "TODO OCC30286 ALL: Error : The length of result shape is 3.2349, expected 3."
+
+puts "========================================================================"
+puts "OCC27979: Parasolid converted BREP shows weird lines on hidden line Algo"
+puts "========================================================================"
+puts ""
+
+set viewname "vright"
+set length 3.
+
+restore [locate_data_file bug27979_parsed.brep] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "========"
+puts "0029956: HLR polygonal algorithm: regression in 7.1 relative to 7.0"
+puts "========"
+puts ""
+
+set viewname ""
+set length 4196.7
+
+testreadstep [locate_data_file example_auto_tooling_01.stp] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "========"
+puts "0030243: Regression in HLR PolyAlgo in OCCT 7.1.0"
+puts "========"
+puts ""
+
+set viewname ""
+set length 2693.34
+
+testreadstep [locate_data_file BFC_10000.stp] a
+COMPUTE_HLR $viewname $algotype
--- /dev/null
+puts "==========================="
+puts "OCC7691: Wrong hidden lines"
+puts "==========================="
+puts ""
+
+set viewname "vtop"
+set length 611.18
+
+# load shape
+restore [locate_data_file OCC7691-bottle.brep] a
+trotate a 0 0 0 1 0 0 -90
+COMPUTE_HLR $viewname $algotype