[Plugin] Simple Loft alpha 0.1b -- UPDATED May-15-09
-
sandbox tools work on closed curves.
-
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.
-
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?
-
Kwist, I think that skin.rb could do the job. I use the 2.2 version which, in my opinion, is the best.
-
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. -
Hmmm, that's strange. I have it disabled in the preferences>extentions panel, but the icons are there and the plugin works fine!
-
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.
-
Just checked and yes, i think that you're right. And it works also via icons.
-
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. -
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
-
I like the concept to this. I'll be checking back for updates
-
@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) -
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
-
yep, that fixed it.
thank you! -
Great, thanks Jeff! I'll try to update the script tomorrow.
And go to bed! Its almost 02:00 in the morning!
Chris
-
How to Activate the loft tool?
I clicked on it and it opens the notepad.??? -
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
-
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
-
This Ruby is brilliant.
-
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
Advertisement