[Plugin] Simple Loft alpha 0.1b -- UPDATED May-15-09
-
@Pilou: does Moi has a Sweep2Rail too?
-
@jmmad said:
Chris i think found a little bug.
When I try to loft two lines inside a group SU crashes.
Everything else is working perfectThis 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... -
@unknownuser said:
does Moi has a Sweep2Rail too?
Of course! That is basic function in nurbs program
-
is this my su7's bug?
-
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.
-
but now something change
because I replace the ‘Simple Loft alpha 0.1b version ’ by 'the early version'
why
-
nice one
-
@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
-
obviously two lines have different number of segments
but it can work under the earlier version
that's funy
-
So that explains it
哈哈 -
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
-
I really appreciate you
-
Hmmm... I am having a problem. It worked no problem but now just stopped. It is giving me error
Error: #<NoMethodError: undefined methodstart' 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:ineach' 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:233Error: #<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 methodstart' 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:ineach' 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:inonLButtonUp' 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:inonLButtonUp' 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:inorder_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:inorder_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 -
screen grab
-
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
-
Wow!
-
Spot on...Chris...it was minute face...
-
I can't see any little face in that picture.
But you can from the code ?
Can you read the matrix Chris? -
The first line was what gave it away:
Error: #<NoMethodError: undefined method `start' for #Sketchup::Face:0x72aa908>
I could tell it found a face, and I'm very aware that my script will break upon finding faces (and images, text, groups, components, 3dpolylines, etc) , so it was a safe guess.
Chris
-
Chris, thanks a'lot.
Advertisement