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

    [Plugin] Simple Loft alpha 0.1b -- UPDATED May-15-09

    Scheduled Pinned Locked Moved Plugins
    251 Posts 88 Posters 148.7k Views 88 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.
    • A Offline
      agamemnus
      last edited by

      @chris fullmer said:

      Hi, the script does not work with closed loops. Sorry about that.

      And think how much more annoying it would have been to connect those shapes if the script didn't exist at all 😄

      Chris

      I did try to split up the loops but I couldn't get an even split... I had to do it manually!!

      Actually, I think I could possibly use a different tool but I am not sure what it would be exactly. I had two circles. The bottom and smaller circle already had a quarter sphere inverted and oval in shape that I would later attach to it. The top circle would be attached to a flat surface. The object is to have a smooth transition between the two.

      What I did is made a Bezier curve from one segment (on the big circle) to another (on the small circle) (with a perpendicular slant to the blue axis).. there were 24 segments, so I cut out a quarter from the circles. I copied the curve 5 times, then changed the angle and resized so that each curve start/end matched the smaller (and lower) /bigger (and higher) circle. Then it was just a matter of exploding the Bezier curves and drawing lines between them, forming rectangles of various inclines. I then copied this thing 4 times and hid the line segments with smoothing.

      Your tool is pretty good but there is no way to specify exactly what type of curve I want... that would be troublesome for anything but a symmetrical spherical or oval shape, though!

      I have a suspicious feeling I could have just used the follow-me tool and then stretched the result, though. 😆

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

        sandbox tools work on closed curves. 😐 😕

        Fletch
        Twilight Render Cross-platform Plugin for SketchUp on PC or Mac

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

          Hi Chris,

          I am experiencing trouble using your nice Loft plugin.
          Below, I attached what is happening. I am trying to connect two closed curves to form a solid. I was hoping the loft tool would connect the points of the two curves with 'the smallest distance between points' as if it was a tensile structure.
          Unfortunately I get an error.
          First I thought I needed to do this with the soap skin bubble plugin, but that doesn't seem to work.

          Any help would be welcome.

          [Edit]: the blend.rb seems to 'almost' do this, although it connects existing points on the curves one after the other. That means it generates unwanted diagonals.
          I think I would need a loft tool or 'skin tool'for it, as that would work independantly from the location of the control points on the curve and makes a skin (= by smallest distance between curves).....It seems though that the skin.rb is not being further developed.


          loft error.jpg

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

            This is what the blend.rb spits out (starting curves are slightly different than above).
            It looks ok, but I am not sure if the newly generated blend surface follows the shortest distance between the two polylines.
            I would like to see it connected independant from the curve's existing control points (skin?) .Does that make sense?


            blend rb.jpg

            1 Reply Last reply Reply Quote 0
            • massimoM Offline
              massimo Moderator
              last edited by

              Kwist, I think that skin.rb could do the job. I use the 2.2 version which, in my opinion, is the best.


              ScreenHunter_01 Oct. 31 07.57.jpg

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

                Thanks Massimo,
                I already have the skin22 in my plugins folder but somehow it never worked. I enabled it in the Preferences panel...but the skin ruby never appeared as icons nor in the tools/plugins menu. A lot of people seem to have trouble with it.

                1 Reply Last reply Reply Quote 0
                • massimoM Offline
                  massimo Moderator
                  last edited by

                  Hmmm, that's strange. I have it disabled in the preferences>extentions panel, but the icons are there and the plugin works fine!

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

                    I do have 'D.B.tools' in the Tools menu. Is that the one? (it has a skin option) and that seems to work.. sort of.

                    1 Reply Last reply Reply Quote 0
                    • massimoM Offline
                      massimo Moderator
                      last edited by

                      Just checked and yes, i think that you're right. And it works also via icons.

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

                        Thanks for the help.
                        I think either skin22.rb or blend.rb will do for now.
                        Hopefully the Loft.rb will be further developed so it can loft between closed polylines as that seems impossible for now (only open curves seem to work).
                        I might try it in Rhino to get it right later on.

                        1 Reply Last reply Reply Quote 0
                        • Chris FullmerC Offline
                          Chris Fullmer
                          last edited by

                          Hi Kwist, yeah, loft only works on open splines (non-closed) for now. Plus, it currently forces a curve surface, even if its just on 2 splines like your example is. It would not directly connect, but it would squeeze the walls in a little I think.

                          Eventually loft will work on closed loops and also with loops with different amount of vertices. But for now, its only sort of half a plugin. missing those very important functions.

                          Chris

                          Lately you've been tan, suspicious for the winter.
                          All my Plugins I've written

                          1 Reply Last reply Reply Quote 0
                          • F Offline
                            Foun10Head-X
                            last edited by

                            I like the concept to this. I'll be checking back for updates

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

                              @archibum said:

                              This tool is amazing. Definitely helped on some of my school projects. I do have one problem and dont know if its the tool or the system.
                              So I am on a mac. Leopard updated and all that.
                              I noticed that on starting sketchup, the red dot in the corner would indicate that the file had not yet been saved. Usually, this only happens when you actually start drawing. So, i removed all my plugins, downloaded sketchup fresh, and went back and added the plugins again one at a time. Found out that it was this tool that was causing sketchup to think that the file needed to be saved, even if nothing had been drawn. This wouldnt be a problem as i could just click "dont save," but doing that caused sketchup to crash every time.

                              So thats my dilemma. Does it make sense? Am i the only one with this problem?

                              @chris fullmer said:

                              That is very interesting Kyle. I'll have to look into it. Does anyone else see this?

                              Chris

                              yes, i'm getting the same thing.. i didn't notice it until it was too late for me to pinpoint which ruby was doing it so i just lived with it because i didn't want to troubleshoot my entire plugin folder 😄..
                              luckily, i came across the post and found that it is in fact simple loft causing the problem.. your other scripts are fine (at least -- perpendicular face, arc cpoint finder, and shapebender)

                              dotdotdot

                              1 Reply Last reply Reply Quote 0
                              • Chris FullmerC Offline
                                Chris Fullmer
                                last edited by

                                Ahh, I am remembering that Macs have a thing where they initialize their model at a different point than PC's do, and this can cause problems. Perhaps I am attempting to access the model in an unstable state in this plugin.

                                In fact, I just checked the file, and I think I see the problem. Will someone download this script update and replace the file in the clf_simple_loft folder please? It is only replacing a single file for the script, and I think it will fix the problem.

                                And please make sure to put it in the clf_cimple_loft folder. It should overwrite an existing file. If it does not, you probably put it in the wrong spot.

                                Once we test it and see if this fixes anything, I'll update the script on the main page, and remove it from this post.

                                Chris


                                trial fix

                                Lately you've been tan, suspicious for the winter.
                                All my Plugins I've written

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

                                  yep, that fixed it.
                                  thank you!

                                  dotdotdot

                                  1 Reply Last reply Reply Quote 0
                                  • Chris FullmerC Offline
                                    Chris Fullmer
                                    last edited by

                                    Great, thanks Jeff! I'll try to update the script tomorrow.

                                    And go to bed! Its almost 02:00 in the morning!

                                    Chris

                                    Lately you've been tan, suspicious for the winter.
                                    All my Plugins I've written

                                    1 Reply Last reply Reply Quote 0
                                    • O Offline
                                      ohmohm
                                      last edited by

                                      How to Activate the loft tool?
                                      I clicked on it and it opens the notepad.???

                                      1 Reply Last reply Reply Quote 0
                                      • Chris FullmerC Offline
                                        Chris Fullmer
                                        last edited by

                                        You have to install it by unzipping it into your SketchUp plugins folder. The loader file goes into the plugins folder and all other files go into the sub folder, exactly how it is in the zip file.

                                        Then it should install a SketchUp toolbar that you can use to activate the tool inside of SU.

                                        Chris

                                        Lately you've been tan, suspicious for the winter.
                                        All my Plugins I've written

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

                                          Hi Chris

                                          I tried out your loft tool on my office computer and built a form with a series of b-splines. It worked fine, but when I took the model home and tried to replicate the same loft on my home computers, the face orientation became all screwy and the model folded in on itself.

                                          I've attached my model for you to take a look at. The form coloured red is the problematic one that I built at home; the b-splines used in both forms are identical.

                                          Thanks!

                                          Joel


                                          Problematic loft...


                                          Loft Problem.jpg

                                          1 Reply Last reply Reply Quote 0
                                          • T Offline
                                            tald311
                                            last edited by

                                            This Ruby is brilliant.

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 9
                                            • 10
                                            • 11
                                            • 12
                                            • 13
                                            • 11 / 13
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement