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.
    • B Offline
      blajnov
      last edited by

      Excess loop ...


      25-12-2012 10-52-04.png

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

        @blajnov

        Looking at ways of minimizing this, and offsetting curves as curves...
        Watch this space...

        TIG

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

          Here's v1.6 http://sketchucation.com/forums/viewtopic.php?p=446462#p446462
          Curves/Arcs are now offset as curves in the offset-outline...
          Speed improved.
          Glitches avoided.

          A Very Extra-Merry Xmas to you all... ๐Ÿ˜„

          TIG

          1 Reply Last reply Reply Quote 0
          • JClementsJ Offline
            JClements
            last edited by

            Santa never rests. โ˜€

            John | Illustrator | Beaverton, Oregon

            1 Reply Last reply Reply Quote 0
            • micioneM Offline
              micione
              last edited by

              TIG,
              this, in the latest version (1.6) of your very useful tool.
              (windows 7 - Last Updated SketchUp).
              regards,
              Roberto


              1.6.png

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

                Error Again


                25-12-2012 22-31-38.png

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

                  @blajnov said:

                  Error Again

                  the 48.4 dimension was not taken 'legitimately' (you should measure from the center of the arch segment perpendicular to offset segment)

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

                    Two steps forward one step back...
                    Another 'fix' is in the mixer... ๐Ÿ˜’

                    TIG

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

                      hi tig,
                      just send something thru paypal, is 5 p. ok ?

                      i am trying the offset-script, but have some problems, i cannot solve

                      drawing new curves : ruby works

                      in my actual project a have to insert lots of curves for landscape modelling.

                      i created a hole in an existing mesh >> extrqacted the borders of this hole >>
                      projected these border to a plane (sandbox) >> converted the borderline to

                      1. polygon
                      2. curve

                      but somehow the script does not create offsets here (standard sketchup offset works - with all its mistakes)

                      i attach the planes, maybe you can check it

                      i work in skp 6

                      thanx and regards stan


                      2 planes - border curve / border polygon

                      1 Reply Last reply Reply Quote 0
                      • Mike LuceyM Offline
                        Mike Lucey
                        last edited by

                        Thanks TIG,

                        I don't use a lot of plugins but I think this one will be very useful. Happy New Year to you.

                        Mike

                        Support us so we can support you! Upgrade to Premium Membership!

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

                          @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...


                          3m.PNG


                          3m[native].PNG

                          TIG

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

                            Merry Xmas TIG. This looks awesome!

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

                              Here's v1.7 http://sketchucation.com/forums/viewtopic.php?p=446462#p446462
                              Further glitches and convoluted offsets trapped.
                              I am hopeful this will address most issues reported to date...
                              ๐Ÿ˜•

                              Happy New Year !
                              [arriving shortly... ๐Ÿ˜‰ ]
                              ๐Ÿ˜

                              TIG

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

                                TIG

                                Not to confuse the issue. Just how should and object look after an offset. I have attached two illustrations, showing an object that has two results. The first shows the object with an offset from your plugin, and the other showing the same object after scaling.

                                I certainly do not have the smarts to determine which is correct. However, I would suggest that the scaling illustration that shows the object retaining the basic shape would be the more correct solution.

                                Again, TIG thanks for all your work.

                                Ken


                                Offset.png

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

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

                                  @Ken

                                  The definition of an 'offset' is that all of the edges of the original face's 'outline' are replicated 'offset' perpendicularly by a fixed distance. In your illustration that is 'inwards'.
                                  Clearly in the example made using my tool all of these new 'offset' edges are properly equidistant from the equivalent original perimeter edges.
                                  In your 'scaling' example the new 'outline' is an exact replica of the original outline, it's only smaller is size, not 'offset'.
                                  Therefore only some of these new edges are equidistant from their equivalents, the rest are further away by varying amounts.
                                  Thus, the 'scaled' option gives a copy that's a shrunken version,: although it might be what you want, this is NOT what we are trying to do with an 'offset' - for that we want the 'walls' of the offset shape to be a consistent width; so for us the 'offset' option IS the correct tool to use...
                                  Use can 'scale' to make smaller/larger exact 'copies' of a face's perimeter, BUT you need offset/Smart_offset to make proper 'offsets' of it...

                                  TIG

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

                                    TIG

                                    I understand that doing an offset, each edge would be offset to a set amount. However, some edges would disappear, and others would distort the shape.

                                    Circular and rectangles shapes would be the only shapes that retained the original shape. With all others shapes the offsetting tool would have to make decision on how to modify the edges to give a close proximity to the original shape.

                                    A real offset would have each edge offset the amount you select, and you would live with the results. Which may not be any where close to the original object's shape.

                                    So my question was, if it OK to distort the shape, wouldn't a distortion of the offsetting parameters that still gives a close approximation to the original shape be better.

                                    Note, I am not trying to change your plugin, I use offset quite a bit during modeling and will download and make a generous cookie offering. Certainly your plugin gives better results than the Sketchup offsetting tool.

                                    It just occurred to me to ask myself, what am I trying to do when I offset and what are the acceptable results?

                                    I generally use offsetting to establishment a edge internal or external to the object's edges for moving or setting another object. Very seldom do I use offsetting to get a larger or smaller version of the object.

                                    I am done, so now everyone back to work.

                                    Thanks TIG for your answer, you may start your break.

                                    Ken

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

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

                                      Sometimes an offset must result in some edges in the original loop remaining unused.
                                      If they have no viable vertices they aren't made.
                                      Simple symmetrical shapes scale and offset with similar results, simple because the scaling is about a 'center'.
                                      The difference between Scaling general shapes and an Offset are illustrated below.
                                      You will see that my Smart_offset omits some edges in the most weird shape because they are 'cross-threaded' and no longer the requisite distance from the original edges...Capture.PNG Incidentally, in making this illustration I discovered a glitch where single welded curve perimeters [like the one around a circle] - these were failing to Smart_offset properly. I've fixed this and will post the update shortly...

                                      TIG

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

                                        Here's v1.8 http://sketchucation.com/forums/viewtopic.php?p=446462#p446462
                                        I noticed a glitch offsetting the 'outer_loop' of a face that was in the form of a single welded-curve [like a circle, ellipse etc].
                                        This has been fixed.
                                        Now a face with any type of single welded-curve 'outer_loop' should 'smart_offset' correctly.
                                        I also fixed a typo in the offset-curve's 'welding-code', which then failed once the main issue was itself fixed.
                                        ๐Ÿ˜„

                                        TIG

                                        1 Reply Last reply Reply Quote 0
                                        • pbacotP Offline
                                          pbacot
                                          last edited by

                                          TIG,

                                          This IS excellent! Something needed since SU began. I'll have to give it a try.

                                          Happy New Year!

                                          Peter

                                          MacOSX MojaveSketchUp Pro v19 Twilight v2 Thea v3 PowerCADD

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

                                            @unknownuser said:

                                            TIG

                                            Not to confuse the issue. Just how should and object look after an offset. I have attached two illustrations, showing an object that has two results. The first shows the object with an offset from your plugin, and the other showing the same object after scaling.

                                            I certainly do not have the smarts to determine which is correct. However, I would suggest that the scaling illustration that shows the object retaining the basic shape would be the more correct solution.

                                            setoff.jpg

                                            dotdotdot

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

                                            Advertisement