Video cam based profile probing

This is where you talk about Plugins. How they are made and how they work, show examples.

Re: Video cam based profile probing

Postby Andygoodman » Fri Jan 03, 2020 9:03 am

Hi.

Great, works perfectly. I just installed a USB microscope real quick and it's seems to be real nice. Just need to fix a better attachment that doesn't vibrate.

Hopefully get some time this weekend to play :D
Andygoodman
 
Posts: 5
Joined: Sat Dec 14, 2019 9:55 am

Re: Video cam based profile probing

Postby eabrust » Fri Apr 10, 2020 2:07 am

UCamCopy has been updated to v. 1.010 and is available for download here: http://www.craftycnc.com/ucamcopy-downloads/

Updates in v 1.010:
-Now provided in a self-extracting zip.exe file. Just point it to install in the UCCNC directory!
-Added 3D viewer (shared w/ ProbeIt for UCCNC), displays geometry recorded and camera position in real time
-Tweaked/fixed the PID calculations. Had issue that the X and Y PIDs would both saturate at 100% when traversing along path that was near 45 degrees diagonal.
-Mask can be made longer than 100 pixels
-Added a ‘DROs’ Tab, which alows selection of work coordinate and zeroing of axis
-Added ability to open existing DXFs, you can then record and append data to DXF that is opened
-Added ‘CSV’ perimeter recording, save out a comma separated value file of the perimeter recorded along w/ DXF
-Some interface ‘cleanup’ and button adjustments
-Added some ‘default’ xml files, you can select inch or metric on load. After using the defaults, be sure to hit ‘save settings’ to save your XML settings.

The primary change was the addition of the 'viewer' which is now shared w/ the ProbeIt plugin. Both plugins will update individually for minor changes, but I will update both simultaneously as I make changes to the viewer.
UCamCopy Viewer.png


Installer will not overwrite your existing settings (ucamcopy.xml) file, but I'd recommend saving a copy of your settings somewhere, or copy the entire UCamCopy folder out as a backup should you want to revert back to the prior version. When installing, point the installer to the UCCNC directory (top level), not the plugins folder:
instal direct2.PNG


As always, comments and bug reports welcome, its still a work in progress.

regards,
Eric
CraftyCNC: Plugins for UCCNC (and other neat stuff): http://www.craftycnc.com/plugins-for-uccnc/
eabrust
 
Posts: 357
Joined: Fri Sep 16, 2016 2:32 am
Location: Near Shirland IL, USA

Re: Video cam based profile probing

Postby eabrust » Sun Sep 06, 2020 2:58 pm

UCamCopy has been updated to v. 1.011 and is available for download here: http://www.craftycnc.com/ucamcopy-downloads/

Updates in v 1.011:
-Bug fixes, most have to do with 3D viewer
-Viewer closes automatically when plug-in closes


Installer will not overwrite your existing settings (ucamcopy.xml) file, but I'd recommend saving a copy of your settings somewhere, or copy the entire UCamCopy folder out as a backup should you want to revert back to the prior version. When installing, point the installer to the UCCNC directory (top level), not the plugins folder:



As always, feature requests, comments, and bug reports welcome, its still a work in progress.

regards,
Eric
CraftyCNC: Plugins for UCCNC (and other neat stuff): http://www.craftycnc.com/plugins-for-uccnc/
eabrust
 
Posts: 357
Joined: Fri Sep 16, 2016 2:32 am
Location: Near Shirland IL, USA

Re: Video cam based profile probing

Postby klikn » Tue Nov 03, 2020 2:23 am

I was just researching UCNC for my machine an I came across plugin. I like how good it detected the black point from marker.
I'm making stickers. I always wished someone would be able to make a plugin for contour cutting like this:
http://www.youtube.com/watch?v=PAfpZNR5x7M&t=1m47s
https://youtu.be/yF2R6Z8tox8

I've made(modified https://tinyurl.com/y54o9jzp) a simple macro where I input locations of 2 markers (first is 0,0, second 0,y and third x,0), then machine moves to each location where I have to manually position camera to the center of marker. Then macro calculates angle and x and y scale of cut file.

@eabrust Do you think it would be posible to add this contour cut feature to UcamCopy?
Machines in above videos have many marker because they compensate for distortions in print.
I think this plugin has big potential.
klikn
 
Posts: 2
Joined: Tue Nov 03, 2020 1:28 am

Re: Video cam based profile probing

Postby eabrust » Thu Nov 05, 2020 1:08 pm

klikn wrote:@eabrust Do you think it would be posible to add this contour cut feature to UcamCopy?
Machines in above videos have many marker because they compensate for distortions in print.
I think this plugin has big potential.


Hi klikn, welcome to the forum,


Can you clarify what aspect you're asking about being able to add to UCamCopy? If your only talking about hitting three points (setup markers) to determine scaling and a G68 rotation (then your own existing GCode cuts out), that is probably something in my abilities to add.

If you're talking about fully scanning a sheet to locate the outlines of multiple stickers, then drive a tangential knife around, that's probably not something I could pull off :)

regards
Eric
CraftyCNC: Plugins for UCCNC (and other neat stuff): http://www.craftycnc.com/plugins-for-uccnc/
eabrust
 
Posts: 357
Joined: Fri Sep 16, 2016 2:32 am
Location: Near Shirland IL, USA

Re: Video cam based profile probing

Postby klikn » Fri Nov 06, 2020 1:56 pm

Thanks, Eric.

Yes, I am talking of automatically scanning 3 points and then set scale and rotation.
Do you think you could get locations of these points from program limits if centers are on 0,0 0,Ymax and Xmax,0 ?
Would it be possible to get the material thickness from GCode so that camera sets itself in focus? I zero Z to the table.

If you could make this it would be awesome. It would be all most like in the video, just no skew compensation.
This would really help to speed up things and eliminate some potential user errors, that I'm practicing all the time :D
klikn
 
Posts: 2
Joined: Tue Nov 03, 2020 1:28 am

Re: Video cam based profile probing

Postby eabrust » Sun Jan 10, 2021 9:06 pm

UCamCopy has been updated to v. 2.000 and is available for download here: http://www.craftycnc.com/ucamcopy-downloads/


Updates in v 2.000:
-New Viewer based upon OpenTK, used to view DXF data.
-Control of Layers and colors in DXF. Create/rename/delete & change colors on screen and in saved DXF.
-separate NetDXF.dll no longer required (library modified and built in)
-DXF files optimized for use w/ VCarve or Lightburn. Opens files exported from those programs, and saves files they open.
-Many ‘under the hood’ fixes, resulting in lower CPU usage, bug fixes, etc
-Can set a custom ‘button code’ number to open the plugin via hotkey or user button (use the 'config' button in UCCNC plugin window to set it up).


This version update is mostly under-the-hood fixes/cleanup, and moving to a 3D viewer based on Open TK that I've been working on for quite a while. DXF functionality now also allows more control over layers (active layer to record to, color, name, etc). The overall functionality for copying edges has not really changed.

Installer will not overwrite your existing settings (ucamcopy.xml) file, but I'd recommend saving a copy of your settings somewhere, or copy the entire UCamCopy folder out as a backup should you want to revert back to the prior version. When installing, point the installer to the UCCNC directory (top level), not the plugins folder.

If you have previously demo'd UCamCopy and the demo mode timed out, this install should reset the program to a usable demo mode for giving it another try if you wish.

As always, feature requests, comments, and bug reports welcome, its still a work in progress.





regards,
Eric
CraftyCNC: Plugins for UCCNC (and other neat stuff): http://www.craftycnc.com/plugins-for-uccnc/
eabrust
 
Posts: 357
Joined: Fri Sep 16, 2016 2:32 am
Location: Near Shirland IL, USA

Re: Video cam based profile probing

Postby eabrust » Sat May 13, 2023 1:44 pm

Howdy all. After an embarrassingly long time, UCamCopy has finally gotten some attention, updating, and new features... The bulk of improvements are interface related, and bringing the plugin interface in line w/ ProbeIt.

UCamCopy has been updated to v. 2.200 and is available for download here: http://www.craftycnc.com/ucamcopy-downloads/. If you already have a license for UCamCopy, just download and update. If you're new or want to check it out, please give it a look in demo mode (fully functional for period of time).

Some of the updates in v 2.200:
-Significant re-write and re-format to make user interface similar to ProbeIt for UCCNC
-Video probe circles and arcs, using 3 points and multiple points (with least squares fit to find centers/diameters)
-Set G68 rotations via video probing along a rotation point and an axis
-Added help / setup guides to assist new users w/ orienting camera and adjusting axis control gains.
-Improved line and edge detecting by merging similar lines to a ‘best fit’ line
-Able to locate line ‘intersections’ as a target point (test feature)
-Able to locate 'circular' features as target point (test feature)
-Improved DXF manual point recording and creating lines/perimeters manually as well as auto tracing.
-Added better jogging and ‘move to’ controls to interface
-Added multiple camera image views option, to help adjust images. (able to view original blurred image, canny detections, threshold, and composite images simultaneously)
-Better grayscale image thresholding in the background (improves edge detections without using color mode)

Installer will not overwrite your existing settings (ucamcopy.xml) file, but I'd recommend saving a copy of your settings somewhere, or copy the entire UCamCopy folder out as a backup should you want to revert back to the prior version. When installing, point the installer to the UCCNC directory (top level), not the plugins folder. The folder structure is slightly updated, and your settings files will be moved into a settings folder to clean things up a bit.

As always, feature requests, comments, and bug reports welcome.

Thanks,
Eric

This video shows some of the basics of the new features, and is done 'off machine', so there is no real demo of the existing edge tracing functionality that UCamCopy does.

CraftyCNC: Plugins for UCCNC (and other neat stuff): http://www.craftycnc.com/plugins-for-uccnc/
eabrust
 
Posts: 357
Joined: Fri Sep 16, 2016 2:32 am
Location: Near Shirland IL, USA

Re: Video cam based profile probing

Postby Battwell » Mon May 15, 2023 11:13 am

very nice eric... maybe il get the camera mounted again.
Uc300eth on router and mill.
UK uccnc powered machine sales. https://cncrouter.uk/atc-cnc-routers.htm
Automateanything/duzzit cnc/mercury cnc
Battwell
 
Posts: 867
Joined: Sun Sep 25, 2016 7:39 pm
Location: South Wales. Uk

Previous

Return to Plugins

Who is online

Users browsing this forum: Bing [Bot] and 4 guests