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.
    • P Offline
      PropshopRD
      last edited by

      I can't see the plug any where in my Tool menu.
      I had followed the instructions as you set, but I can't find it!

      Any suggestion?
      Thx

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

        @propshoprd said:

        I can't see the plug any where in my Tool menu.
        I had followed the instructions as you set, but I can't find it!
        Any suggestion?
        Thx
        When it has been correctly installed the tool appears in the Plugins menu, a Toolbar [which you might need to (re)activate] if the plugin's image file is also in the Plugins folder AND the right-click context-menu, when there's a suitable selection... As 'Mirror Selection...'

        This suggests you might have simply put the ZIP-extracted folder OR the RBZ archive into the Plugins folder, and not 'installed' it correctly ??
        Or perhaps you don't have FULL Properties>Security>Edit permissions to the Plugins folder itself and so Windows itself is messing you up, by letting you think you have put the files into the Plugins folder, but actually a VirtualStore has been used...

        So... 'how' exactly have you installed this plugin ?

        There is [was] a ZIP version around... BUT I recommend that you always use the equivalent latest RBZ archive that is download-able from the SCF PluginStore [linked] - or accessed via the Resources menu above.
        Install it using the Preferences > Extensions > Install... button [or even better, when the 'Plugin Store toolset' v1.3~ is launched very shortly, you could use its Installer from the ../Plugins/SketchUcation submenu]
        OR why not just use the latest 'Plugin Store toolset' for your Plugins - to AutoInstall, Manage, and much more... all done from within SketchUp itself...
        These tools will AutoInstall plugins for you, and can warn about incorrect permissions etc too...
        Then there's no need to try and do it manually and make mistakes... πŸ˜•

        TIG

        1 Reply Last reply Reply Quote 0
        • RefkaR Offline
          Refka
          last edited by

          Dear Mr Tig / Frank Wiesner

          I have mirror plug in v3.1 revisi 21 Feb 2007 ,i want ask to you sir..
          Can i edit the script and change it ^_^ .. but for history and ownership remains in the source

          I hope you are willing,cause i really love it for this tool.. ^_^

          1 Reply Last reply Reply Quote 0
          • RefkaR Offline
            Refka
            last edited by

            Sir can i change toolbar name n language.. history n ownership still in source.. ^_^ i have mirror versi 3.1 - 21 feb 2007

            Plizzz.. ^_^

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

              @Refka

              I recommend you get the latest version of the tool [v3.8], which has many fixes and improvements over the last 6 years ! ...

              If you want to customize the tool's text output into your own language then please feel free to edit the relevant lines in the script and then use it as you wish.
              To edit a .rb file you need a plain-text editor like Notepad.exe.
              Notepad++ is far superior and you can assign syntax highlighting to file-types so '' & "" strings will display in distinctive colors making it easier to edit the file...
              If you are saving a copy please ensure its encoding is 'UTF-8 without BOM' [aka 'ANSI as UTF-8']...
              Remember, never use a wordprocessor - that will break the file's encoding.

              Because of the mottled history of this tool, which some years ago I 'took over' and subsequently rewrote its 'methods' entirely, there has never been a definitive (c) statement in the header. However, I think an implied statement like this:

              @unknownuser said:

              (c) Copyright 2013 TIG.
              Permission to use, copy, modify, and distribute this software for any purpose and without fee is hereby granted, provided that the above copyright notice appears in all copies.
              THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.

              would be deemed to apply...
              So you are pretty much free to use it either as is, or modified for your own use, at your own risk...
              Of course we must assume that you do not plan to sell this modified version, or distribute it widely, and that you will leave credit to the author[s] in the header text...
              Please do not post modified versions here as it will confuse other users... πŸ€“

              TIG

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

                Hi TIG,
                Is it possible to build in a 45 degree inference? It would be such an improvement on the workflow. I do a lot of mirroring at right angles and right now I have to use the protractor tool beforehand to mirror at right angles. I do have the rotation snap enabled in options but the plugin does not seem to use the inference.
                Thanks.

                1 Reply Last reply Reply Quote 0
                • RefkaR Offline
                  Refka
                  last edited by

                  tx a lot sir..

                  1 Reply Last reply Reply Quote 0
                  • rishikeshavateR Offline
                    rishikeshavate
                    last edited by

                    Hi guys,

                    I installed the plugin but it is not working. I can see the plugin in tool bar, in plugin menu and in context menu.

                    when i select the object and use mirror selection in either way i can not proceed further becoz the next steps (1, 2, 3 selection) is not displaying.

                    also my statues bar does not show any massage.

                    Plz Help me guyes.

                    Thanx

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

                      How did you install it [tell us steps, please] ?

                      Next open the Ruby Console open...
                      Any error messages when you try to use the Mirror tool ?

                      This tool is used many hundreds of times a week without issues, so something somewhere is wrong... πŸ˜•
                      I'm wondering if you have another rogue plugin loading that messes with base classes like 'group' and thereby messes up Mirror's legit work...

                      If you have SketchyPhysics, older-Podium, some newer-'BIM' tools etc try disabling those, restart and try Mirror... Let us know if you find the culprit... There is a 'quarantine' list...

                      TIG

                      1 Reply Last reply Reply Quote 0
                      • cottyC Offline
                        cotty
                        last edited by

                        @tig said:

                        There is a 'quarantine' list...

                        http://sketchucation.com/forums/viewtopic.php?f=323&t=47371

                        my SketchUp gallery

                        1 Reply Last reply Reply Quote 0
                        • rishikeshavateR Offline
                          rishikeshavate
                          last edited by

                          @tig said:

                          How did you install it [tell us steps, please] ?

                          Next open the Ruby Console open...
                          Any error messages when you try to use the Mirror tool ?

                          This tool is used many hundreds of times a week without issues, so something somewhere is wrong... πŸ˜•
                          I'm wondering if you have another rogue plugin loading that messes with base classes like 'group' and thereby messes up Mirror's legit work...

                          If you have SketchyPhysics, older-Podium, some newer-'BIM' tools etc try disabling those, restart and try Mirror... Let us know if you find the culprit... There is a 'quarantine' list...

                          @ Tig

                          Hi Tig.Thanx for ur reply.
                          I installed it using sketchucation plugin store from sketchup. I installed without any error. also i can see the plugin in plugin, context menu also i can see tool bar for it.
                          I have SketchyBevel and SketchyFDD installed on my PC. Is sketchy plugin messes with Mirror?
                          will try after disabling sketchy plugins?

                          Thanks

                          1 Reply Last reply Reply Quote 0
                          • 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
                                            • 1
                                            • 2
                                            • 5
                                            • 6
                                            • 7
                                            • 8
                                            • 9
                                            • 10
                                            • 11
                                            • 7 / 11
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement