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

    [Plugin] LSS Toolbar 2.0 Beta

    Scheduled Pinned Locked Moved Plugins
    68 Posts 39 Posters 63.1k Views 39 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.
    • K Offline
      kirill2008
      last edited by

      The last few weeks I was deeply involved in the implementation of alternative user interface for Sketchup tools so I did not answer to new posts...

      @driven said:

      Webkit reported errors so I changed lss_common.js, just syntax
      Changed show()to show_modal() for mac use.

      So does it mean that there is light at the end of the tunnel for mac users? I mean I lost any hope that 'LSS Toolbar' can be adapted to run on mac.

      @thomthom said:

      Here is a method I use that allows me to use instructor content wihtout placing the files in the SU folder.

      Thomas thanks a lot πŸ‘ I think I'll use the same method too for next update if you don't mind πŸ˜„

      Little announcement:
      I just want to inform that I'm going to suspend 'LSS Toolbar' development for a while, since now I need to raise a kind of library with custom UI graphic controls for all previously made plugins/extensions. It will be an alternative to standard UI class of Sketchup API and to WebDialog class. Here is a video where it is possible to take a look at how such custom control looks like (skip to 1:08 for preview)
      http://youtu.be/QLfI1McLMa0
      [flash=560,315:23rrabxa]http://www.youtube.com/v/QLfI1McLMa0?version=3&hl=ru_RU[/flash:23rrabxa]
      I decided to get rid of WebDialog class so all issues caused by ruby-javascript communication will be immediately solved (for example non-decimal model units issue). But since I want to keep web-dialog flexibility then standard UI class is not an option, that's why I decided to make custom UI library.

      @rumcajs said:

      I have tested your LLS toolbar and have few questions and suggestions.

      Thanks for valuable feedback and new ideas. Chaining idea is cool πŸ‘
      Speaking of 'Coating idea', you may try 'Stick Group' tool of 'LSS Toolbar' for this purpose (not sure about clothes modelling, but it is possible to apply some flat decoration on free formed surface not high poly though...)

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

        @kirill2008 said:

        @thomthom said:

        Here is a method I use that allows me to use instructor content wihtout placing the files in the SU folder.

        Thomas thanks a lot πŸ‘ I think I'll use the same method too for next update if you don't mind πŸ˜„

        πŸ˜„

        @kirill2008 said:

        It will be an alternative to standard UI class of Sketchup API and to WebDialog class.

        Have you seen Aerilius' libary?
        http://forums.sketchucation.com/viewtopic.php?f=180&t=47605

        @kirill2008 said:

        (for example non-decimal model units issue).

        You mean comma vs period?
        I always keep all data as floats and lengths - Do not convert anything until it's being presented in the UI. What you want to watch out for if you send Length objects to WebDialogs is ensuring they are sent as floats.
        http://www.thomthom.net/thoughts/2012/08/dealing-with-units-in-sketchup/

        Very cool video - looking forward to seeing the final product. πŸ‘ πŸ‘

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

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

          @thomthom said:

          @kirill2008 said:

          It will be an alternative to standard UI class of Sketchup API and to WebDialog class.

          Have you seen Aerilius' libary?
          http://forums.sketchucation.com/viewtopic.php?f=180&t=47605

          No I haven't seen, unfortunately... Looks like I don't need to raise my own library πŸ˜„

          @thomthom said:

          @kirill2008 said:

          (for example non-decimal model units issue).

          You mean comma vs period?

          I mean when distance string has quote and double quote sign and "/" sign at the same time (when model units are set to feet and inches). The point is that if I send raw distance value in SU internal units (decimal inches) to web-dialog, then I need to implement 'format_length' and 'parse_length' analogs on java-script side, so I send formatted length string to web-dialog. It's OK if model units are set to decimal (no matter metric or not), but if formatted string contains quote, double-quote and "/" sign (for fractional part), then it becomes non-obvious task to send such strings back and forth...
          BTW I read your blog fairly often so I read your article about dealing with units a while ago and it really helped. But the point is I didn't find any hints in it how to let user edit formatted length string in a web-dialog, then send this information from web-dialog to ruby and this appears to be the most tricky part...

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

            @kirill2008 said:

            I mean when distance string has quote and double quote sign and "/" sign at the same time (when model units are set to feet and inches). The point is that if I send raw distance value in SU internal units (decimal inches) to web-dialog, then I need to implement 'format_length' and 'parse_length' analogs on java-script side, so I send formatted length string to web-dialog. It's OK if model units are set to decimal (no matter metric or not), but if formatted string contains quote, double-quote and "/" sign (for fractional part), then it becomes non-obvious task to send such strings back and forth...
            BTW I read your blog fairly often so I read your article about dealing with units a while ago and it really helped. But the point is I didn't find any hints in it how to let user edit formatted length string in a web-dialog, then send this information from web-dialog to ruby and this appears to be the most tricky part...

            Escape the string before you send it to the webdialog. You can quickly do this by using the #inspect method of a string.

            Say you have a string with " or ':
            string = %{10.5"}

            If you pass that directly to the webdialog you will get parse errors:
            webdialog.execute_script( %|javascript_function("#{string}")| )

            This will be evaluated in the webdialog's javascript engine as:
            javascript_function("10.5"") - un-escaped quotes.

            If you make use of #inspect:
            string = %{10.5"}.inspect
            This returns the string: 10.5\"

            This we can use:
            string = %{10.5"} webdialog.execute_script( %|javascript_function("#{string.inspect}")| )

            This will be evaluated in the webdialog's javascript engine as:
            javascript_function("10.5\"") - valid! πŸ˜„

            I made a wrapper for this - so I can call javascript functions such as:
            webdialog.call_script( 'javascript_function', %{10.5"} )
            The first argument is the javascript function - the remaining arguments (as many as you like) becomes the javascript function's arguments properly formatted with any required escape quotes. It also converts Hash objects into JSON. I've also extended it to convert Geom::Point3d and Geom::Vector3d into javascript structures which can be passed back.
            The webdialog.call_script also returns the value the javascript function return - converting ruby values <=> javascript values.

            Part of TT_Lib2:
            window.rb
            javascript.rb
            json.rb
            base.js

            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
              rumcajs
              last edited by

              Stick group - I want to
              performing "preliminary sticking" action while I did not set any option yet is annoying. I have to confess that I don't have enough patience to wait so long every time when I click "Stick group" icon. So this is what I really mind on this plugin and will not use it until it will be fixed in future. I suggest disable any preliminary actions, add a button into the box, where user can click to preliminary draw and see how it would look. This would be voluntary, so user needs not to click it. Don't start any action until the conf. window is open and user will start do his own clicking actions. The test which I do today was with standard sphere with 24 segments. I even wonder what machines are you running guys!

              1 Reply Last reply Reply Quote 0
              • panixiaP Offline
                panixia
                last edited by

                this beta looks very good promising.. congrats!
                only 2 question:

                1. does this tools support pseudo quads?
                2. does it actually have a conflict with tru-paint?

                thank you

                1 Reply Last reply Reply Quote 0
                • fouronethirtyF Offline
                  fouronethirty
                  last edited by

                  greetings scf,

                      LSS toolbar, verygood tools, thanks
                  
                  1 Reply Last reply Reply Quote 0
                  • TraupmannT Offline
                    Traupmann
                    last edited by

                    Same compliments as everyone else

                    This seems like a small bug that isn't in the file indicated.

                    https://lh3.googleusercontent.com/-0BHOkZOQrU0/UGvSXUlWr6I/AAAAAAAAYDY/1q9xo8VChr0/s458/Error%2520message.jpg

                    traupmann

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

                      @kirill2008 said:

                      Note

                      • current version runs under Windows only
                      • some certain tools conflict with SketchyPhysics plugin

                      Do you have plans to make this available for Mac? If so, any idea as to how soon?

                      Thanks!

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

                        great tools, thank you so much.

                        1 Reply Last reply Reply Quote 0
                        • M Offline
                          matt.gordon320
                          last edited by

                          These are some pretty amazing tools!

                          I'm getting an error that I'm not sure is just me. Once I start the process of Voxelizing a model, if I don't choose the voxel size first, and then the group, I get locked into a pop-up dialog that won't go away. It simply warns me how many copies of the voxel there will be, and there is no way to exit aside from killing SketchUp in the task manager.

                          Any thoughts on what I'm doing wrong? Thanks!

                          Matt

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

                            Hi,

                            I am not sure if LSS tool bar does not work for mac plattaform or I am just missing some steps during the installation but it doesn't work properly. The tool bar is displayed and everything seems ok, but it doesn't let me pick neither the forms nor the path, If I selected the two forms and the path at the same time and then I pick the tool, it kind of works because the program displays the forms that are supposed to form the model, but I am not able to apply the transformation correctly because nothing happens... An none of the other tools work also. Am I missing something here? I follow the video tutorials but nothing. I have installed the beta version, the light version, and nothing... Someone knows what to do or what's happening?

                            Thanks.

                            Pablo
                            πŸ˜•

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

                              I'd like to know if this plugins works on Sketchup Pro 2013

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

                                great! thanks a lot.

                                1 Reply Last reply Reply Quote 0
                                • pep75P Offline
                                  pep75
                                  last edited by

                                  Will there be still any updates on this plugins? This is actually one of the best plugins ever made for SU...

                                  1 Reply Last reply Reply Quote 0
                                  • D Offline
                                    DOD3R
                                    last edited by

                                    @pep75 said:

                                    Will there be still any updates on this plugins? This is actually one of the best plugins ever made for SU...

                                    true to that.
                                    It rivals Fredo6s collection for the first place

                                    1 Reply Last reply Reply Quote 0
                                    • E Offline
                                      escufi
                                      last edited by

                                      Hello All,

                                      I tried several times to run this plugin ( or toolbar) but doesn't work for me.

                                      I have SK 2008 and I follow the installation instructions. It could be a problem about language ? ( mine SK is in spanish). I say that about the "en-US" folder that must bΓ© extracted on "sources" SK folder.

                                      Thanks in advance

                                      Kind Regards

                                      1 Reply Last reply Reply Quote 0
                                      • F Offline
                                        function
                                        last edited by

                                        would love to have the lss toolbar and matrix in 2014!~

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

                                          Is there a new version of this plugin for sketchup 2014?

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

                                            I ve already tested it. LSS toolbar also works in sketchup 2014. Thank you so much.

                                            The follow edges tool is brilliant.

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

                                            Advertisement