FlashPrint-Visualization of slice parameters

I created a program that makes it easier to see the real numbers of slice parameters exported by FlashPrint with a text editor, so I published the source code here.

at first

FlashPrint slice parameters can be output by the following operations.

  • Ver5.1
  • Ver4.6

The files output by these are saved with the extension fcfg for V5.1 and the extension fprofile for V4.6, and the contents are output in Windows INI format.

One of the problems in looking at this slice parameter is the representation format of real numbers.

For example, the nozzle size when outputting V5.1 is output in the form of @Variant (x87> xccxccxcd).

If you prepare multiple parameters with slightly modified parameters, you cannot determine what values are different and how much by just looking at this file, and you will need to refer to them from the FlashPrint GUI screen.
Also, even if you compare files with a tool such as WinMerge, it is difficult to intuitively recognize the difference.

Therefore, I decided to make something that can be visualized by converting real numbers.

Implement

The Variant part seems to have converted a single-precision floating-point number into bytes with little endian as a character string, so when reading it, the above is reversed and output as a single-precision floating point number.
In addition, it is output in CSV format for easy handling.

This conversion itself was the same for both V4.6 and V5.1, so it can be used in common.

Conversion result

Real values are now output in a visualized form as shown below.
Now, when adjusting the parameters, it is possible to determine what has changed and how.

コメント

タイトルとURLをコピーしました