• Login
sketchucation logo sketchucation
  • Login
🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

[Plugin] BezierSpline - v2.2a - 22 Apr 21

Scheduled Pinned Locked Moved Plugins
460 Posts 183 Posters 2.0m Views 183 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.
  • R Offline
    rv1974
    last edited by 14 Apr 2021, 08:35

    Error: #<ArgumentError: wrong number of arguments (given 2, expected 1)>
    C:/Users/user/AppData/Roaming/SketchUp/SketchUp 2021/SketchUp/Plugins/offset.rb:56:in offset' C:/Users/user/AppData/Roaming/SketchUp/SketchUp 2021/SketchUp/Plugins/bezierspline/bezierspline_main.rb:2793:in close_loop_by_Bezier'
    C:/Users/user/AppData/Roaming/SketchUp/SketchUp 2021/SketchUp/Plugins/bezierspline/bezierspline_main.rb:2049:in call_compute_curve' C:/Users/user/AppData/Roaming/SketchUp/SketchUp 2021/SketchUp/Plugins/bezierspline/bezierspline_main.rb:984:in draw'

    1 Reply Last reply Reply Quote 0
    • R Offline
      rv1974
      last edited by 14 Apr 2021, 08:47

      rror: #<ArgumentError: At least 2 points required to initialize curve>
      c:/users/user/appdata/roaming/sketchup/sketchup 2021/sketchup/plugins/dm_profilebuilder3/pbapi/curve.rbe:8:in initialize' c:/users/user/appdata/roaming/sketchup/sketchup 2021/sketchup/plugins/dm_profilebuilder3/pbapi/chain.rbe:2097:in new'
      c:/users/user/appdata/roaming/sketchup/sketchup 2021/sketchup/plugins/dm_profilebuilder3/pbapi/chain.rbe:2097:in block in rebuild_entity_array_from_points_array' c:/users/user/appdata/roaming/sketchup/sketchup 2021/sketchup/plugins/dm_profilebuilder3/pbapi/chain.rbe:2037:in each_index'
      c:/users/user/appdata/roaming/sketchup/sketchup 2021/sketchup/plugins/dm_profilebuilder3/pbapi/chain.rbe:2037:in rebuild_entity_array_from_points_array' c:/users/user/appdata/roaming/sketchup/sketchup 2021/sketchup/plugins/dm_profilebuilder3/pbapi/chain.rbe:1995:in offset!'
      c:/users/user/appdata/roaming/sketchup/sketchup 2021/sketchup/plugins/dm_profilebuilder3/pbapi/assembly.rbe:2191:in offset_chain' c:/users/user/appdata/roaming/sketchup/sketchup 2021/sketchup/plugins/dm_profilebuilder3/pbapi/assembly.rbe:219:in block in build_rails'
      c:/users/user/appdata/roaming/sketchup/sketchup 2021/sketchup/plugins/dm_profilebuilder3/pbapi/assembly.rbe:215:in each' c:/users/user/appdata/roaming/sketchup/sketchup 2021/sketchup/plugins/dm_profilebuilder3/pbapi/assembly.rbe:215:in build_rails'
      c:/users/user/appdata/roaming/sketchup/sketchup 2021/sketchup/plugins/dm_profilebuilder3/pbapi/assembly.rbe:184:in draw' c:/users/user/appdata/roaming/sketchup/sketchup 2021/sketchup/plugins/dm_profilebuilder3/assembly_dialog.rbe:1221:in build_fence'
      c:/users/user/appdata/roaming/sketchup/sketchup 2021/sketchup/plugins/dm_profilebuilder3/assembly_dialog.rbe:1209:in block in build_along_path' c:/users/user/appdata/roaming/sketchup/sketchup 2021/sketchup/plugins/dm_profilebuilder3/assembly_dialog.rbe:1208:in each'
      c:/users/user/appdata/roaming/sketchup/sketchup 2021/sketchup/plugins/dm_profilebuilder3/assembly_dialog.rbe:1208:in build_along_path' c:/users/user/appdata/roaming/sketchup/sketchup 2021/sketchup/plugins/dm_profilebuilder3/assembly_dialog.rbe:126:in block in initialize'

      I could send a file if needed

      1 Reply Last reply Reply Quote 0
      • F Offline
        fredo6
        last edited by 14 Apr 2021, 09:58

        Could you send me the offset.rb file that is mentioned

        C:/Users/user/AppData/Roaming/SketchUp/SketchUp 2021/SketchUp/Plugins/offset.rb:56:in `offset'

        I don't know what it is but it may cause a conflict.

        1 Reply Last reply Reply Quote 0
        • R Offline
          rv1974
          last edited by 14 Apr 2021, 10:24

          some info:
          http://www.smustard.com/script/Offset

          Please download the updated offset.rb from there.
          After I updated the offset.rb from the link above the error message slightly changed:

          Error: #<ArgumentError: wrong number of arguments (given 2, expected 1)>
          C:/Users/user/AppData/Roaming/SketchUp/SketchUp 2021/SketchUp/Plugins/offset.rb:149:in offset' C:/Users/user/AppData/Roaming/SketchUp/SketchUp 2021/SketchUp/Plugins/bezierspline/bezierspline_main.rb:2793:in close_loop_by_Bezier'
          C:/Users/user/AppData/Roaming/SketchUp/SketchUp 2021/SketchUp/Plugins/bezierspline/bezierspline_main.rb:2049:in call_compute_curve' C:/Users/user/AppData/Roaming/SketchUp/SketchUp 2021/SketchUp/Plugins/bezierspline/bezierspline_main.rb:984:in draw'

          1 Reply Last reply Reply Quote 0
          • F Offline
            fredo6
            last edited by 14 Apr 2021, 15:38

            You should definitely disregard this plugin.

            It redefines base methods for native Sketchup objects (Face, Array, ...). So it causes conflicts with other plugins, among which mine. There is nothing I can do about it.

            By the way, this offset.rb is a library to be used by other plugins or extensions. Which one requires offset.rb?

            1 Reply Last reply Reply Quote 0
            • R Offline
              rv1974
              last edited by 14 Apr 2021, 18:27

              at least this one:
              https://sketchucation.com/forums/viewtopic.php?f=180&t=14095
              damn.. from 2008 (sketchup 6) .. I have to put it down with heavy nostalgia.

              1 Reply Last reply Reply Quote 0
              • F Offline
                fredo6
                last edited by 14 Apr 2021, 21:02

                @rv1974 said:

                at least this one:
                https://sketchucation.com/forums/viewtopic.php?f=180&t=14095
                damn.. from 2008 (sketchup 6) .. I have to put it down with heavy nostalgia.

                I publish a fix with version BezierSpline v2.1b.

                But, frankly, offset.rb should be avoided, because it redefines methods in base classes of Sketchup Ruby.

                1 Reply Last reply Reply Quote 0
                • F Offline
                  fredo6
                  last edited by 14 Apr 2021, 21:03

                  NEW RELEASE 2.1b - 14 Apr 21

                  This release prevents a conflict with offset.rb (RickW).


                  More info at main post

                  Download BezierSpline at Sketchucation Plugin Store

                  Fredo

                  1 Reply Last reply Reply Quote 0
                  • R Offline
                    rv1974
                    last edited by 15 Apr 2021, 06:41

                    Huge thank you Fredo!
                    I assume PB assembly problem is not at your end, is it?
                    PS I said good-buy to windowizer 4+offset, thank you for pointer.
                    PPS Some F3 for 'done and exit'- not this time?

                    1 Reply Last reply Reply Quote 0
                    • D Offline
                      DarthKeidran
                      last edited by 22 Apr 2021, 03:19

                      I don't know if you're updating this to work with Sketchup 2021 (Running macOS Big Sur), but the only functions of this plugin I can use are "Classic Bezier Curve", "Polyline", "Catmull Spline", "F Spline", and "Courbette". From tutorials I can find, the other tools are supposed to bring up a Parameters dialogue box (or contextual menu based on what the Rubi Console says), which I can't get to appear no matter what I try.

                      A good example of this is the action in this sketchup discussion: https://forums.sketchup.com/t/divide-existing-arc-into-equal-segments/74870/2

                      I, more specifically, am trying to get an ellipse with equally sized segments as is demonstrated with your tool in this sketchup discussion: https://forums.sketchup.com/t/elliptical-array/17102/13

                      If you have any suggestions to fix this, let me know please.

                      DarthKeidran.

                      1 Reply Last reply Reply Quote 0
                      • F Offline
                        fredo6
                        last edited by 22 Apr 2021, 07:22

                        NEW RELEASE 2.2a - 22 Apr 21

                        This release improves performance for selection contextual menu.


                        More info at main post

                        Download BezierSpline at Sketchucation Plugin Store

                        Fredo

                        1 Reply Last reply Reply Quote 0
                        • R Offline
                          R0bBot
                          last edited by 10 May 2021, 20:11

                          Is there any way to turn off the "double shift" feature? Im not sure the technical term but how the curve's controls changes when pressing shift twice. Im not sure how to remove that feature since its more of a nuisance than an addon

                          1 Reply Last reply Reply Quote 0
                          • E Offline
                            elviocb
                            last edited by 28 Jun 2022, 02:17

                            Toolbar Icons are really small on Sketchup 2022. Any plans to update it?

                            1 Reply Last reply Reply Quote 0
                            • F Offline
                              fredo6
                              last edited by 28 Jun 2022, 17:39

                              @elviocb said:

                              Toolbar Icons are really small on Sketchup 2022. Any plans to update it?

                              No Plan....
                              Except if someone provides me with icons in size 128x128.

                              Fredo

                              1 Reply Last reply Reply Quote 0
                              • A Offline
                                atrodler
                                last edited by 28 Feb 2024, 14:33

                                re:Bezier spline

                                is there a way to use the convert feature on more than 1 line/polyline segment at a time? I convert topo lines to equally divided lines using the bezier spline toolbar but can only run the "convert to" command on one line at a time. Can be tedious and timely. is there a batch process / command to convert multiple lines/polylines in one execution?

                                1 Reply Last reply Reply Quote 0
                                • F Offline
                                  fredo6
                                  last edited by 7 Mar 2024, 18:32

                                  @atrodler said:

                                  is there a way to use the convert feature on more than 1 line/polyline segment at a time? I convert topo lines to equally divided lines using the bezier spline toolbar but can only run the "convert to" command on one line at a time.

                                  Not with BezierSpline, but possible with FredoSpline.

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

                                  Advertisement