[Plugin] Simple Loft alpha 0.1b -- UPDATED May-15-09
-
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.
-
I see now a lot of use on Geology and/or GIS displays.
A small thanks compared to your worksMALAISE
-
Vista : 7 pro ...
sketchup crashes when using loft inside components
-
@sepo said:
Spot on...Chris...it was minute face...
it was so small it was more like a millisecond face
-
@haynesc said:
Vista : 7 pro ...
sketchup crashes when using loft inside components
...as well as in groups. See here: http://www.sketchucation.com/forums/scf/viewtopic.php?p=157130#p157130 - hopefully it will be easy to fix.
-
Sorry about the group crashing thing. TIG has helped explain that to me and it should fixed in the next release (which will hopefully be soon!, but no promises).
Chris
-
lol You 2 have same avatars.
Advertisement