sketchucation logo sketchucation
    • Login
    ๐Ÿ›ฃ๏ธ Road Profile Builder | Generate roads, curbs and pavements easily Download

    Multiple segment editor plugin

    Scheduled Pinned Locked Moved Plugins
    17 Posts 4 Posters 825 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.
    • mitcorbM Offline
      mitcorb
      last edited by

      I am sure you are familiar with Fredo6's Bezier Spline suite. You did not mention if you were using it. If you right click on a selection and get Polyline Segmentor, or Polyline Divider, it may be simpler but not necessarily multi selection as you wish. Just thought I would mention, if it might help. There may be a creative way to use ThomThom's selection tool to accomplish this?

      I take the slow, deliberate approach in my aimless wandering.

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

        @mitcorb said:

        I am sure you are familiar with Fredo6's Bezier Spline suite.

        Thanks for the reply. Yes I have that one and it's very useful. However, like what you mentioned, it doesn't have the option that I'm currently looking for. Thanks again for the suggestion.


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

        1 Reply Last reply Reply Quote 0
        • mitcorbM Offline
          mitcorb
          last edited by

          Hi, onzki:
          I still think that this idea is very useful, and not so esoteric or specialized. The tool would still have to look at each separate entity one by one and perform the desired operation similar to an operation that simplifies a mesh- a polyreducer- or polymultiplier as the case may be.
          The difference is that the tool may be able to do it more quickly, since it is repetitive. A problem may arise if the entity is connected to other geometry. Just some thoughts. I am sure there may be reasons why not.

          I take the slow, deliberate approach in my aimless wandering.

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

            If I good understand that mean that each segment is resized ?

            So it's also separated object

            So make all separated group with Loose Geometry by Chris Fullmer

            Group to Component by Thomthom

            Then Axes tool by Thomthom for have Center of selection Box for each component

            rest to find the plug for a "relative resizing" ๐Ÿ˜„

            Seems Chris Fullmer has that ๐Ÿ˜„
            Scale and Rotate Multiple
            Et voilร  ๐Ÿ’š

            If it's for change the number of segments it's another story! ๐Ÿ˜„

            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

              Maybe http://sketchucation.com/resources/pluginstore?pln=TIG_equalsegs to draw them like that initially OR my http://sketchucation.com/resources/pluginstore?pln=ArcCurve_set_segments to fix them later ? It has a Ruby Console tool TIG.changearcsegments 64 using the new API method and a Plugins menu item in the newest version...

              TIG

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

                About the number of segments
                Curiously only Ruby console works and only for the Arcs!
                Circles are ignored! ๐Ÿ˜ฒ
                Menu makes nothing!
                (tested on V7 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

                  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