Open Cascade Development Insights. Part 2 #35
Replies: 3 comments 13 replies
-
Hi, @dpasukhi Is it possible to introduce a |
Beta Was this translation helpful? Give feedback.
-
The |
Beta Was this translation helpful? Give feedback.
-
BTW, does the OCCT team has the old docs (paper/technical report or other useful text) from the french team? Especially for the math part, such as adv_approx, adv_app2var. I think they are very important to maintain or improve the code. Thanks very much. The main theory is |
Beta Was this translation helpful? Give feedback.
-
Hello, I would like to share more details about the ongoing OCCT3D (Open Cascade Technologies 3D) 7.9.0 release.
The main topic for today is the changes that will impact the Data Exchange (DE) part of the OCCT project. In this context, DE refers to Import/Export operations with CAD formats. The Data Exchange module is crucial as it ensures seamless interoperability between different CAD systems, allowing for efficient sharing and conversion of 3D models.
Changes to Configuration part: [Forum Link]
Changes to other parts will be shared later.
Agenda:
This list presents only the new expected features. Any bug fixes or small improvements are not included here and will be available in the change log with the final release. The main goals of these DE updates are to extend functionality, increase performance, and improve stability for different scenarios.
STEP Import: User-Defined Attributes
User-Defined Attributes (UDA) are special attributes in STEP files that present "key-value" data. In the XCAF context, these attributes are known as "Metadata." UDAs provide a flexible mechanism to attach additional information to the geometric and topological entities within a CAD file, which can be essential for various downstream applications, such as manufacturing, quality control, and lifecycle management.
Recommendation Practices: [CAX Recommendation PDF]
Implementing UDA into STEP Import extends the options for final users, allowing them to extract and process custom attributes from STEP files. This functionality enables greater customization and adaptability in handling CAD data, particularly for industries with specific metadata requirements.
User-Defined Attributes can be particularly useful in sectors like aerospace and automotive, where detailed metadata associated with parts can include material properties, manufacturing tolerances, and other critical information that supports downstream processes such as simulation, manufacturing, and maintenance.
More details are available in the next article: [Forum Link]
STEP & XCAF: Supplemental Geometry
When designing a part in a CAD system, geometrical elements are often created that do not belong to the actual, i.e., manufactured, shape of the part or assembly but are used to either create other geometric shapes or to carry additional information about the part or assembly. These elements are, in accordance with ASME Y14.41, called 'Supplemental Geometry.'
Updated functionality:
Recommendation Practices: [CAX Recommendation PDF]
STEP File Sample: [CAX STEP File]
STEP Import: Multithreading Transferring
We are introducing an option for performing the "Parsing," "Transferring," and "Healing" stages in parallel mode. The parallel processing capability is designed to leverage multi-core processors, significantly reducing the time required for large and complex CAD file conversions.
Parallel Mode:
Parallel mode decreases the total processing time by distributing some operations between different threads with the chosen multithread provider mode (OCC Threads or TBB). This approach can improve performance, especially for users dealing with large assemblies and complex geometries.
New functionality will be presented in beta mode. Single-thread processing will be the default setting.
Advantages of Multithreading:
STEP: Thread-Safety Improvements
OCCT3D version 7.8 introduced improvements in STEP thread-safety processing. Some scenarios may still have data race problems. We plan to implement more test cases and validation for multithread environments. Ensuring thread safety is critical for applications that perform concurrent operations, as it prevents data corruption and ensures reliable performance.
Key Enhancements:
STEP: Hiding Internal Headers
STEP Exchange in OCCT is presented by RW interface and internal entity representation. The RW interface is used only in low-level processing and has no use cases in user scenarios.
For 7.9, the DE team is working on decreasing the size of the final package and the number of exported functions. For that purpose, any RW files for STEP processing will be changed to private header files (pxx) and will not be part of the installation procedure or function exporting. This change aims to streamline the library, reduce potential conflicts, and enhance overall security by minimizing the exposed surface area.
Benefits of Hiding Internal Headers:
STEP: GDT (PMI) Improvements
STEP AP242 continues to implement new functionality to meet the growing needs of industries. New features for validating measurements for correct conversion into system units and new ways to connect point detection and connection to supplemental geometry are planned for integration into OCCT 7.9. These improvements are essential for maintaining the integrity and accuracy of geometric dimensioning and tolerancing data throughout the CAD data exchange process.
Key Improvements:
IGES & STEP: Option to Avoid XCAF
Some user scenarios do not require XCAF data storage. Previously, STEP and IGES ToolKits (TK) allowed extracting TopoDS_Shape only from the reading process. After the reorganization of TKs in 7.8, that functionality was not available. OCCT 7.9 will return that option through the configuration process. This means TKDESTEP/TKDEIGES will avoid any CAF dependencies during runtime or compile time. With these changes, the DE_Wrapper functionality for these DE formats will not be available in this type of configuration.
Advantages of Avoiding XCAF:
Feel free to share your thoughts and ideas in the comments.
Best regards,
Dmitrii, Technical Leader of OCCT 3D.
Original
Beta Was this translation helpful? Give feedback.
All reactions