I’ve seen multiple threads here and on other forums asking for some kind of solution to protect SketchUp components from disassembling and analyzing, for example for dynamic components in particular I noticed that some ask for a service/extension that would “strip” formulas from component attributes window without hurting the component itself and its dynamic states - in short, make it that component users can fully utilize the component in their models even if it’s dynamic but can’t look inside the contents itself.
So I decided that developing this service would be a huge plus for the community and for my Harvard admission portfolio , and after some days of research I made a bit of progress.
Here’s a short demo showing how this thing works (first part - using component without the service, and the second part with the service enabled): https://youtu.be/JpQ4z1C6eMU
If someone is interested in helping me with testing, ideas and other things, feel free to contact me
I think it will make it harder, but not ‘unbreakable’, so a use case might be a (large) company that does not want interactable DC’s?
Can you share the DC?
Technically, none of the software we use is unbreakable: large banks can also be hacked but this almost never happen, and if it does - it takes A LOT of effort and years. A DC itself stays interactable when using the service - you just can’t see the formulas, but can change the options dynamically. The thing is, it’s not an extension or something else - it’s a C++ written app that protects components on the lowest level possible and it’s way beyond what ruby api allows us to do
I don’t know much about (this kind of) programming, but from your video it seems to me that you are somehow modifying the Sketchup source code, which is very much against the Terms and Conditions (check chapter 2.3.)…
it doesn’t modify the source code in any way, shape or form
however, it does utilize some Windows internals and manages memory without touching the sketchup executable/modules themselves
Of course, I’m not a lawyer either, but I still have the feeling that what you’re doing is at least in a “grey area”.
At least I would ask for written consent if I were you…