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,
Rob
Einstein ― “If you can't explain it to a six year old, you don't understand it yourself”
...working my way through the 1000+ ways things don't work to find the one that does
UC400eth, UC300eth, UCCNC v1.2106, Neuron Lite
UCCNC v1.2105 Macro Manual
Robertspark
 
Posts: 1117
Joined: Sat Sep 03, 2016 4:27 pm
Location: Nr Liverpool, England

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: 509
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: 509
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 1 guest