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.
    • 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
                                        • H Offline
                                          hsjzyangbin
                                          last edited by

                                          Hi Chris
                                          I found a problem. LOFT is to implement an order to choose the non-closed line, the feasibility of improving the closed line, I want to click on five closed lines, pop-up dialog box, creating the effect shown in Figure


                                          l1.png


                                          l2.png

                                          1 Reply Last reply Reply Quote 0
                                          • EscapeArtistE Offline
                                            EscapeArtist
                                            last edited by

                                            Issue trying to loft 3 curves:

                                            onSelectionBulkChange46
                                            onSelectionBulkChange96
                                            onSelectionBulkChange142
                                            onSelectionCleared
                                            Error; #<ArgumentError; Cannot convert argument to Sketchup;;Point3d>
                                            L;/Modeling/Sketchup Google/Plugins/clf_simple_loft/clf_simple_loft.rb;142;in `vector_to'
                                            L;/Modeling/Sketchup Google/Plugins/clf_simple_loft/clf_simple_loft.rb;142;in `middle_handles'
                                            L;/Modeling/Sketchup Google/Plugins/clf_simple_loft/clf_simple_loft.rb;137;in `each_index'
                                            L;/Modeling/Sketchup Google/Plugins/clf_simple_loft/clf_simple_loft.rb;137;in `middle_handles'
                                            L;/Modeling/Sketchup Google/Plugins/clf_simple_loft/clf_simple_loft.rb;87;in `onReturn'
                                            L;/Modeling/Sketchup Google/Plugins/clf_simple_loft/clf_simple_loft.rb;86;in `times'
                                            L;/Modeling/Sketchup Google/Plugins/clf_simple_loft/clf_simple_loft.rb;86;in `onReturn'
                                            L;/Modeling/Sketchup Google/Plugins/clf_simple_loft/clf_simple_loft.rb;86
                                            
                                            

                                            In a nutshell, I select 3 unattached curves and apply loft - nothing happens.

                                            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