teepee changed the topic of #openscad to: OpenSCAD - The Programmers Solid 3D CAD Modeller | This channel is logged! | Website: http://www.openscad.org/ | FAQ: https://goo.gl/pcT7y3 | Request features or report bugs: https://goo.gl/lj0JRI | Tutorial: https://bit.ly/37P6z0B | Books: https://bit.ly/3xlLcQq | FOSDEM 2020: https://bit.ly/35xZGy6 | Logs: https://libera.irclog.whitequark.org/openscad | don't ask to ask
lastrodamo has quit [Quit: Leaving]
erickrdini has joined #openscad
<erickrdini> Hello guys!
<erickrdini> I got a cube and I want to put in each side a number but i think i will get troube when i print it!
<erickrdini> any advice?
<dalias> erickrdini, hm? are the numbers cut out, or extruded out from the surface?
erickrdini has quit [Quit: Client closed]
<InPhase> erick keeps re-asking questions I answered hours to days earlier.
ferdna has quit [Quit: Leaving]
snaked has quit [Ping timeout: 264 seconds]
<JakeSays> man i really need that rotate as a function
<JakeSays> InPhase: is there a daily build available with that in it?
<JakeSays> er, render as a function
<teepee> what rotate?
snaked has joined #openscad
<JakeSays> teepee: that was supposed to be render, not rotate
<teepee> there's a couple of auto builds for various platforms
<teepee> oh, the render PR
<JakeSays> yes that
<teepee> what platform are you on?
<JakeSays> linux
<teepee> perfect, the appimage should be attached to the PR still
<JakeSays> oh cool!
<teepee> if you find the last commit on the PR page https://github.com/openscad/openscad/pull/3956 -> "Typo correction." <red cross> 252ffc0
<teepee> if you click the red cross, it should pop up a list of builds, including one called "ci/circleci: openscad-appimage-64bit"
<JakeSays> teepee: heh. that is really cool. thanks!
<teepee> you also need to enable it in Preferences -> Features
<teepee> with that, this should work:
<teepee> echo(render() { cube(); });
<teepee> producing ECHO: { min = [0, 0, 0]; max = [1, 1, 1]; center = [0.5, 0.5, 0.5]; size = [1, 1, 1]; points = [[0, 0, 1], [1, 0, 1], [1, 1, 1], [0, 1, 1], [0, 1, 0], [1, 1, 0], [1, 0, 0], [0, 0, 0]]; faces = [[0, 1, 2, 3], [4, 5, 6, 7], [7, 6, 1, 0], [6, 5, 2, 1], [5, 4, 3, 2], [4, 7, 0, 3]]; }
<JakeSays> heh. works!
<JakeSays> this should make my life much easier
snaked has quit [Read error: Connection reset by peer]
snaked has joined #openscad
<teepee> cool, also if you have any feedback, that would be helpful, it's experimental as there's still potential issues to find/fix
snaked has quit [Remote host closed the connection]
gunnbr_ has joined #openscad
gunnbr has quit [Ping timeout: 268 seconds]
snaked has joined #openscad
ccox_ has joined #openscad
ccox has quit [Ping timeout: 268 seconds]
default_ has joined #openscad
default__ has quit [Ping timeout: 260 seconds]
<gbruno> [github] kintel pushed 1 modifications (Adjust parallelism to # cores). https://github.com/openscad/openscad/commit/08a46807e59d93a551ecc943ddc6836ecfe58603
<gbruno> [github] kintel pushed 1 modifications (Adjust parallelism to # cores). https://github.com/openscad/openscad/commit/36c683f72ac797dceacd58a613142d14d97ba645
<gbruno> [github] kintel pushed 1 modifications 1 removals (no need for an 'always' check). https://github.com/openscad/openscad/commit/83d3ed437388966876313f7e87aa948fc122db5a
gunnbr_ is now known as gunnbr
bomb has quit [Quit: ‏‏‎ ‎]
<JakeSays> teepee: if i have function foo(a,b) render() {t=a;r=b;cube(t);} i get warnings on a and b being undefined
<JakeSays> actually its function foo(a,b) = render() {t=a;r=b;cube(t);}
<JakeSays> but function foo(a,b) = let(t=a,r=b) render(){cube(t);} works
<teepee> looks like a scoping problem
<JakeSays> yeah
<JakeSays> so if variables are read only then how can i keep track of a previous value?
<JakeSays> this is a really frustrating restriction
<JakeSays> a recursive function maybe?
gunnbr_ has joined #openscad
<teepee> it's not a restriction, it's an issue with a not yet quite finished new feature
<JakeSays> ah
<teepee> could you comment that example in the PR?
<JakeSays> i think i can accomplish the same thing with a recursive function
<JakeSays> and will do
<teepee> thanks, the PR is still missing some test cases, and that would be a good candidate for one
ferdna has joined #openscad
gunnbr_ has quit [Ping timeout: 260 seconds]
Jack21 has quit [Ping timeout: 256 seconds]
<JakeSays> the parser needs better error reporting
RichardPotthoff has quit [Remote host closed the connection]
RichardPotthoff has joined #openscad
RichardP_ has joined #openscad
RichardPotthoff has quit [Read error: Connection reset by peer]
<gbruno> [github] kintel pushed 1 modifications (Disable test branch). https://github.com/openscad/openscad/commit/8bf27e0c1db351099c796031eca813577a61b003
ferdna has quit [Quit: Leaving]
gunnbr_ has joined #openscad
gunnbr_ has quit [Ping timeout: 268 seconds]
<gbruno> [github] kintel pushed 2 modifications (Put back libz build script to avoid breaking other workflows). https://github.com/openscad/openscad/commit/e37690f7f193d093cc1cec48c8e13f02f25a2384
Jack21 has joined #openscad
<Jack21>  should quit  ctrl+q the program without prompt for unsaved changes?
aiyion has quit [Remote host closed the connection]
aiyion has joined #openscad
aiyion has quit [Remote host closed the connection]
aiyion has joined #openscad
RichardPotthoff has joined #openscad
RichardP_ has quit [Read error: Connection reset by peer]
hendursa1 has joined #openscad
hendursaga has quit [Ping timeout: 276 seconds]
lastrodamo has joined #openscad
<gbruno> [github] UBaer21 opened issue #3971 (ctrl + q leaves changes unsaved). https://github.com/openscad/openscad/issues/3971
furrymcgee has joined #openscad
Non-ICE has joined #openscad
LordOfBikes has quit [Read error: Connection reset by peer]
LordOfBikes has joined #openscad
aiyion has quit [Remote host closed the connection]
aiyion has joined #openscad
erickrdini has joined #openscad
<erickrdini> dalias hello! cut out
erickrdini has quit [Quit: Client closed]
erickrdini has joined #openscad
erickrdini has quit [Quit: Client closed]
hendursa1 has quit [Remote host closed the connection]
hendursa1 has joined #openscad
RichardP_ has joined #openscad
RichardPotthoff has quit [Read error: Connection reset by peer]
RichardP_ has quit [Quit: Leaving...]
snaked has quit [Ping timeout: 260 seconds]
<gbruno> [github] kintel pushed 1 additions 1 modifications (Experiment with reusable workflows). https://github.com/openscad/openscad/commit/1a044f4872157f192cdff2db0aad293cef262056
<gbruno> [github] kintel pushed 1 additions 1 modifications (Experiment with reusable workflows). https://github.com/openscad/openscad/commit/f9307528ca23bba5029c3b4a0e086a7786ee0aad
<gbruno> [github] t-paul pushed 1 additions 2 modifications (Add guest post about sol75.). https://github.com/openscad/openscad.github.com/commit/3fb38ef0a7e84f3e71b8c904e591706c444276e5
pa has quit [Ping timeout: 268 seconds]
pah has joined #openscad
pah has quit [Ping timeout: 244 seconds]
pah has joined #openscad
pah has quit [Ping timeout: 244 seconds]
pah has joined #openscad
ur5us has joined #openscad
pah has quit [Ping timeout: 244 seconds]
gunnbr_ has joined #openscad
pah has joined #openscad
default__ has joined #openscad
default_ has quit [Ping timeout: 245 seconds]
default_ has joined #openscad
default__ has quit [Ping timeout: 245 seconds]
gunnbr_ has quit [Quit: Leaving]
snaked has joined #openscad
pah has quit [Ping timeout: 256 seconds]
arebil_ has quit [Quit: My keyboard has gone to sleep. ZZZzzz…]
pah has joined #openscad
ur5us has quit [Ping timeout: 244 seconds]
default__ has joined #openscad
default_ has quit [Ping timeout: 244 seconds]
pah has quit [Ping timeout: 256 seconds]
pah has joined #openscad
default_ has joined #openscad
default__ has quit [Ping timeout: 244 seconds]
pah has quit [Ping timeout: 244 seconds]
pah has joined #openscad
<gbruno> [github] kintel pushed 1 additions 1 modifications (Experiment with reusable workflows). https://github.com/openscad/openscad/commit/26d5dc4397d1afd5a86553e23639b19b10a2c6cb
snaked has quit [Read error: Connection reset by peer]
snaked has joined #openscad
hendursa1 has quit [Quit: hendursa1]
hendursaga has joined #openscad
pah has quit [Ping timeout: 244 seconds]
pah has joined #openscad
pah has quit [Ping timeout: 268 seconds]
pah has joined #openscad
pah has quit [Ping timeout: 244 seconds]
furrymcgee has quit [Quit: leaving]
ur5us has joined #openscad
pah has joined #openscad
TheAssassin has quit [Remote host closed the connection]
TheAssassin has joined #openscad
pah has quit [Ping timeout: 264 seconds]
pah_ has joined #openscad
GNUmoon has quit [Ping timeout: 276 seconds]
hendursaga has quit [Remote host closed the connection]
hendursaga has joined #openscad
snaked has quit [Read error: Connection reset by peer]
pah_ has quit [Ping timeout: 260 seconds]
pah has joined #openscad
snaked has joined #openscad
pah has joined #openscad
pah has quit [Changing host]
<gbruno> [github] kintel pushed 2 modifications (Put back libz build script to avoid breaking other workflows). https://github.com/openscad/openscad/commit/e37690f7f193d093cc1cec48c8e13f02f25a2384
pah has quit [Ping timeout: 268 seconds]
pah has joined #openscad
pah has quit [Ping timeout: 244 seconds]
pah_ has joined #openscad
snaked has quit [Quit: Leaving]
<Jack21> what is the best way when finding a bug in MCAD and having already a fix?
GNUmoon has joined #openscad
pah_ has quit [Ping timeout: 256 seconds]
pah has joined #openscad
pah has quit [Ping timeout: 260 seconds]
pah has joined #openscad
lagash has joined #openscad
lastrodamo has quit [Quit: Leaving]
pah has quit [Ping timeout: 244 seconds]
pah_ has joined #openscad
<teepee> Jack21: best way?
<Jack21> what is the workflow do i make an issue and a pr or only a pr with the fix
<teepee> Jack21: from observation, I think PR is ok - MCAD is maintained by hyperair who seems to not have made the jump from freenode to libera.chat here
<teepee> seen hyperair*
<othx> hyperair was last seen in #openscad 2 years, 162 days, 16 hours, 4 minutes, 21 seconds ago saying 'teepee: yea i'm still maintaining the PPA'.
<teepee> that said, didn't you already create a PR?
hendursaga has quit [Quit: hendursaga]
<teepee> or two :)
<Jack21> teepee:  it started with adding a new feature .. after that i noticed  that something was wrong so a made another PR
<Jack21> and then i noticed that the module has bugs (not mine)  so i fixed them and changed the latest PR
<Jack21> and now i have seen that there are more bugs  and thought it would be better to ask what to do
<teepee> what I know about MCAD is that changes that would cause backward compatibility issues probably would want to go into the "dev" branch
<teepee> fixes have been merged from time to time
<Jack21> i made sure that they dont (at least i hope so - the examples didn't show any issues)
<gbruno> [github] kintel pushed 1 additions (Add Github Actions workflow for macOS snapshot build). https://github.com/openscad/openscad/commit/a6c89b2df218787e04cf5fcc5f55f19c2bd833a3
<Jack21> probably the issues are within an option that is not used that much, else people should notice that something didn't match
<teepee> yeah, sounds like a bugfix PR against master is the way to go
<teepee> but it's not for me to decide
<gbruno> [github] kintel pushed 1 additions (Add Github Actions workflow for macOS snapshot build). https://github.com/openscad/openscad/commit/298cdb07f0b36a24d351454707659747b3848bc2
<Jack21> i ll put this in the existing PR and add text  - and see what happens
<teepee> yup, if you check the closed PRs, there's regular activity, so maybe it sometimes take a while, but from what I've seen there's either merge or discussion happening
<teepee> which reminds me that we probably also want to update to latest mcad-master at some point again
<Jack21>  the funny thing is that there are ~200 lines and i  done the same in about 20 lines  - but that would mean to replace the existing lib - which may cause compatibility issues
<gbruno> [github] kintel pushed 1 additions (Add Github Actions workflow for macOS snapshot build). https://github.com/openscad/openscad/commit/5199a53305bbcb91d9a4bbde9d6494674ae59170
<teepee> some of the mcad code might be ancient so freshen that up is great
<teepee> why would reducing 200 lines to 20 be a problem?
<teepee> as long as the module call is the same, or only has extra params with compatible defaults?
<Jack21> my code uses different variables like  a vector instead of 3  so this would need some translator for compatibility
<Jack21> i think first i only fix that - and maybe later i can offer a new lib
<teepee> right, if possible you could add a new one and have the old one calling that with the updated parameters
<teepee> but separating fix and updates seems like a good plan
<teepee> easier to review that way
<Jack21> too bad that i made an update and noticed the need of a fix after that
<Jack21> but without the update i wouldn't have checkt if everything was right and then it was something i haven't touched