Hide menu
Loading...
Searching...
No Matches
Wall Thickness Analysis Example

The Wall Thickness Analysis example displays converted wall-thickness results. It recolors the model by thickness, lets users change the displayed range and gradient direction, and reports interpolated thickness at highlighted points.

Preview

Wall Thickness Analysis

What It Demonstrates

Use this example to study scalar analysis visualization:

  • import only wall-thickness process data;
  • read converted analyses through AnalysisSession;
  • restore thickness values from mesh color attributes into a dedicated thickness geometry attribute;
  • recolor visible mesh vertices from a configurable display range;
  • invert the color gradient;
  • highlight points and interpolate thickness at picked triangle positions.

The viewer owns the current analysis, actual and displayed thickness ranges, gradient colors, point highlight manager, and viewport.

User Flow

  1. Start the examples with the server-backed command.
  2. Open Wall Thickness Analysis.
  3. Import or choose a wall-thickness converted model.
  4. Adjust minimum and maximum display thickness.
  5. Invert the gradient or inspect highlighted point thickness values.

Key Files

User Interface Components

Source Description
WallThicknessAnalysisImport
react/src/pages/mtk/wall-thickness-analysis-import/WallThicknessAnalysisImport.tsx
Import route component. It restricts available processes and preview cards to wall-thickness results.
AnalysisImport
react/src/pages/mtk/analysis-import/AnalysisImport.tsx
Shared import page for STEP conversion, MTK folder selection, converted preview listing, and server checks.
WallThicknessAnalysisViewer
react/src/pages/mtk/wall-thickness-analysis-viewer/WallThicknessAnalysisViewer.tsx
Viewer route component. It loads wall-thickness analysis data, renders viewport, analysis controls, range controls, and point feedback.
AnalysisSelectAndViewControls
react/src/pages/mtk/analysis-viewer/ui/analysis-select-and-view-controls/AnalysisSelectAndViewControls.tsx
Selects the current analysis and exposes view controls for wall-thickness display.
AnalysisInformationPanel
react/src/pages/mtk/wall-thickness-analysis-viewer/ui/analysis-information-panel/AnalysisInformationPanel.tsx
Shows wall-thickness analysis parameters and picked-point thickness values.
ThicknessRangeControls
react/src/pages/mtk/wall-thickness-analysis-viewer/ui/thickness-range-controls/ThicknessRangeControls.tsx
Displays the thickness color gradient and selected display range.

Core Logic Classes

Source Description
WallThicknessAnalysisViewer
shared/src/viewers/mtk/wall-thickness-analysis-viewer/WallThicknessAnalysisViewer.ts
Owns analysis loading, current analysis, actual/display thickness ranges, gradient inversion, vertex recoloring, and picked-point thickness interpolation.
WallThicknessAnalysisData
shared/src/features/mtk/analysis/wall-thickness/WallThicknessAnalysisData.ts
Represents wall-thickness process output, display mode, process parameters, and visual objects.
WallThicknessAnalysisBuilder
shared/src/features/mtk/analysis/wall-thickness/WallThicknessAnalysisBuilder.ts
Converts wall-thickness process data into analysis objects and visualization payloads.
WallThicknessHighlightManager
shared/src/features/mtk/analysis/wall-thickness/interaction/WallThicknessHighlightManager.ts
Tracks highlighted points used for thickness-at-point feedback.
AnalysisSession
shared/src/features/mtk/import/AnalysisSession.ts
Reads converted wall-thickness folders through a FileSource.
shared/src/features/mtk/analysis/wall-thickness/ Contains wall-thickness analysis and process-data conversion helpers.