arebil has quit [Quit: My keyboard has gone to sleep. ZZZzzz…]
ferdna has quit [Quit: Leaving]
BluShine has joined #openscad
<BluShine>
Hey, is there supposed to be a button to clear the console? I saw this PR from 2019 that references a button, but I'm running OpenSCAD Windows release 2021.01 and I don't see any buttons in the console window besides the X to close. https://github.com/openscad/openscad/issues/2687
<BluShine>
Oh, I found it. Right click menu but only if you click on the contents of the window. I was clicking on the window frame.
<BluShine>
I guess that doesn't clear the error log tho :(
tecdroid has joined #openscad
<tecdroid>
hi
<teepee>
BluShine: Yes, ErrorLog is filled after each F5/F6 run
<tecdroid>
.. and never cleaned unless you tell it to do so.. btw is there a shortcut for this? ;)
<tecdroid>
btw. haven't yet found something to create array programmatically.. is there any way? I want to calculate a cycloidic drive wheel and need to calculate each coordinate.. step by step.. my current workaround is generating a .scad file via python script.
<tecdroid>
so what i need is something like appending values to an array
Jack2252 is now known as Jack22
<Jack22>
have a cycloid in my lib Ü .. you can use concat to add values to an array
<teepee>
extended = [ each array, "new", "value" ]
<tecdroid>
sounds even better.. but isn't this slow? it sounds like always creating a new array
<Jack22>
you create a new one each time .. you can not change "variables" in a functional language
<tecdroid>
call me stupid but i never considered openscad to be functional.. but makes pretty much sense now
<teepee>
creating that kind of array is optimized, the performance hit will happen once on first access to those nested arrays
<tecdroid>
well, i'll give it a try..
crazy_imp has joined #openscad
crazy_imp has quit [Changing host]
crazy_imp has joined #openscad
<tecdroid>
seems, I'm thinking toooo imperative.. https://pastebin.com/z1Za74Xa for example does not work.. but it's functional.. XD waveform = [for (alpha = [0:359]) sin(alpha)];
BluShine has quit [Ping timeout: 256 seconds]
<teepee>
tecdroid: yes, that's trying to reassign a variable which is not possible
<teepee>
just: waveform = [ for (a = [0:1:359]) sin(a) ];