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

    SKUI — A GUI Framework for SketchUp

    Scheduled Pinned Locked Moved Developers' Forum
    75 Posts 21 Posters 13.0k Views 21 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.
    • PixeroP Offline
      Pixero
      last edited by

      Wow this looks great. May I suggest some sliders also.

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

        @pixero said:

        May I suggest some sliders also.

        Issue #44

        I'd like the emphasize that I hope for this project to become a community project. That people improve it and grow it.

        Right now I implemented a basic set of controls. I want to get the Milestone 1 issues done so the project has a good solid foundation. Once that is done the next focus would be more controls.

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

        1 Reply Last reply Reply Quote 0
        • P Offline
          povmaniac
          last edited by

          Interesting.. I forked your repository for tested with my exporter.
          My level of Ruby / javascript is very limited.. atm 😄
          Greetings..

          Code::maniac!!

          1 Reply Last reply Reply Quote 0
          • brewskyB Offline
            brewsky
            last edited by

            Great project! I have also been thinking about something like this.
            I'm going to try this out, beta or not, it seems way more solid than my own webdialogs 😉

            Sketchup BIM-Tools - http://sketchucation.com/forums/viewtopic.php?p=299107

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

              @brewsky said:

              I'm going to try this out, beta or not

              It's quite a stable beta. I hope to get the last few issues ironed out soon.

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

              1 Reply Last reply Reply Quote 0
              • G Offline
                Garry K
                last edited by

                I'm also going to try this. Where can I get the most up to date documentation and examples?

                Questions I have:

                1. How will language translation work?
                2. Do you support hints during hovering?
                3. How well do the components line up? I would like to line things up like this.

                Stair inputs imperial.JPG

                1 Reply Last reply Reply Quote 0
                • jiminy-billy-bobJ Offline
                  jiminy-billy-bob
                  last edited by

                  @pgarmyn said:

                  This is big great.
                  If it's platform independent, It will become the most downloaded plugin (after Sketchucation tools)
                  👍

                  By devs, certainly! But I don't think regular users will download this.
                  (Well, they will, but embedded in other plugins)

                  25% off Skatter for SketchUcation Premium Members

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

                    @garry k said:

                    Where can I get the most up to date documentation and examples?

                    Everything is located at the GitHub repository. https://github.com/thomthom/SKUI

                    @garry k said:

                    1. How will language translation work?

                    That's not handled by SKUI. You use your own translator - use it when you create the dialog. You can also change the labels after it's been loaded.

                    @garry k said:

                    1. Do you support hints during hovering?

                    Tooltips? By using the .tooltip getter and setter.
                    https://github.com/thomthom/SKUI/blob/master/src/SKUI/control.rb#L45

                    @garry k said:

                    1. How well do the components line up? I would like to line things up like this.

                    You line them us as you please. You specify position and size. There is no automatic layout as of now.

                    Note that it's still in beta. It's not 100% complete and might still incur breaking changes so pay attention if you use it and update. The Issue tracker on GitHub got an overview of open issues and what's targeted for the first release.

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

                    1 Reply Last reply Reply Quote 0
                    • P Offline
                      pgarmyn
                      last edited by

                      @jiminy-billy-bob said:

                      By devs, certainly! But I don't think regular users will download this.
                      (Well, they will, but embedded in other plugins)

                      That's why it has to be on the plugin store as a library, and (automatically ?) loaded (by dependency)

                      1 Reply Last reply Reply Quote 0
                      • G Offline
                        Garry K
                        last edited by

                        Can this be installed once - and then used by a number of different plugins by a number of different authors? Or do we have to include a copy of SKUI with each plugin installation?

                        1 Reply Last reply Reply Quote 0
                        • tt_suT Offline
                          tt_su
                          last edited by

                          @garry k said:

                          Can this be installed once - and then used by a number of different plugins by a number of different authors?

                          I've not made it available for user installation.

                          @garry k said:

                          Or do we have to include a copy of SKUI with each plugin installation?

                          There is a special loading method that will let you load SKUI into your own namespace without requiring you to modify SKUI, please see the Wiki:
                          https://github.com/thomthom/SKUI/wiki/Embedding-SKUI-in-Projects

                          That way you get the version your plugin depend on - which require you to bundle it with your extension.
                          Since SKUI is still in flux I haven't yet considered any other way of distributing it - as changes would break plugins.

                          You could always fork the project and modify your own version, changing the root namespace.
                          Note that the license prohibit distribution of a modified SKUI unless you change the root namespace.
                          But I'd encourage people to contribute to the main GitHub repo instead of doing their private mods.

                          1 Reply Last reply Reply Quote 0
                          • P Offline
                            pgarmyn
                            last edited by

                            This is great.
                            If it's platform independent, It will become the most downloaded plugin (after Sketchucation tools)
                            👍

                            1 Reply Last reply Reply Quote 0
                            • P Offline
                              pgarmyn
                              last edited by

                              Has SKUI been tested on Mac ?
                              Mac-users ❓

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

                                @pgarmyn said:

                                Has SKUI been tested on Mac ?
                                Mac-users ❓

                                Yes, I have a mac I test it on.
                                How come? You found issues?

                                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

                                  So, I'm a bit unclear here - have you found issues with SKUI on OSX?

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

                                  1 Reply Last reply Reply Quote 0
                                  • P Offline
                                    pgarmyn
                                    last edited by

                                    @thomthom said:

                                    So, I'm a bit unclear here - have you found issues with SKUI on OSX?

                                    Completly clear : Before i use it, i wanted to know..... So i don't have any experience yet with SKUI.
                                    Thanks for the info : tested on Mac

                                    1 Reply Last reply Reply Quote 0
                                    • P Offline
                                      pgarmyn
                                      last edited by

                                      @thomthom said:

                                      Yes, I have a mac I test it on.
                                      How come? You found issues?

                                      No I have Mac issues with the SU inputbox and was looking for an alternative...

                                      See : http://sketchucation.com/forums/viewtopic.php?f=11%26amp;t=57642#p524309

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

                                        Hi ThomThom,

                                        SKUI is helping me a lot in building some basic GUI.

                                        Need your help for the following scenario.
                                        I am adding controls to the window. I have kept a selection observer, when ever the selection changes, Need to remove all the controls in the window and add new ones.

                                        I am trying to use the remove_control method of control_manager which is not deleting all the controls. Please let me know if it is right to use the below code for removing all the controls of the window.

                                        window.controls.each do |control| window.remove_control(control) end

                                        Thank you,
                                        Arun.

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

                                          hm... haven't really done much for removing. I don't recall what that method was for. Though, performance wise I would think it would be faster to put them in a Groupbox - then hide/show the groupbox. ...saying that - maybe hide/show need to be added...

                                          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

                                            No - Control.visible and Control.visible= is already implemented! 😄
                                            But I really should generate them docs.

                                            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
                                            • 3
                                            • 4
                                            • 1 / 4
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement