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

      @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
                                        • Bob JamesB Offline
                                          Bob James
                                          last edited by

                                          I get the attached error (and similar other errors with other buttons) when trying to use the Toolbar

                                          lss.PNG

                                          i7-4930K 3.4Ghz, 2x GTX780 6GB, 32GB DDR3-1600 ECC, OCZ Vertex 4 500GB, WD Black 3TB, 32TB NAS, 4x 27" Monitors, SpaceMouse Pro, X-keys XK-60

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

                                            This tool has an overly complex installation requirement. πŸ˜’

                                            Some files go in the Plugins folder but some others go in the Resources folder.
                                            It's explained in the tool's installation guide.

                                            It must find some files in the Resources folder because in several places like this:
                                            Plugins\lss_toolbar\lss_crvsmth.rb
                                            The tool has code:
                                            resource_dir = File.dirname(Sketchup.get_resource_path("lss_toolbar.strings")) html_path = "#{resource_dir}/lss_toolbar/crvsmth.html"

                                            If ' resouce_dir' is not found, then the empty folder path used for the html file will mean it's broken !

                                            Use this in the Ruby Console to find your Resources folder:
                                            ` File.dirname(Sketchup.get_resource_path("."))

                                            C:/Program Files (x86)/SketchUp/SketchUp 2014/Resources/en-US)`

                                            If you have this tool's files in the right places the strings file should be found too, when using.
                                            ` File.dirname(Sketchup.get_resource_path("lss_toolbar.strings"))

                                            C:/Program Files (x86)/SketchUp/SketchUp 2014/Resources/en-US)`
                                            If you don't get a 'path' some files are mis-filed...

                                            The returned paths will vary depending on your setup and SketchUp version etc...

                                            TIG

                                            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