<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Viacheslav (Slava) Blinder on Medium]]></title>
        <description><![CDATA[Stories by Viacheslav (Slava) Blinder on Medium]]></description>
        <link>https://medium.com/@jviaches?source=rss-55d507716d53------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*UYYG03vT9FV6oIqzbBwHCQ.jpeg</url>
            <title>Stories by Viacheslav (Slava) Blinder on Medium</title>
            <link>https://medium.com/@jviaches?source=rss-55d507716d53------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 22:31:53 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jviaches/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Diffing STLs in the Browser: Building a Voxel Engine to Catch Doomed Prints]]></title>
            <link>https://medium.com/@jviaches/diffing-stls-in-the-browser-building-a-voxel-engine-to-catch-doomed-prints-d2a7ca178190?source=rss-55d507716d53------2</link>
            <guid isPermaLink="false">https://medium.com/p/d2a7ca178190</guid>
            <category><![CDATA[3d]]></category>
            <category><![CDATA[3d-printing]]></category>
            <category><![CDATA[3d-design]]></category>
            <category><![CDATA[stl]]></category>
            <category><![CDATA[3d-modeling]]></category>
            <dc:creator><![CDATA[Viacheslav (Slava) Blinder]]></dc:creator>
            <pubDate>Sun, 09 Aug 2026 02:38:10 GMT</pubDate>
            <atom:updated>2026-08-09T02:38:10.023Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>The Problem with Hardware Version Control</strong> Software engineering has had the luxury of pull requests for over a decade, but for hardware teams and makers, “version control” is often just a folder of files named bracket_v2_final_FINAL.stl.</p><p>The core issue is that a standard binary diff of two STL files is completely useless. It tells you the bytes changed, but it doesn’t tell you if a hole shifted by 0.5mm, if the wall thickness is suddenly too thin to print, or what geometry was actually added or removed.</p><p>Here is how I built Meshdiff to handle 3D diffs and printability checks.</p><h3>1. The Voxel Diff Engine &amp; SDF Heatmaps</h3><p>Comparing two meshes directly is computationally messy. Instead, Meshdiff relies on voxelization. By converting both the “before” and “after” STL/3MF/OBJ files into a 3D grid of voxels, I can perform Boolean operations to isolate the differences.</p><ul><li><strong>Green:</strong> Geometry present in V2 but not in V1 (Added).</li><li><strong>Red:</strong> Geometry present in V1 but not in V2 (Removed).</li></ul><p>To track dimensional drift, I implemented a Signed Distance Field (SDF) heatmap. This calculates the distance from the surface of one mesh to the nearest surface of the other, rendering a color gradient that instantly flags subtle shifts in hole placements or overall dimensions.</p><h3>2. The Math Bugs (and Fixing the Printability Gate)</h3><p>Initially, I implemented a printability gate to flag overhangs, unsupported areas, and wall thicknesses. It failed spectacularly. Almost every model was being flagged as unprintable.</p><p>I had to tear down the math and found two major culprits:</p><ol><li><strong>The Flat Base Overhang Bug:</strong> The engine was incorrectly interpreting the completely flat bottom of a model sitting on the build plate as a worst-case 90-degree overhang.</li><li><strong>Surface-Normal Corruption:</strong> A geometry-math error was corrupting the calculations of surface normals, which threw off all the angle checks.</li></ol><p>To fix the wall-thickness analysis, I threw out the placeholder algorithm and moved to <strong>real raycasting</strong>. Now, the engine casts rays inward from the surface normals to measure the exact distance to the opposite interior wall. If it drops below a set threshold (e.g., 1.2mm), it gets flagged. You catch the doomed print before it ever hits the slicer.</p><h3>3. File Parsing and the Multi-Group OBJ Trap</h3><p>Building a robust parser in JS/WASM comes with edge cases. One of the biggest headaches was multi-group OBJ files. Many CAD tools export multi-body parts as separate groups within a single OBJ. Initially, Meshdiff was silently dropping geometry because it wasn’t iterating through every group on load. Now, all groups are merged correctly into a single diffable mesh.</p><h3>4. The Stack &amp; What’s Next</h3><p>The core diffing tool (which will remain free forever) runs entirely on your local machine — files never touch a server.</p><p>However, to move this from a single-player tool to a full version-control layer, I’m building out a persistent Projects Workspace using React, Node.js, PostgreSQL, and Supabase. This will handle team collaboration, admin/approver routing, and 3D-pinned comments so teams can lock in stable versions.</p><p><strong><em>Website</em></strong>: <a href="https://meshdiff.com/">https://meshdiff.com</a></p><p>You can try out the live voxel engine and break the raycasting math here: <a href="https://meshdiff.com/live">https://meshdiff.com/live</a> . I<strong>t runs entirely in the browser — no server uploads for this tool.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d2a7ca178190" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[THE ABILITY TO ANALYZE AND DRAW CONCLUSIONS]]></title>
            <link>https://medium.com/@jviaches/the-ability-to-analyze-and-draw-conclusions-66be9e7fd882?source=rss-55d507716d53------2</link>
            <guid isPermaLink="false">https://medium.com/p/66be9e7fd882</guid>
            <category><![CDATA[motivation]]></category>
            <category><![CDATA[self-improvement]]></category>
            <category><![CDATA[self-determination]]></category>
            <category><![CDATA[self-development]]></category>
            <dc:creator><![CDATA[Viacheslav (Slava) Blinder]]></dc:creator>
            <pubDate>Wed, 27 Dec 2017 18:25:59 GMT</pubDate>
            <atom:updated>2017-12-27T18:41:05.399Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-5bf8L_jK5bW-6AdXp5NNw.jpeg" /></figure><p>We have a lot of abilities: there is ability to dream, the ability to stay focused, to think out-of-the-box and so on. Among all the other abilities there is the ability to analyze and draw conclusions. In my opinion, this is one of the most powerful abilities that is able to promote you professionally, if you do it right. I mean we all have rough times. Places may vary: at work, in our private time, in our romantic relationship; it doesn’t matter. But this article will focus on this ability in context of work time.</p><p>As a hi-tech employee, I had the privilege to work directly with different types of bosses on different issues. I was lucky that most of them were exceptionally professional and skilled individuals. Most of them were my direct superiors and some of them were from the administration. Each one of them (individuals) had a very different perspective, different point of view, I would say, allowing them to approach and solve any issues during the project’s lifetime.</p><p>We are all individuals ourselves, after all, and we are all allowed to think differently. In addition, our perspective is based on our own expedience, gut feeling and our professional strengths and weaknesses. I was lucky to notice all those things pretty early when I was a Spartan software developer. During the meetings, different teams/people were raising unresolved issues.</p><p>When an issue came up, the first thing I thought about was my possible modus operandi. Then I would compare it with the manager’s solution and afterwards, I started thinking about the gap between my manager’s approach and mine. How does he approach the problems? How does he consider it and how does he choose between different solutions? Does his solution include ways to avoid the same problem in the future? All those questions were (and still are) very important to me.</p><p>It sharped my mind and broadened my point of view. Besides the fact I was constantly moving , I was always thinking about the strength and weaknesses of each manager I was working under. There were many different combinations of people: more project oriented or more professionally oriented persons. Sometimes I would meet a combination of both abilities in one person.</p><p>The interesting part here was that all of them were very confident in their field of expertise. For example, project oriented managers tend to express strong presence regardless its purpose: client meeting or just weekly based team meeting.</p><p>This is the right place to mention that part of my system of beliefs is that humans should always strive to become better at something, always be on constant move forward trying to maximize their potential, to get rid of negative habits and adopt the positive ones. To stop living a routine life and fall in love with the process of life itself.</p><p>In order to reach goal like this, some significant amount of inner work should be done. When i was young army commander i remember myself drowning into the various tasks that where assigned to me as for a youngest rank. I was always doing my best, but deep inside of me was a conflict which made me feel unhappy. I remember my small talk with my superior officer then: “Don’t complain about your tasks. Now it’s the right for you to build strong habits and you should just accept them as challenge.” At that time i didn’t had enough wisdom to understand his words. But later on it gave different perceptive which me allowed me to see more broadly.</p><p>Working on your character isn’t easy, but the main idea (as I see it) is to get “your character to the point in which it is mature enough so that positive habits can replace negative ones and naturally become part of your life. And the ability to analyze and draw conclusions may assist your continuous movement toward your goals.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=66be9e7fd882" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>