hoops_ai.cadencoder

Quick Overview

Classes

BrepEncoder(brep_access[, storage_handler])

A single class to compute + persist geometry and topology data.

CAD Encoding Module

The CAD Encoding module transforms CAD geometric data into machine learning-ready representations. It bridges the gap between CAD geometry and ML algorithms by converting B-Rep (Boundary Representation) data into graph structures and numerical features that can be processed by neural networks.

This module is essential for preparing CAD data for machine learning workflows, providing standardized encoding schemes that preserve geometric relationships while making the data compatible with ML frameworks like PyTorch and DGL (Deep Graph Library).

For detailed usage examples and encoding strategies, see the CAD Data Encoding Programming Guide.