Skip to content

Anthony-Andrews/STL-Viewer

Repository files navigation

STL Viewer:

A Discord bot written in Python and C++ to create previews for STL 3D-Meshes near instantaneously.

Discord Bots Discord Bots

Usage:

Upload a .stl file to any channel the bot has access to (including DMs) and get a reply of the preview.

High-performance mesh rendering engine used: https://papas-best.com/stltopng_en Supports rendering material and color data of STL's

Collaborators:

Thanks to OrcaShamu[ironic]#7962 for helping optimize and debug! :D Shout out to sleep deprivation, big helper

Future Feature List:

Reaction buttons to control persepective for STL preview, image size, & color. Support for OBJ, STP and more. Support for animated previews (GIFs) Slash command to change preview image size. Generally increasing effeciency and speed.

Known Issues:

When sending STL's though Discord CDN links, bot cannot yet view STL. Some STL's appear sideways?? idek

Discord Support & Feedback Server:

Join the bot support server

Self-hosting:

NOTE: Currently only supports Windows 8 or newer -- Install guide coming later..