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

    [request] hold-fetch (3ds Max like) feature

    Scheduled Pinned Locked Moved Plugins
    11 Posts 6 Posters 1.1k Views 6 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.
    • thomthomT Offline
      thomthom
      last edited by

      @rv1974 said:

      Doable?

      Only way I can see this be done via Ruby is by saving a copy of the model when you mark your point. And then just open the model representing your state.

      @rv1974 said:

      Important: it must respect the memory buffer.

      Not sure what you mean by this... ? You mean it should keep the different states in memory? That'd require some all too low-lever programming than what you can do with the Ruby API.

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

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

        @thomthom said:

        @rv1974 said:

        Doable?

        Only way I can see this be done via Ruby is by saving a copy of the model when you mark your point. And then just open the model representing your state.

        @rv1974 said:

        Important: it must respect the memory buffer.

        Not sure what you mean by this... ? You mean it should keep the different states in memory? That'd require some all too low-lever programming than what you can do with the Ruby API.


        1. Doesn't it mean long times to open a reverted version of file? It would't be good.
        2. By respecting the memory buffer I mean ability to paste things "from the future". See my example.
          (a.mark the file state-> b.produce something -> c. copy-> fetch to the marked point-> d. paste this "something")
        1 Reply Last reply Reply Quote 0
        • GaieusG Offline
          Gaieus
          last edited by

          @rv1974 said:

          By respecting the memory buffer I mean ability to paste things "from the future". See my example.

          That is always "respected" (i.e. the system clipboard cannot be overridden from the application unless you copy something else onto it).

          I also often use this method. Make a complex intersection for instance and instead of painstakingly removing all the leftover, I copy what I need, go back a couple of steps, remove the original (bigger chunks) instead and paste in place...

          Gai...

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

            @gaieus said:

            @rv1974 said:

            By respecting the memory buffer I mean ability to paste things "from the future". See my example.

            That is always "respected" (i.e. the system clipboard cannot be overridden from the application unless you copy something else onto it).

            I also often use this method. Make a complex intersection for instance and instead of painstakingly removing all the leftover, I copy what I need, go back a couple of steps, remove the original (bigger chunks) instead and paste in place...


            That is always "respected" in Sketchup itself. I just wasn't sure how a plugin author would treat a copy-paste function.

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

              The Ruby API gives no access to the clipboard. Even if it did, there'd be no way to prevent the user from copying something else into the cplitboard. Nor can one put multiple items into the clipboard.

              This is far from a trivial thing. I don't see any way one can copy a model into memory via SketchUp Ruby API.

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

              1 Reply Last reply Reply Quote 0
              • dereiD Offline
                derei
                last edited by

                If you make component from some of your geometry and right-click on it, you will see that you can save it separately from your model. So, if you save parts of your work in a temporary place, you can then insert them as components (then explode, if you need raw geometry) in any moment of your modelling process. It's like multiple items saved in clipboard, but without clipboard πŸ˜† .

                DESIGNER AND ARTIST [DEREI.UK](http://derei.uk/l)

                1 Reply Last reply Reply Quote 0
                • TIGT Offline
                  TIG Moderator
                  last edited by

                  In terms of 'marking' the SKP's state... the nearest is perhaps my 'Archiver' tool that saves a snapshot of the SKP at that very instant you 'Archive' it [into an Archives folder with the SKP]. Its name is user+date+time stamped. As you continue modeling the two will diverge... To revert to an Archived version you must manually open the Archived version - of course you can then choose to overwrite the original SKP using a 'save_as'...
                  You could 'emulate' the clipboard by exporting the selection or whole model to a user+date+time stamped named SKP in say a 'Clipped' folder with the SKP... OR even by making a Component of your Selection inside the SKP itself - leaving the original selection unchanged - that way you can see its contents in its icon...
                  However, I'm still not clear how it is intended to use the tool 'in anger'... Perhaps a little more narrative description would help - leaving us to think how the magic gets done behind the scenes...

                  TIG

                  1 Reply Last reply Reply Quote 0
                  • Rich O BrienR Offline
                    Rich O Brien Moderator
                    last edited by

                    I think it sounds like the snapshot feature in Photoshop. So regardless if you press save you'll be able to revert back to the snapshot status if needed. This would nullify the ctrl-zing as such. As my workflow is erratic as it is I'd more than likely forget to snapshot.

                    But TIG's Archiver is a good alternative as suggested by the machine him/herself? ❓

                    Download the free D'oh Book for SketchUp πŸ“–

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

                      @tig said:

                      In terms of 'marking' the SKP's state... the nearest is perhaps my 'Archiver' tool that saves a snapshot of the SKP at that very instant you 'Archive' it [into an Archives folder with the SKP]. Its name is user+date+time stamped. As you continue modeling the two will diverge... To revert to an Archived version you must manually open the Archived version - of course you can then choose to overwrite the original SKP using a 'save_as'...
                      You could 'emulate' the clipboard by exporting the selection or whole model to a user+date+time stamped named SKP in say a 'Clipped' folder with the SKP... OR even by making a Component of your Selection inside the SKP itself - leaving the original selection unchanged - that way you can see its contents in its icon...
                      However, I'm still not clear how it is intended to use the tool 'in anger'... Perhaps a little more narrative description would help - leaving us to think how the magic gets done behind the scenes...


                      Basicly my request is very similar to your Archiver (I love it BWT and use it for backup purposes basically) but it'd workinstantlyand within the same working session (no external file to be saved\reopen). 'Hold\fetch' in 3ds Max and 'snapshot' in Pshop both work in a flash.

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

                        Instantly is impossible. Even Copy+Paste takes time depending on how much you copied.

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

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

                        Advertisement