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.
    • F Offline
      function
      last edited by

      hi - I had a feature request for the Courbette tool.: can we have an option to specify a uniform division of vertexes over the whole curve while retaining the same control points? or possibly even better, to modify the S value between control points. As far as I have been able to understand, the S value affects the whole curve which causes facets with shallow slopes and over-division with high slopes (see image). Trying to up the S value to compensate for the faceting then simultaneously overpopulates higher slopes with far too many vertexes. This tool is very intuitive and great to work with, however I find myself attempting workarounds to create a more uniform distribution.


      courb.png

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

        @function said:

        hi - I had a feature request for the Courbette tool.: can we have an option to specify a uniform division of vertexes over the whole curve while retaining the same control points? or possibly even better, to modify the S value between control points. As far as I have been able to understand, the S value affects the whole curve which causes facets with shallow slopes and over-division with high slopes (see image). Trying to up the S value to compensate for the faceting then simultaneously overpopulates higher slopes with far too many vertexes. This tool is very intuitive and great to work with, however I find myself attempting workarounds to create a more uniform distribution.

        If the plugin created equal divisions, then it would adjust on the minimum ones, which would make the curve divided into a possibly big number of segments (in your exmaple you would have probably over 100).

        I think the best is that you resample the curve (or portions of the curve) with Polyline Divider or Polyline Segmentor (also included in BezierSpline) in order to have even segmentation and better control the result depending on the situation.

        Fredo

        1 Reply Last reply Reply Quote 0
        • F Offline
          function
          last edited by

          πŸ‘ thanks for the quick response

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

            i have a probleme, I have install this version an still impossible to edit polylign. help !

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

              Was the polyline created with this plugin?

              Etaoin Shrdlu

              %

              (THERE'S NO PLACE LIKE)

              G28 X0.0 Y0.0 Z0.0

              M30

              %

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

                thanks

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

                  yes, i draw it with the plugin,...and sketchup pro ! i have XP PRO and an old PC, may be my config is too old . I will try with an old version of sketchup ! thanks for the response !

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

                    Once you've drawn your polyline and finished it, right click on it and choose Edit Polyline. Then you should be able to move the points of the line around. If you can't do this, please describe what part of it you can't do.

                    Etaoin Shrdlu

                    %

                    (THERE'S NO PLACE LIKE)

                    G28 X0.0 Y0.0 Z0.0

                    M30

                    %

                    1 Reply Last reply Reply Quote 0
                    • I Offline
                      ivreich
                      last edited by

                      New feature Suggestion

                      Dear Fredo

                      Do you think it would be useful/possible to have bezierspline incorporate a function to blend 2 bsplines by curvature/tangents in the same way that the "blend" command in rhino does?

                      currently it's possible to do it manually by placing construction lines along the end segments of each bspline to simulate tangent guides, so i'm assuming it could be automated?

                      Cheers,

                      Joel

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

                        Hey Joel
                        Yeah, I think that would be very useful. (blend curve by bezier -- or whatever it may be called)

                        It be sweet if the first control point in on each end of the line were subsequently locked to the direction of the line being blended to. (ie- the construction line or guide if doing the blend manually)

                        dotdotdot

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

                          @unknownuser said:

                          Hey Joel
                          Yeah, I think that would be very useful. (blend curve by bezier -- or whatever it may be called)

                          It be sweet if the first control point in on each end of the line were subsequently locked to the direction of the line being blended to. (ie- the construction line or guide if doing the blend manually)

                          Jeff and Joel,

                          Very good idea. I will do something in a frefresh of BezierSpline.

                          Fredo

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

                            nice! i'm glad you're into the idea.
                            i think it will be great and i'm sure a bunch of other people will be into it once they see what it does.

                            dotdotdot

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

                              Sounds like a great addition to an excellent tool! πŸ‘ Good idea, guys.

                              3D Printing with SketchUp Book
                              http://goo.gl/f7ooYh

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

                                More is the friend of Better! πŸ˜‰

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

                                1 Reply Last reply Reply Quote 0
                                • I Offline
                                  ivreich
                                  last edited by

                                  Sweeeet. fredo responded to my post! im a little starstruck now...

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

                                    it's impossible for me to edit polylign....

                                    1 Reply Last reply Reply Quote 0
                                    • I Offline
                                      ivreich
                                      last edited by

                                      NEW FEATURE SUGGESTION: "MEAN CURVE"

                                      Hi again Fredo

                                      I know it hasn't been long since my last feature suggestion ("blend curve by bezier"), but here's another one you might be interested in:

                                      The "mean curve" command in Rhino creates an intermediate or "average" curve between two existing curves, which is especially useful for adding detail to contour maps and such. Is it possible for Bezierspline to do the same?

                                      I have attached an image showing how I imagine it would be done manually; i.e. draw connecting lines linking corresponding vertices on the two original curves, then drawing a third curve linking all the midpoints of those connecting lines to create an "average" curve.

                                      What do you reckon? The added advantage of Bezierspline automating this is that the generated curve would be an editable bspline as well. Does anyone else think this is a good idea?

                                      Cheers,

                                      Joel


                                      ![Drawing an "average" curve manually](/uploads/imported_attachments/aud3_MeanCurve.jpg "Drawing an "average" curve manually")

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

                                        merci fredo!!!!!

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

                                          @ivreich said:

                                          NEW FEATURE SUGGESTION: "MEAN CURVE"
                                          Does anyone else think this is a good idea?

                                          Cheers,

                                          Joel

                                          hey Joel
                                          i'm not quite convinced that your manual method is actually giving a mean curve.. i assume you're just connecting vertices then drawing segments through the midpoints.. i guess it sort of looks ok in the example you posted but it's not going to always work out that way.. see these two curves (well, one curve that's been copy/flipped)..

                                          mean.skp

                                          try your manual method on those and you'll soon run into problems.
                                          while it might be possible to make a plugin that can do an actual mean curve (or something close to it) in sketchup, i think it's going to be much more difficult then simply playing connect the dots.

                                          dotdotdot

                                          1 Reply Last reply Reply Quote 0
                                          • 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
                                            • 1
                                            • 2
                                            • 8
                                            • 9
                                            • 10
                                            • 11
                                            • 12
                                            • 22
                                            • 23
                                            • 10 / 23
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement