loop
Discussion List
-
how to get the coordinates from all parts? loop through all parts en print the coordinates
Hi, I am not a programmer, but I think I want something fairly simple: I want a list of coordinates of all parts in the part studio. Basically loop through all parts and print the coordinates in the monitor (or save to csv, but that is luxury... : )…
-
For loop, sum up to the current loop?
Is there a way to sum up to the current loop? The loop calculates an angle, I need the n'th loop to add up all of the previous loops angles. for (var i = 1; i < nSegments; i += 1) { var = sumOfPreviousSegmentAngles = var segmentAngle = atan(d / sqrt(i))/degree; }
-
Splitting a wing into ribs on iterations.
Im not getting any errors but also not getting any results, the idea is to split a wing into ribs and delete the bits in between, however user can specify rib number and thickness etc... var halfrib=Ribthick/2; for (var i = intervals; i < Length; i += intervals)//outerloop for each rib { for (var j = -1; j == 1; j +=…