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 / report bugs: https://goo.gl/lj0JRI | Tutorial: https://bit.ly/37P6z0B | Books: https://bit.ly/3xlLcQq | FOSDEM 2020: https://bit.ly/35xZGy6 | Logs: https://bit.ly/32MfbH5
califax has quit [Remote host closed the connection]
califax has joined #openscad
rogeliodh has quit [Quit: The Lounge - https://thelounge.chat]
rogeliodh has joined #openscad
linext has quit [Quit: Leaving]
J227569 has joined #openscad
linext has joined #openscad
linext has quit [Client Quit]
J2275 has quit [Ping timeout: 252 seconds]
linext has joined #openscad
LordOfBikes has quit [Ping timeout: 250 seconds]
LordOfBikes has joined #openscad
qeed_ has quit [Read error: Connection reset by peer]
qeed_ has joined #openscad
califax has quit [Remote host closed the connection]
califax has joined #openscad
_whitelogger has joined #openscad
J227569 is now known as J22
snaked has quit [Ping timeout: 240 seconds]
lastrodamo has joined #openscad
fling has quit [Ping timeout: 240 seconds]
fling has joined #openscad
sinvet has joined #openscad
fling has quit [Ping timeout: 240 seconds]
fling has joined #openscad
<gbruno> [github] mbracconi opened issue #4236 (Compilation error) https://github.com/openscad/openscad/issues/4236
J22 has quit [Quit: Client closed]
J22 has joined #openscad
fling has quit [Ping timeout: 240 seconds]
fling has joined #openscad
fling has quit [Remote host closed the connection]
fling_ has joined #openscad
fling_ is now known as fling
qeed_ has quit [Quit: qeed_]
snaked has joined #openscad
qeed has joined #openscad
fling has quit [Remote host closed the connection]
fling has joined #openscad
J22 has quit [Ping timeout: 252 seconds]
J22 has joined #openscad
sinvet has quit [Remote host closed the connection]
sinvet has joined #openscad
fling has quit [Ping timeout: 240 seconds]
fling has joined #openscad
fling has quit [Ping timeout: 240 seconds]
fling has joined #openscad
fling has quit [Ping timeout: 240 seconds]
fling has joined #openscad
pie_ has quit []
pie_ has joined #openscad
fling has quit [Ping timeout: 240 seconds]
fling has joined #openscad
fling has quit [Remote host closed the connection]
fling has joined #openscad
lastrodamo has quit [Quit: Leaving]
<pa> 👋🏼 question: can i somehow set a specific $variable to a value within a module, then restore to previous value after using it?
<Scopeuk> pa, I might be wrong but I thought they overrode as you went down the stack
<Scopeuk> so $fn in a module would override $fn at parent scope but I might be wrong on that
<Scopeuk> its been a while
<pa> gotcha, thanks
fling has quit [Ping timeout: 240 seconds]
fling has joined #openscad
<J22> pa you can use orgSpecial= $special; $special=5; children($special=$special); $special=orgSpecial;
ToAruShiroiNeko has quit [Ping timeout: 260 seconds]
ToAruShiroiNeko has joined #openscad
<J22> so you can change the variable inside a scope and revert back to its original.
<J22> so you can e.g. use rotate_extrude($fn=8); and revert to the original $fn so following polygons (circle) are not affected from $fn=8
<teepee> and I would very much suggest to not do that :)
<teepee> wait, the paste is different, that looks ok
<J22> you will get a warning if you reassign a variable inside the same scope - so that shouldn't be done
<J22> but a reason why i use fn not $fn  so i can change that for a parent module without affecting children
nedko has quit [Remote host closed the connection]
nedko has joined #openscad
fling has quit [Ping timeout: 240 seconds]
fling has joined #openscad