Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
⚠️ Important | Libfredo 15.6b introduces important bugfixes for Fredo's Extensions Update
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? -
-
Advertisement