[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GMG-Devel] OpenSCAD media type
From: |
Rodrigo Rodrigues da Silva |
Subject: |
[GMG-Devel] OpenSCAD media type |
Date: |
Fri, 17 Oct 2014 10:20:52 -0300 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Hi, folks! I just implemented an OpenSCAD media type.
It is still WIP but it works minimally. Check the attached screenshot.
So basically you submit a .scad script. It renders a preview and an
STL file in OpenSCAD. You can see the preview and the 3D model in a
webgl canvas in GMG just like an stl file.
I started writing it as a plugin, then I had some problems and just
wrote it off the GMG media_types subtree. If you wanna test it you can
it checkout from my repo:
https://gitorious.org/mediagoblin/rsilvas-mediagoblin/commits/media_scad
Future work:
- have it render more views (top, side and so), like the stl processor
- support for 2D output (OpenSCAD can work in 2D and export DXF's as
well)
- abstract 3D rendering in media_types.stl for more renderers (like
POV Ray) and/or use the stl processing chain do generate 2D
renderings from OpenSCAD's stl output
- support projects with multiple files and custom .scad libraries
- manufacturing metadata (like, this file should be cut with a laser
cutter, this file should be 3D printed)
If you guys like the idea I'm willing to commit it to master when it
gets decent.
--
Rodrigo Rodrigues da Silva
Metamáquina
goblinscad.png
Description: PNG image
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GMG-Devel] OpenSCAD media type,
Rodrigo Rodrigues da Silva <=