sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Multiple segment editor plugin

    Scheduled Pinned Locked Moved Plugins
    17 Posts 4 Posters 729 Views 4 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

      Works fine for me in both v8 & v2013.
      From menu OR Console for both Arcs & Circles
      Any Ruby Console errors?

      It should change Arcs & Circles - BUT of course connected geometry can prevent changes being made - just like with Entity Info's limitations.

      Try it on lone a lone unconnected Circle and report back...

      TIG

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

        For one a several arcscircles selected : all works fine in the Ruby Console!

        For one a several arcscircles selected nothing happen with the menu!

        For one a several circles selected this error is happening with Ruby Console

        Error: #<NoMethodError: C:/Program Files/Google/TGoogle SketchUp 7/Plugins/ArcCurve-set_segments=.rb:65:in set_segments=': undefined method is_polygon?' for #Sketchup::ArcCurve:0x1104e140>
        C:/Program Files/Google/TGoogle SketchUp 7/Plugins/ArcCurve-set_segments=.rb:65

        For one a several circles selected nothing happen with the menu!

        All this is very curious because seems in the old past all worked fine πŸ˜„
        Maybe the new API ? πŸ˜„

        (Tested with Su 7 free)

        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

          πŸ’­
          .is_polygon?
          was introduced in v8 ?
          This checks if a looped curve is a polygon OR a circle...

          I had made an API addition that was dropped when it became part of the new API...

          So if you are trying to work on circles, then sadly it's >=v8 use only then...
          UNLESS you also include this attached rb file in your <v8 Plugins folder!!!

          [mod=:1cut554m]Removed the attachment - better version in next few posts...
          TIG[/mod:1cut554m]

          TIG

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

            with the new file test added
            Must have the 2 rb files ArcCurve-set_segments=.rb and ArcCurveTests.rb installed ?
            (it that I made)

            2 circles and an arc-circle selected
            Menu : Nothing happen

            and with the ruby console
            nothing change and this error message
            TIG.changearcsegments 64
            Error: #<ArgumentError: C:/Program Files/Google/TGoogle SketchUp 7/Plugins/ArcCurve-set_segments=.rb:61:in `is_loop?': wrong number of arguments(1 for 0)>
            C:/Program Files/Google/TGoogle SketchUp 7/Plugins/ArcCurve-set_segments=.rb:61

            for only an arc-circle selected
            Menu : Nothing happen
            same error message on the ruby console
            TIG.changearcsegments 64
            Error: #<ArgumentError: C:/Program Files/Google/TGoogle SketchUp 7/Plugins/ArcCurve-set_segments=.rb:61:in `is_loop?': wrong number of arguments(1 for 0)>
            C:/Program Files/Google/TGoogle SketchUp 7/Plugins/ArcCurve-set_segments=.rb:61

            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

              OK, another issue is .is_loop? is causing problems.
              I've bodge up a new version - test it and report back...
              It should now be compatible with this tool, other tools and v7 & other versions πŸ˜’


              ArcCurveTests.rb

              TIG

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

                You were very efficicient! 😎

                All is perfect! Menu or / and console πŸ‘
                Works even you choose other things inside the selection! πŸ‘
                (tested on SU 7 free)

                Bravo! β˜€

                http://blog.lesoir.be/saturdaywinefever/files/2013/07/Moet-Chandon-524x965.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

                  I've now incorporated this updated ArcCurveTests.rb in the 'segemnt-setting' tool's PluginStore RBZ for the tool, as it works 'backwards' down to v7...

                  TIG

                  1 Reply Last reply Reply Quote 0
                  • onzkiO Offline
                    onzki
                    last edited by

                    @tig said:

                    I've now incorporated this updated ArcCurveTests.rb in the 'segemnt-setting' tool's PluginStore RBZ for the tool, as it works 'backwards' down to v7...

                    Thanks a lot for looking at this post and sharing your time generously for another good plugin, what's the specific plug in name again? Thanks, cheers! πŸ‘


                    [/hr]Dell Alienware Area-51. SKU 2021 Pro. AutoCAD 2023. Landscape design firm

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

                      Link Preview Image
                      SketchUp Plugins | PluginStore | SketchUcation

                      SketchUp Plugin and Extension Store by SketchUcation provides free downloads of hundreds of SketchUp extensions and plugins

                      favicon

                      (sketchucation.com)

                      TIG

                      1 Reply Last reply Reply Quote 0
                      • onzkiO Offline
                        onzki
                        last edited by

                        @tig said:

                        Link Preview Image
                        SketchUp Plugins | PluginStore | SketchUcation

                        SketchUp Plugin and Extension Store by SketchUcation provides free downloads of hundreds of SketchUp extensions and plugins

                        favicon

                        (sketchucation.com)

                        I tried it.. wow, this is amazing. I can set it endlessly, from high to low and vice versa πŸ˜„ Thanks a lot!


                        [/hr]Dell Alienware Area-51. SKU 2021 Pro. AutoCAD 2023. Landscape design firm

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

                        Advertisement