Skip to content

Add STEP thumbnail support with bundled converter - #26

Open
Sagigamil wants to merge 1 commit into
EYHN:mainfrom
Sagigamil:step-thumbnail-freecad-fallback
Open

Add STEP thumbnail support with bundled converter#26
Sagigamil wants to merge 1 commit into
EYHN:mainfrom
Sagigamil:step-thumbnail-freecad-fallback

Conversation

@Sagigamil

@Sagigamil Sagigamil commented Jul 18, 2026

Copy link
Copy Markdown

Adds Windows Explorer thumbnail support for STEP CAD files (.step / .stp).

Implementation details:

  • registers .step and .stp thumbnail providers
  • falls back to a bundled space-thumbnails-step-converter.exe when Assimp cannot load the STEP file directly
  • uses cadrum / OpenCascade to tessellate STEP into a temporary STL, then reuses the existing Assimp + Filament render path
  • includes the converter executable in the Windows installer package
  • extends the file-thumbnail timeout for STEP conversion work

Validation performed on Windows:

  • cargo build -p space-thumbnails-step-converter --releasen- cargo build -p space-thumbnails-cli --releasen- cargo build -p space-thumbnails-windows-dll --release`n- converted and rendered sample NEO.STEP through the CLI
  • installed locally and verified Shell thumbnail generation for both .STEP and .stp via IShellItemImageFactory`n
    Note: this removes the earlier FreeCAD dependency by shipping the converter as part of the project artifacts.

@Sagigamil
Sagigamil force-pushed the step-thumbnail-freecad-fallback branch from 61a71ff to 3790680 Compare July 18, 2026 09:15
@Sagigamil Sagigamil changed the title Add STEP thumbnail fallback via FreeCAD Add STEP thumbnail support with bundled converter Jul 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants