sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    Mac User? | Join the Rayscaper Beta for Mac Learn More

    [Plugin] Mirror

    Scheduled Pinned Locked Moved Plugins
    211 Posts 72 Posters 478.4k 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.
    • G
      GWD
      last edited by

      TIG,

      Thanks very much for the outline closer!!!!!! I can use this code in some of mine scripts.

      regards,

      Guy

      1 Reply Last reply
      Reply Quote 0
      • OxerO
        Oxer
        last edited by

        Hello!
        Mirror is one of the plugins i use most, but with SU8, the plugin Mirror 3.3 don't work for me. I use SU 8 spanish on Mac OSX Snow Leopard, one message appears in Console window, with SU7 and Mirror 3.1 the plugin worked fine.
        This is the Error:
        Console Error Message

        I hope you that you help me,
        Thanks!

        "The result is the end what is important is the process" by Oxer
        http://www.oxervision.blogspot.com/

        1 Reply Last reply
        Reply Quote 0
        • L
          leminilab
          last edited by

          @diego-rodriguez said:

          this is the error.
          I use
          windows xp sp3, in Spanish. sketchup sketchup 8 in Spanish and 7 in Spanish
          in the two versions generated BugSplats.

          the image is made with sketchup 8.
          although sketchup 7, BugSplats generates but does not generate error reporting in the console ruby

          [attachment=1:3ncjb9nt]<!-- ia1 -->file without zoom.gif<!-- ia1 -->[/attachment:3ncjb9nt]
          [attachment=0:3ncjb9nt]<!-- ia0 -->mirror 01.jpg<!-- ia0 -->[/attachment:3ncjb9nt]

          Hi !

          A little off topic but how did you do that animated gif ? It's looking good !

          Nicolas

          • "Live every day as if it were your last and then some day you'll be right."
          • "ThomThom rules!!!"
          1 Reply Last reply
          Reply Quote 0
          • TIGT
            TIG Moderator
            last edited by

            sents=[]
                	ss.each{|e|sents.push(e)}
                	  copy_group=Sketchup.active_model.active_entities.add_group(sents)
                  group_miner(copy_group.entities)###v3.1
                    new_group=copy_group.copy
                  group_miner(new_group.entities)###v3.1
            ...
            
            

            The last line is #266.
            It seems that there is nothing in the selection to copy... BUT if there is nothing then an earlier part of the code should trap it with an error, starting at line #109

            
                def activate
                    ###Sketchup.send_action("showRubyPanel;")
                    self.reset()
                    ss=Sketchup.active_model.selection
                    if ss.empty?
                        Sketchup;;set_status_text("Mirror; NO Selection !")###
                		UI.messagebox("Select Something BEFORE Using the Mirror Tool.")###v2.8
                        Sketchup.send_action("selectSelectionTool;")
                        return nil
                    end
            ...
            
            

            Have you messed up the code with the translation ?

            TIG

            1 Reply Last reply
            Reply Quote 0
            • OxerO
              Oxer
              last edited by

              @tig said:

              sents=[]
              >     	ss.each{|e|sents.push(e)}
              >     	  copy_group=Sketchup.active_model.active_entities.add_group(sents)
              >       group_miner(copy_group.entities)###v3.1
              >         new_group=copy_group.copy
              >       group_miner(new_group.entities)###v3.1
              > ...
              > 
              

              The last line is #266.

              It seems that there is nothing in the selection to copy... BUT if there is nothing then an earlier part of the code should trap it with an error, staring at line #109

              
              >     def activate
              >         ###Sketchup.send_action("showRubyPanel;")
              >         self.reset()
              >         ss=Sketchup.active_model.selection
              >         if ss.empty?
              >             Sketchup;;set_status_text("Mirror; NO Selection !")###
              >     		UI.messagebox("Select Something BEFORE Using the Mirror Tool.")###v2.8
              >             Sketchup.send_action("selectSelectionTool;")
              >             return nil
              >         end
              > ...
              > 
              

              Have you messed up the code with the translation ?

              I haven't done changes in the code only i have translated the UI.messagebox and the text of the popups windows, i have probe with the mirror 3.3 original version (english) and don't works too.
              I don't know if there is a conflict with others plugins.

              "The result is the end what is important is the process" by Oxer
              http://www.oxervision.blogspot.com/

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

                😕
                Can you try it with the 'Ruby Console' open and post all error messages...
                This is a puzzle... 😕

                TIG

                1 Reply Last reply
                Reply Quote 0
                • OxerO
                  Oxer
                  last edited by

                  I have found the error!
                  There is a conflict with SketchyPhisics 3.1, remember i work on Mac OSX.
                  Excuse me, it not was a problem in the plugin there were a conflict.
                  Thanks TIG¡¡

                  "The result is the end what is important is the process" by Oxer
                  http://www.oxervision.blogspot.com/

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

                    It's no problem for me! Now it's no problem for you!
                    ¡No hay problema para mí! ¡Ahora no es problema para ti!

                    TIG

                    1 Reply Last reply
                    Reply Quote 0
                    • G
                      glro
                      last edited by

                      @oxer said:

                      I have found the error!
                      There is a conflict with SketchyPhisics 3.1, remember i work on Mac OSX.
                      Excuse me, it not was a problem in the plugin there were a conflict.
                      Thanks TIG¡¡

                      i use windows XP SP3, and i noticed also a conflict between Mirror and Sketchyphysics3

                      too bad, we'll have to choose between 2 excellent plugins...

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

                        @oxer said:

                        I have found the error!
                        There is a conflict with SketchyPhisics 3.1, remember i work on Mac OSX.
                        Excuse me, it not was a problem in the plugin there were a conflict.
                        Thanks TIG¡¡

                        Is there a solution to solve this conflict?


                        ruby_console_mirror33.jpg

                        my SketchUp gallery

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

                          Here's v3.4 with some more code tweaks that might stop bugs...
                          http://forums.sketchucation.com/viewtopic.php?p=276512#p276512

                          TIG

                          1 Reply Last reply
                          Reply Quote 0
                          • kenK
                            ken
                            last edited by

                            TIG

                            I know this is an operator error. I have noticed if you press the delete key instead of the return, the plugin crashes. Is there a way to capture the delete key so it will not crash Sketchup.

                            Yes, I know I should be more careful.

                            Thank you for your plugin

                            Ken

                            Fight like your the third monkey on Noah's Ark gangway.

                            1 Reply Last reply
                            Reply Quote 0
                            • D
                              DIEGO-RODRIGUEZ
                              last edited by

                              tig thanks for this new update.
                              but unfortunately continues to generate bugplat when ouliner window this open, and make mirror for a group or component.

                              use sketchup 8, windows xp sp3

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

                                @diego-rodriguez said:

                                tig thanks for this new update.
                                but unfortunately continues to generate bugplat when ouliner window this open, and make mirror for a group or component.

                                use sketchup 8, windows xp sp3

                                It should roll up the Outliner in Windows ? 😕

                                TIG

                                1 Reply Last reply
                                Reply Quote 0
                                • D
                                  davidlouis
                                  last edited by

                                  TIG

                                  I have replaced an archaic version of the Mirror tool with your new one and see that the right mouse context choice is now gone and only the icon in the toolbar is there. Could you please re-intoduce the necessary lines in the code to enable it to appear in the context menu....

                                  Sorry but i am a creature of habit and the use of the icon interrupts my usual workflow...

                                  Thanks in advance.

                                  Dave

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

                                    @davidlouis said:

                                    TIG
                                    I have replaced an archaic version of the Mirror tool with your new one and see that the right mouse context choice is now gone and only the icon in the toolbar is there. Could you please re-introduce the necessary lines in the code to enable it to appear in the context menu....
                                    Sorry but i am a creature of habit and the use of the icon interrupts my usual workflow...
                                    Thanks in advance.
                                    Dave

                                    Sorry about that...
                                    I disabled it temporarily whilst I was doing something else!
                                    Here's v3.5 that has it reintroduced...
                                    http://forums.sketchucation.com/viewtopic.php?p=276512#p276512
                                    😒

                                    TIG

                                    1 Reply Last reply
                                    Reply Quote 0
                                    • B
                                      budz
                                      last edited by

                                      thanks for sharing a great plugins like this sir,..

                                      1 Reply Last reply
                                      Reply Quote 0
                                      • L
                                        LannorMov
                                        last edited by

                                        Tig: Thanks for that gift so beautiful. I'm using a lot and it works well.

                                        1 Reply Last reply
                                        Reply Quote 0
                                        • D
                                          Dominance
                                          last edited by

                                          thanks for your sharing

                                          1 Reply Last reply
                                          Reply Quote 0
                                          • dereiD
                                            derei
                                            last edited by

                                            @TIG: Could you make some loader for this ? I would like to have a folder with "MI.png, Mirror.rb and toggleWindows.rb" and a Mirror_loader.rb (or similar). Win32API.so I thinks it's best to stay in Plugins folder, as it is used by more plugins.

                                            Thanks a lot.

                                            DESIGNER AND ARTIST DEREI.UK

                                            1 Reply Last reply
                                            Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 10
                                            • 11
                                            • 3 / 11
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement