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

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

    已排程 已置頂 已鎖定 已移動 Plugins
    460 貼文 183 Posters 2.0m 瀏覽 183 Watching
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • Dave RD 離線
      Dave R
      最後由 編輯

      @ahmed0007 said:

      Polyline segmentor is not working in sketchup 2020?

      It worked for me just now in 2020.
      Screenshot - 2_2_2020 , 3_59_21 PM.png

      Etaoin Shrdlu

      %

      (THERE'S NO PLACE LIKE)

      G28 X0.0 Y0.0 Z0.0

      M30

      %

      1 條回覆 最後回覆 回覆 引用 0
      • A 離線
        Ahmed0007
        最後由 編輯

        @dave r said:

        @ahmed0007 said:

        Polyline segmentor is not working in sketchup 2020?

        It worked for me just now in 2020.
        [attachment=1:37qeug7g]<!-- ia1 -->Screenshot - 2_2_2020 , 3_59_21 PM.png<!-- ia1 -->[/attachment:37qeug7g]

        Thanks for quick response.
        but not working for me 😞


        .Gif

        1 條回覆 最後回覆 回覆 引用 0
        • BoxB 線上
          Box
          最後由 編輯

          Do you have the most up to date Libfredo?

          1 條回覆 最後回覆 回覆 引用 0
          • fredo6F 離線
            fredo6
            最後由 編輯

            @Ahmed0007

            Normally, when you convert to Segmentor, you should have a dialog box popping up (asking for number of segments).

            Could you open the Ruby console while you invoke the convert.

            Thanks

            Fredo

            1 條回覆 最後回覆 回覆 引用 0
            • A 離線
              Ahmed0007
              最後由 編輯

              @box said:

              Do you have the most up to date Libfredo?

              yes.

              1 條回覆 最後回覆 回覆 引用 0
              • A 離線
                Ahmed0007
                最後由 編輯

                @fredo6 said:

                @Ahmed0007

                Normally, when you convert to Segmentor, you should have a dialog box popping up (asking for number of segments).

                Could you open the Ruby console while you invoke the convert.

                Thanks

                Fredo

                Error: #<NameError: uninitialized constant BZ__Segmentor::Traductor>
                C:/Users/Ahmed/AppData/Roaming/SketchUp/SketchUp 2020/SketchUp/Plugins/bezierspline/BZ__Segmentor.rb:72:in bz_ask_extras' C:/Users/Ahmed/AppData/Roaming/SketchUp/SketchUp 2020/SketchUp/Plugins/bezierspline/bezierspline_main.rb:2058:in call'
                C:/Users/Ahmed/AppData/Roaming/SketchUp/SketchUp 2020/SketchUp/Plugins/bezierspline/bezierspline_main.rb:2058:in call_ask_extras' C:/Users/Ahmed/AppData/Roaming/SketchUp/SketchUp 2020/SketchUp/Plugins/bezierspline/bezierspline_main.rb:2109:in conversion_curve'
                C:/Users/Ahmed/AppData/Roaming/SketchUp/SketchUp 2020/SketchUp/Plugins/bezierspline/bezierspline_main.rb:2411:in `block (2 levels) in compute_contextual_menu'

                Thanks for Respond

                1 條回覆 最後回覆 回覆 引用 0
                • fredo6F 離線
                  fredo6
                  最後由 編輯

                  Can you check if in your plugin directory, subfolder bezierspline, you have a file called LibTraductor.rb.

                  If not, can you download beizerspline v2.1a.

                  Also, you should delete any file LibTraductor.rb which would be in the main Plugin directory.

                  1 條回覆 最後回覆 回覆 引用 0
                  • A 離線
                    Ahmed0007
                    最後由 編輯

                    @fredo6 said:

                    Can you check if in your plugin directory, subfolder bezierspline, you have a file called LibTraductor.rb.

                    If not, can you download beizerspline v2.1a.

                    Also, you should delete any file LibTraductor.rb which would be in the main Plugin directory.

                    Thanks Now it's working.

                    1 條回覆 最後回覆 回覆 引用 0
                    • fredo6F 離線
                      fredo6
                      最後由 編輯

                      @ahmed0007 said:

                      Thanks Now it's working.

                      What was the problem?

                      1 條回覆 最後回覆 回覆 引用 0
                      • R 離線
                        rv1974
                        最後由 編輯

                        Fredo, two observations:
                        'Close nicely' in Cubic Bezier is broken (the curve disappears, rarely the curve is kept but it exits without closing)
                        Would it be possible to add some F(?) shortcut to 'Done end exit' across all sub-tools?
                        Thank you
                        P.S. BTW there's something in your closed curves that doesn't allow them to be used as paths for Profile Builder's assemblies. I'd have to explode or 'turn to arch' (another plugin) to overcome it. Is there possibility to do something on your end?

                        1 條回覆 最後回覆 回覆 引用 0
                        • fredo6F 離線
                          fredo6
                          最後由 編輯

                          I am not able to reproduce the issues you mentioned.

                          Could you open the Ruby console when you play with BezierSpline.

                          Fredo

                          1 條回覆 最後回覆 回覆 引用 0
                          • R 離線
                            rv1974
                            最後由 編輯

                            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 條回覆 最後回覆 回覆 引用 0
                            • R 離線
                              rv1974
                              最後由 編輯

                              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 條回覆 最後回覆 回覆 引用 0
                              • fredo6F 離線
                                fredo6
                                最後由 編輯

                                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 條回覆 最後回覆 回覆 引用 0
                                • R 離線
                                  rv1974
                                  最後由 編輯

                                  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 條回覆 最後回覆 回覆 引用 0
                                  • fredo6F 離線
                                    fredo6
                                    最後由 編輯

                                    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 條回覆 最後回覆 回覆 引用 0
                                    • R 離線
                                      rv1974
                                      最後由 編輯

                                      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 條回覆 最後回覆 回覆 引用 0
                                      • fredo6F 離線
                                        fredo6
                                        最後由 編輯

                                        @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 條回覆 最後回覆 回覆 引用 0
                                        • fredo6F 離線
                                          fredo6
                                          最後由 編輯

                                          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 條回覆 最後回覆 回覆 引用 0
                                          • R 離線
                                            rv1974
                                            最後由 編輯

                                            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 條回覆 最後回覆 回覆 引用 0
                                            • 1
                                            • 2
                                            • 16
                                            • 17
                                            • 18
                                            • 19
                                            • 20
                                            • 21
                                            • 22
                                            • 23
                                            • 18 / 23
                                            • 第一個貼文
                                              最後的貼文
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement