sketchucation logo sketchucation
    • Login
    ๐Ÿค‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    Merging two shapes along path...

    Scheduled Pinned Locked Moved Developers' Forum
    12 Posts 9 Posters 1.2k Views 9 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.
    • R Offline
      rsw
      last edited by

      I was reading another thread (can't remember which one) and it got me thinking whether it was possible to merge one shape into another along a given path. Something similar to the pipe along path, but changes the shape as it goes along.

      I had a go at manually doing this, but although reasonably simple (at least it was with the shapes I used) it is fairly tedious.

      I don't know anything about ruby, but I would have thought I ruby script could be made to do something like this.test.jpgtest.skp

      Richard

      http:img.userbars.pl9819554.png

      http:i158.photobucket.comalbumst106671GUAMDUDEAnimated---User-Green.gif

      1 Reply Last reply Reply Quote 0
      • jujuJ Offline
        juju
        last edited by

        I don't know of a method to do this instantly. However, I would make my start and finish shapes, apply the skin ruby and use FFD to bend it.

        Save the Earth, it's the only planet with chocolate.

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

          I think a script that did this would be fairly limited, as working out what the transition would look like would basically be guesswork on the part of the scripter.

          It would be interesting if someone tried it, though.

          http://remusrendering.wordpress.com/

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

            @remus said:

            I think a script that did this would be fairly limited, as working out what the transition would look like would basically be guesswork on the part of the scripter.

            It would be interesting if someone tried it, though.

            it doesn't have to be limited if you ad an option to select the points on the first face and 'tell' the script where that point should be on the second. The script has to handle more than one on one point merging to be cool though ๐Ÿ˜„

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

              Good thinking there, could get pretty tricky with curvy stuff though.

              http://remusrendering.wordpress.com/

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

                @remus said:

                Good thinking there, could get pretty tricky with curvy stuff though.

                no arguing there, but there are some brilliant ruby scripters on this forum and this would be a very useful script. Let's wait and see ๐Ÿ‘ ๐Ÿ˜„

                1 Reply Last reply Reply Quote 0
                • M Offline
                  mattg
                  last edited by

                  I've often wanted to do similar stuff but wasn't sure if this kind of ruby was already in existence.

                  If some genius out there could pull something together I would love them forever!

                  But yeh I guess we'll just have to wait and see for the time being...

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

                    Until such a plugin is available, you might approach this sort of construction by creating several Follow Me paths. Make one for the primary profile. Then, instead of drawing the final profile shape at the opposite end, draw what would be removed and use separate paths for them. Intersect with model and delete the unneeded stuff.
                    Two Curves.skp

                    Etaoin Shrdlu

                    %

                    (THERE'S NO PLACE LIKE)

                    G28 X0.0 Y0.0 Z0.0

                    M30

                    %

                    1 Reply Last reply Reply Quote 0
                    • G Offline
                      Gjenio
                      last edited by

                      I don't know how much that could be usefull for you, but...
                      http://www.drawmetal.com/moreabouttapermaker

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

                        @unknownuser said:

                        I don't know of a method to do this instantly. However, I would make my start and finish shapes, apply the skin ruby and use FFD to bend it.

                        Yep, FFD seems to be the easiest way. Although to begin with I was having trouble aligning the control points to the curve (especially if I wanted to define a line within the shape to use as an axis. But I realised that you can just add a line within the group of control points.

                        I prefered to manually skin the shapes as you have better control over the tramsition of the shapes.

                        Also using FFD it is easy to introduce rotation of the shape as well.

                        I'm sure much of the following could be automated
                        my method of using FFD to merge from one shape to another along a given path

                        Richard

                        http:img.userbars.pl9819554.png

                        http:i158.photobucket.comalbumst106671GUAMDUDEAnimated---User-Green.gif

                        1 Reply Last reply Reply Quote 0
                        • W Offline
                          watkins
                          last edited by

                          Dear Richard,

                          A slight variation on your method would be to use the Divide function to subdivide the boundary lines before using Skin (see the attached).

                          Regards,
                          Bob


                          Basic shape.skp

                          1 Reply Last reply Reply Quote 0
                          • juan974J Offline
                            juan974
                            last edited by

                            Hello, did you try 2 faces + path ??
                            the web site http://lss2008.livejournal.com/
                            Juan974
                            (reunion island)

                            http://rapidshare.com/files/306565404/2_faces___path.jpg.html?killcode=1352435932519360629


                            pathface.rb

                            juan974 (Rรฉunion island)
                            website : http://sketchucation.com/click.php?url=http://www.tarn.us

                            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