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

    Followme with distance

    Scheduled Pinned Locked Moved Developers' Forum
    8 Posts 3 Posters 312 Views 3 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.
    • N Offline
      nick9111
      last edited by

      I've searched different topics and didn't find if is there a way do to 'followme' in ruby with not full length of the egde. With my code I can place faces along curve with some step and then I want to follow'em for some distance (I'm trying to do "dashed" 3d object).
      Maybe I should place new edges to the same points but in this case don't know what to do if some edges lies on turning of curve (see picture) thats why I'm looking for 'followme' by specified length


      pic.PNG

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

        Or use TIGs Pipe Along Path for that bend, but temporarily break the path for the distance of the result. Use 0 distance for inside diameter if you prefer.

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

        1 Reply Last reply Reply Quote 0
        • N Offline
          nick9111
          last edited by

          @mitcorb said:

          Or use TIGs Pipe Along Path for that bend, but temporarily break the path for the distance of the result. Use 0 distance for inside diameter if you prefer.

          I'm not trying to do just a dashed pipe. I want to use it with any kind of face. I have tried some plugins like 'Profile Builder', 'Follow me and keep', 'Shape Bender', 'Upright extruder' but it seems none of them can make a dashed object from selected curve.

          P.S. 'Profile Builder' can make unique members along each edge, but

          1. when I split my long curve to small curves it's too hard to select all needed manually
          2. with this option PBuilder also splits each of these small curves to separate edges:

          pic3.PNG

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

            My apologies:
            You posted in the Developer's Forum and I did not see that.

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

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

              Maybe segment your curve with a Fredo plug then apply the pipe on these one by two segments ?

              Tested : that works not because all the curve is redrawn with only the distance by unic segments! 😞

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

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

                Idem 😳

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

                1 Reply Last reply Reply Quote 0
                • N Offline
                  nick9111
                  last edited by

                  Also I've made a ruby which splits this curve to smaller curves (for the case if there is no way for 'followme by distance') by drawing lines from one point to all insertion/end points (and then erases this lines). How can I automatically select these smaller curves 1 over 1 with ruby code (on picture I selected them manually)


                  pic2.PNG

                  1 Reply Last reply Reply Quote 0
                  • N Offline
                    nick9111
                    last edited by

                    Thanks to all who tried to help me. I'm just new to ruby and Sketchup API, but digging some deeper into it I solved this problem by myself now.

                    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