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.
    • mariochaM Offline
      mariocha
      last edited by

      @bob james said:

      ... I would prefer that the new mirrored object be the one selected so I can immediately move it.

      Being a big user of that extension, I often had that thought. So I second that. 😎

      %(#008000)[Mario C.
      Every rule has exceptions, but some.]

      1 Reply Last reply Reply Quote 0
      • josephkim626J Offline
        josephkim626
        last edited by

        @MARIOCHA

        Just in case you missed it πŸ˜„.
        TIG did mentioned the way to change that behavior in earlier reply.

        1 Reply Last reply Reply Quote 0
        • mariochaM Offline
          mariocha
          last edited by

          @josephkim626 said:

          @MARIOCHA
          Just in case you missed it πŸ˜„.
          TIG did mentioned the way to change that behavior in earlier reply.

          I had indeed missed it. Thanks.
          Line number to insert code has changed to 337.
          Works fine. πŸ˜„

          %(#008000)[Mario C.
          Every rule has exceptions, but some.]

          1 Reply Last reply Reply Quote 0
          • josephkim626J Offline
            josephkim626
            last edited by

            @mariocha said:

            @josephkim626 said:

            @MARIOCHA
            Just in case you missed it πŸ˜„.
            TIG did mentioned the way to change that behavior in earlier reply.

            I had indeed missed it. Thanks.
            Line number to insert code has changed to 337.
            Works fine. πŸ˜„

            I assume that you are enjoying that as much as I am! πŸ˜„

            1 Reply Last reply Reply Quote 0
            • mariochaM Offline
              mariocha
              last edited by

              Wanted to learn some more Ruby.
              Added LanguageHandler to it. French included.
              Tested on Mac and PC.

              update: Attached the Localized version. This version also selects the mirrored copy at exit.

              Comments welcome.


              Mirror.rbz

              %(#008000)[Mario C.
              Every rule has exceptions, but some.]

              1 Reply Last reply Reply Quote 0
              • mariochaM Offline
                mariocha
                last edited by

                I tweaked the localized version so that it can show the toolbar icon properly.
                In Mirror_code.rb: png=File.join(DATA, "Mirror.png")
                Previously the png file name was linked to the name of the extension. But that name changes upon localisation. I made it so that the link to the png filename is not variable.


                Mirror_v6.0LH.rbz

                %(#008000)[Mario C.
                Every rule has exceptions, but some.]

                1 Reply Last reply Reply Quote 0
                • S Offline
                  Stardown
                  last edited by

                  Hey TIG. Thanks for this plugin, very useful. I run a small CNC from home for personal improvement, and test different software. To do so I export my sketchup files to dxf. I've noticed that when using your mirror plugin, some geometry (usually curves) exports wrong into 3D dxf... even though they appear to be just fine in SketchUP. Do you know anything about that issue or how to fix it?

                  If you need a sample file to check let me know.

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

                    Here's v7.0 which is fully compatible with v2017 in all Loading Policies.
                    http://sketchucation.com/pluginstore?pln=Mirror

                    TIG

                    1 Reply Last reply Reply Quote 0
                    • mariochaM Offline
                      mariocha
                      last edited by

                      Pity that LanguageHandler is not there.
                      It was all done. 😞
                      with fr strings file also. πŸ˜’

                      %(#008000)[Mario C.
                      Every rule has exceptions, but some.]

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

                        @mariocha said:

                        Pity that LanguageHandler is not there.
                        It was all done. 😞
                        with fr strings file also. πŸ˜’
                        Sorry, but there are time constraints for working on these 'free' extensions...

                        TIG

                        1 Reply Last reply Reply Quote 0
                        • mariochaM Offline
                          mariocha
                          last edited by

                          Ok then,
                          I re-did it. Here is the fr localized version. Signed.
                          Very easy to add any other language.
                          (mirrored entities are selected at the end)
                          I would be honoured if next upgrade could stem from this one. πŸ˜‰


                          Mirror-7.rbz

                          %(#008000)[Mario C.
                          Every rule has exceptions, but some.]

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

                            Coming from the VFX community, the Mirror Object/Face tool is common across all 3D packages (be it Lightwave, Max, Maya, Etc...). I found it bizarre the SU doesn't have this native function (weird). You really miss the "Mirror Tool" when hopping into a packages that don't offer it.

                            Thank you for you're development time and great little plugin, and, preventing me from loosing my mind, because I'm soooo used to having this tool!

                            Works great in SU2017, does what it claims (simple and sweet). Wink....

                            -Terry

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

                              Here's v8.0
                              http://sketchucation.com/pluginstore?pln=Mirror
                              It sidesteps the glitches some PC users get when they have accented-characters in their user-name.

                              TIG

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

                                Here's v9.0 http://sketchucation.com/pluginstore?pln=Mirror It restores compatibility with v8, which was inadvertently lost in the last update.

                                TIG

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

                                  Thanks, I'll grab the new version now...

                                  1 Reply Last reply Reply Quote 0
                                  • boofredlayB Offline
                                    boofredlay
                                    last edited by

                                    Cheers TIG.

                                    http://www.coroflot.com/boofredlay

                                    1 Reply Last reply Reply Quote 0
                                    • medeekM Offline
                                      medeek
                                      last edited by

                                      Awesome plugin. SketchUp probably should have this tool/feature built in but this plugin feels the need and it works great. Much easier than having to copy, scale (-1) and then move into position.

                                      Nathaniel P. Wilkerson PE
                                      Medeek Engineering Inc
                                      design.medeek.com

                                      1 Reply Last reply Reply Quote 0
                                      • T Offline
                                        TBoy
                                        last edited by

                                        Mr. TIG
                                        What about another version of this tool ? Let's call it '1-click Mirror'
                                        Cursor snaps to nearest selection bounds plane (or if 'Ctrl' or 'Shift' pressed to worlds x, y or z planes at pick point),
                                        Click and .. that's all. No prompts, no questions. Just 1 click.
                                        As option:
                                        Cursor as transparent rectangle for visual presentation of mirror plane.
                                        In 2d projections cursor is a line presenting a plane perpendicular to view plane.
                                        New mirrored object is selected after operation and eventually move tool activated for additional positioning.(?)

                                        Similar to current 3point Mirror mode but plane is predefined by bounds of selection. No additional angles, only pure mirror in local (&/or world) x, y, z.( Even z-mirror is rarely used in my opinion and can be omitted-???)

                                        May be I can do it by myself, but it will take me few weeks or months, a lot of digging inside incomplete documentation and few hundred SketchUp testing restarts.

                                        1 Reply Last reply Reply Quote 0
                                        • E Offline
                                          Einstein
                                          last edited by

                                          I don't know why selection is lost when I mirror entities and don't erase original selection. On the video tutorial selection skips to newly-created geometry which is expected behaviour. In my SU after mirroring, nothing is selected. 😞

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

                                            @einstein said:

                                            I don't know why selection is lost when I mirror entities and don't erase original selection. On the video tutorial selection skips to newly-created geometry which is expected behaviour. In my SU after mirroring, nothing is selected. 😞
                                            If you choose to NOT keep the original object[s], then the selection transfers to the mirrored objects.
                                            Currently if you choose to keep the original object[s] nothing is selected afterwards.
                                            I appreciate that in the usage movie the mirrored object[s] remains selected in both cases.
                                            I had not noticed the change !
                                            I suspect that it's due to the way newer versions of SketchUp handle references to exploded entities...
                                            I'll look at the code and see if it's easy to reinstate the original behavior.

                                            TIG

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

                                            Advertisement