Files in the folder
What the files and folders inside the MeshOptimiser folder are for, which ones you use, and which ones to leave alone.
You only ever need to double-click one file: the launcher for your system. The rest is the app itself.
The ones you use
start.bat- The launcher for Windows. Double-click it to start the app.
start.command- The launcher for macOS.
start_hidden.vbs- Windows: starts the app like
start.bat, without showing the launcher window. step2glb.bat,step2glb.command- Convert a STEP file that you drag onto them, without opening the viewer.
test-converter.bat,test-converter.command- Run the converter on a STEP file that you drag onto them and show everything it prints. Useful when a conversion fails and you want to see why.
README.txt- A short quick start, in plain text.
Folders the app creates
.venv- The app’s own Python environment, created on the first run. It can take up to about 2 GB. It is safe to delete: the launcher builds it again, which takes a few minutes. On macOS the folder is hidden in Finder, because its name starts with a dot.
inbox- Where STEP files are converted. The finished GLB files stay here.
The app itself
serve.py- The small local server. It hands the app’s pages to your browser and starts the converter when you drop a STEP file.
step2glb.py- The converter from STEP to GLB.
index.html,app-v2.js- The viewer: the page and its program.
holefill.js- The hole filler behind Fill holes.
mesh-worker.js- A background worker for Fill holes and Decimate, so the window stays usable while they run.
cloner.js- A cloner that makes linear, grid and radial arrays of a part.
vendor- The libraries the viewer needs, bundled so that it starts without the internet.
assets- The app’s icons, pictures and help clips.
manifest.webmanifest- What lets Chrome and Edge install the page as an app.
requirements.txt- The list of Python add-ons the launcher installs: cadquery-ocp, trimesh and numpy.
tests- The self-tests. See Self-test.
docs,README.md,CHANGELOG.md- Screenshots, the project’s description, and the list of changes in every version.