sketchucation logo sketchucation
    • Login
    โ„น๏ธ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    [Plugin] TIG-Smart_offset

    Scheduled Pinned Locked Moved Plugins
    143 Posts 55 Posters 164.8k Views 54 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

      @Ken
      That's not right. ๐Ÿ˜•
      The offset is not maintained evenly - it's too near the 'spikes'.

      I can't get the effect... ๐Ÿ˜ž
      However, I do get the outline failing at some point sooner than it ought, when the inward facing 'spikes' get so large they cut through to the other side of the shape...
      I looking to see what's up with that...
      Outward offsets are also problematical on that shape...


      Capture.PNG

      TIG

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

        @tig said:

        Here's v2.1 http://sketchucation.com/forums/viewtopic.php?p=446462#p446462
        This version now has the same vertex checking tolerances applied to curves' vertices as to plain edges... [I accidentally missed that code out in the previous version].
        Hopefully it now also works with the recent problem offset examples posted: mind you, these are getting somewhat 'extreme' ๐Ÿ˜ฎ
        Feedback please ๐Ÿ˜•

        It starts to look like quest game ๐Ÿ˜Ž
        Step by step it's getting better.
        Inner ofsetting (value:-25) in my last attachment is not 100% correct.
        P.S. Thank you
        And Happy New Year!

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

          Maybe you just need to change the name of the plugin to TIG_Random _Shape_Generator.rb. ๐Ÿ˜„ ๐Ÿ˜„
          offset.png

          I also got something similar to your second one, TIG, when I used a larger offset distance.

          Etaoin Shrdlu

          %

          (THERE'S NO PLACE LIKE)

          G28 X0.0 Y0.0 Z0.0

          M30

          %

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

            I've got my algorithms in a twist [very painful!]
            Trying to unravel the mess...
            I'll update asap...

            TIG

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

              @dave r said:

              @unknownuser said:

              TIG

              I have been following the updates, and the plugin still has this output with my model. I am not sure this is correct or is a problem.

              Thanks for your work.

              Ken

              Ken, I'm curious. If you were to draw that out with paper and pencil, what would you expect that amount of offset to look like?

              Dave

              Well I don't know. That is why I questioned, just what is an offset in an earlier post. Like I said, I only use offset to define a distance to place another object. I know that an offset will eventually distort the shape, so I don't use it to make a larger version of the shape.

              I just feel that the attached offset is not what I expected. And it may come to past, that after doing an offset, no matter which tool is used, an individual will need to clean up the edges.

              A side note, it would be nice if an offset could be made with guidelines, that way I would get my distance, and be able to delete the offset lines later.

              Ken

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

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

                @tig said:

                @Ken
                That's not right. ๐Ÿ˜•
                The offset is not maintained evenly - it's too near the 'spikes'.
                .

                actually, that's pretty close to being right (aside from the whole arc offset business i got into earlier..)

                if that arc is a half circle then i offset the same distance as the two top squares are wide then the solution would be this: (the white is inset from the blue shape)

                setooof.jpg

                [EDIT] -- i updated the image to include dimensions

                dotdotdot

                1 Reply Last reply Reply Quote 0
                • simon le bonS Offline
                  simon le bon
                  last edited by

                  mardi 01 Janvier 2013

                  The following was I think a difficult exercise (;-)) but Smart_offset v2.1 20121231 has made the deal about 87% well and quick.

                  http://i274.photobucket.com/albums/jj245/Spendauballet/SketchUp/TIG-SmartOffset_HNY2013_01_zps973e8de7.jpg

                  http://i274.photobucket.com/albums/jj245/Spendauballet/SketchUp/TIG-SmartOffset_HNY2013_02_zpse0d2d1f2.jpg

                  http://i274.photobucket.com/albums/jj245/Spendauballet/SketchUp/TIG-SmartOffset_HNY2013_03_zpsef62cb93.jpg

                  http://i274.photobucket.com/albums/jj245/Spendauballet/SketchUp/TIG-SmartOffset_HNY2013_04_zps3d943985.jpg

                  +++simon

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

                    Happy New Year, Simon... ๐Ÿ˜
                    I am working on an up date that should up the percentage of successful outcomes too ๐Ÿ˜‰

                    TIG

                    1 Reply Last reply Reply Quote 0
                    • shuraS Offline
                      shura
                      last edited by

                      Happy new year TIG!

                      gosh, this plugin is something I've been wishing for at least a trillion of times. You are my hero Sir!

                      1 Reply Last reply Reply Quote 0
                      • utilerU Offline
                        utiler
                        last edited by

                        Just returned today from a few weeks holidays. Never too late to use your manners my grandma used to always say!!!

                        TIG, Trimble needs you, really. Not to mention all the other programmers around here that produce everything from simple tweaks to full blown toolsets...

                        A big thank you from me!!!!

                        purpose/expression/purpose/....

                        1 Reply Last reply Reply Quote 0
                        • john2J Offline
                          john2
                          last edited by

                          wonder why sketchup guys don't have the normal and ordinary offset that you invented ๐Ÿ‘

                          Sketchup Make 2017 (64-bit), Vray 4.0 , Windows 10 โ€“ 64 bit, corei7-8750H, 16GB RAM, Nvidia GeForce GTX 1050Ti 4GB

                          1 Reply Last reply Reply Quote 0
                          • artmusicstudioA Offline
                            artmusicstudio
                            last edited by

                            @tig said:

                            @Stan, any donation is more than welcome... I assume you meant ยฃ5 because 5p=~8ยข... ๐Ÿ˜‰

                            I think I have a fix for your probable issue - these 3m inset/outset offsets worked OK with a new version that I am working on [native fails with twisted parts].

                            It fixes some issues with multi-curve loops and also some curves that straddle a loop's start/end vertex not all offsetting as curves...

                            So far it seems to trap various permutations of offset size and loop contents and convolutions, that have been some unexpected causing issues...

                            I hope to have that version ready for release tomorrow...

                            hi tig, yes, i ment pounds, but had not the sign on my german keyboard.
                            thanx for solving the problem, thats fantastic. i'll try soon.
                            stan

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

                              I just tried to install this into my SU ver 8, not Pro, using the Window/preference/extensions/Install extension button. The .rb file appears in my plugins directory and the icon appears on the SU screen but it is greyed out and inactive. Can you make a suggestion as to what the problem might be?
                              Steve

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

                                @stever

                                Sounds like you have installed it just fine from its RBZ archive!
                                The problem seems to be you ๐Ÿ˜‰
                                Please [re]read the instructions on the tool's download page: where its uses clearly explained... ๐Ÿ˜•
                                The tool is only 'enabled' if you have already made an appropriate selection: ONE FACE.
                                So preselect ONE FACE... and 'miraculously' you will find that the tool's toolbar button etc is then available for use...
                                Surely you have noticed how some tools only become 'enabled' when circumstances are appropriate... like you have one suitable thing selected... ๐Ÿ˜’

                                TIG

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

                                  excellent time saving tool, thanks Tig.
                                  where would sketchup be without guys like you, tom tom and fredo.

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

                                    Rocks.

                                    1 Reply Last reply Reply Quote 0
                                    • TrixtaT Offline
                                      Trixta
                                      last edited by

                                      Just wondering? Is "TIG_Random _Shape_Generator.rb.v2.1" the final offer. โ“

                                      Thanks for working at it over 'The End of the world', Christmas and New Years.

                                      Great Plugin. Thank you! You rock.

                                      Win7 & SU14 Pro

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

                                        No.

                                        It is in the middle of a revamp...

                                        BUT other more pressure projects have intervened.

                                        Keep watching, an update will arrive one day...

                                        TIG

                                        1 Reply Last reply Reply Quote 0
                                        • D Offline
                                          dedmin
                                          last edited by

                                          See attached video - SU PRO 2014, Win 7 64 bit

                                          Video_2014-05-31_075712.wmv

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

                                            @dedmin said:

                                            See attached video - SU PRO 2014, Win 7 64 bit

                                            [attachment=0:1e099geg]<!-- ia0 -->Video_2014-05-31_075712.wmv<!-- ia0 -->[/attachment:1e099geg]
                                            It should offset any arcs/circles/curves as curves NOT arcs/circles.
                                            BUT I' unsure why one of the curve's edges is failing to be incorporated in that new curve...

                                            remember that it's not really intended to replace the native Offset for these kinds of very simple operations, but rather to avoid the annoying 'bow-tie' issues it can cause in complex concave/narrowing loops

                                            This tool IS long overdue its annual update...
                                            Keep watching [but don't hold your breath]... ๐Ÿ˜’

                                            TIG

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

                                            Advertisement