Blender Tools(PYTHON)
I helped develop a few different addons for blender to help with rapid prototyping of workflows. These addons were used to import models, modify translation and orientation, and use modifiers and custom properties to make alterations to a mesh to create an stl model ready for production in a mill or 3d printer. All of the blender addons were created with python and used the bpy library, various python libraries, and the meshlib api.
Depth Based Transluceny
Shader (GLSL)
We build a cloud-based solution for our CAD/CAM workflow, and needed a shader that could estimate material thickness when occluding against another object in a THREE.js viewer. I built a shader that could sample the depth of the occluding object from the camera, then sample the distance between the closer object to the camera, and if the distance between the two objects existed within a threshold a loop was applied to the alpha in the fragment shader and decreased as the distance got closer to the occluding object.
Rest
Material Visualization
(JS, GLSL)
One of the essential features of the CAD/CAM workflow is rest material(leftover material) visualization. I built a button that added isometric cameras to a scene with the same degree limitation as the mill we are designing for. I drew a second version of the main model in the scene and added a texture that would be updated in the animate function. I then had each one of the cameras write an alpha depth texture, and for any areas that were visible(1) the alpha would default to 0, and any areas that were not visible(0), I would shade green. I then changed the scene buffer to draw the material last. This allowed us to correctly estimate inaccesible areas for the mill.