Github visualizes code changes for 3D models

    In April 2013, Github introduced the option of rendering 3D models , in particular, STL files. You can rotate them in different directions, zoom in with the mouse wheel, etc. Now a very convenient function for visual viewing changes in 3D models has been added.



    By default, when viewing changes, a mode is activated in which deleted fragments are colored in red, added fragments are colored in green, and unchanged details are displayed in wireframe.

    There is also a slider for a closer look at individual changes in the model, step by step.



    The developers explain that they used the csgtool and Ruby libraries , as well as the previously created 3D player for viewing STL files , to calculate the changed parts fragments .

    Github hosts a lot of great projects with 3D models, and now there will be even more. At this rate, this site could compete with Thingiverse and other popular catalogs with 3D details.

    Also popular now: