<kintel>
guso78 Re. the axis rendering; I vaguely remember someone mentioning this earlier, but it seems to be very uncommon. I suspect a bad GL driver in your VM, possibly some GL state is leaking through and causes the rendering to look wrong
<kintel>
It could also be that we fail to initialize some state, which happens to be initialized differently on different environments.
<kintel>
If you're motivated: Check different VirtualBox versions and check more OpenSCAD versions to see if it changes.
ali1234 has quit [Remote host closed the connection]
ali1234 has joined #openscad
<kintel>
guso78 Oh, and perhaps compare GUI vs. cmd-line rendering as they perform different GL context setup
lastrodamo has joined #openscad
kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
guso78k has joined #openscad
<guso78k>
@kintel, thank you for you analysis. i am quite confident, that this change came by chaning from virtualvox 5.6 to 7.1, and i have tracked down the issue:
<guso78k>
it only happens with virtualbox > 5.6(dont know exact number), with lines rendering to infinity(w=0) and with stippled lines
guerd has joined #openscad
teepee_ has joined #openscad
teepee has quit [Ping timeout: 264 seconds]
teepee_ is now known as teepee
guerd has quit [Read error: Connection reset by peer]
guso78k has quit [Quit: Client closed]
Guest8 has joined #openscad
castaway has quit [Ping timeout: 246 seconds]
castaway has joined #openscad
<Guest8>
Hello! Here's a short question: Are there inclusion-guards in OpenSCAD? The only search-results I get on Google are for C/C++.
<Guest8>
Is it even possible to have inclusion-guards in OpenSCAD due to variables being immutable?
<Guest8>
ChatGPT used a simple if-statement on the global scope, but that would make it impossible to set global variables, right?
guso78k has joined #openscad
hyperair has quit [Ping timeout: 264 seconds]
califax has quit [Ping timeout: 264 seconds]
califax has joined #openscad
hyperair has joined #openscad
<teepee>
Guest8: ChatGPT is extremly bad to unusable for OpenSCAD
<teepee>
and there are no exclusion guards needed, same file is automatically loaded once
<church_>
i hate that i have to render() each intersect use (for parts later used to difference with), or CSG object limit gets hit :(
<church_>
funny, if i "debug" #-prefix those, then they seem not to be counted in that limit of CSG max objects to normalize in preview. But then preview looks fugly with red bits all around
<church_>
.. non related to this, i'm in awe, how much faster new manifold renderer is. It shows way more z-infighting remnants then old renderer .. but that rendering speed is .. addictive :)
<church_>
Also i wonder if there is way to increase transparency of #-debugged or %-ed parts. Previously i used openscad on macos, now - on win11, and for useful purposes #&% seems way less transparent, unusable much for seeing other model bits through, requiring to resort more to commenting other bits in a way :(
L29Ah has joined #openscad
teepee_ has joined #openscad
teepee has quit [Ping timeout: 264 seconds]
teepee_ is now known as teepee
guso78k has joined #openscad
<guso78k>
church_, you can improve this behavior, if you increase the convexity attribute on your primitives
<church_>
guso78k: transparency bit?
<guso78k>
nope, for cube e.g you write cube([10,20,30], convexity=10)
<guso78k>
same applies for cylinder, sphere , polyhedron ...
<church_>
hhuh, i thought that convexity is more needed for more advanced stuff, at least usually that's only place where i see it being changed from defaults in others code, almost never seen it changed for basic primitives like cube/cylinder/sphere
<church_>
also changing each end every place .. convexity cannot be set globally, right?
<guso78k>
convexity is only needed for preview algorithm to work well enough. its useless for render
<guso78k>
doubt, convexity can be set globally, but you might bug the devs about that O:3
<church_>
there are more important bits that i'd wish to bug them, but won't, as seen others doing that for years with no result :)
J25k16 has quit [Quit: Client closed]
J25k16 has joined #openscad
kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]