sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    πŸ›£οΈ Road Profile Builder | Generate roads, curbs and pavements easily Download

    [Obsolete] Catmull-Rom Spline

    Scheduled Pinned Locked Moved Developers' Forum
    15 Posts 10 Posters 4.0k Views 10 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.
    • fredo6F Offline
      fredo6
      last edited by fredo6

      Edit 19 Oct 08: I released a comprehensive version of BezierSpline,version 1.2, which includes this extension. It is advised to refere to the following post:
      http://www.sketchucation.com/forums/scf/viewtopic.php?f=180&t=13563#p100509

      Here is an extension to the BezierSpline plugin for drawing Catmull-Rom splines (in 3D).
      You need to drop the two attached files (BZ__Catmull.rb and BZ_Catmull.png) in the BZ_Dir subfolder.

      As for Cubic Bezier, this type of curve passes through all the control pointsand a move of a control point will only affect the shape of the curve locallyaround this control point (exactly the portion before and the two after).

      Note that it can be 'nicely' closed by a Catmull spline, not by an approximate Bezier curve, as I do for other curves.

      All this said, Cubic Bezier and Catmull splines are quite close, though Catmull seems to stay closer to the polygon of control points.

      Below is a comparison:
      Catmull vs. Cubic Bezier.jpg

      PS: You probably noticed that the icon is mine!


      to drop in the BZ_Dir subfolder


      to drop in the BZ_Dir subfolder

      1 Reply Last reply Reply Quote 0
      • BurkhardB Offline
        Burkhard
        last edited by

        @unknownuser said:

        PS: You probably noticed that the icon is mine!

        Not for long, I'm sure πŸ˜†

        Nice one, thanks again Fredo

        [http://www.ia-plus.de(http://www.ia-plus.de)]

        1 Reply Last reply Reply Quote 0
        • M Offline
          Matt666
          last edited by

          Thank you Fredo6 !

          Frenglish at its best !
          My scripts

          1 Reply Last reply Reply Quote 0
          • CadFatherC Offline
            CadFather
            last edited by

            Thanks Fredo!

            also here's me icon/s

            BZ__Catmull_24.png

            and the whole set in case anyone finds it useful

            bez.png


            24.zip


            16.zip

            1 Reply Last reply Reply Quote 0
            • M Offline
              Matt666
              last edited by

              Hey ! Great icons ! Thank you CadFather !

              There are still 2 icons :
              Courbette BZ__Courbette.pngPolyline dividerBZ__Divider.png πŸ˜„

              Frenglish at its best !
              My scripts

              1 Reply Last reply Reply Quote 0
              • K Offline
                kwistenbiebel
                last edited by

                Thank you πŸ‘
                Much appreciated.

                The surface tools really have become a wonderful toolpack.

                1 Reply Last reply Reply Quote 0
                • M Offline
                  marcosrodrigues
                  last edited by

                  Thank you, Fredo. And Max, for the icons.

                  | menos Γ© mais

                  1 Reply Last reply Reply Quote 0
                  • CadFatherC Offline
                    CadFather
                    last edited by

                    @matt666 said:

                    There are still 2 icons πŸ˜„

                    Thanks for that Matt!! will give it a shot this eve.. πŸ˜’ πŸ˜†

                    PS. it's actually pretty cool, i'll get more thanks than Fredo! πŸ˜‰

                    1 Reply Last reply Reply Quote 0
                    • plot-parisP Offline
                      plot-paris
                      last edited by

                      thanks, FREDO, FREDO, FREDO!!! πŸ˜„

                      (and thanks CadFather for the icons)

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

                        @unknownuser said:

                        The surface tools really have become a wonderful toolpack.

                        These 2 new tools are surface tools?

                        Frenchy Pilou
                        Is beautiful that please without concept!
                        My Little site :)

                        1 Reply Last reply Reply Quote 0
                        • M Offline
                          Matt666
                          last edited by

                          Bezier toolpack...

                          Frenglish at its best !
                          My scripts

                          1 Reply Last reply Reply Quote 0
                          • free agentF Offline
                            free agent
                            last edited by

                            Thanx Fredo!!!

                            http:i167.photobucket.comalbumsu143FreeAgent84bug.gif

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

                              thanks Fredo & Cadfather for icons

                              1 Reply Last reply Reply Quote 0
                              • CadFatherC Offline
                                CadFather
                                last edited by

                                @plot-paris said:

                                thanks, FREDO, FREDO, FREDO!!! πŸ˜„
                                (and thanks CadFather for the icons)

                                πŸ˜†

                                well, here's the set with courbette - i think BZ_divider was already included (am i wrong?)
                                tbar.png

                                Fredo, i tried to add/rename the icons _24 or _16 but the toolbar does not update like TOS.
                                if it is something you can do in some spare time it would be great (though we can still keep 2 sets one of which we just drop in the BZ folder)

                                here they are:


                                BZ_16.rar


                                BZ_24.rar

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

                                  Neat tools bar! 😎

                                  Frenchy Pilou
                                  Is beautiful that please without concept!
                                  My Little site :)

                                  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