Page 1 of 1

Re: M130 UccncMediaViewer

PostPosted: Fri Sep 14, 2018 8:31 am
by Robertspark
I think {not sure, not tried it} it may be possible to change:

Code: Select all
if(result == "jpg")
{....


to

Code: Select all
if(result == "jpg" || result == "bmp" || result == "gif" || result == "png" || result == "tiff" || result == "wmf" )
{...


given the system drawing namespace can open / display a number of image formats and is not just limited to jpeg
https://docs.microsoft.com/en-us/dotnet ... work-4.7.2

I personally like png as the file size is so much smaller and therefore can load quicker from my experience.

each to their own.

Good work terry,

Re: M130 UccncMediaViewer

PostPosted: Fri Sep 14, 2018 9:00 am
by Dan911
Hey Terry this was done already, you replied in the thread. I also showed an example how to use the .html file Vectric software outputs.

viewtopic.php?f=13&t=1183&p=8928#p8928

Re: M130 UccncMediaViewer

PostPosted: Sat Sep 15, 2018 1:36 am
by Dan911
Took a better look tonight and see you created a universal MediaVeiwer macro...Nice work. I only tested on the OP request for Fusion where the M130.png is automatically generated in Gcode.

To automatically generate with Vectric software adding this to the header of your post processor "[N] M130 ([TOOLPATH_NAME].html)" works and what I did, you just need to name the job summary the same as the generated toolpath.

Dan