Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Super light-weight funky script for list and display your 3D .stl files
branch: master
Failed to load latest commit information.
images J3DILLA First Commit
js J3DILLA First Commit
myModels J3DILLA First Commit
J3Dilla.sh J3DILLA First Commit
J3Dilla_template fixed link
README.md link to demo
indextemplate J3DILLA First Commit
runJ3Dilla.php J3DILLA First Commit
style.css J3DILLA First Commit

README.md

J3DILLA

Super lightweight funky gallery for your .stl files

In times of sudden and never-ending changes to ToS that we do not always agree on, it is always a good idea to host your own data in your servers, plus you help distribute the web :)

J3DILLA is a shell script that makes super easy and painless to generate a list of your .stl files and a showcase page for each of them so you can share them on your own terms.

J3DILLA is built with three.js

Demo

http://fffff.at/J3DILLA/

Installation

  1. unzip and download the "J3DILLA" directory to your server
  2. Drop your .stl models into yourdomain/J3DILLA/myModels folder
  3. Visit yourdomain/J3DILLA/runJ3Dilla.php once
  4. Go back to yourdomain/J3DILLA/index.html You are ready to go!

  • when you add new .stl files just run the script at yourdomain/J3DILLA/runJ3Dilla.php again

Options

  • you can customize the look of your J3DILLA in style.css
  • indextemplate: J3DILLA generate this file contains the html of the list page (index.html)
  • J3Dilla_template: This is the template for render the .stl files. All the three.js stuff is contained here. If you need to adjust the behavior of the camera, change the colors of lights, or anything you want/need, you can do it here (will be applied to all files after running the .sh again) - or individually in each .html file. (recommended)
  • Standard license is CC BY but you can change it in both templates after the '<!Change you license here>' comment.
  • J3DILLA.sh: this is the little shell script that 'runJ3Dilla.php' execute.

Bonus objects

Author

Geraldine Juárez http://www.simple-mechanisms.com

A FFFFFAT Lab Production http://fffff.at/

Thank you

Monki

MrDoob (three.js) and Aleeper (stl loader)

TODO

  • Add .obj and collada loaders from three.js library
  • Add controls or visible trackball
  • Lock camera to object
  • Auto resize objects
  • Generate thumbnails for index.html
  • Integrate with FuckFlickr
Something went wrong with that request. Please try again.