Software:Open Cascade Technology

From HandWiki
Short description: Open-source 3D modelling software
Open Cascade Technology
Occtecht01sm wiki.jpg
Opencascadedemo.jpg
OpenCASCADE Screenshot
Developer(s)Open Cascade S.A.S.U.
Initial release1999; 25 years ago (1999)
Written inC++
Operating systemLinux, FreeBSD, Mac OS X, Windows, Android, iOS and WebAssembly
TypeCAD, CAM, CAE
LicenseLGPL-2.1-only[1] with exception[2]
Websitehttps://dev.opencascade.org

Open Cascade Technology (OCCT), formerly called CAS.CADE, is an open-source software development platform for 3D CAD, CAM, CAE, etc. that is developed and supported by Open Cascade SAS company.

OCCT is a full-scale B-Rep (Boundary representation) modeling toolkit. OCCT is available under the LGPL-2.1-only license permitting its usage in open source and proprietary applications.

History

CAS.CADE (abbreviated from Computer Aided Software for Computer Aided Design and Engineering) was originally developed in the early 1990s by Matra Datavision, developer of Euclid CAD software as the underlying infrastructure for its future version Euclid Quantum. In 1998 the company abandoned software development to concentrate on services, and most of the software development facilities were sold[3] to Dassault Systèmes, developer of competing CATIA.

Product name Release date Latest Update Version Latest Update Date Highlights
Open CASCADE Technology 7.6 2021-11-03 7.6.2 2022-04-29
  • Added progress indication / abortion to Boolean operations and offset algorithm.
  • Added support of kinematics entities to STEP reader.
  • Introduced interface for partial OCAF document reading.
Open CASCADE Technology 7.5 2020-11-05 7.5.3 2021-08-06
  • Real-time Physically based rendering (PBR) renderer using Metallic-Roughness material model.
  • WebAssembly target platform support (including WebGL viewer).
  • UNICODE support in STEP reader/writer.
Open CASCADE Technology 7.4 2019-10-01 N/A N/A
  • Improved BRepMesh performance, robustness and accuracy.
  • Improved robustness and stability of Boolean operations and Extrema.
  • Improved performance of built-in parallelization tools (OSD_Parallel).
  • Added glTF 2.0 and OBJ readers.
  • Added AIS_ViewController mapping user input to 3D viewer camera manipulations.
  • Added support of 3/4 and box clipping configurations to 3D viewer.
  • Added fast HLR-alike OpenGL rendering mode.
  • Removed legacy Local Context functionality from AIS and legacy Boolean operations.
Open CASCADE Technology 7.3 2018-05-29 N/A N/A
  • Added algorithm constructing OBB (oriented bounding box).
  • Optimized surface intersection, shape offset and Boolean operation algorithms.
  • Added distance and size culling rendering features.
  • Added support of UNICODE filenames with MinGW-w64.
Open CASCADE Technology 7.2 2017-08-31 N/A N/A
  • Added support of OCAF binary files larger than 2 GiB.
  • Added "Glue"[4] option to Boolean algorithms.
  • Added support of annotations, saved views and clipping planes to STEP and XDE.
  • Added Weighted OIT (Order-independent transparency) rendering feature.
  • Path Tracing engine improvements.
Open CASCADE Technology 7.1 2016-11-25 N/A N/A
  • OCAF persistence without dynamically loaded plugins.
  • Improved STEP AP242 support, including PMI, dimensions and annotations.
  • Improved rendering performance of Wireframe AIS_Shape presentation.
  • Added AIS_Manipulator for interactive object transformations in 3D viewer.
  • TKOpenGl now uses GLSL programs by default.
Open CASCADE Technology 7.0 2016-04-05 N/A N/A
  • WOK (Workshop Organization Kit) has been replaced by CMake building scripts.
  • CDL files have been replaced by pre-generated C++ headers.
Open CASCADE Technology 6.9 2015-05-12 6.9.1 2015-09-28
  • Introduced "Fuzzy"[5] Boolean operations with specified global tolerance.
  • Introduced built-in multi-threading parallelization tools as alternative to TBB library.
  • Improved robustness of surface-surface intersection and curve on surface projection.
  • Improved performance of p-curve reconstruction within STEP import.
  • Improved compatibility with OpenGL ES 2.0.
Open CASCADE Technology 6.8 2014-11-10 N/A N/A
  • Added support of UNICODE (UTF-8) filenames.
  • Added STL-compatible iterators to NCollection classes.
  • "Handle" smart-pointer now uses NULL pointer instead of a special value 0xfefd0000.
  • Added Bounding volume hierarchy (BVH) algorithms and structures.
  • Introduced multi-threaded version of Boolean operation algorithm.
  • Introduced limited OpenGL ES 2.0 support in 3D viewer.
  • Added VIS / TKIVtk component[6] providing a B-Rep shape presentation builder for VTK viewer.
  • Added support of stereoscopic displays[7] within 3D viewer.
  • Added frustum culling feature improving rendering performance.
  • Ray-Tracing engine has been switched from OpenCL to GLSL implementation.
Open CASCADE Technology 6.7 2013-12-18 6.7.1 2014-04-30
  • License has been changed to LGPL-2.1-only with additional exception.[2]
  • Built-in GPU-accelerated Ray-Tracing rendering engine[8] using OpenCL.
Open CASCADE Technology 6.6 2013-04-22 N/A N/A
Open CASCADE Technology 6.5 2011-04-04 6.5.5 2013-03-29
Open CASCADE Technology 6.4 2010-09-30 N/A N/A
  • Added multi-threaded mode to BRepMesh algorithm (introduced optional TBB library support).
  • Improved rendering performance by using Vertex buffer object (VBO).
  • TKOpenGl implementation converted from C to C++ classes.
  • Improved text rendering with help of FTGL and FreeType libraries.
  • Improved algorithms for line-line, line-plane and plane-plane intersection.
Open CASCADE Technology 6.3 2008-09-03 6.3.1 2009-06-19
Open CASCADE Technology 6.2 ? 6.2.1 2007-12-06
Open CASCADE Technology 6.1 2006-03-24 6.1.1 2006-10-16
Open CASCADE Technology 5.2 ? 5.2.4 2005-07-29
Open CASCADE Technology 5.1 ? 5.1.3 2004-04-23 "Open CASCADE" has been renamed to "Open CASCADE Technology".
Open CASCADE 4.0 2001-12-11 N/A N/A
Open CASCADE 3.0 2000-04-24 N/A N/A
Open CASCADE 2.0 ? N/A N/A
Open CASCADE 1.0 1999 N/A N/A

Open sourcing

In 1999 Matra Datavision decided to publish its CAS.CADE infrastructure under an open-source model under the Open CASCADE Technology Public License[9] and renamed it Open Cascade.[10]

In 2000, a separate company, Open Cascade SAS, was created to make business around Open Cascade.[11] Open Cascade SAS was sold in 2003 to Principia, a French service provider corporation, and then in 2006 it was acquired by Euriware Group, a subsidiary of Areva.

In 2004, software was renamed to Open Cascade Technology in order to distinguish it from the name of the company itself.

Open Cascade S.A.S. provides a certified version of the library, which is released sporadically, usually 1–2 releases per year.[12] Until version 6.5.0 (2011), only minor and major versions were publicly available, while intermediate (maintenance) releases were accessible only to customers of Open Cascade S.A.S. For example, version 6.3.0 was publicly released in 2008, and the next public version 6.5.0 was released in early 2011. All recent releases starting from version 6.5.0 are public.[13]

Community fork

In March 2011, Thomas Paviot initiated a fork of the then most recent publicly available version 6.5.0 of Open Cascade library. The initiative is called Open Cascade Community Edition. The project aims to establish a separate community-based release and bug-report process for the library.[14]

Collaborative development portal

In December 2011, Open Cascade installed a web portal for external contributors[15] and made its Mantis Bug Tracker[16] and further Git repository[17] publicly available (read-only GitHub mirror[18] has been established in '2020). According to the statements on the new website, external contributors from the Open Source Community are encouraged to participate in the development of Open Cascade Technology, i.e. register bugs directly in the bugtracker, make contributions to the code after signing a Contributor License Agreement,[19] etc.

License change

Since 18 December 2013 with version 6.7.0 Open Cascade Technology is available under the LGPL-2.1-only with additional exception.[2][20] Versions before that were licensed under the "Open Cascade Technology Public License" which was not compatible with the GPL[21] and was considered non-free by the Fedora project.[22]

Functionality

Object libraries

OCCT's functionality is split into several large modules. Each module defines a list of toolkits (libraries). Key Modules:

  • Foundation Classes: defines basic classes, memory allocators, OS abstraction layer, collections (data maps, arrays, etc.), acceleration data structures (BVH Trees) and vector/matrix math used by other Modules.
  • Modeling Data: supplies data structures to represent 2D and 3D geometric primitives (analytical curves: Line, Circle, Ellipse, Hyperbola, Parabola, Bézier, B-spline, Offset; analytical surfaces: Plane, Cylinder, Cone, Sphere, Torus, Bézier, B-spline, Revolution, Extrusion, Offset) and their compositions into B-Rep models.
  • Modeling Algorithms: contains a vast range of geometrical and topological algorithms (intersection, Boolean operations, surface meshing, fillets, shape healing).
  • Visualization (rendering): provides interactive services for displaying geometry in 3D Viewer; implements a compact OpenGL / OpenGL ES renderer, supporting conventional Phong, real-time PBR metal-roughness shading models as well as interactive Ray-Tracing/Path-Tracing engine.
  • Data Exchange: provides possibility to import/export various CAD formats.
    STEP, IGES, glTF, OBJ, STL and VRML are supported natively.[23] Other formats can be imported by using plug-ins.[24] Extended Data Exchange (XDE) components rely on a unified XCAF document definition, which includes an assembly structure of CAD shapes, color/name/material/metadata/layer attributes as well as other supplementary information like PMI.
  • Application Framework: offers solutions[buzzword] for handling application-specific data.
  • DRAW Test Harness: implements a scripting interface to OCCT algorithms based on Tcl-interpreter for interactive usage, automating processes, prototyping applications and testing purposes.

Workshop Organization Kit

Workshop Organization Kit (WOK) is Open Cascade development environment, which has been designed to allow a large number of developers to work on a product getting advantage of common reference version shared over the local network.

Until OCCT 7.0.0 release, substantial modifications in the source code were not possible without using WOK, since it is the only tool that provides support for CDL (CAS.CADE definition language), used for declaration of most of OCCT classes and also serving to define logical structure of OCCT libraries. WOK has been included in previous OCCT distributions; since OCCT version 6.4 it is made an independent tool.

Within 7.0.0 release, all CDL files have been dropped from OCCT source code making WOK no longer necessary for OCCT development.

Working with IFC files

The Open CASCADE IFC Import SDK provides applications with the capability of reading BIM data from files in IFC format. It supports versions IFC2×3 and IFC4 that used by most modern applications.[25]

This allows visualization and manipulation of building geometries and CAD designs.

External tools are available to convert from Open CASCADE to IFC as well.[26]

CAD programs based on Open Cascade Technology

Several CAD programs rely on Open CASCADE Technology including:

  • FreeCAD an open source, 3D parametric modeler, with support for building information modeling, finite-element-method (FEM), and Python scripting.[27][28]
  • SALOME an open source platform for pre- and post-processing for numerical simulation.
  • KiCad an open source suite for electronic design automation (EDA).
  • Gmsh an open source finite-element mesh (FEM) generator. Since version 3.0, Gmsh supports full constructive solid geometry features, based on OCCT.
  • FORAN an integrated CAD/CAM/CAE system developed by SENER for the design and production of practically any naval ship and offshore unit. FORAN uses OCCT since V80R2.0 release[29] for working with analytical surfaces.

See also

References

  1. "README.txt". https://git.dev.opencascade.org/gitweb/?p=occt.git;a=blob;f=README.txt. 
  2. 2.0 2.1 2.2 "OCCT license". https://dev.opencascade.org/resources/licensing/. 
  3. "Dassault Systemes Signs Agreement to Acquire Matra Datavision's Subsidiary". 27 January 2020. https://www.3ds.com/press-releases/single/dassault-systemes-signs-agreement-to-acquire-matra-datavisions-subsidiary/. 
  4. "Gluing Options in Boolean Component - Forum Open Cascade Technology". https://dev.opencascade.org/content/gluing-options-boolean-component. 
  5. "Fuzzy Boolean Operations - Forum Open Cascade Technology". https://dev.opencascade.org/content/fuzzy-boolean-operations. 
  6. "VTK integration services in OCCT - Forum Open Cascade Technology". https://dev.opencascade.org/content/vtk-integration-services-occt. 
  7. "Stereoscopic rendering in Open CASCADE Technology - Forum Open Cascade Technology". https://dev.opencascade.org/content/stereoscopic-rendering-open-cascade-technology. 
  8. "Ray tracing as alternative rendering method for OCCT visualization component - Forum Open Cascade Technology". https://dev.opencascade.org/content/ray-tracing-alternative-rendering-method-occt-visualization-component. 
  9. "Open CASCADE Technology Public License". http://www.opencascade.org/getocc/license/license_old/. 
  10. "Downloading Of Source Code For Open Cascade Gains Momentum | Market Wire | Find Articles". 2012-04-09. http://findarticles.com/p/articles/mi_pwwi/is_20050229/ai_mark01000244/. 
  11. European e-Business Market Watch Case Study: Open source-based services by Open Cascade S.A.
  12. "OCCT Previous Releases". https://dev.opencascade.org/release/previous/. 
  13. "Becoming more and more open!". http://www.opencascade.org/about/news/issue173/. 
  14. "Thinkings about the 6.5.0 release, OCCT status, and the relationship with the Community". http://www.opencascade.org/org/forum/thread_20111/. 
  15. "Opening the Development of Open CASCADE Technology". http://www.opencascade.org/about/news/issue178/. 
  16. "Mantis Bug Tracker for OCCT project". http://tracker.dev.opencascade.org. 
  17. "GitWeb interface to main OCCT git repository". http://git.dev.opencascade.org/gitweb/?p=occt.git. 
  18. "Passive mirror of OCCT git repository on GitHub". https://github.com/Open-Cascade-SAS/OCCT. 
  19. "Signing the Contributor License Agreement". https://dev.opencascade.org/?q=home/get_involved/cla_processing_rules. 
  20. "Relicensing OCCT - Forum Open Cascade Technology". https://dev.opencascade.org/content/relicensing-occt. 
  21. "OCCT FAQ". dev.opencascade.org. Open Cascade. https://dev.opencascade.org/resources/faq/. 
  22. Callaway, Tom. "Licensing:Main – Bad Licenses". fedoraproject.org. Red Hat, Inc. and others. https://fedoraproject.org/wiki/Licensing:Main?rd=Licensing. 
  23. "Data Exchange | Open CASCADE Technology". https://dev.opencascade.org/about/data_exchange. 
  24. "Datakit - Open Cascade" (in en). https://www.opencascade.com/customers-and-partners/datakit/. 
  25. "Open CASCADE: IFC Import Component". https://www.opencascade.com/components/ifc-import-component/. 
  26. "CAD Exchanger: How to convert Open CASCADE to IFC?". https://cadexchanger.com/brep-to-ifc/. 
  27. Okoi, Martins (December 1, 2017). "FreeCAD – A 3D Modeling and Design Software for Linux". FOSSMint. https://www.fossmint.com/freecad-3d-modeling-and-design-software-for-linux/. 
  28. Lee, Hawk (2018-06-22). "FreeCAD FEM Workbench (Calculix 2.14)". https://engineeringdeskstudies.com/?p=365. 
  29. "SENER's latest version of FORAN V80R2.0 lets users manage series of ships". 2016-07-19. https://www.marine.sener/press-releases/seners-latest-version-of-foran-v80r20-lets-users-manage-series-of-ships.