Mesh additions typo?
-
Hi, looking at the code of the support script "mesh_additions.rb"
I found a line of code that make me think, according the context of the script, that is an code error or typo (IMHO)65 i1 = index_array[0] 66 for i in 1...numpts do 67 i2 = index_array[i] 68 n1 = i1.length 69 n2 = i2.length 70 nest if( n1 < numsegments && n2 < numsegments )I think that in line 70 should be next instead of nest.
There is no reference to "nest" in the index of methods in SketchUp Ruby API, and searched for some reference to "nest" in Ruby to no avail.Thanks in advance
-
I've moved this into its rightful place in the Developers' Forum.
You are indeed correct...
It should read**next**not 'nest'.
It skips processing the value[s] in the loop and moves onto the next one.
It's an 8 year old typo !! -
Where is
mesh_additions.rbcoming from? -
-
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement