Create 3D models in PHP

I wrote a library for creating 3D models in PHP, it uses OpenScad in the background.

Why? From the README:

  1. PHP is full-blown general-purpose language with a lot of documentation around the internet
  2. There are full-blown IDEs that help with code completion
  3. PHP supports more paradigms, like object oriented programming
  4. Saner parameter names - for example the cylinder signature is cylinder(h, r, r1, r2, d, d1, d2, center)compared to PhpScad version - new Cylinder(height, radius, bottomRadius, topRadius, diameter, bottomDiameter, topDiameter)
    • note that in both OpenSCAD and PhpScad version many of the parameters are optional
  5. Created an interesting parametric shape? Cool, share it via composer because PHP has a package manager!

And here are links to two tutorials I wrote:

This might not be to everyone tastes, but if you already know PHP, it might make it a little easier.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • wartaberita
  • uselessserver093
  • Food
  • aaaaaaacccccccce
  • [email protected]
  • test
  • CafeMeta
  • testmag
  • MUD
  • RhythmGameZone
  • RSS
  • dabs
  • TheResearchGuardian
  • Ask_kbincafe
  • KbinCafe
  • Testmaggi
  • Socialism
  • feritale
  • oklahoma
  • SuperSentai
  • KamenRider
  • All magazines