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

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

Postby Chris Fullmer » Fri May 15, 2009 11:26 pm

Ahh, very true. Well, someday I'll get it so that it works with circles and ellipses and all closed splines. Then it will work much smoother :)

Chris
0
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer 
SketchUp Team
SketchUp Team
 

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

Postby Daniel S » Sat May 16, 2009 12:03 am

watkins wrote:What happens if one tries to use two half circles to create a bowl (see image). The edges are not suitable for joining.


This is for me the problem with loft.
There are other tools that creates surfaces bounded by 2, 3 or 4 curves..
It looks like a double loft.
But something like this is possible?
boundary curves.gif
0

Daniel S 
 

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

Postby Chris Fullmer » Sat May 16, 2009 12:10 am

Yeah, something like that is probably possible. Its not something I'm working on. But maybe in time. I would need to play with it in rhino or 3dsmax and figure out what its really doing to the geometry. I can't tell exactly how its making the cross splines. But I'm sure I could figure out if I played with it long enough.

Chris
0
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer 
SketchUp Team
SketchUp Team
 

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

Postby sepo » Sat May 16, 2009 12:21 am

AcesHigh wrote:
sepo wrote:Is it possible to make circles or elipses to be lofted?


so far, it seems the best option is to create two halfs of the closed loop you want (be it a circle, elipse or anything else). Than you loft and join them.

If you want to loft a circle to a line, MAYBE its possible to cut the circle in two. Then you loft half the circle to the line, and then you loft the other half of the circle to the same line. Then you join the two sides.


Yes, but beziers overlap. Better way is to have say circle and circle losing one segment at same position and lofting remain.
0

sepo 
 

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

Postby sepo » Sat May 16, 2009 12:24 am

thomthom wrote:
sepo wrote:OK good news is it works on my laptop on both SU7 and SU6.
On my other XP I found culprit. It is tt_double_cut.rb.... As soon as I removed it(as this was only one which was not on all comps) loft started to work.
I know Tom's script is only alpha but it seems to clash with yours.

Double-cut should not be used in a production environment. It makes SU unstable, liable to bug-splats and interferes with the observer events. It will need major rebuilding to make it work, so I won't be looking to track down bugs in in the alpha. It is in it's current state FUBAR. I need to get my thinking-cap on first before I start on re-writing it. (I also need a minor break from it as well as my frustration level increases just by looking at it as it is now :( )
Sorry for the inconvenience.

Thom...you should not feel bad about it. You are trying to make awesome script...hope finding that leak is help rather than hinderance for you. :thumb:
0

sepo 
 

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

Postby pilou » Sat May 16, 2009 12:48 am

There are other tools that creates surfaces bounded by 2, 3 or 4 curves

4 curves is Coons surface
more 4 bounded or/and crossed is Gordon surface
0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

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

Postby pilou » Sat May 16, 2009 12:52 am

I would need to play with it in rhino or 3dsmax

@Chris : Play with Moi, the learning curve is the same than Sketchup and same ergonomic ;) (you have a demo infinite without save) :enlight:
Rhino or 3Dmax are a little bit more long :D
0
Last edited by pilou on Sat May 16, 2009 12:59 am, edited 3 times in total.
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

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

Postby jmmad » Sat May 16, 2009 12:55 am

Chris i think found a little bug.
When I try to loft two lines inside a group SU crashes.
Everything else is working perfect
0
Get Upa !

jmmad 
 

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

Postby Chris Fullmer » Sat May 16, 2009 1:11 am

Yeah, it won't work with grouped objects. Future versions will make it more clear that a grouped object can not be selected.

@Frenchy, I didn't realize MOI had a free non-saving version. I might actually have to try it! Thanks. Also thanks for the heads up on the surface types. I'll look into that better when I get thinking about the next phases of the script.

Chris
0
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer 
SketchUp Team
SketchUp Team
 

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

Postby sepo » Sat May 16, 2009 1:38 am

:thumb: :thumb:
0
Last edited by sepo on Sat May 16, 2009 1:56 am, edited 1 time in total.

sepo 
 

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

Postby Click Draw » Sat May 16, 2009 1:48 am

I have to say that Sketchup would be very basic and nothing special and I'm sure most people would be using other modeling programs if it wasn't for the absolutely amazing work that the ruby writers like yourself AND all the others that I won't mention (we all know who they are). All these scripts that are written for us on here and ones that are for sale, for a very reasonable price I might add, makes one feel like we actually have some sort of ownership in Sketchup and makes this a very personalized service that we have access to. I really appreciate this. Thanks to ALL.....

Jeff
0
Have I mentioned how much of a laugh I get out of some of the Signatures on here!

Click Draw 
 

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

Postby numerobis » Sat May 16, 2009 7:57 am

WOW!!! Thank You for this great plugin!
Very helpful! Very Cool! :berserk:
0

numerobis 
 

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

Postby pilou » Sat May 16, 2009 11:31 am

@Chris
MOI had a free non-saving version

It's the V1 but all functions are yet exist ;)
Beta V2 is only for owners of the V1
0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

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

Postby AcesHigh » Sat May 16, 2009 12:01 pm

@Pilou: does Moi has a Sweep2Rail too?
0

AcesHigh 
 

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

Postby TIG » Sat May 16, 2009 1:39 pm

jmmad wrote:Chris i think found a little bug.
When I try to loft two lines inside a group SU crashes.
Everything else is working perfect

This is a great idea.... but I can't get it to work at all - I suspect a clash with another script - I'm investigating...
To get it work with a group/definition edit just change line #36 from:
@ents = @model.entities
to
@ents = @model.active_entities
then it should be OK...
0
TIG
User avatar
TIG 
Global Moderator
 

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

Postby pilou » Sat May 16, 2009 4:56 pm

does Moi has a Sweep2Rail too?

Of course! That is basic function in nurbs program :)
0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

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

Postby coldsteel » Sat May 16, 2009 5:09 pm

is this my su7's bug?
0

coldsteel 
 

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

Postby sepo » Sat May 16, 2009 5:33 pm

No it is not bug. Plugin tells you that you do not have same number of segments. The top one has more segments than the arc.
0

sepo 
 

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

Postby coldsteel » Sat May 16, 2009 5:49 pm

but now something change
because I replace the ‘Simple Loft alpha 0.1b version ’ by 'the early version'
why
:?:
0

coldsteel 
 

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

Postby xrok1 » Sat May 16, 2009 6:40 pm

nice one ;)
0
“There are three classes of people: those who see. Those who see when they are shown. Those who do not see.”

http://www.Twilightrender.com try it!

xrok1 
 

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

Postby Chris Fullmer » Sat May 16, 2009 6:43 pm

@TIG - Really??? That's cool. I need to explore that. I don't feel like I understand entities. vs. active_entities very well yet. I might have another version ready for release today and I'll include that in it. Thanks!

@Coldsteel - Sepo was right, that is the plugin crashing because you didn't have the same amount of segments on the top and bottom splines. When you reverted to the older version, your splines all have the same amount of segments so it is working. But the new version will work also with those same splines.

Great feedback everyone! Thanks so much.

Chris
0
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer 
SketchUp Team
SketchUp Team
 

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

Postby coldsteel » Sat May 16, 2009 6:55 pm

obviously two lines have different number of segments
but it can work under the earlier version
that's funy :bounce:
0

coldsteel 
 

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

Postby coldsteel » Sat May 16, 2009 7:03 pm

So that explains it :sketchstatic:
哈哈
0

coldsteel 
 

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

Postby Chris Fullmer » Sat May 16, 2009 7:04 pm

Ahh, that picture is more clear.

In the 2nd version I'm quickly adding and deleteing construction points, and the way I had implemented it crashed the plugin in the middle of making construction points if the segments did not match.

I already had to fix it in the version I'm working on because I'm trying to make it work VERY smoothly with any number of segments. I have high(poly) hopes for the next version.

Chris
0
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer 
SketchUp Team
SketchUp Team
 

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

Postby coldsteel » Sat May 16, 2009 7:17 pm

I really appreciate you :thumb:
0

coldsteel 
 

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

Postby sepo » Sat May 16, 2009 9:58 pm

Hmmm... I am having a problem. It worked no problem but now just stopped. It is giving me error
Error: #<NoMethodError: undefined method `start' for #<Sketchup::Face:0x72aa908>>
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_simple_loft/clf_simple_loft.rb:234:in `order_points'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_simple_loft/clf_simple_loft.rb:233:in `each'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_simple_loft/clf_simple_loft.rb:233:in `order_points'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_simple_loft/clf_simple_loft.rb:65:in `onLButtonUp'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_simple_loft/clf_simple_loft.rb:233


Error: #<NoMethodError: undefined method `all_connected' for nil:NilClass>
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_simple_loft/clf_simple_loft.rb:61:in `onLButtonUp'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_simple_loft/clf_simple_loft.rb:233
Error: #<NoMethodError: undefined method `start' for #<Sketchup::Face:0x72aa908>>
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_simple_loft/clf_simple_loft.rb:234:in `order_points'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_simple_loft/clf_simple_loft.rb:233:in `each'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_simple_loft/clf_simple_loft.rb:233:in `order_points'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_simple_loft/clf_simple_loft.rb:65:in `onLButtonUp'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_simple_loft/clf_simple_loft.rb:61
Error: #<NoMethodError: undefined method `all_connected' for nil:NilClass>
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_simple_loft/clf_simple_loft.rb:61:in `onLButtonUp'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_simple_loft/clf_simple_loft.rb:233
Error: #<NoMethodError: undefined method `start' for #<Sketchup::Face:0x72aa908>>
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_simple_loft/clf_simple_loft.rb:234:in `order_points'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_simple_loft/clf_simple_loft.rb:233:in `each'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_simple_loft/clf_simple_loft.rb:233:in `order_points'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_simple_loft/clf_simple_loft.rb:65:in `onLButtonUp'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_simple_loft/clf_simple_loft.rb:233
0

sepo 
 

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

Postby sepo » Sat May 16, 2009 10:03 pm

screen grab
0

sepo 
 

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

Postby Chris Fullmer » Sat May 16, 2009 10:24 pm

Sounds like you have a tiny face attached to one of those splines. Look closely. The script doesnt check for that - yet. Once I get out of beta testing I'll have that all included (and I'm still in alpha, so it might be a little while).

Chris
0
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer 
SketchUp Team
SketchUp Team
 

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

Postby notareal » Sat May 16, 2009 10:27 pm

Wow!
0
Welcome to try Thea Render, Thea support | kerkythea.net -team member

notareal 
Thea Render Support
Thea Render Support
 

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

Postby sepo » Sat May 16, 2009 10:45 pm

Spot on...Chris...it was minute face... :thumb:
0

sepo 
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 

PreviousNext


 

Return to Plugins

Who is online

Users browsing this forum: kaanturgut, ZURDO5 and 13 guests

Visit our sponsors: