M130 UccncMediaViewer

Here is where you can drop off Examples of WORKING macros,plugins,Gcode programs , macro Wizards etc.
Please give a brief description of what it is and how it works.

Re: M130 UccncMediaViewer

Postby Robertspark » Fri Sep 14, 2018 8:31 am

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,
Robertspark
 
Posts: 1892
Joined: Sat Sep 03, 2016 4:27 pm

Re: M130 UccncMediaViewer

Postby Dan911 » Fri Sep 14, 2018 9:00 am

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
Dan911
 
Posts: 613
Joined: Mon Oct 31, 2016 1:22 am
Location: USA

Re: M130 UccncMediaViewer

Postby Dan911 » Sat Sep 15, 2018 1:36 am

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
Dan911
 
Posts: 613
Joined: Mon Oct 31, 2016 1:22 am
Location: USA


Return to UCCNC TOOL BOX

Who is online

Users browsing this forum: No registered users and 7 guests

cron