CamBam
News:
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 14, 2019, 21:42:19 pm


Login with username, password and session length


Pages: [1]
  Print  
Author Topic: File Clean Plugin  (Read 5251 times)
dave benson
CNC Jedi
*****
Offline Offline

Posts: 1171


View Profile
« on: June 06, 2015, 12:21:24 pm »

HI All
Here are the files for the file cleaner plugin which is a branch of the collision detector plugin
which is still on going.
I will post a "collision detector jr"  in the next few days and then continue on with the original  plugin.
the .zip includes  A  .dll  to put into your plugin folder and the source code as well as a instructional .cb file  and a pdf
Enjoy!
Dave.

* FileCleaner.zip (1076.27 KB - downloaded 405 times.)
Logged
BR52
Wookie
****
Offline Offline

Posts: 329



View Profile
« Reply #1 on: June 07, 2015, 14:38:30 pm »

Hi Dave,

One thing, I am intrigued your Windows has "C:\Program Files (x86)" folder  Huh
Default CamBam is installed in "C:\Program Files (x86)" folder.

I have had to change your "File Cleaner.csproj" file in the text editor.
See image below.

Many thanks for your code.

   Armando


* VerCleaner.jpg (529.89 KB, 1920x1080 - viewed 410 times.)
Logged
dave benson
CNC Jedi
*****
Offline Offline

Posts: 1171


View Profile
« Reply #2 on: June 08, 2015, 01:18:05 am »

HI Armando
Yes the address is correct if you are using the debugger (so you can debug in real time as cambam is running)
as there are some debugger  files that need to in the plugin folder as well.
On a side note I checked out the C# libraries you pointed out on OpenCV (Emgucv) someone has done a lot of work on that project (good work).
But what I want to do is run OpenCV on a stand alone microcontroller (for a machine fault detector) and after a lot of research I've found out that Qt with C++ on a beaglebone Black or (the upcoming beaglebone Green) may be my best choice for maximum response time, as the beaglebone has two independent PRU's running at 200 mhz Shocked so I can do other things (send reports to the web) with the core while the fault detector runs independently.
Dave
« Last Edit: June 08, 2015, 01:22:00 am by dave benson » Logged
Jeff_Birt
CNC Jedi
*****
Offline Offline

Posts: 821


View Profile
« Reply #3 on: June 08, 2015, 12:13:57 pm »

You just don't need your build output going to the CamBam plug-in folder. You just need a post build action to copy the dll there and then set up CamBam as the program to start when you hit 'play'.
Logged
dave benson
CNC Jedi
*****
Offline Offline

Posts: 1171


View Profile
« Reply #4 on: June 08, 2015, 14:29:10 pm »

HI Jeff
Thanks I'll start an empty project tomorrow and see what happens.
Dave
Logged
Jeff_Birt
CNC Jedi
*****
Offline Offline

Posts: 821


View Profile
« Reply #5 on: June 08, 2015, 16:13:40 pm »

Go to your project properties, use something like this for Post Build Events:

Quote
cd $(ProjectDir)\obj\debug
copy FileMerge.dll  "C:\Program Files (x86)\CamBam plus 0.9.8\plugins" /y

Under Debug tab set the start up program to CamBam:
Code:
C:\Program Files (x86)\CamBam plus 0.9.8\CamBam.exe


It would be better to use the proper path variables to make this a generic path on any OS but I did not Sad




* Build Events.PNG (33.53 KB, 652x594 - viewed 372 times.)

* Debug.PNG (33.06 KB, 755x442 - viewed 360 times.)
Logged
dave benson
CNC Jedi
*****
Offline Offline

Posts: 1171


View Profile
« Reply #6 on: June 09, 2015, 02:15:47 am »

HI Jeff
I followed your advice and used this line in my post build options:
cd $(ProjectDir)\obj\Debug
copy $(TargetFileName)  "C:\Program Files\CamBam plus 0.9.8\plugins"

I appreciate your help and after testing the debugger, have made a New template for future projects.
Dave
Logged
dave benson
CNC Jedi
*****
Offline Offline

Posts: 1171


View Profile
« Reply #7 on: August 06, 2016, 14:17:27 pm »

HI All
While working with George Races stick fonts I discovered an error in converting regions and have also added some representative  values for the polyline doctor.
Dave

* File Cleaner.zip (96.86 KB - downloaded 196 times.)
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.095 seconds with 19 queries.

Copyright © 2018 HexRay Ltd. | Sitemap