Skip to content

C2F4DT — Developer Guide

C2F4DT Logo Welcome to the C2F4DT developer documentation. This site collects guidelines, code architecture, theory, and an auto-generated API reference.

C2F4DT is a modular software package designed as a 3D viewer and interaction environment built on VTK. Its primary goal is to provide a framework where plugins can be developed to visualize and interact with point clouds and finite element models. Within this architecture, Cloud2FEM is included as one of the plugins, enabling users to transform point cloud data into finite element meshes.

The concept behind C2F4DT is to serve as a host for digital twins of finite element models that can be initialized or continuously updated using point cloud data or IoT (Internet of Things) streams. This first release focuses on the core viewer capabilities, establishing a foundation for visualization, interaction, and plugin integration.

Future versions will extend the package with additional plugins and extensions, enhancing functionality and enabling more advanced workflows for digital twin management and structural analysis.

Features

  • Import and preprocess 3D point clouds from multiple formats
  • Slice point clouds into meaningful cross-sections
  • Generate centroids and polygons to represent structural elements
  • Create grids and finite element meshes for structural analysis
  • Define boundary conditions (BCs) and load cases
  • Visualize point clouds, meshes, and simulation results within the tool

C2F4DT Logo

Publications

Cloud2FEMi and its underlying methodologies have been described and validated in several key publications:

Getting Started

To begin exploring C2F4DT, we recommend reviewing the following sections:

Quick start

To get started with the Cloud2FEM for Digital Twins framework, follow these steps:

  • Step 1: Create a virtual environment to isolate dependencies

    python -m venv .venv_c2f4dt
    

  • Step 2: Activate the virtual environment (On Windows, use: .venv_c2f4dt\Scripts\activate)

    source .venv_c2f4dt/bin/activate  
    

  • Step 3: Install the required dependencies from the requirements file

    pip install -r requirements.txt
    

  • Step 4: Install the current package in editable mode for development purposes

    pip install -e .
    

  • Step 5: Run the main script to start the application

    python main.py
    

C2F4DT Logo