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

    Webdialog - getting started?

    Scheduled Pinned Locked Moved Developers' Forum
    21 Posts 7 Posters 1.0k Views 7 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
      wawmsey7
      last edited by

      thanks for the help, that's a really useful reference!

      1 Reply Last reply Reply Quote 0
      • A Offline
        abakobo
        last edited by

        I'm using SKUI and stopped the pain of webdialog learning... you do a lot of things with it!

        Link Preview Image
        SKUI — A GUI Framework for SketchUp

        Introducing SKUI, a GUI framework for SketchUp. It’s a library that lets you create and manipulate WebDialog GUI using only Ruby code. It saves you from needing any knowledge of HTML, CSS, JS…

        favicon

        Procrastinators Revolt! (www.thomthom.net)

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

          You might want to have a look at this GitHub repo I've put together with info about how to deal with WebDialogs: https://github.com/thomthom/sketchup-webdialogs-the-lost-manual

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

          1 Reply Last reply Reply Quote 0
          • greenskpG Offline
            greenskp
            last edited by

            Thomthom, do you have a manual for SKUI showing all features availables?

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

              @greenskp said:

              Thomthom, do you have a manual for SKUI showing all features availables?

              Afraid I got no published docs. But it's marked up with YARD so you can run that on the SKUI folder and you'll get a compiled HTML doc set.
              http://yardoc.org/

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

              1 Reply Last reply Reply Quote 0
              • Dan RathbunD Offline
                Dan Rathbun
                last edited by

                @thomthom said:

                @greenskp said:

                Thomthom, do you have a manual for SKUI showing all features availables?

                Afraid I got no published docs. But it's marked up with YARD so you can run that on the SKUI folder and you'll get a compiled HTML doc set.
                http://yardoc.org/

                GitHub repos can be linked to generate YardDocs automatically. You as the owner of the repo need to flip the switch.

                I'm not here much anymore.

                1 Reply Last reply Reply Quote 0
                • greenskpG Offline
                  greenskp
                  last edited by

                  @thomthom said:

                  But it's marked up with YARD so you can run that on the SKUI folder

                  I ran inside src >> SKUI folder and i got a blank page 😞
                  I also ran on root folder but i see the same hosted on github.

                  I would like to know how to connect value sliders to events, like the default inputbox. Maybe open child windows and so on.

                  yard server

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

                    @greenskp said:

                    @thomthom said:

                    But it's marked up with YARD so you can run that on the SKUI folder

                    I ran inside src >> SKUI folder and i got a blank page 😞
                    I also ran on root folder but i see the same hosted on github.

                    I should add a .yardopts file to the repo.
                    To generate docs, use the following command from the repo root: yardoc src/**/*.rb

                    @greenskp said:

                    I would like to know how to connect value sliders to events, like the default inputbox. Maybe open child windows and so on.

                    Slider value? Don't think any sliders has been added...

                    @dan rathbun said:

                    GitHub repos can be linked to generate YardDocs automatically. You as the owner of the repo need to flip the switch.

                    How? What switch?

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

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      sepultribe
                      last edited by

                      Link Preview Image
                      RubyDoc.info: Documenting RubyGems, Stdlib, and GitHub Projects

                      Documenting RubyGems, Stdlib, and GitHub Projects

                      favicon

                      (www.rubydoc.info)

                      maybe Dan means this

                      1 Reply Last reply Reply Quote 0
                      • Dan RathbunD Offline
                        Dan Rathbun
                        last edited by

                        @sepultribe said:

                        Link Preview Image
                        RubyDoc.info: Documenting RubyGems, Stdlib, and GitHub Projects

                        Documenting RubyGems, Stdlib, and GitHub Projects

                        favicon

                        (www.rubydoc.info)

                        maybe Dan means this

                        Yes, he must have found it.

                        (1) from the repo (right column) "Settings", ...
                        (2) from the Settings page (left column) "Webhooks & Services", ...
                        (3) in the Services box, in the "Add Service" dropdown picklist, ...
                        (4) choose "RubyDoc.info"

                        I'm not here much anymore.

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

                          @sepultribe said:

                          Link Preview Image
                          RubyDoc.info: Documenting RubyGems, Stdlib, and GitHub Projects

                          Documenting RubyGems, Stdlib, and GitHub Projects

                          favicon

                          (www.rubydoc.info)

                          maybe Dan means this

                          😮

                          I have never seen that....

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

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

                            2015-07-25_13h45_44.png

                            It appear that it's automatically generating it...

                            ...or might I have added it manually at some point?

                            2015-07-25_13h47_40.png

                            ❓ ❓ ❓

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

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

                              hm... I added it manually from GitHub and afterwards it's not listed anywhere that it's been activated. ...odd...

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

                              1 Reply Last reply Reply Quote 0
                              • Dan RathbunD Offline
                                Dan Rathbun
                                last edited by

                                @thomthom said:

                                It appear that it's automatically generating it...

                                No you have to add it somehow.

                                @thomthom said:

                                ...or might I have added it manually at some point?

                                You must have.

                                If you follow my procedure (above,) does it then appear in the list of services ?

                                I'm not here much anymore.

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

                                  @dan rathbun said:

                                  If you follow my procedure (above,) does it then appear in the list of services ?

                                  No - there was no item listed. And after manually adding it (just to see what happened) it's still not listed. But docs are still being generated... 😕

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

                                  1 Reply Last reply Reply Quote 0
                                  • S Offline
                                    sepultribe
                                    last edited by

                                    @thomthom said:

                                    [attachment=1:1sdocz38]<!-- ia1 -->2015-07-25_13h45_44.png<!-- ia1 -->[/attachment:1sdocz38]

                                    It appear that it's automatically generating it...

                                    ...or might I have added it manually at some point?

                                    [attachment=0:1sdocz38]<!-- ia0 -->2015-07-25_13h47_40.png<!-- ia0 -->[/attachment:1sdocz38]

                                    ❓ ❓ ❓

                                    I added it (on rubydocs) when I posted my previous post.

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

                                      @sepultribe said:

                                      I added it (on rubydocs) when I posted my previous post.

                                      👍 👍

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

                                      1 Reply Last reply Reply Quote 0
                                      • Dan RathbunD Offline
                                        Dan Rathbun
                                        last edited by

                                        That explains it. But the settings page on GitHub should somehow show that the service is active.

                                        I'm not here much anymore.

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

                                          I tried once more, and this time it's listed. (no idea why it wasn't earlier - but at least it's working now.)

                                          Very nice feature.

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

                                          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