sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    ๐Ÿ›ฃ๏ธ Road Profile Builder | Generate roads, curbs and pavements easily Download

    Multi Face Scale Offset?

    Scheduled Pinned Locked Moved Plugins
    22 Posts 5 Posters 4.6k Views 5 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.
    • pilouP Offline
      pilou
      last edited by

      Ok but in this case your structure will have a curious form of supports! ๐Ÿ˜„

      How do you will resolve the junctions ? ๐Ÿ’š
      Juxtaposition ?

      I don't believe that a plug is yet existing for all levels in the same time ๐Ÿ˜•
      Or maybe something with Panelization by Sdmitch ?

      And on your example it is not 50 % but 25 % !!! ๐Ÿ˜‰
      4 / 16 = 25 % ๐Ÿ˜‰

      25.jpg

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

      1 Reply Last reply Reply Quote 0
      • olisheaO Offline
        olishea
        last edited by

        @unknownuser said:

        Ok but in this case your structure will have a curious form of supports! ๐Ÿ˜„

        How do you will resolve the junctions ? ๐Ÿ’š
        Juxtaposition ?

        I don't believe that a plug is yet existing for all levels in the same time ๐Ÿ˜•
        Or maybe something with Panelization by Sdmitch ?

        And on your example it is not 50 % but 25 % !!! ๐Ÿ˜‰
        4 / 16 = 25 % ๐Ÿ˜‰

        [attachment=1:1ltkz9b9]<!-- ia1 -->25.jpg<!-- ia1 -->[/attachment:1ltkz9b9]

        Lol of course more coffee for me....scaling by 0.5 gives new area of 25% of the original. Thanks Pilou, you're on the ball today!! ๐Ÿ‘

        Let me worry about the structure.....that model is just an example. Where there are smaller quads, I want the structure to become more "filigree".

        Cheers Cotty, will look into those now.

        Pilou, this is what I'm going for....but mesh isn't great.


        mf02.png

        oli

        1 Reply Last reply Reply Quote 0
        • A Offline
          Aerilius
          last edited by

          Ooops, this is Ruby (not JavaScript). Fixed!

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

            I select my faces then call the Plug : nothing appen! ๐Ÿ˜ฎ
            (tested in v7 )
            Same for simple boxes

            error.jpg

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

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

              Ok! Cool! Works fine! โ˜€

              Maybe will be useful that the new faces will be the new selection! ๐Ÿ’ญ
              here the selection are still out the new faces at the end of the plugin!

              mtfoffset1.jpg

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

              1 Reply Last reply Reply Quote 0
              • A Offline
                Aerilius
                last edited by

                Now selection of new faces.
                With colors, for you ๐Ÿ˜†


                pilou style.png

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

                  Very cool! ๐Ÿ˜Ž
                  Maybe you can Inverse the number enter on inner "White / Blue" Surface
                  I must enter -50 on "White" surface !

                  And a little problem ๐Ÿ˜‰

                  cools.jpg

                  cools.jpg


                  cools1.jpg

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

                  1 Reply Last reply Reply Quote 0
                  • A Offline
                    Aerilius
                    last edited by

                    That is a bug in offset (same bug is also in SketchUp's offset tool). I now changed the direction, and if you install TIG's smart offset, it will use that.

                    1 Reply Last reply Reply Quote 0
                    • A Offline
                      Aerilius
                      last edited by

                      Ok, this could do it:
                      This modified script (based on Remus' multi_face_offset.rb) does a relative offset depending on the area of the face and the given percentage.
                      The percentage is not mathematically accurate for any shape (only accurate for rectangle and circle).


                      requires offset.rb (http://www.smustard.com/freescripts/Offset)

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

                        Many thx! โ˜€

                        cools2.jpg

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

                          @aerilius said:

                          That is a bug in offset (same bug is also in SketchUp's offset tool). I now changed the direction, and if you install TIG's smart offset, it will use that.
                          My Smart-Offset is also not perfect ! I have some improvements to make but these are at the bottom of a long 'to-do-list'... On relatively simple forms it will avoid the standard offset's 'bowtie' issues...

                          TIG

                          1 Reply Last reply Reply Quote 0
                          • olisheaO Offline
                            olishea
                            last edited by

                            I just got back home to check this thread!!

                            WOW!!

                            Gonna give it a go now.

                            No, don't make the new faces the selection!! Just double the offset %....I can use split donut if old faces remain selected....or maybe give a choice before execution, or maybe it makes no difference anyway.This is exciting!! ๐Ÿ˜„

                            oli

                            1 Reply Last reply Reply Quote 0
                            • olisheaO Offline
                              olishea
                              last edited by

                              IT WORKS!!!! ๐Ÿ˜ Great plugin! ๐Ÿ˜„

                              oli

                              1 Reply Last reply Reply Quote 0
                              • A Offline
                                Aerilius
                                last edited by

                                Time to start with Ruby ๐Ÿ˜‰
                                When you open the ruby file, you can see where I have written "Select new faces".
                                Just comment out line 54 and 55 by adding a # at the beginning of the line.

                                1 Reply Last reply Reply Quote 0
                                • olisheaO Offline
                                  olishea
                                  last edited by

                                  Will give it a go now. Excellent work Aerilius!!

                                  And GREAT images Pilou! ๐Ÿ˜„

                                  oli

                                  1 Reply Last reply Reply Quote 0
                                  • 1
                                  • 2
                                  • 1 / 2
                                  • First post
                                    Last post
                                  Buy SketchPlus
                                  Buy SUbD
                                  Buy WrapR
                                  Buy eBook
                                  Buy Modelur
                                  Buy Vertex Tools
                                  Buy SketchCuisine
                                  Buy FormFonts

                                  Advertisement