srk has quit [Read error: Connection reset by peer]
srk- is now known as srk
kintel has joined #openscad
<kintel>
If people with some Windows experience have any ideas, this really puzzles me:
<kintel>
I managed to get a small example program to request an OpenGL context using my GPU over ssh. Great!
<kintel>
However, when I changed OpenSCAD to use the same technique -> still no dime.
<kintel>
..so I did what every engineer sometimes does: I started deleting code from OpenSCAD until the only thing left was creating an OpenGL Context -> still nothing
<kintel>
..then I changed it even more to the point where OpenSCAD now is identical to my working test program -> nothing
<kintel>
..then I copied openscad.exe to the location of my working test program and renamed it to offscreen.exe -> now it works
<kintel>
WTF?!?
<InPhase>
kintel: ...
<InPhase>
kintel: Registry shenanigans?
<kintel>
Well, that or a kernel backdoor allowing "offscreen.exe" to do magic stuff
<InPhase>
lol
<kintel>
But how would that even happen? It's not like I even know how to change registry : /
<kintel>
I can always reinstall Windows and try to reproduce, but I like my life too much ...
kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<InPhase>
kintel: I googled for what sort of OpenGL settings have an application name in them, and found these multipipe settings mentioned. Now maybe not that, but it does have a list of config files. Maybe running under msys2 under ssh brings you access to files like a $HOME/.Xdefaults as mentioned there that would not otherwise be considered by Windows?
<pa>
thought about interlocking, but going to be hard to design
<J23>
tpu .. solder iron to fuse together
<pa>
essentially i'm trying to design a magnetic cap intended to block air flow, and i'm trying to have a tpu "sealing" that is supposed to host magnets. Since the surface isn't flat but conical, the magnets sockets arent lying flat, so i have to split the sealing in 2
guerd871 has joined #openscad
guerd871 has quit [Remote host closed the connection]
<buZz>
pa: yeah i guess those solvents in the vid are the solution then
<buZz>
for airtightness
<buZz>
magnets are that airtight btw :P
<J23>
flame polishing works very well on tpu
<pa>
interesting.. first time i hear about flame polishing.. i saw a video joining tpu with soldering iron but not easy in my case
<buZz>
all thermoplasts can do flame polishing, i bet?
<pa>
i was also thinking to remelt the top of one part somehow (like with a very hot plate) and then just press the other part over it
<J23>
sure but tpu get a very liquid surface very fast
<pa>
https://i.imgur.com/BMYR7Lv.png this is roughly it, the exploded view is cropped to show where the sockets are supposed to be although i was planning to slice it along xy to create printable parts
<pa>
although maybe i could just leave the sockets open on the side and then put something to cork them in
<pa>
maybe making a narrowing to allow pushing in but then they would stick inside
<pa>
probably easier than joining 2 parts
<pa>
although the problem would be bridges in tpu, i can imagine not staying straight very easily
califax has quit [Ping timeout: 255 seconds]
califax has joined #openscad
<J23>
leave pockets for the magnets and then fill with liquid (hot ) tpu from the extruder
<Scopeuk>
if it's just pockets you can put a pause in the gcode
<Scopeuk>
have it print the pockets (with some space above) and then pause to inset the magnets, continue printing after inserted
<pa>
good idea
<pa>
Scopeuk: the problem with that is that the pockets aren't flat
<J23>
but they are just tilted a little so if you stop at the right layer there should be just enough open to slide them in
<pa>
i fear the nozzle might hit the magnets while moving
<pa>
yes, or maybe just narrow the opening a bit and push the cylindrical magnets in
<J23>
if you have a solder iron with temp setting and a blade insert (like TS-100 ) you can model the part to your liking after
<J23>
or leave the magnet pocket open from below with a bit smaller opening .. so you press them in
<pa>
ah good idea.. i don't have that insert but shouldnt be hard to find
<pa>
i have the iron that came with an atten 8586 (i think)
<J23>
a scraper or putty knife and a stove top will work with some practice
<J23>
use the hot air from the atten to smooth the TPU
<J23>
I am also having a bowl with cold water to stop the softening after the surface is smooth
<pa>
ah good idea, thanks for the tip!
<pa>
can chatgpt do openscad?
<teepee>
no
<pa>
useless :-D
<buZz>
pa: yes
<buZz>
well
<buZz>
poorly
<buZz>
:D
<buZz>
but its getting very confused about syntax quickly
<pa>
it sucks at qml too
<teepee>
if you need bad useless openscad code, just copy random stuff out of stackoverlow questions ;-)
<J23>
gpt4 can read in pages of instructions .. so there is a chance to get at least the syntax right
<buZz>
there's some python module to autoimport&execute 'top stackoverflow entry'
<buZz>
what -chatgpt- does better than gpt generally is conversating
<buZz>
so changing previous answers based on future input
<buZz>
and apologizing for it :P
<buZz>
but gpt in general is amazing, github copilot is gpt too, i bet that can tab-complete plenty openscad?
<buZz>
gee, github.dev doesnt even do syntax highlighting for .scad files? laame
banachtarski has joined #openscad
fedorafan has quit [Ping timeout: 252 seconds]
fedorafan has joined #openscad
TheCoffeMaker has quit [Ping timeout: 240 seconds]
mechadense has joined #openscad
fedorafan has quit [Ping timeout: 248 seconds]
fedorafan has joined #openscad
use-value has quit [Remote host closed the connection]
use-value has joined #openscad
ali1234 has joined #openscad
kintel has joined #openscad
<kintel>
InPhase I got one more datapoint: If I ssh into Windows _without_ any msys stuff, I get the same behavior.
<kintel>
-> I ssh into the default Window shell and run the last official OpenSCAD binary: openscad.exe --info => Framebuffer Object extension not found by GLEW
<kintel>
-> I rename openscad.exe to offscreen.exe: offscreen.exe --info => OpenGL Version: 4.6.0 NVIDIA 528.49
<kintel>
^ This is OpenSCAD-2021.01
<InPhase>
kintel: Sometimes people ask me why I try to avoid doing Windows development.
<InPhase>
kintel: I appreciate that you will not ask me this question. ;)
<Scopeuk>
I know some graphics drivers try to "be clever" and mess with settings based on the exe name but this goes well beyond that
<kintel>
haha, I'm really starting to regret installing Windows :/
<InPhase>
kintel: But, you're doing the good community service here on trying to sort out the problems with the Windows builds.
<kintel>
Problem is that as an engineer, I find this really hard to let go : (
<kintel>
Perhaps I'll wait for someone else to run an ssh server under Windows and check if offscreen.exe works for them :)
<kintel>
If we could get this to work, that would be a totally reasonable Windows dev. env; practically a fully transparent VS Code + Terminal, just happens to be Windows under the hood
<Scopeuk>
kintel does an arbitrary third name work?
L29Ah has left #openscad [#openscad]
<Scopeuk>
I'm wondering if openscad.exe has been associated with the rdp login or some similar madness
<kintel>
Scopeuk No, only offscreen.exe
<kintel>
even offscreen.com fails
<Scopeuk>
thats very odd
<kintel>
I suspect it is because I built an offscreen.exe myself as an offscreen context test, and the system must somehow have taken a liking to my program
<kintel>
..but registry claims to not know about it, and the only difference is when executing stuff in an ssh session
<kintel>
(using the official Microsoft ssh server for Windows 11 setup)
<kintel>
I also didn't activate Windows yet, and it's possible that offscreen.exe existed before Windows started to complain about activation
<kintel>
But yeah, caching sounds reasonable
<InPhase>
kintel: You can redo your offscreen.exe build process as offscreen2.exe and see if you can trigger a second copy of a name that acts this way.
<InPhase>
kintel: If so, I have a solution for how you can achieve "works for me"...
<InPhase>
But that is not a satisfying solution if you're trying to make sure this works as a general solution and will be comparable to what works for others.
<InPhase>
Still, triggering a second copy might confirm for you that some magic happened and that the name is not special.
<kintel>
InPhase Tried that yesterday, modified cmake to build an offscreen2 target, and the offscreen2.exe does not work either
<InPhase>
There is an offscreen.exe by Apple, so I'm wondering if this is some hardcoded special name.
<InPhase>
Which would be absolutely terrible.
<kintel>
Hardcoded special name sounds far-fetched, but can only really be verified by someone else trying to reproduce
<Scopeuk>
I did try searching around didn't spot anything
<kintel>
Reboot didn't change anything, I'll try buying a Windows license next
<InPhase>
Yes, it's so terrible I have to hope it's wrong. But there are not many explanations for what you're experiencing.
<Scopeuk>
I guess you could try "set SESSIONNAME=Console" to see if that kicks it but really shouldn't
<Scopeuk>
woudlent explain the differnce by exe name either
qeed_ has quit [Quit: qeed_]
<Scopeuk>
the only other thought would be that I know there are settings in the nvidia driver "per application" which I suppose could conceptually do some low level manipualation
qeed has joined #openscad
<kintel>
Scopeuk right, I can try disabling the nVidia GPU and use the iGPU instead.
<kintel>
SESSIONNAME did nothing
TheCoffeMaker has joined #openscad
use-value has quit [Remote host closed the connection]
use-value has joined #openscad
L29Ah has joined #openscad
kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<guso78[m]>
Haha, Looks Like a xxx toy...
snaked has joined #openscad
use-value has quit [Remote host closed the connection]
use-value has joined #openscad
fedorafan has quit [Ping timeout: 265 seconds]
fedorafan has joined #openscad
fedorafan has quit [Ping timeout: 248 seconds]
fedorafan has joined #openscad
Number3[m] has joined #openscad
TheAssass1n is now known as TheAssassin
TheAssassin is now known as TheAssass1n
TheAssass1n is now known as TheAssassin
ur5us has joined #openscad
<joseph_>
teepee InPhase: Did you find out anything more yet about GSoC mentor registration? If it's gotten set up then I would indeed like to apply again this summer. My preference remains a rendering-related project, but as I mentioned before if that won't work out then I could do one of the other ideas.
<joseph_>
I was thinking a good way to frame the project scope is restructuring to more consistently separate the functions that use legacy OpenGL, resulting in a clearly consolidated path that uses VBOs for rendering. Then sometime in the future, a flag could be set to deprecate the fixed-function calls. Right now those controls are split across multiple ExperimentalVxO feature checkboxes. (Out of necessity in GSoC 2022 I already made a
<joseph_>
slight adjustment to when the modern methods get enabled--previously, it additionally depended on whether Show Edges was activated.) kintel do you think I should expand on these thoughts in a draft project proposal document that I'd share for potential feedback? Or do you recommend I instead just plan on submitting a non-graphics project idea?
castaway has joined #openscad
L29Ah has quit [Ping timeout: 265 seconds]
fedorafan has quit [Ping timeout: 260 seconds]
use-value has quit [Remote host closed the connection]