sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    [Plugin] Model Scrambler v1.0 UPDATED: (June 11, 2009)

    Scheduled Pinned Locked Moved Plugins
    22 Posts 9 Posters 18.0k Views 9 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B Offline
      BTM
      last edited by

      Thanks Chris; I'll try that πŸ‘

      ... I also (accidentally) found out another use for scattering points πŸ’š
      It looks like a crumpled can, doesn't it?

      ... I'm now thinking of maybe putting in the option to either scramble selected objects, as-well as all entities...

      1 Reply Last reply Reply Quote 0
      • Chris FullmerC Offline
        Chris Fullmer
        last edited by

        Awesome, looks great! That's the way to do it, just keep adding features and simple scripts quickly can become very powerful.

        Chris

        Lately you've been tan, suspicious for the winter.
        All my Plugins I've written

        1 Reply Last reply Reply Quote 0
        • B Offline
          Ben Ritter
          last edited by

          No offense, but I can't see how and for what purpose would you would use this script? β˜€

          1 Reply Last reply Reply Quote 0
          • B Offline
            Ben Ritter
            last edited by

            Whew! I thought I was missing something in your description. πŸ’­

            Thanks for the script, I guess πŸ˜‰

            Ben

            1 Reply Last reply Reply Quote 0
            • B Offline
              BTM
              last edited by

              @ben ritter said:

              No offense, but I can't see how and for what purpose would you would use this script? β˜€

              ... And that's the evil part! πŸ‘Ώ
              There is (almost) no (constructive) use!

              One reason would be if you wanted to send a model to someone to see how it looks, without them being able to use it at all; see link.
              http://forums.sketchucation.com/viewtopic.php?f=180&t=18227&st

              ... Another could be for fun... πŸ‘Ώ

              ... Or using the scramble effect on objects to make things like water, rocks, clouds, or other randomly shaped objects...

              ...or using it (minus the reverse faces) to make models appear old/ worn...

              1 Reply Last reply Reply Quote 0
              • R Offline
                remus
                last edited by

                Browsing through your code: you might want to change require "Sketchup.rb" to require "sketchup.rb" (no capital letter.)

                You get a double entry for the ruby console otherwise.

                http://remusrendering.wordpress.com/

                1 Reply Last reply Reply Quote 0
                • B Offline
                  BTM
                  last edited by

                  I'll make sure to do that in the next version, remus. πŸ‘

                  ... Also, in order for it to work properly for selections, I'd have to find a way to select the entities in a component after exploding it. I've found a way to do it with groups, but not components. πŸ˜• Any ideas?

                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    jcc
                    last edited by

                    This post is almost a year old, but I'm hopeful that BTM is still working on this idea. I'm looking fo ra routine/script that will lock/secure the model from changes, but NOT from being viewed by a client.

                    Also need to allow clients to: display grade elevations with the "query" tool, and see saved views "scenes/pages".

                    Any help would be super.

                    Thanks,
                    mojo

                    1 Reply Last reply Reply Quote 0
                    • Chris FullmerC Offline
                      Chris Fullmer
                      last edited by

                      Hey Mojo, actually this thread is just a few days old, not a year. So you are right on time for the party.

                      However, the problem with a script that keeps the client from changing anything - well all they would have to do is uninstall the script. Or more likely, never install it in the first place. There is no way to build that tpye of functionality into a model itself unfortunately.

                      But this is exactly the type of conversation that spawned the script. Remus wanted something that would just mess up every vertex in the model so nothing would be accurate, thereby making it nearly impossible to build off of or steal.

                      Chris

                      PS, I'm just through the tunnel in Berkeley.

                      Lately you've been tan, suspicious for the winter.
                      All my Plugins I've written

                      1 Reply Last reply Reply Quote 0
                      • B Offline
                        BTM
                        last edited by

                        @chris fullmer said:

                        the problem with a script that keeps the client from changing anything - well all they would have to do is uninstall the script. Or more likely, never install it in the first place. There is no way to build that tpye of functionality into a model itself unfortunately.

                        … You sure? I remember once that CPhillips was going to try and embed sound files into skp files, maybe it's possible with ruby scripts. I'd have no Idea myself though, but you never know…

                        1 Reply Last reply Reply Quote 0
                        • thomthomT Offline
                          thomthom
                          last edited by

                          @unknownuser said:

                          @chris fullmer said:

                          the problem with a script that keeps the client from changing anything - well all they would have to do is uninstall the script. Or more likely, never install it in the first place. There is no way to build that tpye of functionality into a model itself unfortunately.

                          … You sure? I remember once that CPhillips was going to try and embed sound files into skp files, maybe it's possible with ruby scripts. I'd have no Idea myself though, but you never know…

                          You can store an script in an dictionary attribute, but it'd never trigger unless you have another script that executes it.

                          Thomas Thomassen β€” SketchUp Monkey & Coding addict
                          List of my plugins and link to the CookieWare fund

                          1 Reply Last reply Reply Quote 0
                          • M Offline
                            MrPlanet
                            last edited by

                            In which menu is the option?

                            I reject your reality and substitute my own.

                            1 Reply Last reply Reply Quote 0
                            • J Offline
                              jcc
                              last edited by

                              I been off on other projects since June, and thought Id just see the status of the Scrambler. Any news?
                              Sounds like it may develop into a kind of PGP, where the model is scrambled at the source before sending, and the Un-Scrambler, being embedded in the model, is triggered somehow. But I may be over-reaching -- is there such a thing as an Un-Scrambler?

                              At any rate, what I was looking for originally, was some sort of lock to put on the model, to: 1) prevent changes by others, and 2) therefore to create a sort of brute force copyright.

                              And another thang, Does anyone have any experience with adobe PDF in 3D? could that be a solution...

                              Thanks!
                              john

                              1 Reply Last reply Reply Quote 0
                              • Chris FullmerC Offline
                                Chris Fullmer
                                last edited by

                                Hey John, I had worked on a model scrambler that would also unscramble it afterwards. I think it is around here somewhere on the forum. Turned out to not really be what I wanted. I was also looking for a way to lock a model.

                                So far, model locking is not possible in plain .skp format.

                                There has been some work done with 3d pdfs though. I think Al at Renderplus has done some work on this, making a 3d pdf exporter. Check it out here:

                                favicon

                                (www.renderplus.com)

                                Hope that helps,

                                Chris

                                Lately you've been tan, suspicious for the winter.
                                All my Plugins I've written

                                1 Reply Last reply Reply Quote 0
                                • GaieusG Offline
                                  Gaieus
                                  last edited by

                                  The PDF exporter by Renderplus is actually a cool plugin.

                                  Gai...

                                  1 Reply Last reply Reply Quote 0
                                  • 1
                                  • 2
                                  • 1 / 2
                                  • First post
                                    Last post
                                  Buy SketchPlus
                                  Buy SUbD
                                  Buy WrapR
                                  Buy eBook
                                  Buy Modelur
                                  Buy Vertex Tools
                                  Buy SketchCuisine
                                  Buy FormFonts

                                  Advertisement