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.
    • I Offline
      ivreich
      last edited by

      Hi Jeff

      Thanks for replying. You're right; the manual method is simply "connecting the dots" as you say. It was the most logical way of illustrating my point. I think I see your point though; the manual method presumes a more regular spacing/matching of vertices between the two curves.

      I suppose complex pairs of curves would have to be "rebuilt" (pardon the Rhino lingo; I've just finished working at a firm where Rhino is pretty much a religion: if it isn't built in Rhino it isn't worth looking at) to match each other's vertices before the manual method can be used.

      I don't know the math behind creating mean curves, it was just an idea that popped into my head one day at work. Any other suggestions?

      Cheers,

      Joel

      1 Reply Last reply Reply Quote 0
      • jeff hammondJ Offline
        jeff hammond
        last edited by

        @ivreich said:

        I suppose complex pairs of curves would have to be "rebuilt"

        this is where sketchup really starts to breakdown as far as trying to make it nurbs like..
        you can, in essence, rebuild a curve using this plugin.. if you right click on one of the curves in the mean.skp then go BZ- Convert To --> Polyline Divider (or polyline segmentor) then you'll be able to set the curve's vertices to an equal spacing (or to an evenly divided # of segments)..

        the problem is, you end up with too many vertices in the looser parts of the curve Or too few in the tighter areas. (at least in the example sketchup.. these commands come in very handy for many situations)..

        re: mean curve in rhino.. personally, i don't use it or have a use for it (that i know of πŸ˜‰ )but one thing that sort of surprises me is that illustrator actually has a mean curve command that is seemingly superior to rhino's.. with illustrator, you can choose the amount of divisions (ie- 2 new mean curves in between the original ones).. you can do it with rhino by repeating the command as long as you want an odd amount of average curves but even then, it takes a lot longer than doing it once..

        but hey, i guess i'm going way off topic here πŸ˜„

        dotdotdot

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

          It's relatively easy to do it.
          Actually, I have this type of function embedded in Curviloft
          The only remaining part would be to build a decent GUI for selecting the curves.

          Fredo

          1 Reply Last reply Reply Quote 0
          • jeff hammondJ Offline
            jeff hammond
            last edited by

            oh yeah. i guess with curviloft you can do exactly this as long as the curves are in 3D space (i can't get it to work if both curves are flat and on the same plane)

            starting curves on left & right sides.. the other four curves could be considered mean curves.

            dotdotdot

            1 Reply Last reply Reply Quote 0
            • TIGT Offline
              TIG Moderator
              last edited by

              EEbyRails will make the average-curve between the two rails if the Profiles are a straight-line curve made from two equal length edges [use divide on a line drawn between the curves ends and weld as a curve]. This works in full 3d AND in 2d even if the curves are flat and even coplanar... Just erase the mesh's ribs and use the 'spine' edges to weld into an averaged-curve... Capture.PNGObviously the average is 1/2 but if you wanted to weight the result - let's say a 3rd then divided the profile line in three, erase the ribs and the two mid- spines are at 1/3 from their nearest 'rail'...

              TIG

              1 Reply Last reply Reply Quote 0
              • jeff hammondJ Offline
                jeff hammond
                last edited by

                the thing with curviloft is that you can choose to generate only the edges if you wish so there's no deleting surfaces afterwards etc..

                cloft.jpg

                dotdotdot

                1 Reply Last reply Reply Quote 0
                • TIGT Offline
                  TIG Moderator
                  last edited by

                  Jeff... doh! moment for me... 😳
                  Use EEbyLattice and chose 'Rail' only option to get a central spine curve [auto-welded and grouped] without the needed to mess on erasing ribs made from EEbyRails πŸ˜’Capture.PNG

                  TIG

                  1 Reply Last reply Reply Quote 0
                  • jeff hammondJ Offline
                    jeff hammond
                    last edited by

                    @tig said:

                    Jeff... doh! moment for me... 😳
                    Use EEbyLattice and chose 'Rail' only option to get a central spine curve [auto-welded and grouped] without the needed to mess on erasing ribs made from EEbyRails πŸ˜’[attachment=0:1z22r8l6]<!-- ia0 -->Capture.PNG<!-- ia0 -->[/attachment:1z22r8l6]

                    lol!
                    i had forgotten about that option as well

                    dotdotdot

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

                      @unknownuser said:

                      (i can't get it to work if both curves are flat and on the same plane)

                      Jeff,

                      Do you have a particular model where it does not work. In general, that should give the results.
                      Curviloft with 2 planar curves.png

                      By the way, you can choose the number of internediate curve via the #seg parameter (but not the spacing).

                      Fredo

                      1 Reply Last reply Reply Quote 0
                      • jeff hammondJ Offline
                        jeff hammond
                        last edited by

                        hi Fredo,

                        it's a lot faster for me to just explain it in a video.. i hope it makes sense

                        [flash=700,428:2w2q5yyr]http://www.youtube.com/v/bl7TMkBWpZc?version=3&amp;hl=en_US&amp;rel=0[/flash:2w2q5yyr]

                        dotdotdot

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

                          Jeff,

                          Well spotted!

                          1. Options for generating geometry is one feature of Curviloft which is not terminated. I may however add the option to keep either / or the mesh lines in a next release quickly

                          2. in Skinning, I purposedly removed the meshing of surfaces that are planar, precisely to avoid too many polys and faces. Unfortunately, I did not provision an option to inhibit this feature.

                          Thanks again. I'll try to incorporate all this in a next release

                          Just one remark: with your skinning approach, you don't need to divide the segment. Curviloft can do it for you via the Sampling parameter.

                          Fredo

                          1 Reply Last reply Reply Quote 0
                          • jeff hammondJ Offline
                            jeff hammond
                            last edited by

                            @unknownuser said:

                            Just one remark: with your skinning approach, you don't need to divide the segment. Curviloft can do it for you via the Sampling parameter.

                            Fredo

                            ha.. yeah, i knew that (as it's a great feature of curviloft in general). what i meant to do was use the manual divide as a way to show me trying to force curviloft to make the lines to no avail.
                            for whatever reason, i ended up doing it in a few different parts..
                            i should maybe try following a script next time i make a video πŸ˜„

                            dotdotdot

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

                              Hi Fredo

                              I just want to say thank you very much!

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

                                Dear Fredo,

                                First of all i want to thank you for this magnificent plugin.. πŸ‘
                                but i have question, is there a way to slow down the movement of the grip, when we select a grip or a point to edit it?? i usually have this problem when i want to move it on certain axes (after im press ctrl button)

                                Regards,

                                still so much to learn..

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

                                  Great thank you for this plugin πŸ˜„.

                                  1 Reply Last reply Reply Quote 0
                                  • H Offline
                                    helmholtz
                                    last edited by

                                    Thank you greatly good sir πŸ˜„

                                    1 Reply Last reply Reply Quote 0
                                    • M Offline
                                      marcel.forum
                                      last edited by

                                      Dear Fredo
                                      Big thanks for this plugin.

                                      --
                                      Marcel

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

                                        spotted this in another thread. Worth noting:

                                        http://forums.sketchucation.com/download/file.php?id=67872&t=1

                                        β€œThere are three classes of people: those who see. Those who see when they are shown. Those who do not see.”

                                        http://www.Twilightrender.com try it!

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

                                          Hi Fredo,
                                          I recently updated your spline tools set and unfortunately it stopped functioning.
                                          I get the toolbar, I can activate the commands, but they simply don't draw.
                                          I'm pretty sure the file's structure is OK, the FredoLib is updated.
                                          What could be the reason?
                                          Thank you in advance.
                                          BTW where could I download the older version?


                                          Capture.JPG

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

                                            Have you tried reinstalling it? Completely removing the existing plugin first and then reinstall to be 100% sure everything is installed correctly.

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

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

                                            Advertisement