Please elaborate on #2
Sat, Jun 12
Tue, Jun 1
Tue, May 25
We can use same JSON approach which was described for the camera position, as ID we can use the one we set in our parts JSON.
- Yes, just adjust in index.html
- Yes, favicon.ico is the one, just replace existing file
Rotation is restricted, but panning needs additional research.
Already implemented, it works when parts are switched, but needs a small fix when the page re-/loads
Maybe we can encode JSON with base64 in URL query params:
Apr 28 2021
Apr 24 2021
Apr 6 2021
Apr 3 2021
Mar 29 2021
Mar 28 2021
Mar 25 2021
- Font manager could help, but why is current font needed elsewhere than painter? Who uses it and for which reason?
- Are you sure that current font is not belonging to some class? Was under impression that it belonged to painter before.
Mar 22 2021
Utils was used to move some general stuff, but we had no time to review the architecture again, as we were trying to fix some things after GSoC2020 and discovered problems. Feel free to propose or add improvements. We can discuss anytime.
Mar 20 2021
Mar 11 2021
Feb 21 2021
Feb 20 2021
Feb 18 2021
Jan 28 2021
After some investigation, it seems like the problem is caused by the stack, which corrupts the heap. Probably some bloated code, e.g. wrong pointer usage or (unintentional) duplication of objects by passing them directly and not referencing.
Jan 21 2021
Jan 11 2021
Jan 8 2021
Jan 5 2021
Small correction, not all major countries, e.g. Germany uses QWERTZ.
Jan 4 2021
Great! Looks much better. Please create a PR for it.
@eppisai Just take the checkbox SVG with the check mark, open in Inkscape, save it under new name for empty one and remove the check mark, then the boxes would look the same.
Jaggy edges are gone, but the outlines are still different. See the chamfered corners, one has less chamfering than the other.
There seems to be a problem with icons, as the on/off states look different.
Dec 27 2020
@eppisai Was trying to answer your questions on IRC, but you weren't online. There is little reason to place a cartesian plane in the painter, as the purposes are different, it's more or less about "single responsibility". It would be better to create a base class for the graph widgets, e.g. BaseGraph, and then derive different graphs from it.
Dec 26 2020
Dec 14 2020
Basic diagram for visualiser communication:
Dec 2 2020
Dec 1 2020
Nov 15 2020
Nov 6 2020
Nov 5 2020
Nov 4 2020
Click the thumbnails to see the animations:
Oct 16 2020
Jul 12 2020
Tried several Gerber viewers (gerbv, Kicad and some other tools), so the problem is varying from tool to tool a bit, probably related to the format 2 of the data. Will try to adjust the header of drill layer manually and check if it helps.
May 20 2020
I'm watching you! ;) Lame observer pattern joke, i know.
May 19 2020
May 14 2020
May 12 2020
May 11 2020
May 10 2020
Great, it works!
May 4 2020
It's really not a lot of code to do and would save only the framebuffer to file. Just a nice to have feature, like we did it for OC.
May 3 2020
May 1 2020
Apr 30 2020
Tried and getting OpenGL 2.1 in the terminal output. @panintended Can you check it? No profile worked for me yet, but the order is certainly important.
Great analysis, thanks. Would check it with the Ubuntu VM. Do you have a fork with a fix for testing?
Apr 29 2020
Found the link which contains the code i've used for generation of linearization array: https://jared.geek.nz/2013/feb/linear-led-pwm
Fixed debug painter, now it is done through strategy pattern.
Automatic fallback through two phase init is probably fit for most machines:
Structure is added, next step is side bar implementation. Here the ButtonBar can be used, like the example which is already added, just in combination with the ImageButton.
Apr 20 2020
We've discussed it and this is a workaround, but we need a proper fix, as i fear that future extensions will add more problems. Still debugging and thinking how to resolve.
Hardware looks fine, my output for Intel:
Can you post the output from 'glxinfo | grep OpenGL', please?
Interesting, cannot observe such behaviour on my machine. It has 2 GPUs, Intel and nVidia. Both work, for nVidia i start the app with 'prime-run'.
Apr 13 2020
Please check latest commit in the repo, it has a debug overlay now, which currently is only implemented for DrawText() and DrawIcon():
No, add implementation, by porting from old firmware version and re-using the DrawIcon() code to reduce image size.
The base class needs some additional love to be able to set this buttons from the child class comfortably.