Modules | PY

Overview

Modules and import convention.

trueform is organized into focused modules, each providing tools for a specific aspect of geometric processing.

Import

All functionality is accessible through a single import:

import trueform as tf

point = tf.Point([1, 2, 3])
mesh = tf.Mesh(faces, points)
result = tf.read_stl("model.stl")

Modules

Each module page documents its API with working code snippets.

Core

Primitives, batch support, transformations, and data structures.

Spatial

Forms, spatial queries, and acceleration structures.

Topology

Connectivity analysis and component labeling.

Geometry

Point cloud alignment and geometric error metrics.

Remesh

Decimation and isotropic remeshing.

Intersect

Mesh intersections and isocontours.

Cut

Mesh booleans and isobands.

Clean

Remove duplicates, degenerates, and unreferenced elements.

Reindex

Extract, filter, and reorganize geometric data.

I/O

Read and write STL and OBJ files.