Ruin, a tool to obfuscate geometry

Perhaps it’s time for a new tool called “Ruin”, aimed to do a re-topology by replacing the original NURBS surfaces with multiple patches with random size and orientation (like rotated by 30-45 degrees from the original). That would make the model way more difficult to reverse engineer or against unauthorized use, but still close enough to be used by 3rd party contractors for CNC-milling.

Also, replacing any true cylinder with an approximate cylinder with slightly variable radius, degree 3-5 and more control points, ìm in order to prevent the accurate extraction of the centerline.

And replacement of every clean fillet with a rough blend with slightly deformed shape that can’t be automatically read by CAD programs as a parametric fillet.

:cat_with_tears_of_joy:

“Ruin” can work by rebuilding the original surfaces, thus eliminating every proper cylinder and fillets, converting them to degree 3-5 surfaces. Cylinders, torus, spheres and fillets could be split and shrunk at every 90 degrees to reduce the possibility for easy reverse engineering.

Ruin.3dm (1.7 MB)

However, this is still easy to reverse engineer, so a more complicated version could be the “Perkele” command that splits each original NURBS surface into several random shapes rebuilt with the “Patch” tool at random angle that’s different for each adjacent piece. That should make it more difficult to merge adjacent surfaces.

Of course, the new “Patch” tool of Rhino 9 BETA showed big muscles when I tried to build a clean patch from the bad looking random holes in the attached file, as long as the input edges are 4 to build a clean untrimmed patch.


P.S. There is a BUG with the “Patch” tool which is unable to create a surface from the hole in one of the models inside the 3dm file attached above.

Perkele… :rofl:

A very special Finnish word which fits perfectly for this tool. :alien_monster:

Reverse engineering from the Rhino file, from a physical part made from the file, or from something else?

The idea is to make the geometry bad, in order to prevent unauthorized use or an easy reverse engineering from the provided 3d file.

If I split each of the original surfaces with its own isocurves into multiple pieces, they can still be merged into a large surface until the original surface is recovered. However, if the surfaces are replaced with rebuilt versions with random shape and include much more control points with rotated UV direction, it would be a lot more difficult to merge these pieces into a clean geometry.

A trimmed cylinder could be easily restored to its full shape, so anyone could use it to modify the design. However, if the cylinder is replaced by several bad surfaces with variable diameter and their control points are rotated by a random angle each (13,9 degree, 27,4 degrees, 82,6 degrees etc), that will make it nearly impossible to extract a perfect cylinder from the provided geometry. This is even more effective when the goal is to make bad surfaces from free-form shapes. Even specialized CAD tools that are made for reverse engineering will struggle to recover the original geometry perfectly well.

Indeed :sweat_smile:

I can see this a s a leverage against clients not willing to pay.

First perklele to prove the job is done, then good model after payment. I’m for it (not that I struggle now, but I used to).

This would help in cases where you (the original creator) send the model to a paying customer, but then he or she sends it to a bunch of sub-contractors (some 3rd party companies and persons doing CNC-milling or laser cutting) for a price quote. It happened quite often to me in the past, and many people got access to my 3d models despite the fact that they even didn’t do any work for my customers (like rejected sub-contractors). I even saw my models put for sale online by some unknown people on various websites, or shared for free on Grabcad etc.

Sending a 3d mesh model for a price quote is not possible, because most CAM programs require STEP file with actual NURBS geometry. Converting the render mesh to a ton of tiny NURBS surfaces (one per each polygon) makes the file way too heavy. Also, those companies need to create additional support geometry or extensions along the border to leave more room for the moulds. This is why the NURBS geometry must be relatively accurate, but in the same time it must be damaged and split in multiple random pieces in a way that makes it extremely difficult to edit and extract the original clean NURBS surfaces.

If I wanted to reverse engineer a part id just use measure in solidworks and make it myself

Having surfaces like that does make more work to be done tho.

Lets test it?

Such ugly practices, I better be careful getting into this trade.