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

    [Plugin] Mirror

    Scheduled Pinned Locked Moved Plugins
    211 Posts 72 Posters 390.6k Views 72 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.
    • TIGT Offline
      TIG Moderator
      last edited by

      I don't think either of those mess with other plugins, but you never know... so try disabling them and see if Mirror then works...
      Do you get any error messages in the Ruby Console when using Mirror ??
      Clearly something is wrong because hundreds of users use Mirror hundreds of times every day, and have no issues - so you must have some specific thing causing this...
      I would like to 'get to the bottom of it' πŸ˜’

      TIG

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

        Here's a future-proofed update.
        http://sketchucation.com/forums/viewtopic.php?p=276512#p276512

        TIG

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

          Tig,

          Thank you for a most useful plugin. Is there a way to change a minor irritation for me? The default choice after mirroring is to erase the original part. Ninety percent of the time, I am copying & vmirroring the part. I just erased my original part for the umpteenth time because I hit Enter too quickly. Not the end of the world but irritating nonetheless. Can I change the code to set the default button to NO.

          Kris

          1 Reply Last reply Reply Quote 0
          • Rich O BrienR Offline
            Rich O Brien Moderator
            last edited by

            on line 367

            if UI.messagebox("Erase Original Selection ? ",MB_YESNO,"")==6
            

            change the last number, 6, to 7

            if UI.messagebox("Erase Original Selection ? ",MB_YESNO,"")==7
            

            Now when you hit enter it will always be no

            Download the free D'oh Book for SketchUp πŸ“–

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

              @krism said:

              Tig,

              Thank you for a most useful plugin. Is there a way to change a minor irritation for me? The default choice after mirroring is to erase the original part. Ninety percent of the time, I am copying & mirroring the part. I just erased my original part for the umpteenth time because I hit Enter too quickly. Not the end of the world but irritating nonetheless. Can I change the code to set the default button to NO.

              Kris
              Rich's solution reverses the result - but keeps the wording πŸ˜• so answering Yes to the 'Erase Original...' prompt would NOT then erase it - that is plain silly πŸ˜’ see below on how to reword it AND reverse the result sensibly***

              The standard SketchUp dialog's default 'submit' button is 'Yes', it can't be changed...

              I'd never hit 'enter', but instead train myself to use the Y and N keys - which chose Y-es and N-o...
              You could reword the script to ask the opposite question "Keep Original ?" and then swap the results - but it will confuse others who might use your version!
              The current setup also follows the old AutoCAD's Mirror tool which it sought to mimic, and which effectively asks' do you want to to delete the original' - but if you exit without answering Y/N it might take N ? ...

              ***Edit the "Mirror.rb" script with a plain-text editor - like Notepad++ - and find line #355 and change
              @msg = "Mirror: Erase Original Selection ?"
              to read:
              @msg = "Mirror: **Keep** Original Selection ?"
              so that the stausbar prompt is in step...
              Then go to line #367
              if UI.messagebox("Erase Original Selection ? ",MB_YESNO,"")==6 ### 6=YES 7=NO
              edit it to read:
              if UI.messagebox("**Keep** Original Selection ? ",MB_YESNO,"")==**7** ### 6=YES 7=NO
              which reverses the question and the result of Pressing 'Yes'...
              For tidiness's sake also on line #369
              else ### NO
              change the rem note 'NO' after the ### to:
              else ### **YES**
              πŸ˜’

              TIG

              1 Reply Last reply Reply Quote 0
              • Rich O BrienR Offline
                Rich O Brien Moderator
                last edited by

                I was gonna tell the hack for completely removing that useless dialog but I thought my elegant answer left you with a wonderfully ironic question...

                Download the free D'oh Book for SketchUp πŸ“–

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

                  Tig & Rich,

                  Thanks for your replies. I will implement the "sensible" solution. No one else uses my computer so there is no opportunity for confusion from others. I checked my Autocad default for the mirror tool and it is set to No. I must have changed that sometime in the past as it is always like that for me.

                  Kris

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

                    Okay, works great. Thanks again.

                    Kris

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

                      Great tool, use it every day. Can't wait for the 2014 version.

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

                        TIG,

                        Thank you very much for posting this extension. Incredibly useful!

                        Best Wishes
                        Patrick.

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

                          @pjb said:

                          Great tool, use it every day. Can't wait for the 2014 version.

                          πŸ˜’
                          Why are you waiting? It is already SU2014 compliant and it has been since December. See this.

                          Etaoin Shrdlu

                          %

                          (THERE'S NO PLACE LIKE)

                          G28 X0.0 Y0.0 Z0.0

                          M30

                          %

                          1 Reply Last reply Reply Quote 0
                          • KrisidiousK Offline
                            Krisidious
                            last edited by

                            Yes, TIG has been diligently updating all his stuff. Thanks TIG!

                            By: Kristoff Rand
                            Home DesignerUnique House Plans

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

                              @dave r said:

                              @pjb said:

                              Great tool, use it every day. Can't wait for the 2014 version.

                              πŸ˜’
                              Why are you waiting? It is already SU2014 compliant and it has been since December. See this.

                              I could not find it in extension warehouse, so now i used a copy from SU2013 and put it in the plugin folder from SU2014. It works! thank you 😍

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

                                πŸ˜’ NONE of my Plugins are in the EWH !
                                They are ALL in the SketchUcation PluginStore.
                                They should all be compliant with v2014.
                                You should NEVER copy ANY plugins across into v2014 from older installation of SketchUp. unless you cannot get a current version.
                                Most authors have updated their Plugins to be compatible with v2014, so you need to install the latest version.

                                TIG

                                1 Reply Last reply Reply Quote 0
                                • KrisidiousK Offline
                                  Krisidious
                                  last edited by

                                  You should use the Plugin Store and or the SketchUcation Tools that will search and install plugins for you. Many authors here in the forums are not on the EWH.

                                  By: Kristoff Rand
                                  Home DesignerUnique House Plans

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

                                    @tig said:

                                    NONE of my Plugins are in the EWH !

                                    Why not?

                                    25% off Skatter for SketchUcation Premium Members

                                    1 Reply Last reply Reply Quote 0
                                    • KrisidiousK Offline
                                      Krisidious
                                      last edited by

                                      Cuz he's SCF O-G Baby!

                                      By: Kristoff Rand
                                      Home DesignerUnique House Plans

                                      1 Reply Last reply Reply Quote 0
                                      • Rich O BrienR Offline
                                        Rich O Brien Moderator
                                        last edited by

                                        Fo' shizzle my Krizzle. It's the big T.I double gizzle.

                                        Download the free D'oh Book for SketchUp πŸ“–

                                        1 Reply Last reply Reply Quote 0
                                        • KrisidiousK Offline
                                          Krisidious
                                          last edited by

                                          lol

                                          By: Kristoff Rand
                                          Home DesignerUnique House Plans

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

                                            A "bit of a falling out" in the pre-EWH days... while SCF PluginStore was already being setup...
                                            A loooooooooooong story...
                                            I might forgive them one day πŸ˜‰

                                            TIG

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 7
                                            • 8
                                            • 9
                                            • 10
                                            • 11
                                            • 9 / 11
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement