2014.03.23

I use Gary Hodgson’s stlviewer quite a bit, as it allows for a quick view of an STL file in your browser, and since I’ve always got a browser running, it’s often easier than launching yet anther app just to view a 3D model.

But one of the things that’s always bugged me about it was the fact that the build plate appeared to be 100mm x 100mm, which would be fine in 2010 if using a MakerBot Cupcake, but my RepRap has a 200mm x 200mm build surface…

This is much better! My models over 100mm long/wide actually fit on the build plate instead of spilling over into space. Obviously if you’re using Gary’s online version you can’t really make changes, but I just run it locally from my hard drive, so I can easily hack at it.

Just go into the js folder and in there is the thingiview folder, and open thingiview.js in your favorite text editor. Line 711 should look like this.