sketchucation logo sketchucation
    • Login
    πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    Bezier.rb

    Scheduled Pinned Locked Moved Plugins
    15 Posts 5 Posters 3.2k Views 5 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.
    • Dave RD Offline
      Dave R
      last edited by

      Bezier.rb has some problems in SU8. It isn't possible to edit a curve once it has been made. The Bezierspline tools had the same problem but Fredo6 fixed that excellent set of tools. Is it possible that one of the Ruby wizards could perform the fix for Bezier.rb?

      Etaoin Shrdlu

      %

      (THERE'S NO PLACE LIKE)

      G28 X0.0 Y0.0 Z0.0

      M30

      %

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

        What problems?
        Bit of a stab in the dark without specifics.

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

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

          Sorry Thomas. I thought you were in on the problem already. In SU8, you can draw the curve but you can't edit the curve. Fredo's Bezierspline tools had the same problem but he fixed it which accounts for the early September updated version.

          Etaoin Shrdlu

          %

          (THERE'S NO PLACE LIKE)

          G28 X0.0 Y0.0 Z0.0

          M30

          %

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

            @thomthom said:

            What problems?
            Bit of a stab in the dark without specifics.

            Tom,

            This is the problem with the PickHelper (here is the code at line 356)

            
               ph = view.pick_helper x, y
               @selection = ph.pick_segment @pts
            
            

            I fixed it in BezierSpline a few weeks ago, by adding x, y arguments to pick_segment, based on your helpful advice.

            Fredo

            1 Reply Last reply Reply Quote 0
            • D Offline
              dedmin
              last edited by

              What is the difference between the 2 bezier plugins?

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

                Just fixed it - I figured it'd be due to the new SU8 bug.
                I'll be posting an SU8 version for people to use - and let Google know.

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

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

                  @dedmin said:

                  What is the difference between the 2 bezier plugins?

                  Google's - classic bezier
                  Fredo's - on steroids! πŸ˜„

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

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

                    http://forums.sketchucation.com/viewtopic.php?f=323&t=30973

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

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

                      @unknownuser said:

                      I fixed it in BezierSpline a few weeks ago, by adding x, y arguments to pick_segment, based on your helpful advice.

                      Ah, yea - that should work. Though I fixed it this way:

                      @unknownuser said:

                      ph = view.pick_helper x, y
                      ph.do_pick(x,y) # TT Fix
                      @selection = ph.pick_segment @pts

                      Also worked.

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

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

                        Fredo, thank you for explaining.

                        Thomas, thank you for fixing.

                        Dedmin, Thomas is correct. Fredo's Bezierspline tools are like Bezier.rb on steroids. Still, there are times I find the classic tool quicker for my use so I like to have both.

                        D

                        Etaoin Shrdlu

                        %

                        (THERE'S NO PLACE LIKE)

                        G28 X0.0 Y0.0 Z0.0

                        M30

                        %

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

                          I'm such a muppet and a liar! 😳

                          I tested in the SU7 window. Doh!. My fix didn't fix. Fixing the fix! πŸ˜’

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

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

                            🀣

                            No worries. I won't tell.

                            Etaoin Shrdlu

                            %

                            (THERE'S NO PLACE LIKE)

                            G28 X0.0 Y0.0 Z0.0

                            M30

                            %

                            1 Reply Last reply Reply Quote 0
                            • kenK Offline
                              ken
                              last edited by

                              There seems to be a good many scripts that need to be modified for Ver 8. It would be nice if one could arrange for all these modified scripts to be listed in one sticky thread.

                              Ken

                              Fight like your the third monkey on Noah's Ark gangway.

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

                                @thomthom said:

                                I'm such a muppet and a liar! 😳

                                I tested in the SU7 window. Doh!. My fix didn't fix. Fixing the fix! πŸ˜’

                                I think the workaround is

                                
                                	ph = view.pick_helper
                                	selection = ph.pick_segment @pts, x, y
                                
                                

                                This is yours by the way.

                                Fredo

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

                                  Ja, that was the fix to the fix. You jogged my memory to when we where talking about this when SU8 first came out.

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

                                  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