sketchucation logo sketchucation
    • Login
    ⚠️ Attention | Having issues with Sketchucation Tools 5? Report Here

    [Plugin] Add Points to Curve

    Scheduled Pinned Locked Moved Plugins
    9 Posts 5 Posters 8.8k 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.
    • sdmitchS Offline
      sdmitch
      last edited by sdmitch

      In partial response to http://forums.sketchucation.com/viewtopic.php?f=323&t=41006

      The plugin computes and adds a series of points along a pre-selected curve or arc.

      AddPts2Curve1.jpg
      Add Points if you want the computed points to be added and a new curve entity created. Show Points if you only want to see where the points would be. A construction point is placed to indicate where.

      Distance Increment - The distance between the created points. In the case of a Curve, the plugin follows the individual segments and the calculated point "splits" the segment where it falls. In the case of an Arc, the distance increment represents arc length between the points calculated.

      AddPts2Curve2.jpg
      If the pre-selected entity is an Arc, you are given the option of treating it as a Curve or an Arc when computing the point locations.


      AddPts2Curve.rb

      Nothing is worthless, it can always be used as a bad example.

      http://sdmitch.blogspot.com/

      1 Reply Last reply Reply Quote 0
      • mitcorbM Offline
        mitcorb
        last edited by

        Thank you, sdmitch, for your time, talent and dedication. This is the least I can offer for your gift to the community. This is especially important in light of the curve/arc option. 👍 👍

        I take the slow, deliberate approach in my aimless wandering.

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

          @mitcorb said:

          Thank you, sdmitch, for your time, talent and dedication. This is the least I can offer for your gift to the community. This is especially important in light of the curve/arc option. 👍 👍

          Thank you sdmitch + 1

          1 Reply Last reply Reply Quote 0
          • srxS Offline
            srx
            last edited by

            Thanks Sam

            www.saurus.rs

            1 Reply Last reply Reply Quote 0
            • B Offline
              boilingsnow
              last edited by

              Thank you sdmitch!
              But if I choose "yes", nothing happens at all...No new curve is made
              Can you tell me if I'm doing anything wrong?

              Edit: With help of Fredo6's the "add vertices" tool I now understand what the option "yes" means.
              I think it would be perfect if you add an option to this tool: add points to the curve and delete the old vertices (rebuild the curve according to the new points). And ....even better to have another option beside adding points by spacing: add points by number of the segments.

              1 Reply Last reply Reply Quote 0
              • sdmitchS Offline
                sdmitch
                last edited by

                @boilingsnow said:

                I think it would be perfect if you add an option to this tool: add points to the curve and delete the old vertices (rebuild the curve according to the new points). And ....even better to have another option beside adding points by spacing: add points by number of the segments.

                My plugin EqSegCurve does just that.

                Nothing is worthless, it can always be used as a bad example.

                http://sdmitch.blogspot.com/

                1 Reply Last reply Reply Quote 0
                • B Offline
                  boilingsnow
                  last edited by

                  @sdmitch said:

                  @boilingsnow said:

                  I think it would be perfect if you add an option to this tool: add points to the curve and delete the old vertices (rebuild the curve according to the new points). And ....even better to have another option beside adding points by spacing: add points by number of the segments.

                  My plugin EqSegCurve does just that.

                  Hi, sdmitch. Thanks for your notice.
                  Are you sure that your plugin EqSegCurve works well in sketchup 8?
                  Because I have downloaded and installed it and nothing happened after applying it to a curve. I can see the pop-up window and type in the number but no reaction after that.
                  And this plugin is one of the few plugins that you haven't uploaded a tutorial in your website so I don't know if I use the pluin correctly.

                  1 Reply Last reply Reply Quote 0
                  • sdmitchS Offline
                    sdmitch
                    last edited by

                    You weren't doing anything wrong. The problem was mine. The plugin that was uploaded was not the standalone version that I had intended to upload. That has been corrected.

                    The only thing required is pre-selecting the curve, choosing to divide by number or length, entering a number or length and clicking ok.

                    Be aware that the length entered will be adjusted to make the resulting curve end as close as possible to the original.

                    Nothing is worthless, it can always be used as a bad example.

                    http://sdmitch.blogspot.com/

                    1 Reply Last reply Reply Quote 0
                    • B Offline
                      boilingsnow
                      last edited by

                      @sdmitch said:

                      You weren't doing anything wrong. The problem was mine. The plugin that was uploaded was not the standalone version that I had intended to upload. That has been corrected.

                      The only thing required is pre-selecting the curve, choosing to divide by number or length, entering a number or length and clicking ok.

                      Be aware that the length entered will be adjusted to make the resulting curve end as close as possible to the original.

                      That's great.Thank you sdmitch.

                      I think your EqSegCurve is very useful by smoothing a curve...

                      I added 10 points each time so that the curve can be rebuild smoothly.


                      EqualEdgeSegment.jpg

                      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