Hidden Line Removal // Comparative Study

1y ago
24 Views
3 Downloads
2.29 MB
17 Pages
Last View : 1d ago
Last Download : 3m ago
Upload by : Oscar Steel
Transcription

Hidden Line Removal // Comparative Study This document summarizes the results of a comparative study performed for the HLR algorithm in different software packages, including: - SOLIDWORKS 2021 SP0. Autodesk Fusion 360. Rhinoceros 7. Creo Parametric 7.0.3. Kompas-3D 18.1 Home. OCCT (ver. 7.4.0). FreeCAD was also tested, but, since it uses the OCCT HLR without any improvements, this software was excluded from the results table (all measures for OCCT apply to FreeCAD as well). This study was aimed at answering the following questions: 1. How well does OCCT HLR perform compared to the industrially proven commercial solutions? 2. Is OCCT HLR viable for running on CAD assemblies of moderate size (hundreds of components)? 3. What are the critical issues with OCCT HLR? Only the “precise” HLR algorithm is studied as that’s a standard way of generating engineering drawings. The result of the precise algorithm can be exported to DXF with curved primitives, such as circle arcs and splines. Methodology All CAD systems provide drawing generation as the standard functionality. It is not easy to separate the core algorithm’s contribution from UI overheads when it comes to the overall timing. A typical scenario for the end user consists of the following stages: 1. 2. 3. 4. Load a CAD part/assembly of interest. Start a new drawing either from a blank sheet or from a template. Manually add the projection views of a part/assembly to the drawing sheet. Finalize drawing by adding bills of material, dimensions, annotations, balloons, tables, etc.

Within the UI workflow of SOLIDWORKS, Rhino, Fusion360, etc. we can only approximately measure the wall time of stage 3 from the above sequence. For the OCCT core, in contrast, we can have the precise algorithm’s execution time. However, as the testing results prove, all possibly missing UI overheads (if any) do not contribute to the conclusions of this study. Case study All tests were done on a desktop machine having the following configuration: OS Name: Microsoft Windows 10 Pro, x64 Processor: Intel(R) Core(TM) i9-10900 CPU @ 2.80GHz, 10 Core(s), 20 Logical Processor(s) Installed Physical Memory (RAM): 32.0 GB The following table summarizes the results of HLR testing on the selected set of models. To read this table, bear in mind the following designations: - “Very fast” indication means that the corresponding time measure was not conducted as the drawing was generated without any significant performance overhead. That essentially means that the user did not wait for more than 1-2 seconds, and the overall drawing generation process did not appear laggy. - For OCCT, the second measure in the table cell corresponds to the branch CR28991 that contains a bunch of performance improvements done by ISN (rebased with slight modifications to OCCT 7.4.0). - “Num items” is the number of leaves in the scene tree of a CAD assembly. Model File size Num. items OCCT SOLIDWORKS Fusion 360 Rhino 7 Creo Kompas LEGO Technic Fire Plane (42040).stp 28MiB 568 3 min 25 sec Very fast 13-16 sec 40 sec Very fast 6 sec N/A (Failed to load/show the assembly) 30 sec 60 sec Very fast 8 sec N/A (Failed to load/show the assembly) 33 sec 1 min 40 sec Very fast 14-17 sec 2 min 11 sec (CR28991) LEGO Technic Chevrolet Corvette ZR1 (42093).stp 40MiB LEGO Technic Airport Rescue Vehicle (42068).stp 69.8Mi B 582 3 min 53 sec 2 min 50 sec (CR28991) 1095 15 min 10 sec 12 min 21 sec (CR28991)

Ass1.stp 28 MiB 124 18 sec Very fast 3 sec 10 sec Very fast 2 sec 16 sec (CR28991) Quality All commercial software packages generate drawings of decent quality with a possible exception for Rhino (though, it might require more careful testing with various settings, which is not quite the aim of this study). For visual checking of drawing’s quality, the HLR representation generated by OCCT’s closest competitor, C3D, was chosen. The drawing generated by Kompas-3D (LEGO Technic - Airport Rescue Vehicle (42068).stp in its Front view), viewed is the DXF file generated by Kompas-3D and opened in Autodesk TrueView. The projection is precise as inspection in Autodesk TrueView reveals.

The circle primitives in the front projection by Kompas-3D. The OCCT HLR was unable to produce many projection views for the “LEGO Technic” models, especially when standard orthogonal projection directions (Front, Back, etc.) were used. Ass1.stp drawing generated by Kompas-3D, then exported to DXF and visualized in Autodesk TrueView.

Ass1.stp drawing generated by OCCT, then exported to DXF and visualized in Autodesk TrueView. The quality of results is comparable. Both kernels export precise geometric primitives, no lines are lost. For OCCT, small redundant lines are generated. Accuracy issue with Ass1.stp and OCCT HLR.

HLR artifacts in OpenCascade (LEGO Technic - Fire Plane (42040).stp). Notes and conclusions Fusion 360 previews a low-quality raster image that can be scaled up and down by the user. The user can adjust all key settings of his drawing before the model undergoes any actual HLR processing, so the process becomes laggy only at the final stage of rendering. This makes UX quite smooth. The quality of HLR is superb (no missing or redundant lines). Different options for extracting smooth edges are available (“full length, shortened, off”). The computations seem to be single-threaded. Rhino 7 demonstrates the worst results among the tested commercial packages. Although with the default settings it manages to produce a drawing in 1-2 minutes, the quality of the result is low. Also, adding hidden edges to the settings leads to a much longer execution time, and in the end, Rhino sometimes crashes without generating any result. Drawing generation in PTC Creo looks super-fast. The HLR mode working there looks precise as the DXF files exported from Creo are full of continuous curves (as can be seen in tools like Autodesk TrueView). According to the information on the Internet (e.g., see here: /Fast-HLR-for-drawings/idi-p/455968), fast HLR is a highly demanded issue for the PTC users working with large assemblies.

Kompas-3D demonstrates very good performance and quality of drawings. The performance is even better than in Fusion 360, and that is likely thanks to the parallel computations of planar projections (http://isicad.ru/ru/articles.php?article num 19238). OCCT demonstrates poor performance compared to other solutions. At the same time, OCCT is capable of generating drawings in some cases when SOLIDWORKS fails to load a model. However, this later advantage is more related to the quality of the STEP translator in SW and has nothing to do with the HLR algorithm itself. Another issue with OCCT is memory consumption. The peak memory allocated by the HLR algorithm for the model “LEGO Technic Airport Rescue Vehicle (42068).stp” (moderate-size CAD assembly) exceeds 15GiB. That makes the algorithm impractical for desktop machines having less than 32GiB RAM installed (even on such machines, an application has good chances to fall into using swap memory). The performance improvements available in the branch CR28991 allow winning a couple of seconds for the big models. However, these improvements are not enough for OCCT to play competitively against any of the commercial software packages tested in this study. The OCCT-based FreeCAD does not perform any better than OCCT itself in terms of performance and memory overheads. Moreover, it seems to pose significant extra overhead in the TechDraw workbench, so the final drawing is very slow to compute (many minutes which is several times worse than the “worst-in-class” result by Rhino 7). The best low-price implementation of the HLR algorithm is surprisingly Kompas-3D with its C3D kernel. Screenshots This section contains a bunch of random screenshots taken in the software during evaluation.

HLR settings in Rhino 7. HLR in OpenCascade (LEGO Technic - Fire Plane (42040).stp).

HLR in OpenCascade (LEGO Technic - Chevrolet Corvette ZR1 (42093).stp). HLR in OpenCascade (LEGO Technic - Airport Rescue Vehicle (42068).stp).

HLR in SOLIDWORKS (LEGO Technic - Fire Plane (42040).stp). HLR in Fusion 360 (LEGO Technic - Fire Plane (42040).stp).

HLR in Creo Parametric 7.0.3 (LEGO Technic - Fire Plane (42040).stp). HLR in Creo Parametric 7.0.3 (LEGO Technic - Chevrolet Corvette ZR1 (42093).stp).

DXF export options in Creo Parametric (splines are available). Curved entities in Autodesk TrueView for the DXF exported from Creo.

HLR in Fusion 360 (LEGO Technic - Chevrolet Corvette ZR1 (42093).stp). HLR in Rhino 7 (LEGO Technic - Fire Plane (42040).stp).

HLR in Kompas-3D (LEGO Technic - Fire Plane (42040).stp). HLR with smooth lines in Kompas-3D (LEGO Technic - Airport Rescue Vehicle (42068).stp)

HLR in Rhino 7 (LEGO Technic - Airport Rescue Vehicle (42068).stp). Conclusions As the conducted testing reveals, OCCT HLR has problems with performance and reliability on the assembly models of moderate sizes. The accuracy of the algorithm is less of a problem, although some improvements can be made for that as well (if the algorithm converges, the quality of the result is generally not so bad). Accuracy (ok, but can be improved in some cases) Performance/Memory (terrible) Robustness (not awful) The improvements done in the scope of CR28891 do not bring the performance of HLR to a new level. It is necessary to analyze carefully the hotspots of the algorithm, and for that, the structure of the algorithm, its principle, and main components should be documented.

Hotspots in OCCT HLR for one of the sample models. History 2021-02-02 Sergey Slyadnev From scratch. - - Selected test files. - - Tested trial versions of different CAD software, performed time measures. - - Checked hotspots in OCCT HLR using Amplifier. - - Made a dirty rebase of CR28991 from OCCT 7.2.0 to OCCT 7.4.0 to check out the possible improvements in HLR performance.

2021-02-27 - Added tests with Creo Parametric and Autodesk TrueView. - - Added tests with Kompas-3D, checked FreeCAD.

OCCT SOLIDWORKS Fusion 360 Rhino 7 Creo Kompas LEGO Technic - Fire Plane (42040).stp 28MiB 568 3 min 25 sec 2 min 11 sec (CR28991) Very fast 13-16 sec 40 sec Very fast 6 sec LEGO Technic - Chevrolet Corvette ZR1 (42093).stp 40MiB 582 3 min 53 sec 2 min 50 sec (CR28991) N/A (Failed to load/show the assembly) 30 sec 60 sec Very fast

Related Documents:

Hidden Reward 6: Being Trustworthy 127 Hidden Reward 7: Being of Value 133 Hidden Reward 8: Learning to Self-Soothe and Regulate Our Emotions 137 Hidden Reward 9: Better Self-Esteem and a More Positive Self-Concept 145 Hidden Reward 10: Integrity 155 Hidden Reward 11: Intimacy: “I to Thou” Connections 1

3. Collect the necessary equipment for removal of a central line. 4. Describe the actions to be taken for removal of a central line. 5. State six potential complications of central line removal. 6. Demonstrate removal of a central line according to the po

AMD Rome CPU based yx5x servers Hot insertion Orderly removal Surprise removal Hot insertion Orderly removal Surprise removal Orderly removal Surprise removal Note: Linux upstream kernel v

5 What Are Lines And Stanzas? Line A line is pretty self-explanatory. Line A line of a poem is when it jumps Line To a new, well, line, Line Like this! Line Sometimes a line is a complete sentence. Line But it doesn’t Line Have to be! Line A stanza is kind of like a paragraph. Line Stanzas are made up of lines. Line This “stanza” has five lines.

1.1 Definition, Meaning, Nature and Scope of Comparative Politics 1.2 Development of Comparative Politics 1.3 Comparative Politics and Comparative Government 1.4 Summary 1.5 Key-Words 1.6 Review Questions 1.7 Further Readings Objectives After studying this unit students will be able to: Explain the definition of Comparative Politics.

spark plug removal 14.52 [.572] spark plug boot removal 10.09 [.397] spark plug boot fuel filter fuel pump 35.31 [1.390] spark plug removal 142.89 [5.626] 92.10 [3.626] 20 mounting hole "a" cl 130.00 [5.118] air filter cover assembly removal 72.81 [2.867] spark plug removal 52.02 [2.048] spark plug boot removal

use a "freehand lettering guide" draw, and complete an appropriate title block 2)-recognize and draw the standard line types (visible line, hidden line, centre line, dimension line, extension line, section line, cutting plane line, break line, phantom line) select an appropriate lead hardness

The hidden truth about homelessness. Key Findings. This study explored, in detail, the experiences and circumstances of single homeless people. It found that the majority are ‘hidden’, staying in squats, sofa surfing, or sleeping rough and with no statutory entitlement to housing. In total, 62 per cent of respondents were hidden