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

    [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.
    • TIGT Offline
      TIG Moderator
      last edited by

      Do it 'by halves'.

      Add half of the Plugins back in and retry.
      If it fails you know the problem is with that half just moved back.
      Remove half back into the temp folder and retry.
      If it fails you know the problem is in the remaining portion left in etc etc

      It it's still OK try moving over half of what's left... etc
      Again if it fails you know the issue is with the 'half' just moved back and so on...

      You can quickly narrow it down to a small group of files so 512 > 256 > 128 > 64 > 32 > 16 > 8 > 4 > 2 > 1 => only 10 steps in the very worst case...

      TIG

      1 Reply Last reply Reply Quote 0
      • thomthomT Offline
        thomthom
        last edited by

        Meanwhile, take a screenshot of your plugins folder content so we can scan it for known rogue plugins. Matchbox for instance is a known troublemaker.

        Thomas Thomassen — SketchUp Monkey & Coding addict
        List of my plugins and link to the CookieWare fund

        1 Reply Last reply Reply Quote 0
        • R Offline
          rv1974
          last edited by

          @tig said:

          Do it 'by halves'.

          Add half of the Plugins back in and retry.
          If it fails you know the problem is with that half just moved back.
          Remove half back into the temp folder and retry.
          If it fails you know the problem is in the remaining portion left in etc etc

          It it's still OK try moving over half of what's left... etc
          Again if it fails you know the issue is with the 'half' just moved back and so on...

          You can quickly narrow it down to a small group of files so 512 > 256 > 128 > 64 > 32 > 16 > 8 > 4 > 2 > 1 => only 10 steps in the very worst case...

          that's smart I'll try it
          But I guess the number of plugins itself is a biggest troublemaker.

          1 Reply Last reply Reply Quote 0
          • fredo6F Offline
            fredo6
            last edited by

            @rv1974

            Maybe you can open the Ruby console and chcek if there is any message displayed that could give me a hint (plugins like Matchbox and old versions of Podium are known to create side-effects).
            Also, if you use my other plugins (like FredoScale or RoundCorner), do they function correctly?

            In last resort, use TIG's method to find out. Detecting plugin conflicts is always useful for the community of users.

            Fredo

            1 Reply Last reply Reply Quote 0
            • R Offline
              rv1974
              last edited by

              At the end I restartedmy PC, replaced (portion by portion, TIG's prescription) and magically the things get normalized).
              So, let's say it was kind a local turbulence.
              Sorry for bothering,
              and thank you for replies.

              1 Reply Last reply Reply Quote 0
              • majidM Offline
                majid
                last edited by

                these are really great tools, just wish a more descriptive image (tut) 👍

                My inspiring A, B, Sketches book: https://sketchucation.com/shop/books/intermediate/2612-alphabet-inspired-sketches--inspiring-drills-for-architects--3d-artists-and-designers-

                1 Reply Last reply Reply Quote 0
                • J Offline
                  Jaebum Myung
                  last edited by

                  Dear Fredo,

                  Thanks for everything.^^

                  from mooksu

                  1 Reply Last reply Reply Quote 0
                  • X Offline
                    xellos
                    last edited by

                    thank you very much

                    1 Reply Last reply Reply Quote 0
                    • C Offline
                      caronte01
                      last edited by

                      Thanks for this very useful plugin Fredo. I use it a lot!

                      1 Reply Last reply Reply Quote 0
                      • gullfoG Online
                        gullfo
                        last edited by

                        copy of note in LibFredo thread:

                        not sure if it is the LibFredo 4.3b or the BezierSpline 1.4f plugin, but if the LibFredo 4.3b is enabled, the BezierSpline 1.4f does not work. i get a Ruby console error for line 592 cannot convert nil to float.

                        @unknownuser said:

                        Error: #<TypeError: no implicit conversion to float from nil>
                        C:/Program Files/Google/Google SketchUp 8/Plugins/BZ_Dir_14/bezierspline_main.rb:592:in -' C:/Program Files/Google/Google SketchUp 8/Plugins/BZ_Dir_14/bezierspline_main.rb:592:in onMouseMove'

                        Fredo tools works regardless of BezierSplines being enabled or not.
                        NOTE: I only encountered this error since updating to 4.3b and prior to that it was working correctly.

                        NOTE: this result was found with only the LibFredo and BezierSpline plug-ins running - SU8 Pro on Windows Vista SP2 Ruby 1.9.3

                        NOTE: it may be due to LibTraductor - the old version is still in the plug-in directory and the Lib6Traductor in the LibFredo dir is not compatible with the BezierSpline calls.

                        Glenn

                        http://www.runnel.com

                        1 Reply Last reply Reply Quote 0
                        • fredo6F Offline
                          fredo6
                          last edited by

                          @gulfo

                          The error is strange (it has nothing to do with LibTraductor and should not create problem). Is it always the same?

                          There may be some corruption of the scripts.

                          Unless already done, I would suggest you clean up the two folders and 3 files and reinstall a fresh version taken from Sketchucation.

                          Fredo

                          PS: Just comment out the line 592, which should be return if (t - @time_move) < 0.01, by prepending a # character. Can you then check if this work.

                          1 Reply Last reply Reply Quote 0
                          • gullfoG Online
                            gullfo
                            last edited by

                            i actually tried that (remarking out that line) and it still failed. i did reload the libfredo plugin fresh off the board just now (and had tried the beziersplines earlier), same issue, there is no mouse pointer and its the same errors. if i rem out the libfredo.rb, then it works.

                            Glenn

                            http://www.runnel.com

                            1 Reply Last reply Reply Quote 0
                            • N Offline
                              NickGenerator
                              last edited by

                              I am playing around with Bezierspline for a while now and found out that it is really difficult to work with it when you create curves that are not planar. Points simply too often just end somewhere.

                              That is why I wanted to suggest something.

                              Is it maybe possible and also useful for others to add the possibility to really select points and then move them by either typing in values, moving sliders, like for x,y and z, or pointing at the destination for this point?

                              Unfortunately my Python is by far better than my Ruby. All I found out so far is that I cannot simply use a SelectionObserver. But if you don't like my idea it would be great if you could tell me, if there is a way for me to get more control over the points of my curves with an own script.

                              1 Reply Last reply Reply Quote 0
                              • fredo6F Offline
                                fredo6
                                last edited by

                                @nickgenerator said:

                                I am playing around with Bezierspline for a while now and found out that it is really difficult to work with it when you create curves that are not planar. Points simply too often just end somewhere.

                                I know it is not perfect, especially when you point in the empty space.
                                In the doc, there are some explanation on how to force axes direction when creating and editing the curve, but it may not apply to your case.

                                A possibility is to pre-mark the control points with Construction points.

                                Fredo

                                PS: I am in the course of rewriting this plugin which is my first one. At that time, I had less knowledge about the inference mechanism of Sketchup. I'll keep your comment in mind.

                                1 Reply Last reply Reply Quote 0
                                • N Offline
                                  NickGenerator
                                  last edited by

                                  @unknownuser said:

                                  PS: I am in the course of rewriting this plugin which is my first one. At that time, I had less knowledge about the inference mechanism of Sketchup. I'll keep your comment in mind.

                                  That sounds great to me.

                                  Next time I ask something stupid, just RTFM me...

                                  1 Reply Last reply Reply Quote 0
                                  • solid-woodS Offline
                                    solid-wood
                                    last edited by

                                    Thanks for all the good work You do.
                                    I ended up with a slight problem with the last updates, got a lot of German menys.Not 100% but most of them.
                                    I did instal the english version, and in the right place and way...
                                    I did everything over a few times, but no succes. I do know German...but it would be easier with english.
                                    What could I do to get your menys in english.

                                    Thanks again


                                    Skärmavbild 2012-02-09 kl. 00.17.52.png

                                    1 Reply Last reply Reply Quote 0
                                    • fredo6F Offline
                                      fredo6
                                      last edited by

                                      @unknownuser said:

                                      Thanks for all the good work You do.
                                      I ended up with a slight problem with the last updates, got a lot of German menys.Not 100% but most of them.

                                      Can you check 2 things:

                                      1. In menu Windows > LibFredo6 Settings... > Set Preferred Languages, what is your setup?

                                      2. can you type in the Ruby Console: Sketchup.get_locale. Is it 'DE'

                                      You simply have one of these set up in German language. As the German translation is incomplete, you get a mix of English and German.

                                      Fredo

                                      1 Reply Last reply Reply Quote 0
                                      • V Offline
                                        voman0100
                                        last edited by

                                        thanks u so much:thumb: 😄

                                        1 Reply Last reply Reply Quote 0
                                        • T Offline
                                          Tetrium
                                          last edited by

                                          Wow! It has portuguese version! nice!!!! 😎

                                          1 Reply Last reply Reply Quote 0
                                          • V Offline
                                            vojo
                                            last edited by

                                            New to Sketchup (the UI is really arcane....RPN with hints of the old dec VI editor....between android bugs, chrome crashes and this, google really needs better programmers)
                                            In contrast...your plugins are very very handle....well done...maybe you should go work for google and teach them how to program

                                            Anyway, I think there may be a bug in the bezierspline plugin.

                                            Basically, I am trying to make a cable: block connectors on each end....free flowing soft cable between them.
                                            I want to be able to scale such that block connectors remain same size but move with scale....cable grows or shrinks appropriately
                                            It appears your shear scale (diag blue/green arrows) does this kind of thing.

                                            Basically, I do the following (
                                            -Use polyline to make some irregular path
                                            -Convert to uniform spline (seems to be the only way to get the general / gradual curves I am looking for)
                                            -Use the pipe along the path plugin to make it a cable.
                                            -Use your tools to scale the cable.

                                            The problem is that the control points do not scale with your plugin that is sort of a light green/yellow box) with the uniform bspline itself...so in essence, I get 2 covered lines

                                            • one that the pipe along has turned into a cable...scaled to the new size
                                            • one that is just a simple line with all the control points on it...stayed at original size

                                            I tried ungroup, explode, etc....pretty much no matter what I do, if I delete the control points both the pipe and the control points are erased.

                                            Novice that I am, I could be wrong, but I think this is more on your plugin than on pipe along, since that scales appropriately.

                                            • This may be an artifact of how sketchup handles lines (cant round them, cant thicken them, etc)
                                            • I tried various axis on your shear scale (blue/green diagonal arrow icon)....same behavior regardless.
                                            • your standard scale and sketchup standard scale work fine
                                            • I could be that pipe along only picks up some of your info....so control points not treated a part of the shape...dont know

                                            It almost looks like the plugin(s) treat the control points differently and scaling tools dont recognize them for scaling and such

                                            If there is a better way to make a "pipe" or "cable" with soft rounded bends such that can scale without having to manual move connector blocks....please let me know.

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 10
                                            • 11
                                            • 12
                                            • 13
                                            • 14
                                            • 22
                                            • 23
                                            • 12 / 23
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement