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

      The usual usage for this tool is "3-point", which then defines a 'plane', about which a 'mirror' [reflection] occurs.

      A "2-point" transformation, 'about a line', cannot do what you seem to consider to be a true 'mirror' [reflection] - although technically I suspect that it is - because the object is rotated around the line, but keeps its original orientation otherwise.
      e.g. If you were to try to do this manually, then you could not expect an arbitrary 2-points to set in train what you wish, because a third point is needed to determine the 'plane' about which the hoped-for mirroring can be done...

      TIG

      1 Reply Last reply Reply Quote 0
      • 5 Offline
        5400engineering
        last edited by

        Great extension that I use all the time. I realize this is free so just want to drop a few suggestions to consider if you spend any more time developing this extension:

        1. A cancel option would be great at the Delete original object prompt, i.e. Yes / No / Cancel. I realize a ctrl-z will undo the mirror, so if it's too much effort/time to add the feature, then I will continue using ctrl-z.
        2. Any way to use the native / (divide) command after the mirror? I often draw a screw or bolt at a location, then mirror it about a plane, then want to add evenly spaced ones in between. currently I just copy the original item onto the mirrored item, then use the / command, then delete the copied one but if possibly immediately after using mirror that would be a time saver.

        Again, thanks for such a great extension.

        Paul D
        5400 Engineering

        1 Reply Last reply Reply Quote 0
        • H Offline
          Ho02
          last edited by

          Hi

          I am Ho Young and I am a 3D background designer in Korea. I work with sketchups and sell my 3D modeling to cartoonists.

          I joined this site for free. I want to use 'TIG' plugins in my working in sketchup.

          I want to use TIG plugins which name is MIRROR, FRACTURE, WELD, etc. Can I also use TIG plugins not mentioned?

          I downloaded the plugin for free from this site. Do I have to pay you a plugin fee?

          I never sell your plugins. just I want to use your plugins to create 3D modeling and sell my 3D modeling to cartoon's background. Can I use it?

          Thank you for making such a great plugin. Thank you very very much. You are really genius. ๐Ÿ˜„

          I am not good at English and thank you for reading. ๐Ÿ˜„

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

            @Ho02

            To clarify things.

            Most Plugins and Extensions at SketchUcation are free to download and use.
            If you find they are useful, then you can always make a voluntary donation via PayPal, using the button associated with the tool's entry.
            The choice to pay something is yours.
            If you use these Plugins commercially [as you seem to be] then you might feel some compunction to give back something in return, but it is not compulsory.
            So if some Plugins save you considerable time and effort, then making a donation of a very small proportion of what you earn would seem fair?

            Rather than distribute copies of these yourself, I recommend that you point others to the SketchUcation PluginStore, so that they can get them direct.
            You should never sell things which can be got for free.

            A few Extensions are available to buy through the Shop.
            Obviously you pay for these and should not distribute them to others.


            ์ผ์„ ๋ช…ํ™•ํžˆํ•˜๊ธฐ ์œ„ํ•ด.

            SketchUcation์˜ ๋Œ€๋ถ€๋ถ„์˜ ํ”Œ๋Ÿฌ๊ทธ์ธ ๋ฐ ํ™•์žฅ ํ”„๋กœ๊ทธ๋žจ์€ ๋ฌด๋ฃŒ๋กœ ๋‹ค์šด๋กœ๋“œํ•˜์—ฌ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
            ๊ทธ๋“ค์ด ์œ ์šฉํ•˜๋‹ค๊ณ  ์ƒ๊ฐ๋˜๋ฉด, ๋‹น์‹ ์€ ํ•ญ์ƒ ๋„๊ตฌ์˜ ํ•ญ๋ชฉ๊ณผ ๊ด€๋ จ๋œ ๋ฒ„ํŠผ์„ ์‚ฌ์šฉํ•˜์—ฌ ํŽ˜์ดํŒ”์„ ํ†ตํ•ด ์ž๋ฐœ์ ์ธ ๊ธฐ๋ถ€๋ฅผ ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
            ๋ฌด์–ธ๊ฐ€๋ฅผ ์ง€๋ถˆํ•˜๋Š” ์„ ํƒ์€ ๋‹น์‹ ์ž…๋‹ˆ๋‹ค.
            ๋งŒ์•ฝ ๋‹น์‹ ์ด์ด ํ”Œ๋Ÿฌ๊ทธ์ธ์„ ์ƒ์—…์ ์œผ๋กœ ์‚ฌ์šฉํ•œ๋‹ค๋ฉด (๋‹น์‹ ์ด์žˆ๋Š” ๊ฒƒ์ฒ˜๋Ÿผ) ๋Œ€๊ฐ€๋กœ ๋ฌด์–ธ๊ฐ€๋ฅผ ๋Œ๋ ค์ฃผ๋Š” ์•ฝ๊ฐ„์˜ ์ง•๊ณ„๋ฅผ ๋А๋‚„ ์ˆ˜ ์žˆ์ง€๋งŒ, ๊ฐ•์ œ์  ์ธ ๊ฒƒ์€ ์•„๋‹™๋‹ˆ๋‹ค.
            ๋”ฐ๋ผ์„œ ์ผ๋ถ€ ํ”Œ๋Ÿฌ๊ทธ์ธ์œผ๋กœ ์ƒ๋‹นํ•œ ์‹œ๊ฐ„๊ณผ ๋…ธ๋ ฅ์„ ์ ˆ์•ฝํ•œ๋‹ค๋ฉด ์ˆ˜์ž…์˜ ์ผ๋ถ€๋ฅผ ๊ธฐ๋ถ€ํ•˜๋Š” ๊ฒƒ์ด ๊ณต์ • ํ•ด ๋ณด์ผ ๊ฒƒ์ž…๋‹ˆ๊นŒ?

            ์ด๋Ÿฌํ•œ ๋ณต์‚ฌ๋ณธ์„ ์ง์ ‘ ๋ฐฐํฌํ•˜๋Š” ๋Œ€์‹  ๋‹ค๋ฅธ ์‚ฌ๋žŒ์ด SketchUcation PluginStore๋ฅผ ๊ฐ€๋ฆฌ ํ‚ค๋„๋กํ•˜์—ฌ ์ง์ ‘ ๊ฐ€์ ธ์˜ฌ ์ˆ˜ ์žˆ๋„๋กํ•˜๋Š” ๊ฒƒ์ด ์ข‹์Šต๋‹ˆ๋‹ค.
            ๋ฌด๋ฃŒ๋กœ ์–ป์„ ์ˆ˜์žˆ๋Š” ๋ฌผ๊ฑด์„ ์ ˆ๋Œ€ ํŒ”์ง€ ๋งˆ์‹ญ์‹œ์˜ค.

            ์ƒ์ ์„ ํ†ตํ•ด ๊ตฌ์ž…ํ•  ์ˆ˜์žˆ๋Š” ๋ช‡ ๊ฐ€์ง€ ํ™•์žฅ ํ”„๋กœ๊ทธ๋žจ์ด ์žˆ์Šต๋‹ˆ๋‹ค.
            ๋ถ„๋ช…ํžˆ ๋‹น์‹ ์€ ์ด๊ฒƒ์— ๋Œ€ํ•ด ์ง€๋ถˆํ•˜๊ณ  ๋‹ค๋ฅธ ์‚ฌ๋žŒ๋“ค์—๊ฒŒ ๋ฐฐํฌํ•ด์„œ๋Š” ์•ˆ๋ฉ๋‹ˆ๋‹ค.

            TIG

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

              Anyone else has experienced crashes using the mirror plugin in V2020?

              Mirroring nested groups and/or components several times have caused a crash of SU (bugsplat screen). Sometimes it goes ok, sometimes not.

              Saving the file now before using the command. Pre 20 never had to do that.

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

                I've tested it quite a bit in v2020, and do not see any BugSplats...

                Anything specific in your case ?
                e.g. scaled instances, Outliner open etc ??

                TIG

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

                  @tig said:

                  Anything specific in your case ?

                  Strange, nothing specific (to me) although;

                  • outliner is always open - was never a problem pre v20
                  • the top part in the hierarchy is a component with axis at the origin
                  • nested in this main component are many groups.

                  Will keep an eye open next week for crashes and see if I notice a pattern.

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

                    Same crash for me with Sketchup 2020...
                    Sometimes crash, sometimes not. Strange.
                    Thank you for your work.

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

                      HI, the circle issue again, but currently in V2021 your argument that circle can't be copied without a face is untrue. The circel stays now intact!

                      Can you correct this behaviour for mirror also?
                      For CNC work this would be great.... as you probably know.

                      Thanks in advance,

                      Searchie

                      @tig said:

                      It's the way that Sketchup itself works... ๐Ÿ˜•

                      Try this manual test.

                      Make a circle.
                      Group it - including its face in the selection.
                      Copy the group.
                      Edit it, you find that the circle remains a circle.

                      Now make another circle.
                      Group it - this time excluding its face from the selection.
                      Copy the group.
                      Edit it, you find that the circle is now is pieces.

                      Because Mirror has to make a group and copy it to do the scaling/mirroring then it will fail to keep the circle-ness of the circle if it has no face[s] selected with it in the group - exactly as occurs when you do it by hand ๐Ÿ˜’

                      It's a shortcoming in Sketchup not Mirror... ๐Ÿ˜ฎ

                      1 Reply Last reply Reply Quote 0
                      • J Offline
                        joxenfe
                        last edited by

                        Help! I love this plugin (easily the best and my most used of all plugins).

                        However, my '21 SU (Mac) has been crashing when closing or switching files which, as I understand, is typically a plugin problem. I removed the plugin and it seemed to fix this issue. I tried downloading and re-installing the plugin with the latest version, but that does not seem to resolve the crashes.

                        Please help! I miss it so dearly.

                        specs:
                        2019 MacBook Pro, 2.4 GHz 8-core i9
                        32 GB 2667 MHZ DDR4
                        AMD Radeon Pro 5600M -8 GB
                        macOS Big Sur 11.2
                        SU 21.0.392

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

                          Mirror doesn't do anything to SketchUp's internal settings.
                          It works fine for me in v2021 [PC].
                          What's your MAC OS ?

                          So its use should not be connected...
                          Can you run it with the Ruby Console open and report any error messages...

                          TIG

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

                            Hello,
                            I have an idea - it would be very handy to have an axis snapping feature based on keyboard arrows, similar to the one in the native line tool.
                            The exact behaviour I have in mind is:

                            1. Activate the tool,
                            2. Pick first point,
                            3. hit one of the keyboard arrows while guiding a "virtual line" to lock direction: X, Y or Z,
                            4. possibly repeat for the second line, so the two lines will quickly form one of the main planes: XY, XZ or YZ. Alternatively, only one line could be locked to a main axis, and the other would be drawn freely.

                            Sure, there is axis snapping for this tool already, and it works well. Though, in some situations using arrows to instantly snap the "virtual line" to axes would benefit for working speed.

                            It's just a suggestion, if you have time and will to further develop this tool ๐Ÿ˜„

                            1 Reply Last reply Reply Quote 0
                            • 0 Offline
                              0FRenZY0
                              last edited by

                              The Mirror extension doesnโ€™t seem to be locking to any axis when arrow keys are pressed.
                              Sometimes its very difficult to lock to a particular axis with cursor(mouse) only.

                              Using arrow keys to lock to a particular axis would be a very helpful feature to this extension.
                              Just like native drafting tools in sketchup.

                              1 Reply Last reply Reply Quote 0
                              • J Offline
                                JGA
                                last edited by

                                @0frenzy0 said:

                                The Mirror extension doesnโ€™t seem to be locking to any axis when arrow keys are pressed.

                                Try adjusting your viewpoint in the model, then it works as well as the native line command.

                                Regards,
                                JGA

                                1 Reply Last reply Reply Quote 0
                                • 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