Machsupport Forum

Mach Discussion => Feature Requests => Topic started by: cejdasan on February 18, 2013, 08:34:55 AM

Title: Print to Cut functionality & Mach3 on router
Post by: cejdasan on February 18, 2013, 08:34:55 AM
Is there way that this functionality can be added to Mach3. Something like AXYZ AVS Vision Registration System or integrate i-Cut from Esko.

http://www.a2mc-cnc.com/downloads/docs/files/devices/software/avs/AXYZ%20Vision%20System.pdf (ftp://http://www.a2mc-cnc.com/downloads/docs/files/devices/software/avs/AXYZ%20Vision%20System.pdf)

http://www.icutvision.com/ (http://www.icutvision.com/)
Title: Re: Print to Cut functionality & Mach3 on router
Post by: Chaoticone on February 18, 2013, 07:05:22 PM
Welcome to the forum cejdasan, are you looking to register something by sight? Have a look at this topic, it may be what your looking for.


http://www.machsupport.com/forum/index.php/topic,22932.msg160769.html#msg160769

Brett
Title: Re: Print to Cut functionality & Mach3 on router
Post by: cejdasan on April 21, 2013, 06:03:35 AM
Hi Brett,

Klaus video plug-in is not really suitable for our needs. His plug-in is more about aligning the whole cut file on substrate. It took me quite long time to get my head around it. Here it goes:

What we are looking for is essentially way to add registrations marks (dots) around individual parts in Illustrator (or any other designs package). Dots needs to be in different layer and would have its own cut path which needs to be processed by camera first before any machining takes place. What normally happens when you print on vinyl and mount it on hard board is that the printed image gets distorted. Similar distortions happen when you print directly on rigid board. These distortions needs to be compensated fro before the cut path is executed. That is where the camera comes to play. It drives along the sheet and reads the predefined spots from design package and records its position than it compare it with the actual design file. When it finds that the positions are not matching it applies corrections to cut file before machining. Camera must be possible to be assigned as tool in Mach as it needs to be able to follow the dot tool path. Software what work with the camera must be able to compensate for distortions and be able to change the machined tool path. The compensated tool path can be then machined.

There are packages on the market which has this functionality i-Cut or Optiscout but they are expensive and has lot of functionality which we simply do no require. More importantly they taking over control of the machine to execute the machine code which means that some of the advanced machining strategies are not possible.

The best solution I could find was AXYZ AVS app which is add-on and when installed it becomes part of their A2MC controller. It is proprietary to AXYZ International and it is written for WindowsCE which is OS on their controller.

We have been running successfully our router in my old company by Mach3 and been happy with its performance and features. If print to cut functionality would be possible to add in similar manner as AXYZ did it with their controller it surely could be good money spinner as many smaller sign and printing companies would find this feature attractive. You can use simple IP web camera with LED lighting and this app/add-on to cut printed shapes from rigid substrates.

Hope it make sense.

Regards.

Petr.
Title: Re: Print to Cut functionality & Mach3 on router
Post by: Tweakie.CNC on April 24, 2013, 10:39:48 AM
Thinking about this…

Provided the distortion (difference in printed image size) was linear then if the printed image contained 3 dots in a dimensionally known position (similar to the illustration) then the camera could be used to measure the actual distance between Datum and 1 to get the angle of rotation or skew and the Y axis scale factor and then between Datum and 2 to get the X axis scale factor (again compensating for skew). The calculations could all be done automatically in a script similar to the previously linked thread.

Tweakie.
Title: Re: Print to Cut functionality & Mach3 on router
Post by: BR549 on April 24, 2013, 01:12:12 PM
Why not just process the original art , Raster to Vector and get a cut file of the outside contour.

(;-) TP
Title: Re: Print to Cut functionality & Mach3 on router
Post by: RICH on April 24, 2013, 09:41:30 PM
You can use CopyCat to get gcode of the image using a Web Cam. Backplot it and you will have a dxf / drawing which you can manipulate in CAD. Can be very accurate depending on Web cam used and care taken to bring the
image to correct dimensions.

Just a different way and agree with Terry. ;)

RICH
Title: Re: Print to Cut functionality & Mach3 on router
Post by: stirling on April 25, 2013, 02:58:33 AM
If I understand the problem correctly we're talking about an AUTOMATED PRODUCTION RUN system where we're printing and cutting out 10s/100s/1000s?  off. At least that's what the OP's second link infers. (the first link is broken).

Each printed image has to be automatically registered on the cut bed. But the system has to deal with RUN-TIME X,Y displacement PLUS skew PLUS distortion.

So I think it goes something like this: You have a cut path which has been created from the original artwork. Then a print is delivered to the cut bed, a camera then follows the cut path and makes note of where the registration marks are in relation to where they should be. It then modifies the cut path to match THIS particular instance and the knife does it's job. Then the next print is loaded and the whole process is repeated LIVE.

I may of course have got completely the wrong end of the stick

Ian
Title: Re: Print to Cut functionality & Mach3 on router
Post by: cejdasan on April 28, 2013, 06:23:13 AM
Hi Ian,

You are absolutely correct. That is what we are looking for. Controller which has this capability and does not cost arm and leg.

The document I was referring to in my first post could be found on www.a2mc-cnc.com website. It is dedicated website about machine controller from AXYZ International. In the software section you can scroll down and you find AXYZ Vision system icon and bellow is menu from which you can select the pdf I was referring to in my first post. They might be blocking direct download from other website. The only way then might be to go to A2MC website and view the pdf or go to my second post and the file is attached on the bottom of the post.

This week I had discussion with AXYZ technician about the pros and cons of the AVS app and i-CUt and Optiscout packages. It became very clear that there are benefits to have the application be running inside of controller as there are not programing and running issues. AXYZ in its app do not support non-linear distortions which are created by printing vinyl and laminating the print onto hard board/material. That in itself does not mean you can not get acceptable results when processing such substrates. You just have to add some bleed around the shape itself which we normally do when contour cutting printed vinyl on plotter. They only recommended to apply printed vinyl by flatbed applicator (RollsRoller www.rollsroller.co.uk or similar) to keep the distortions to minimum and add bleed. Results are comparable to productivity packages as I-Cut or Optiscout. These softwares are aimed on high volume production which we are certainly not. But if you ask any signmaker whether he would wish his router could not only cut shapes but cut printed shapes too you always receive cheers. It is one of the areas which seems to be growing rapidly but is left unattended by producers of universal CNC controllers. I was looking extensively all over the web whether there is not some Chinese manufacturer but without success.

If anyone knows about such package please post the link. It would be very much appreciated.

Tweakie seems to be very good with math. Perhaps he could have the skills to write such add-on software and make himself some buck.

Regards.

Petr.
Title: Re: Print to Cut functionality & Mach3 on router
Post by: Tweakie.CNC on April 28, 2013, 11:59:42 AM
Obviously I am missing something ‘big-time’ here but I fail to understand the complication with cutting a linearly distorted graphic.

Picture1 – Graphic as produced in CAD, complete with registration markers.

Picture 2 – Cut tool-path produced in CAM (from the original artwork) as shown in Mach3.

Picture 3 – Graphic as printed (with exaggerated linear distortion and skew).

Picture 4 – Original Mach3 cut tool-path corrected for distortion and skew (Scale & Rotation) using camera location of the 3 markers and a basic bit of high school trig.

Perhaps someone could explain…

Tweakie.


(http://hobbymaro.puhasoft.hu/Tweakie/cutfig.1a.jpg)
(http://hobbymaro.puhasoft.hu/Tweakie/cutfig2.jpg)
(http://hobbymaro.puhasoft.hu/Tweakie/cutfig3a.jpg)
(http://hobbymaro.puhasoft.hu/Tweakie/cutfig4.jpg)
Title: Re: Print to Cut functionality & Mach3 on router
Post by: stirling on April 28, 2013, 01:14:24 PM
Hi Tweakie

As I understand it the problem is that you've used the phrase "linear" distortion and Petr has used the phrase "non-linear distortion"

Imagine an image printed on a rubber sheet which is then pulled at many different points in all sorts of directions with different force.

At least that's how I understand the problem.

Ian

Title: Re: Print to Cut functionality & Mach3 on router
Post by: Tweakie.CNC on April 28, 2013, 01:36:43 PM
Ahhh - non-linear distortion - Thanks Ian.

I will crawl back under my shell.  ;D

Tweakie.
Title: Re: Print to Cut functionality & Mach3 on router
Post by: cejdasan on April 28, 2013, 03:28:49 PM
Hi Guys,

It is brilliant that that some smart minds attending to my problem. The question of linear and non-linear distortion is not as important to me as the fact whether the whole process could be automated in Mach3 as Ian described in his post to produce 10s/100s/1000s. The automated production is the key problem.

It is true that when you print on vinyl and mount it on substrate that non-linear distortion occur. It occur less so if flat bed applicator is used as you effectively roll the print with same force on substrate. If you wet apply or if you skilled enough dry apply the sheet vinyl with strokes of squeegee you create obviously more non-linear stretch. Non linear distortions only happen when you print on roll media. If you have flatbed printer and you print directly on substrate only linear distortions occur.

It is quite normal in signmaking to add bleed (additional colour to extend the image over the vector cut line) to contour cut image to avoid white non printed borders in case of vinyl print being contour cut on plotter. It is to create shaped sticker.

The packages as i-Cut and Optiscout can compensate for non-linear distortion and therefore the graphics designer is not required to add any bleed to combat the white borders. But as I sad earlier we are relatively small sign company which can benefit from automated cutting of sheet material where the design was printed on roll media and mounted hard substrate. We would not mind to spend little more time designing the artwork if only we can then mount it on sheet and cut it in one operation on our router in similar fashion we produce shaped stickers on vinyl plotter.

Keep the good work.

Petr.

Title: Re: Print to Cut functionality & Mach3 on router
Post by: adprinter on June 04, 2013, 11:31:03 AM
I worked for over 35 years in the printing industry, and saw many changes in technology over the years. (From letterpress printing, to web offset printing of telephone directories). The most advance system I personally worked with, was a computer-controlled registration system. (CCR for short). It involves the use of registration dots which were printed onto the web travelling at speeds up to 2500 feet per minute, for each of the four process colors used. CMYK, a television camera was mounted onto a linear rail system, which allowed the camera to travel across the web, driven by a servo motor and toothed belt. The camera would make a scan across the moving web, under computer control and photograph the programmed location of the registration dots on the web itself. A specific pattern arrangement of the dots (I.E. the distance from Cyan to the Magenta, Cyan to the Yellow, Cyan to the Black, and so on, relative to each of the 4 colors) was the "Target" to be maintained by the CCR. This was accomplished, by electric servos, which manipulated the registration of the plate cylinders for each color on the press itself. To be sure, the system was a multi-million $ system. And further improvements which included a computer controlled ink density scanner and closed loop control (to control dot gain) made that particular printing press the most advanced system I ever worked on. So, I can see where it could be possible to develop a similar application for what you are trying to do. However, I don't think that Mach3 (as it is) could accommodate such a system, since it would require constant re-writing of the G code during program execution.
Title: Re: Print to Cut functionality & Mach3 on router
Post by: stirling on June 08, 2013, 10:26:45 AM
Petr

Just a couple of thoughts which may or may not make your task easier. Non-linearly distorting an existing toolpath strikes me as being quite a complex task. However creating a new toolpath from scratch for each image as it's loaded onto the cutter bed may be easier. Compared to the time it takes a tangential knife setup to actually cut - the processing time to create a toolpath for each image should be negligable. Typically you'd just need to photograph it of course, and then use an edge detection algorithm to create the toolpath. If your contrast between the white space and the image is good then the edge detection could even be trivial.

Also if your machine has good accel you could get away with generating gcode with just short lines and no arcs and let CV do the smoothing. This would make the gcode generation fairly trivial also.

Anyway - just a couple of thoughts.

Ian