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

    [Plugin][$] S4u_Transformer

    Scheduled Pinned Locked Moved Plugins
    28 Posts 12 Posters 18.5k Views 12 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.
    • hdpvH Offline
      hdpv
      last edited by

      @box said:

      It's a great plugin but it has the annoying persistent toolbar problem. Could you look at adjusting it for your next update.

      @tig said:

      If an author has made his tool's loading code 'unfriendly' it will always open its toolbar, even if you last exited with that toolbar closed...
      For example if a plugin has the overly simple code:
      tb.show
      Which always opens the toolbar, irrespective of your wishes !
      To open a toolbar only if the user previously exited with it open [OR it's the first time it's used, e.g. a new installation] the loader code needs adjusting to read something like:
      tb.show **if tb.get_last_state.abs == 1** # TB_VISIBLE/NEVER
      Which is the code used by the SketchUcation toolbar...

      maybe on Mac,on Win is no problem
      I fix for next update,

      Suforyou
      http://www.sketchupforyou.com

      1 Reply Last reply Reply Quote 0
      • BoxB Online
        Box
        last edited by

        I don't have a mac.

        1 Reply Last reply Reply Quote 0
        • hdpvH Offline
          hdpv
          last edited by

          i don't know this error,but this code is OK
          "tb.show if tb.get_last_state.abs == 1"

          Suforyou
          http://www.sketchupforyou.com

          1 Reply Last reply Reply Quote 0
          • BoxB Online
            Box
            last edited by

            I know nothing about coding so I gave you a quote from Tig when the issue came up before.
            I just wanted to point out that your Plugin's toolbar was always popping up whether open or closed previously. I've just installed and tested your Slice plugin and it doesn't do it, so that suggest there is a difference in the code.

            I don't mean this as a criticism, simply a bug fix.

            1 Reply Last reply Reply Quote 0
            • hdpvH Offline
              hdpv
              last edited by

              no difference in the code.I use Sketchup 2014,win64
              this bug fix is no expect. 😄

              Suforyou
              http://www.sketchupforyou.com

              1 Reply Last reply Reply Quote 0
              • HornOxxH Offline
                HornOxx
                last edited by

                hi HDPV,
                first thank you for this great tool!
                I have used it for some time and it worked great so far, but since a few days I get the message
                that I should do an update as soon as I use the plugin (please see screenshot). This is the only plugin that causes this error by now.
                I run SketchUp 2013 Pro and SketchUp 8 Free on Win7 64bit. I get this message on both versions.

                any help is appreciated - thank you


                Update New Version.JPG

                never trust a skinny cook

                1 Reply Last reply Reply Quote 0
                • hdpvH Offline
                  hdpv
                  last edited by

                  Sorry HornOxx, This trial is expired.

                  Suforyou
                  http://www.sketchupforyou.com

                  1 Reply Last reply Reply Quote 0
                  • Dave RD Offline
                    Dave R
                    last edited by

                    @hdpv said:

                    Sorry HornOxx, This trial is expired.

                    Could you change the wording in the message? That message doesn't indicate at all that the trial period has expired and that the user needs to pay up or discontinue the plugin. Perhaps you could change the message to something like, "Thank you for trying S4u_Transformer. The trial period has ended. Please go to [your website] to purchase the a license."

                    Etaoin Shrdlu

                    %

                    (THERE'S NO PLACE LIKE)

                    G28 X0.0 Y0.0 Z0.0

                    M30

                    %

                    1 Reply Last reply Reply Quote 0
                    • HornOxxH Offline
                      HornOxx
                      last edited by

                      Sorry - how embarrassing to me!! 😉 I didn´t even notice that this is a purchase-plugin.

                      Regards to All

                      never trust a skinny cook

                      1 Reply Last reply Reply Quote 0
                      • hdpvH Offline
                        hdpv
                        last edited by

                        Thanks Dave!

                        Suforyou
                        http://www.sketchupforyou.com

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

                          This is incredible

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

                            To the Author (S4U).

                            Should it be any discount, upgrade price for the v1 users?
                            If yes how can one apply it?

                            1 Reply Last reply Reply Quote 0
                            • hdpvH Offline
                              hdpv
                              last edited by

                              Hi
                              Now,the update is free.
                              Mail to me if you purchased it.

                              Suforyou
                              http://www.sketchupforyou.com

                              1 Reply Last reply Reply Quote 0
                              • R Offline
                                rv1974
                                last edited by

                                Hdpv, Say I have multiple components, some of them have scale -1 (=mirrored) on some axis, some do not. Is there way to take onlythose with scale -1 and flip it to 1?
                                Thank you

                                1 Reply Last reply Reply Quote 0
                                • hdpvH Offline
                                  hdpv
                                  last edited by

                                  Hi rv1974!
                                  s4u Transformer can't do it.
                                  You try this code:
                                  sel=Sketchup.active_model.selection
                                  axis=[0,5,10]
                                  s=sel.group_by{|e| e.transformation.to_a[axis.z]>0}.values[0] # you can change axis.x or axis.y
                                  sel.clear
                                  sel.add s

                                  Suforyou
                                  http://www.sketchupforyou.com

                                  1 Reply Last reply Reply Quote 0
                                  • R Offline
                                    rv1974
                                    last edited by

                                    Hdpv thanks for reply!
                                    I tried the code- nothing happens. what am I doing wrong?

                                    Error: #<TypeError: wrong argument type (expected Sketchup::Entity or Array of Sketchup::Entity)>
                                    <main>:4:in add' <main>:4:in <main>'
                                    SketchUp:1:in `eval'


                                    GIF 04-11-2019 10-54-58.gif

                                    1 Reply Last reply Reply Quote 0
                                    • hdpvH Offline
                                      hdpv
                                      last edited by

                                      First,You select all components.

                                      Suforyou
                                      http://www.sketchupforyou.com

                                      1 Reply Last reply Reply Quote 0
                                      • R Offline
                                        rv1974
                                        last edited by

                                        IDK I select all and ... no magic happens
                                        Sometimes I have no reply in Ruby console, sometimes diffrent errors.
                                        In any case nothing flips to original

                                        sel=Sketchup.active_model.selection
                                        axis=[0,5,10]
                                        s=sel.group_by{|e| e.transformation.to_a[axis.z]>0}.values[0] # you can change axis.x or axis.y
                                        sel.clear
                                        sel.add s
                                        Error: #<TypeError: wrong argument type (expected Sketchup::Entity or Array of Sketchup::Entity)>
                                        <main>:4:in add' <main>:4:in <main>'
                                        SketchUp:1:in `eval'

                                        or

                                        Error: #<TypeError: wrong argument type (expected Sketchup::Entity or Array of Sketchup::Entity)>
                                        <main>:4:in add' <main>:4:in <main>'
                                        SketchUp:1:in eval' Error: #<SyntaxError: <main>: syntax error, unexpected ':', expecting end-of-input Error: #<TypeError: wrong argument ... ^> SketchUp:1:in eval'


                                        GIF 05-11-2019 15-46-56.gif


                                        axes.skp

                                        1 Reply Last reply Reply Quote 0
                                        • hdpvH Offline
                                          hdpv
                                          last edited by

                                          Hi
                                          You change axis.z to axis.x
                                          sel=Sketchup.active_model.selection
                                          axis=[0,5,10]
                                          s=sel.group_by{|e| e.transformation.to_a[axis.x]>0}.values[0] # you can change axis.x or axis.y
                                          sel.clear
                                          sel.add s
                                          After,you use s4uTransformer with center origin and ratio scale x_axis: -1

                                          Suforyou
                                          http://www.sketchupforyou.com

                                          1 Reply Last reply Reply Quote 0
                                          • R Offline
                                            rv1974
                                            last edited by

                                            😮 Wow! You are my hero! You see 3ds Max hates negative scale entities and it causes huge PITA.
                                            May I humbly ask you to shape it as .rb?
                                            And if you could merge with 'Reset Transformer' as one new script it'd be amazing.
                                            Many thanks for assistance.

                                            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