@gpetrica001 wrote:
hi, I am trying to translate a certain code from vb to python .
More precisely it is a circle packing code which can be found her : https://tobias-schwinn.net/2010/03/08/a-spiral-approach-to-circle-packing/ .
Given that I am quite new to scripting language overall, I wonder whether there is any sort of guides or anything of a kind that would help me understand better the used syntaxes. I did search quite a bit, but the syntax use seem to be rather complex so I found myself not being able to know where to start with the conversion.I did also try a few online vb script to python or even to C#(in case of the slight chance it would be a bit clearer for me) yet it mostly resulted in errors.
Therefore are there any pertinent guides or anything of a kind that would make my conversion easier or actually “do-able” ?
Thank you for any feedback, all the best
I am well aware that there may be a lot of mistake in the attempt to translate the script, but I am quite new to scripting yet I kind off need to flashforward learning python as it is required for a school project I am working on
CirclePacking.gh (17.1 KB)
Posts: 11
Participants: 3