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.
    • bmikeB Offline
      bmike
      last edited by

      TIG,

      Seems that Mirror doesn't honor Locked Components...

      [flash=640,480:hycafqxq]http://www.youtube.com/v/AQrNxCOZZuQ[/flash:hycafqxq]

      mike beganyi design + consulting llc

      1 Reply Last reply Reply Quote 0
      • bmikeB Offline
        bmike
        last edited by

        @mental said:

        Hi. Forgive me for possibly a stupid question but which advantages does this plugin bring compared to good old scale x -1. Probably I'm missing something.
        Thanks

        Much quicker, using the plugin, especially when dealing with off axis objects - compound roof rafters, sloping parts of stairs, etc. etc. No need to create an extra plane or line to include in the -1 Scale Operation to get the axis right...

        And it auto copies things for you, about any axis you choose, to dropping an identical assembly or rafter or whatever, exactly where you want it, is much easier.

        mike beganyi design + consulting llc

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

          Here's v3.8
          http://forums.sketchucation.com/viewtopic.php?p=276512#p276512
          It now honors any selected 'locked' components or groups, and does not mirror them.
          I've also included some minor 'behind the scenes' code tweaks...

          TIG

          1 Reply Last reply Reply Quote 0
          • bmikeB Offline
            bmike
            last edited by

            @tig said:

            Here's v3.8
            http://forums.sketchucation.com/viewtopic.php?p=276512#p276512
            It now honors any selected 'locked' components or groups, and does not mirror them.
            I've also included some minor 'behind the scenes' code tweaks...

            Thanks TIG!
            Sorry to call it out, but this is how I noticed the lock glitch!

            mike beganyi design + consulting llc

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

              This something to do with Sketchup itself.
              If the arc/curve is grouped/mirrored with other connected-geometry [that borders a face] then the arc gets exploded !
              If you replicate the arc+other_geometry_around_face > group, copy, scale -1, explode... you will find that native Sketchup breaks the arcs too...

              TIG

              1 Reply Last reply Reply Quote 0
              • jim smithJ Offline
                jim smith
                last edited by

                TIG, thank you for the update

                "Out of clutter find simplicity,
                from discord find harmony,
                In the middle of difficulty lies opportunity"
                Albert Einstein

                1 Reply Last reply Reply Quote 0
                • pilouP Offline
                  pilou
                  last edited by

                  @unknownuser said:

                  Sketchup breaks the arcs too...

                  It's a pity! πŸ˜•

                  Frenchy Pilou
                  Is beautiful that please without concept!
                  My Little site :)

                  1 Reply Last reply Reply Quote 0
                  • pilouP Offline
                    pilou
                    last edited by

                    So solution is to group the rectangle first! πŸ’­

                    With that all the mirrors of the arcs will keep the arcs not explosed! β˜€

                    Frenchy Pilou
                    Is beautiful that please without concept!
                    My Little site :)

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

                      Yes - it's just the same in Sketchup when it's done manually...

                      TIG

                      1 Reply Last reply Reply Quote 0
                      • urgenU Offline
                        urgen
                        last edited by

                        @unknownuser said:

                        @unknownuser said:

                        Sketchup breaks the arcs too...

                        It's a pity! πŸ˜•

                        ....Pilow,don"worry. πŸ˜„ make mirror and use plugin nilinies2arc.rb (http://forums.sketchucation.com/viewtopic.php?t=21155)...properties of the arc( in Entity Info) must have been restored πŸ˜‰

                        --pupil forever...------

                        1 Reply Last reply Reply Quote 0
                        • pilouP Offline
                          pilou
                          last edited by

                          Don't know this little last one πŸ˜„

                          Frenchy Pilou
                          Is beautiful that please without concept!
                          My Little site :)

                          1 Reply Last reply Reply Quote 0
                          • jeff hammondJ Offline
                            jeff hammond
                            last edited by

                            rainy day ideas..

                            mirror would be a good one for doing what you did to split_to_plane.. where <enter> is Z instead of the 3rd click.. lathe would be another candidate (2nd click when defining the axis)..

                            dotdotdot

                            1 Reply Last reply Reply Quote 0
                            • pilouP Offline
                              pilou
                              last edited by

                              Seems there is a glitch ?

                              An arc is drawn up left corner then "Mirrored"

                              Making a group don't resolve the problem 😲
                              when explode mirrored group , arc is exploded!
                              when explode original group , arc is not exploded! 😲

                              Mirror_arc.jpg


                              Mirror_arc.skp

                              Frenchy Pilou
                              Is beautiful that please without concept!
                              My Little site :)

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

                                I use to render my projects in 3DS Max and my pipeline is to turn all entourage components to the cubes proxies (by Fredo's Ghost plug in), open simplified entourage skp file in Max and then replace
                                them by another Max script with hi-poly vray proxies.
                                What is interesting is that the mirrored (at some stage) SU components get wrongZ value in Max.
                                I just wandering where is the wicked link:
                                SU itself, mirror.rb, ghostcomponent.rb, exporters\importers? πŸ˜•

                                1 Reply Last reply Reply Quote 0
                                • pilouP Offline
                                  pilou
                                  last edited by

                                  @Jeff
                                  Sorry don't understand first proposition ...and second proposition! 😳

                                  @unknownuser said:

                                  mirror would be a good one
                                  : it's that the problem that don't work πŸ˜„
                                  with 2 or 3 clicks even I split horizontally the rectangle

                                  @unknownuser said:

                                  lathe

                                  ?? 😳

                                  A Copy Rotate works (don't explode the arc) but it's not the mirror function and i must draw some helper lines πŸ˜„

                                  copyrot.jpg

                                  Frenchy Pilou
                                  Is beautiful that please without concept!
                                  My Little site :)

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

                                    @rv1974 said:

                                    I use to render my projects in 3DS Max and my pipeline is to turn all entourage components to the cubes proxies (by Fredo's Ghost plug in), open simplified entourage skp file in Max and then replace them by another Max script with hi-poly vray proxies.
                                    What is interesting is that the mirrored (at some stage) SU components get wrongZ value in Max.
                                    I just wandering where is the wicked link:
                                    SU itself, mirror.rb, ghostcomponent.rb, exporters\importers? πŸ˜•
                                    When you 'mirror' or use 'scale -1' [which is all that mirror really does] the component-instance is flipped [aka 'transformed']; however, inside its definition the geometry still has the original orientation.
                                    When exporting such objects into another format that exporter's code must identify the original geometry and its container's 'transformation', then typically it applies the transformation so it now looks right - some formats have limited 'transformation' abilities, so make everything changed so it looks right perhaps messing with the object's innards while doing this. This then breaks the direct link to the original's transformation, so maybe 'swapping' a component won't adopt the original's transformation...

                                    When you 'mirror' something it's typically about a bounding-box center-point - so is this 'Z difference' you see after swapping related to say half of the object's bounding-box 'height' [actually Z is its 'depth'!] - it might be that the Max script is incorrectly interpreting that point when applying its own transformation - would a fix be for the script to adjust the Z-value as it swaps ?
                                    Are you sure that the paired simple and complex proxies have the exact same bounding-box and insertion point etc - if they don't then the swapping of them can easily get muddled... If you swap and swap back do things reset properly or get worsened ? This could indicate such a state...

                                    TIG

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

                                      may be the attached files would help.


                                      skp+max files example


                                      It looks correct in SU: axes are OK and the same definition of the components


                                      after opening in Max it looks OK too


                                      After the Soulburn's Object replacer was applied: Z values :(


                                      the same area after some brief messing:)

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

                                        So the Max 'swapper' script is misinterpreting the transformation of the imported objects ?
                                        If you swap and re-swap back as you were, are you back or has further wrong-transformation happened ?
                                        Seems to me the issue is with the Max swapper script itself, which is clearly flipping the 'mirrored' versions of swapped pyramids about their centers ??
                                        If you used a non-symmetrical object as the two simple/complex we can better see the extent of the 'flipping' which might be a 'rotation' or a real 'scale -1' ??? try a pyramid placeholder with an offset apex so we can clearly see its transformation, and a more complex version for the 'swap'.
                                        The Z-offset issue should be solved if the script correctly flips these mirrored versions...
                                        I know little about Max scripts.
                                        Have you tried looking for solutions over on their forums...

                                        TIG

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

                                          Wow you helped (even knowing little about max script) me to solve the the issue that was a real pain in the @ss for a very long period.
                                          I tended to blame Sketchup but it appears to be a Soulburn replacer problem.
                                          For all who suffered the same issue, Here is a good one (that respects SU components):
                                          https://www.scriptspot.com/3ds-max/scripts/replacer-0

                                          1 Reply Last reply Reply Quote 0
                                          • jeff hammondJ Offline
                                            jeff hammond
                                            last edited by

                                            @unknownuser said:

                                            @Jeff
                                            Sorry don't understand first proposition ...and second proposition! 😳

                                            it's that the problem that don't work πŸ˜„
                                            with 2 or 3 clicks even I split horizontally the rectangle

                                            maybe it works out ok with 2D (but even then, i think you still have to define the Z for proper mirror)

                                            @unknownuser said:

                                            ?? 😳

                                            A Copy Rotate works (don't explode the arc) but it's not the mirror function and i must draw some helper lines πŸ˜„

                                            [attachment=0:25m1367s]<!-- ia0 -->copyrot.jpg<!-- ia0 -->[/attachment:25m1367s]

                                            copy/rotate isn't mirroring it though.. using a rectangle for testing doesn't make that immediately recognizable..
                                            (mirroring an object can very literally be thought of as placing an actual mirror on a line and you'll be left with the original component as well as the one you see in the mirror.. there's no 180ΒΊ rotating happening )

                                            anyway.. the idea for <return> for Z isn't creating new functionality for the tools.. it just makes some situations a tiny bit easier when you're zoomed in close.. if you want to mirror something along the green axis, you select the object, click on one part of the green axis, click another part of the green axis, then inference along the blue axis for your third point.. if you can push <return> for Z, you'd only click the first and second points then <return> tells it your third click is on a vertical axis..

                                            with lathe, you also have to define the rotation axis.. but if this option were in it and you were rotating perpendicular to the ground, you'd only click once then <enter>
                                            (in a round about way, it's the same thing as holding the shift key in order to lock the protractor to the Z axis then using one click to define a point of rotation)

                                            you can see the same behavior in split_to_plane and cut_to_plane.

                                            dotdotdot

                                            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