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

    Watermarks with Ruby?

    Scheduled Pinned Locked Moved Developers' Forum
    17 Posts 6 Posters 882 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.
    • W Offline
      Whaat
      last edited by

      Is there any way to load a watermark with a ruby script? So far, I have not found any way to do it. None of the methods in the "Style" class look very useful.

      SketchUp Plugins for Professionals

      1 Reply Last reply Reply Quote 0
      • KrisidiousK Offline
        Krisidious
        last edited by

        not very useful? what are you trying to accomplish? maybe we can help.

        By: Kristoff Rand
        Home DesignerUnique House Plans

        1 Reply Last reply Reply Quote 0
        • I Offline
          ilay7k
          last edited by

          @whaat said:

          Is there any way to load a watermark with a ruby script? So far, I have not found any way to do it. None of the methods in the "Style" class look very useful.

          Hello Whaat!
          Have you try to make post-effects to i~r's(indigo render) extension kit? 8O 💭
          it's really interesting thing! 😒

          1 Reply Last reply Reply Quote 0
          • W Offline
            Whaat
            last edited by

            @krisidious said:

            what are you trying to accomplish? maybe we can help.

            I am experimenting with different methods of viewing an HDRI background within SU. One method is to render just the HDRI background with no geometry using the current SU camera view. Next, import the rendered image as a watermark. This would allow the user to preview an HDRI image in SU prior to doing a final render. This can be done manually but I am wondering if this process can be automated by a Ruby script. Rendering the HDRI background can be done easily. However, I am not sure if I can automatically load a render to use as a watermark.

            SketchUp Plugins for Professionals

            1 Reply Last reply Reply Quote 0
            • KrisidiousK Offline
              Krisidious
              last edited by

              ok...

              John Sayers, posted a nice example of his watermark... here
              dead link

              and then on page two he goes into detail on how he accomplishes it.

              try his method, and if that does not give you what you're looking for let me know, and we'll go into more detail.

              By: Kristoff Rand
              Home DesignerUnique House Plans

              1 Reply Last reply Reply Quote 0
              • W Offline
                Whaat
                last edited by

                Kris,
                I already said that I know how add a watermark using the SU interface. I am trying to do it using Ruby.

                SketchUp Plugins for Professionals

                1 Reply Last reply Reply Quote 0
                • KrisidiousK Offline
                  Krisidious
                  last edited by

                  ahh thus the ruby forum... well I can't help there, perhaps one of our gurus is watching...

                  By: Kristoff Rand
                  Home DesignerUnique House Plans

                  1 Reply Last reply Reply Quote 0
                  • T Offline
                    todd burch
                    last edited by

                    Methinks there is no way to do it. I'll check.

                    Todd

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      todd burch
                      last edited by

                      No can do. The good news is that it's on the slate for V7.

                      Todd

                      1 Reply Last reply Reply Quote 0
                      • W Offline
                        Whaat
                        last edited by

                        @unknownuser said:

                        No can do. The good news is that it's on the slate for V7.

                        Todd

                        Thanks a lot for looking into this Todd.

                        SketchUp Plugins for Professionals

                        1 Reply Last reply Reply Quote 0
                        • I Offline
                          ilay7k
                          last edited by

                          Whaat look at http://www.hdrlabs.com/sibl/how_it_works.html
                          iteresting thing makes by ibl-effect.

                          1 Reply Last reply Reply Quote 0
                          • C Offline
                            cmbruns
                            last edited by

                            @unknownuser said:

                            No can do. The good news is that it's on the slate for V7.
                            Todd

                            Can watermarks be manipulated via Ruby in V7? I would like to do so if it's possible. Now that Sketchup V7 is out.

                            1 Reply Last reply Reply Quote 0
                            • T Offline
                              todd burch
                              last edited by

                              @cmbruns said:

                              Can watermarks be manipulated via Ruby in V7? I would like to do so if it's possible. Now that Sketchup V7 is out.

                              Now, don't laugh, but I would have to actually download and install SU V7 to be able to answer that question.

                              1 Reply Last reply Reply Quote 0
                              • C Offline
                                cmbruns
                                last edited by

                                @unknownuser said:

                                Now, don't laugh, but I would have to actually download and install SU V7 to be able to answer that question.

                                OK. Please don't laugh back at me; I am new to Ruby in Sketchup. As I have installed SU V7, what steps should I take to investigate whether there might be watermark manipulation support in V7?

                                I browsed the API documentation at http://code.google.com/apis/sketchup/docs/developers_guide/index.html, but saw nothing obviously related to watermark images. It is unclear to me what version of Sketchup those docs refer to.

                                Can I view current API documentation from within Sketchup?

                                -Chris Bruns

                                1 Reply Last reply Reply Quote 0
                                • T Offline
                                  todd burch
                                  last edited by

                                  If you go to Help -> Ruby Help inside SketchUp, that should take you to the V7 ruby doc. You could perhaps figure out how to code up a google search to scan the online help doc for "watermark". I'm sure there's a way to do it.

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

                                    I don't think the version 7 docs are out yet. And there is no link to Ruby Help fromt he help menu, at least on my machine. As far as I know, we're all still using ther version 6 docs.

                                    Chris

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

                                    1 Reply Last reply Reply Quote 0
                                    • C Offline
                                      cmbruns
                                      last edited by

                                      @unknownuser said:

                                      If you go to Help -> Ruby Help inside SketchUp, that should take you to the V7 ruby doc. You could perhaps figure out how to code up a google search to scan the online help doc for "watermark". I'm sure there's a way to do it.

                                      Believe me I have summoned arcane google magicks to find information about managing watermarks in sketchup ruby. But I have failed in my quest. Plus, as Chris Fulmer pointed out, there is no "Help->Ruby Help" menu in my sketchup (version 7.0.8657)

                                      Perhaps I could hijack this otherwise stale thread to ask for more general advice about what I would like to do: I am interested in getting access to the images used as backgrounds in the scene tabs that are created when using the "match photo" feature. Are these images even watermarks? I foolishly imagine that I will be able to create additional photo matching features if I can gain access to these images. One thing I would like to do is use Overlay watermarks in addition to Background watermarks for photo matching. Including automatically varying transparency/visibility during the photo matching work flow. Are there already existing "match photo on steroids" tools available?

                                      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