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

    Divide Curves

    Scheduled Pinned Locked Moved Developers' Forum
    13 Posts 5 Posters 3.0k 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.
    • GaieusG Offline
      Gaieus
      last edited by

      I could imagine problems with such a script - if you don't divide a curve as many parts as its segments, you may end up with an uneven series of parts.

      Of course, with "regular" shapes like circles and half circle arcs an obvious solution could be to just draw the circle/arc with the desired segments and then explode it but I guess this is not what you want.

      Gai...

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

        you're right Gaeius - that is why i need all the master brains i can get

        perhaps it is 'impossible' πŸ˜•

        i've got an idea but am at work................. πŸ˜’

        1 Reply Last reply Reply Quote 0
        • GaieusG Offline
          Gaieus
          last edited by

          How about a script instead, which would estimate the "curviness" of any curve and redraw it with segments of equal length? Something like how Didier's ellipse ruby draws the ellipses (although I doubt that it uses a scaled circle as a starting shape).

          Gai...

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

            telepathy anyone? πŸ˜†

            1 Reply Last reply Reply Quote 0
            • GaieusG Offline
              Gaieus
              last edited by

              Well, I have ideas and I somehow can already "guess" (maybe by experience) how a scripter may approach a problem but of course I am no way able to make a script myself. πŸ˜„

              Anyway, It could be some kind of reversed polyline approach?

              Gai...

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

                yes, if i could only write scripts (would probably not set foot out of the house)

                in one idea, the script recognises a 'curve' (curve, arc, polygon (+ polyline, bezier?)) - then finds the 'form' so that this can be recreated according to the divide value. of course this spells potential trouble for 3d shapes

                another idea i increasingly like is to just split the curve but not changing its segmentation (basically into smaller curves) - really this is Didier's divide script adapted, you would get c-points where the new cuts have been done

                even with this dodge approach i can think of many ways to use it - (copy along path for one)

                1 Reply Last reply Reply Quote 0
                • GaieusG Offline
                  Gaieus
                  last edited by

                  Yeah, or camera paths...

                  Gai...

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

                    Didieeeeeeeeeeer! πŸŽ‰ πŸ˜†

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

                      Use the curve tools (Classic Bezier curve, Polyline, Uniform Bezier curve, Catmul Spline, Polyline etc)... by Fredo6
                      and Right Click / Convert to Polyline divider or Segmentor (Where you can input any equal interval you want) β˜€ !
                      Et voilΓ ! πŸ˜‰
                      PS And I believe the more funny is that you who have made the drawing of icons πŸ˜‰

                      @unknownuser said:

                      Based on the sequence of control points and an Interval value, this
                      extension generates a Polyline where all segments have the same length
                      (except the last one). All points of the curves are on the original polygon of
                      control points. This may be used to simplify curves or balance the space
                      between points.

                      So make your curve with one more segment and you will obtain that you want πŸ˜„


                      trick.jpg

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

                      1 Reply Last reply Reply Quote 0
                      • Didier BurD Offline
                        Didier Bur
                        last edited by

                        @unknownuser said:

                        Didieeeeeeeeeeer

                        OK OK I'm here. Don't shout 🀣
                        Pilou's workaround works great πŸ‘

                        DB

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

                          true, i knew of the great Fredo trick, so far that is the way to go but segmentor will also change the shape of the curve while all i want is to divide it - something like this:

                          Untitled.png

                          that ensures the gaps are the same but the 3d geometry is respected (perhaps the arc is part of a cylinder)

                          • perhaps i'm being too fussy? πŸ˜‰
                          1 Reply Last reply Reply Quote 0
                          • AnssiA Offline
                            Anssi
                            last edited by

                            I would also like more control of the segment lenght of the Freehand tool, either beforehand or after drawing.

                            Anssi

                            securi adversus homines, securi adversus deos rem difficillimam adsecuti sunt, ut illis ne voto quidem opus esset

                            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