<jdminiatures>
I was wondering how to define a module which has alternative arguments as on the built in cylinder(h,r|d,cet
<jdminiatures>
I was wondering how to define a module which has alternative arguments as in the built in cylinder(h,r|d,center) or cylinder(h,r1|d1,r2|d2,center)?
athenaeryma has quit [Ping timeout: 246 seconds]
adigitoleo has quit [Ping timeout: 248 seconds]
athenaeryma has joined #openscad
adigitoleo has joined #openscad
TheAssass1n has quit [Remote host closed the connection]
TheAssassin has joined #openscad
jdminiatures has quit [Quit: Client closed]
cart_ has quit [Ping timeout: 252 seconds]
cart_ has joined #openscad
Artea has quit [Ping timeout: 264 seconds]
extor has quit [Ping timeout: 272 seconds]
yogadude` has joined #openscad
teepee_ has joined #openscad
teepee has quit [Quit: bye...]
teepee_ is now known as teepee
JakeSays_ has joined #openscad
teepee has quit [Ping timeout: 260 seconds]
ndnihil has joined #openscad
ndnihil has quit [Changing host]
ndnihil has joined #openscad
aiyion has quit [Ping timeout: 260 seconds]
aiyion1 has joined #openscad
othx has quit [Read error: Connection reset by peer]
JakeSays has quit [Remote host closed the connection]
nihil has quit [Ping timeout: 276 seconds]
feuerrot has quit [Ping timeout: 276 seconds]
feuerrot has joined #openscad
othx has joined #openscad
extor has joined #openscad
athenaeryma has joined #openscad
gbruno has joined #openscad
meshugga has quit [Ping timeout: 276 seconds]
meshugga has joined #openscad
teepee has joined #openscad
jdminiatures has joined #openscad
teepee_ has joined #openscad
Artea has joined #openscad
Guest3 has joined #openscad
Guest3 has quit [Client Quit]
teepee has quit [Ping timeout: 260 seconds]
teepee_ is now known as teepee
Guest988 has joined #openscad
Guest988 has quit [Client Quit]
J24k has quit [Quit: Client closed]
J24k has joined #openscad
jdminiatures has quit [Quit: Client closed]
jdminiatures has joined #openscad
<teepee>
jdminiatures: something like module ellipse(r = undef, d = undef) { if (!is_undef(r)) scale([2, 1]) circle(r); else if (!is_undef(d)) scale([1, 2]) circle(d = d); else assert(false, "need either r or d parameter"); }
<teepee>
I would not really recommend doing that though
<peeps[zen]>
just thinking about it some more, i guess doing so would assume that the actual vs expected output are always same levels deep relative to imported file paths
xpektrum has joined #openscad
xpektrum has quit [Client Quit]
<peeps[zen]>
neat, it passed
<teepee>
nice, supporting the default cmake build structure seems good enough for me
<teepee>
the only potential other user would be the distro test suites, but I hope those also use the default layout
ali1234 has quit [Read error: Connection reset by peer]
ali1234 has joined #openscad
J24k has quit [Quit: Client closed]
J24k has joined #openscad
<peeps[zen]>
so, one significant difference i found between boost filesystem and std::filesystem is the last_write_time uses chrono in std.
<peeps[zen]>
i wrote a little helper function to convert to seconds since epoch, and it was returning a huge negative number that I went about trying to debug for a while