SketchUcation Premium Membership

 

 

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

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

Postby Chris Fullmer » Tue Aug 25, 2009 6:13 am

I think it should work on a Mac Oscar. The #1 error is normally that you need to make sure that both lines have the same amount of segments. That and they can not be connected to any faces.

Its a bit picky on what it wants so that it will work.

If none of that helps, open the Ruby Console (Window > Ruby Console) and then try running the script. See if it sends any messages to the console. If it does, copy and paste them here and I'll see if I can get to the bottom of it,

Chris
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer
SketchUp Team
 
Posts: 6685
Joined: Wed Nov 21, 2007 3:21 am
Location: Davis, CA
Name: Chris Fullmer
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: landscape architecture
Level of SketchUp: Advanced

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

Postby gilles » Wed Aug 26, 2009 9:51 am

iAMarchitecture wrote:Just wondering if anyone has gotten this to work on SU7 Pro for Mac Version 10.5.7?

I would like to know too, for me the plugin does not even appears.
SU6 OSX 4
User avatar
gilles
Top SketchUcator
 
Posts: 766
Joined: Mon Apr 07, 2008 10:29 am
Location: france
Operating system: Mac
SketchUp version: 8
License type: Free
SketchUp use: other
Level of SketchUp: Intermediate

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

Postby OAHT » Wed Aug 26, 2009 12:53 pm

THANKS FOR YOUR SUPERB RUBY!!!
OAHT
 
Posts: 3
Joined: Fri Apr 11, 2008 4:21 pm

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

Postby honoluludesktop » Sat Sep 12, 2009 4:16 am

Great tool. I made the attached drapery (left side of fixture), an improvement over the previous ones (right side, and left of new drapery material) as I was able to pinch the row below the top (as it commonly is), and have the folds fall naturally. Thanks Chris.

Sorry about the dark render, didn't want to spend the time adjusting the lights. Anyone know if there is away to edit this surface? Can it be exploded?
Please, register (free) to access all the attachments on the forums.
User avatar
honoluludesktop
In Remembrance
 
Posts: 2219
Joined: Fri Sep 12, 2008 12:08 am
Location: Hawaii

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

Postby Archibum » Fri Oct 16, 2009 12:42 am

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?
Archibum
 
Posts: 5
Joined: Sun Sep 27, 2009 5:44 am
Location: United States
Name: Kyle Faulkner

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

Postby Chris Fullmer » Fri Oct 16, 2009 1:38 am

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

Chris
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer
SketchUp Team
 
Posts: 6685
Joined: Wed Nov 21, 2007 3:21 am
Location: Davis, CA
Name: Chris Fullmer
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: landscape architecture
Level of SketchUp: Advanced

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

Postby agamemnus » Sat Oct 17, 2009 9:31 pm

I'm trying to use this tool to create a valley curve-- a cross between a bell and an oval. I am having a problem using this tool with closed loops. =(

I did it manually but it was annoying.
agamemnus
 
Posts: 211
Joined: Fri Mar 27, 2009 9:42 pm

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

Postby Chris Fullmer » Sun Oct 18, 2009 12:51 am

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
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer
SketchUp Team
 
Posts: 6685
Joined: Wed Nov 21, 2007 3:21 am
Location: Davis, CA
Name: Chris Fullmer
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: landscape architecture
Level of SketchUp: Advanced

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

Postby agamemnus » Wed Oct 21, 2009 7:23 am

Chris Fullmer wrote: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. :lol:
agamemnus
 
Posts: 211
Joined: Fri Mar 27, 2009 9:42 pm

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

Postby Fletch » Wed Oct 21, 2009 2:02 pm

sandbox tools work on closed curves. :| :?
Fletch
Twilight Render
 
Posts: 760
Joined: Wed Nov 14, 2007 1:02 am
Location: Milwaukee, WI USA / Rovinj, Croatia

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

Postby kwistenbiebel » Sat Oct 31, 2009 6:09 am

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.
Please, register (free) to access all the attachments on the forums.
kwistenbiebel
 
Posts: 2666
Joined: Thu Nov 22, 2007 6:13 pm

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

Postby kwistenbiebel » Sat Oct 31, 2009 7:35 am

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?
Please, register (free) to access all the attachments on the forums.
kwistenbiebel
 
Posts: 2666
Joined: Thu Nov 22, 2007 6:13 pm

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

Postby massimo » Sat Oct 31, 2009 8:03 am

Kwist, I think that skin.rb could do the job. I use the 2.2 version which, in my opinion, is the best.
Please, register (free) to access all the attachments on the forums.
User avatar
massimo
Global Moderator
 
Posts: 1306
Joined: Thu Mar 19, 2009 10:52 am
Location: Italy
Name: Massimo Siracusa
Operating system: Windows
SketchUp version: 7
License type: Pro
SketchUp use: other
Level of SketchUp: Intermediate

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

Postby kwistenbiebel » Sat Oct 31, 2009 9:07 am

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.
kwistenbiebel
 
Posts: 2666
Joined: Thu Nov 22, 2007 6:13 pm

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

Postby massimo » Sat Oct 31, 2009 10:01 am

Hmmm, that's strange. I have it disabled in the preferences>extentions panel, but the icons are there and the plugin works fine!
User avatar
massimo
Global Moderator
 
Posts: 1306
Joined: Thu Mar 19, 2009 10:52 am
Location: Italy
Name: Massimo Siracusa
Operating system: Windows
SketchUp version: 7
License type: Pro
SketchUp use: other
Level of SketchUp: Intermediate

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

Postby kwistenbiebel » Sat Oct 31, 2009 10:24 am

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.
kwistenbiebel
 
Posts: 2666
Joined: Thu Nov 22, 2007 6:13 pm

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

Postby massimo » Sat Oct 31, 2009 10:33 am

Just checked and yes, i think that you're right. And it works also via icons.
User avatar
massimo
Global Moderator
 
Posts: 1306
Joined: Thu Mar 19, 2009 10:52 am
Location: Italy
Name: Massimo Siracusa
Operating system: Windows
SketchUp version: 7
License type: Pro
SketchUp use: other
Level of SketchUp: Intermediate

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

Postby kwistenbiebel » Sat Oct 31, 2009 11:22 am

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.
kwistenbiebel
 
Posts: 2666
Joined: Thu Nov 22, 2007 6:13 pm

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

Postby Chris Fullmer » Sat Oct 31, 2009 4:24 pm

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
User avatar
Chris Fullmer
SketchUp Team
 
Posts: 6685
Joined: Wed Nov 21, 2007 3:21 am
Location: Davis, CA
Name: Chris Fullmer
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: landscape architecture
Level of SketchUp: Advanced

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

Postby Foun10Head-X » Sun Nov 01, 2009 10:37 pm

I like the concept to this. I'll be checking back for updates
Foun10Head-X
 
Posts: 9
Joined: Sun Sep 27, 2009 7:15 am
Name: Jay

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

Postby Jeff Hammond » Tue Nov 03, 2009 3:02 am

Archibum wrote: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 wrote: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 :D..
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
User avatar
Jeff Hammond
Global Moderator
 
Posts: 4311
Joined: Thu Jan 24, 2008 11:16 pm
Location: newyorkcity
Operating system: Mac
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

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

Postby Chris Fullmer » Tue Nov 03, 2009 6:51 am

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
Please, register (free) to access all the attachments on the forums.
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer
SketchUp Team
 
Posts: 6685
Joined: Wed Nov 21, 2007 3:21 am
Location: Davis, CA
Name: Chris Fullmer
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: landscape architecture
Level of SketchUp: Advanced

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

Postby Jeff Hammond » Tue Nov 03, 2009 7:44 am

yep, that fixed it.
thank you!
dotdotdot
User avatar
Jeff Hammond
Global Moderator
 
Posts: 4311
Joined: Thu Jan 24, 2008 11:16 pm
Location: newyorkcity
Operating system: Mac
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

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

Postby Chris Fullmer » Tue Nov 03, 2009 7:52 am

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
User avatar
Chris Fullmer
SketchUp Team
 
Posts: 6685
Joined: Wed Nov 21, 2007 3:21 am
Location: Davis, CA
Name: Chris Fullmer
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: landscape architecture
Level of SketchUp: Advanced

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

Postby ohmohm » Wed Nov 11, 2009 9:03 am

How to Activate the loft tool?
I clicked on it and it opens the notepad.???
ohmohm
 
Posts: 1
Joined: Wed Nov 11, 2009 8:34 am
Name: kittipongsh

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

Postby Chris Fullmer » Wed Nov 11, 2009 9:17 am

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
User avatar
Chris Fullmer
SketchUp Team
 
Posts: 6685
Joined: Wed Nov 21, 2007 3:21 am
Location: Davis, CA
Name: Chris Fullmer
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: landscape architecture
Level of SketchUp: Advanced

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

Postby ivreich » Tue Nov 24, 2009 3:18 pm

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
Please, register (free) to access all the attachments on the forums.
ivreich
 
Posts: 54
Joined: Fri May 16, 2008 9:28 am
Location: Australia
Name: Joel Lee
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

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

Postby tald311 » Sun Dec 13, 2009 4:16 pm

This Ruby is brilliant.
tald311
Premium Member
Premium Member
 
Posts: 54
Joined: Fri Jun 13, 2008 5:47 pm
Location: Denver, Colorado
Name: tald311
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: landscape architecture
Level of SketchUp: Advanced

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

Postby hsjzyangbin » Sun Dec 20, 2009 11:16 am

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
Please, register (free) to access all the attachments on the forums.
hsjzyangbin
 
Posts: 34
Joined: Tue Sep 22, 2009 10:20 am
Name: coco

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

Postby EscapeArtist » Sun Dec 20, 2009 4:58 pm

Issue trying to loft 3 curves:

Code: Select all
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.
User avatar
EscapeArtist
Top SketchUcator
 
Posts: 1302
Joined: Sun Aug 03, 2008 7:36 pm
Location: Northeast US
Name: Jeff
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: hobby
Level of SketchUp: Intermediate

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago

Are you a Premium Member? Get your freebies here. Are you not a Premium Member yet? Upgrade your account to grab these freebies instantly.

Ad Machine
Robot
 
Posts: 2012

PreviousNext

Return to Plugins

Who is online

Users browsing this forum: huangcai0575ufo, msl, Repoman, smicha, toysoldier and 12 guests