<linext_>
i have worked mainly has a web developer, and have used java/c++ for hobby programs
<linext_>
wasm looks like a nice bridge
monkeybusiness has quit [Quit: Leaving]
califax has quit [Remote host closed the connection]
califax has joined #openscad
LordOfBikes has quit [Ping timeout: 268 seconds]
LordOfBikes has joined #openscad
califax has quit [Ping timeout: 258 seconds]
califax has joined #openscad
tachoknight has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
qeed has joined #openscad
qeed_ has quit [Ping timeout: 244 seconds]
J1A84 has joined #openscad
TheAssassin has quit [Remote host closed the connection]
TheAssassin has joined #openscad
little_blossom has quit [Remote host closed the connection]
ur5us has joined #openscad
<J1A84>
i wonder when someone fixes the convexity issues with render()
lastrodamo has joined #openscad
ur5us has quit [Ping timeout: 244 seconds]
<Scopeuk>
https://www.printables.com/model/272107-augmented-reality-cube this sends me down the "cheap 3d manipulation" thought patch again, might have to try one, I don't have any white filament but I'm sure I could sort something, maybe go black and fill in the crevicies
<Scopeuk>
Oh that's no fun it looks like it's tied into some rubbish proprietary subscription service and there is no tracking code, I'm not familiar enough with opencv to push it myself I don't think
<Scopeuk>
Hmm Aruco cube is an open source equivalent although it's more designed to print on paper
epony has quit [Remote host closed the connection]
monkeybusiness has quit [Remote host closed the connection]
aiyion1 has quit [Remote host closed the connection]
aiyion1 has joined #openscad
qeed has quit [Quit: qeed]
califax has quit [Remote host closed the connection]
califax has joined #openscad
abff_ has joined #openscad
abff has quit [Read error: Connection reset by peer]
abff_ is now known as abff
abff has quit [Ping timeout: 252 seconds]
abff has joined #openscad
abff_ has joined #openscad
abff_ has quit [Quit: everybody gets one]
aiyion1 is now known as aiyion
teepee_ has joined #openscad
teepee has quit [Ping timeout: 258 seconds]
teepee_ is now known as teepee
little_blossom has joined #openscad
qeed has joined #openscad
othx has quit [Ping timeout: 252 seconds]
othx has joined #openscad
califax has quit [Ping timeout: 258 seconds]
califax has joined #openscad
lastrodamo has quit [Quit: Leaving]
epony has joined #openscad
Non-ICE has quit [Quit: Screw you guys! I'm going home!]
Non-ICE has joined #openscad
califax has quit [Remote host closed the connection]
califax has joined #openscad
<guerd87>
in a for loop is there any way to skip a certain number? for example for(x=[0:9]) but I only want the item on 0-3 and then 5-9 skipping 4. I was thinking [0:3],[5:9] but I tried it and didnt work
<linext_>
if i==4 continue;
<dalias>
i would make a function that just returns an array
<dalias>
something like ranges([[0,3],[5,9]]) -> [0,1,2,3,5,6,7,8,9]
<dalias>
then you'd do for (i=ranges([[0,3],[5,9]])) ...
<InPhase>
guerd87: for (x=[each [0:3], each [5:9]]) { echo(x); }
<dalias>
ah there's already a way to do this? :)
<InPhase>
Alternatively, for (x=[0:9]) { if (x!=4) { echo(x); } }
<dalias>
yeah but that's nasty and puts the exclusion logic at the wrong place
<InPhase>
It does.
<InPhase>
But it depends on the exclusion criteria.
<dalias>
the concept is "do the body for this list of numbers, which excludes 4" not "do the body for the entire range, and the body knows 4 is special and excludes it"
<InPhase>
Since we got each, it's probably a good choice. If you wanted to skip everything divisible by 3, then you do an if.
<linext_>
for(i=[0:1:9]){if(i!=4){echo(i);}}
<dalias>
inphase, for (j=[0:3:10], k=[1,2]) let (i=j+k) ...
<guerd87>
awesome thank you. I ended up going with =[each [0:3], each [5:9] as my total number is variable "=[each [0:3], each [5:num-1]"
<InPhase>
dalias: lol.
<InPhase>
guerd87: As long as num is always 6 or more that's good.
<dalias>
:)
<guerd87>
Yes it is. this is minimum size. The start of the loop is always the same but only the total number changes
<InPhase>
guerd87: It gets cranky if your range is backwards. [5:3] will actually iterate 3, 4, 5, and then give you a warning.