Author Topic: Break Edges Plugin  (Read 57809 times)

Offline ChrisCTS

  • Ewok
  • *
  • Posts: 14
    • View Profile
Re: Break Edges Plugin
« Reply #45 on: February 24, 2022, 22:32:21 pm »
Hi All,
          I downloaded the plugin for CB V1.0 64 bit ( 1.0.0.7 )  Unblocked the DLL and placed it in the plugins folder.
The Break Edges plugin shows in the plugins drop down.  But if I click on it, I get the Unhandled exception Error.
I tried re downloading the plugin in case of a corrupted download., same result.  other plugins I just installed work fine.
what am I doing wrong? what does this mean exactly--"Object reference not set to an instance of an object"
unhandled exception error details below.

Thanks
Chris

************* Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at Break_Edges.Form1..ctor()
   at Break_Edges.Demo.plugin_clicked(Object sender, EventArgs e)
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4410.0 built by: NET48REL1LAST_B
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
CamBam
    Assembly Version: 1.0.7389.20589
    Win32 Version: 1.0.7389.20589
    CodeBase: file:///C:/Program%20Files/CamBam%20plus%201.0/CamBam.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4410.0 built by: NET48REL1LAST_B
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4380.0 built by: NET48REL1LAST_B
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4395.0 built by: NET48REL1LAST_B
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
CamBam.CAD
    Assembly Version: 1.0.7389.20585
    Win32 Version: 1.0.7389.20585
    CodeBase: file:///C:/Program%20Files/CamBam%20plus%201.0/CamBam.CAD.DLL
----------------------------------------
CamBam.Geom
    Assembly Version: 1.0.7389.20153
    Win32 Version: 1.0.7389.20153
    CodeBase: file:///C:/Program%20Files/CamBam%20plus%201.0/CamBam.Geom.DLL
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3761.0 built by: NET48REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4190.0 built by: NET48REL1LAST_B
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4395.0 built by: NET48REL1LAST_B
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Design
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3761.0 built by: NET48REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Design/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Design.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.8.3761.0 built by: NET48REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.8.3761.0 built by: NET48REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
3DMouse
    Assembly Version: 1.0.8.5
    Win32 Version: 1.0.8.5
    CodeBase: file:///C:/Program%20Files/CamBam%20plus%201.0/plugins/3DMouse.dll
----------------------------------------
TDx.TDxInput
    Assembly Version: 1.3.22028.18617
    Win32 Version: 1.3.22028.18617
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/TDx.TDxInput/1.3.22028.18617__3bbf7d14b78dc9f5/TDx.TDxInput.dll
----------------------------------------
Break Edges
    Assembly Version: 1.0.0.7
    Win32 Version: 1.0.0.7
    CodeBase: file:///C:/Program%20Files/CamBam%20plus%201.0/plugins/Break%20Edges.dll
----------------------------------------
CamBamLathe
    Assembly Version: 1.1.7389.20587
    Win32 Version: 1.1.7389.20587
    CodeBase: file:///C:/Program%20Files/CamBam%20plus%201.0/plugins/CamBamLathe.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.8.3761.0 built by: NET48REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
CamBamPlus_Toolkit
    Assembly Version: 1.1.7389.24240
    Win32 Version: 1.1.7389.24240
    CodeBase: file:///C:/Program%20Files/CamBam%20plus%201.0/plugins/CamBamPlus_Toolkit.dll
----------------------------------------
cb2cm
    Assembly Version: 1.5.1.1
    Win32 Version: 1.5.1.1
    CodeBase: file:///C:/Program%20Files/CamBam%20plus%201.0/plugins/cb2cm.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.8.3761.0 built by: NET48REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Centroid
    Assembly Version: 1.2.0.1
    Win32 Version: 1.2.0.1
    CodeBase: file:///C:/Program%20Files/CamBam%20plus%201.0/plugins/Centroid.dll
----------------------------------------
ExcellonIO
    Assembly Version: 1.5.7389.20590
    Win32 Version: 1.5.7389.20590
    CodeBase: file:///C:/Program%20Files/CamBam%20plus%201.0/plugins/ExcellonIO.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.8.3761.0 built by: NET48REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
ExportSelectionToDXF
    Assembly Version: 1.0.0.2
    Win32 Version: 1.0.0.2
    CodeBase: file:///C:/Program%20Files/CamBam%20plus%201.0/plugins/ExportSelectionToDXF.dll
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 10.0.0.0
    Win32 Version: 14.8.3761.0 built by: NET48REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
HeightMapPlugin
    Assembly Version: 1.3.7389.20589
    Win32 Version: 1.3.7389.20589
    CodeBase: file:///C:/Program%20Files/CamBam%20plus%201.0/plugins/HeightMapPlugin.dll
----------------------------------------
RadiusPlugin
    Assembly Version: 0.5.0.0
    Win32 Version: 0.5
    CodeBase: file:///C:/Program%20Files/CamBam%20plus%201.0/plugins/RadiusPlugin.dll
----------------------------------------
relocator
    Assembly Version: 1.2.0.0
    Win32 Version: 1.2.0.0
    CodeBase: file:///C:/Program%20Files/CamBam%20plus%201.0/plugins/relocator.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.8.3761.0 built by: NET48REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Slotter
    Assembly Version: 1.0.6.0
    Win32 Version: 1.0.6.0
    CodeBase: file:///C:/Program%20Files/CamBam%20plus%201.0/plugins/Slotter.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.8.3761.0 built by: NET48REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
SVG-Loader
    Assembly Version: 1.0.7265.30343
    Win32 Version: 1.0.7265.30343
    CodeBase: file:///C:/Program%20Files/CamBam%20plus%201.0/plugins/SVG-Loader.dll
----------------------------------------
ThreadingMOP
    Assembly Version: 1.5.7389.20590
    Win32 Version: 1.5.7389.20590
    CodeBase: file:///C:/Program%20Files/CamBam%20plus%201.0/plugins/ThreadingMOP.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.8.3761.0 built by: NET48REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
trochomops
    Assembly Version: 2.4.0.0
    Win32 Version: 2.4.0.0
    CodeBase: file:///C:/Program%20Files/CamBam%20plus%201.0/plugins/trochomops.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.8.3761.0 built by: NET48REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.8.3761.0 built by: NET48REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
VEngrave_Plugin
    Assembly Version: 1.5.0.3
    Win32 Version: 1.5.0.3
    CodeBase: file:///C:/Program%20Files/CamBam%20plus%201.0/plugins/VEngrave_Plugin.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.8.3761.0 built by: NET48REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
OpenTK
    Assembly Version: 3.1.0.0
    Win32 Version: 3.1.0
    CodeBase: file:///C:/Program%20Files/CamBam%20plus%201.0/OpenTK.DLL
----------------------------------------
System.Drawing.Design
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4210.0 built by: NET48REL1LAST_B
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing.Design/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.Design.dll
----------------------------------------

Offline dave benson

  • CNC Jedi
  • *****
  • Posts: 1889
    • View Profile
Re: Break Edges Plugin
« Reply #46 on: February 25, 2022, 00:45:17 am »
Hi Chris
I’ve just been going through the process of moving from
Win732bit to win10 64bit pro over the last couple of weeks.
Make sure you have the correct version, I had to do a few things
CB run in admin mode, Unblock zip file, unzip it to a folder in “My Documents”
and then copy the file or files to the CB plugin’s folder, I’m sure it’s a Permissions thing.
I just tested the plugin and it’s working ok on Win10pro.
It wasn’t plain sailing moving from Win7 to Win10 pro and took quite a bit time to
sort out.
At some point while doing the plugins and after re-checking the setting’s
for the permissions (which were ok) I warm booted the machine rather than just closing
CB and re-opening it, and everything worked.

Dave

Offline ChrisCTS

  • Ewok
  • *
  • Posts: 14
    • View Profile
Re: Break Edges Plugin
« Reply #47 on: February 25, 2022, 03:01:18 am »
Hi Dave,
            I tried downloading again, I unblocked the zipped file then unziped it and copied the DLL into the plugins folder. ( was unblocking the dll in the unzipped folder before )  checked that the dll was still showing as not blocked.  same issue, ran as administrator, as well as restarting ( warm boot ) compared permissions with  other working plugins and couldn't see anything different.  still not working. I'm running win 8.1 64 bit.  plugin is showing as 1.0.07. and apart my name the Cambam about  window is the same as yours.
is there anything I have to do before I click on the break edges in the plugin drop down to make it work? ( normally I would at least draw something and select
it then click on break edges ) 
Chris

Offline dave benson

  • CNC Jedi
  • *****
  • Posts: 1889
    • View Profile
Re: Break Edges Plugin
« Reply #48 on: February 25, 2022, 03:43:17 am »
 Hi Chris
The plugin is working here X64 but on win 10, while going through the process
of generating some plugins for CB on X64 I’ve noticed a few things, one of which
is that the “FeedrateAdjuster” a post treatment .exe ,now requires that you press enter
in the console window to proceed, where as before (on win7) you never had too
(the console popped up briefly) and dismissed itself . The code was identical just recompiled.
I’ve adjusted those PPT that require it, here in the last few day’s.
As you can see in the pic, the plugin detects no selections, I  believe that maybe in this case
that the plugin cannot access or doesn’t have the permissions to the tool or style libs.

Can’t help with Win8, but one thing you could try, is to on the .dll’s property sheet change it to run as admin as this will elevate it to Amin level and if it runs then it’s something to do with the access permissions for the “post” folder.
edit to add: or wherever you put the plugin's
Dave
« Last Edit: February 25, 2022, 03:48:56 am by dave benson »

Offline ChrisCTS

  • Ewok
  • *
  • Posts: 14
    • View Profile
Re: Break Edges Plugin
« Reply #49 on: February 25, 2022, 04:40:15 am »
Hi Dave,
            While you were replying I remembered I had another PC with Win 8.1 64 bit on it so I installed Cambam and just Break edges plugin. That worked, ( no Warm boot ) just restarted Cambam. so being a technician that hates not knowing why something didn't work I added all my other plugins one by one and tested, it still works. so then I compared  permissions on all the Cambam folders including the plugin folder, all looked identical.
So I uninstalled Cambam from my CAD machine and re installed, I now have all the plugins on that PC and Break Edges working just fine. ;D So it's Fixed and I still don't know Why. It was only the Break Edges plugin that wasn't working?  ???  It might well have been the Tool or style libs,  I forgot to back mine up before uninstalling, so reloaded my last back up, Break edges still works.

Thanks for your help, and thank you for writing the Plugin.
Chris

Offline dave benson

  • CNC Jedi
  • *****
  • Posts: 1889
    • View Profile
Re: Break Edges Plugin
« Reply #50 on: February 25, 2022, 07:34:31 am »
Hi Chiss

Glad you got it sorted, yes it bugs me too, not knowing what the issue is as well.
Happy CNC’ing

Dave

Offline ChrisCTS

  • Ewok
  • *
  • Posts: 14
    • View Profile
Re: Break Edges Plugin
« Reply #51 on: February 25, 2022, 20:46:15 pm »
Hi Dave,
             I found the culprit!...  you must have a "Default-mm" tool folder in the tool libraries.
It doesn't have to have any tools in it, but it must be there.  Deleting the "Default-in " is fine.
I like to just have the stuff I'm using so had deleted both Default-mm and inch, less stuff to sort through.
Happy now I know what it was.  :D

Chris

Offline lloydsp

  • CNC Jedi
  • *****
  • Posts: 9075
    • View Profile
Re: Break Edges Plugin
« Reply #52 on: February 25, 2022, 21:11:16 pm »
Wow, Chris!  Thank you for studying that enough to figure out the cause.

I'm soon going to be upgrading to a newer, faster laptop, and it will involve re-installing all my 'working' softs.  CB is among them.

Lloyd
"Pyro for Fun and Profit for More Than Fifty Years"

Offline EddyCurrent

  • CNC Jedi
  • *****
  • Posts: 5320
  • Made in England
    • View Profile
Re: Break Edges Plugin
« Reply #53 on: February 25, 2022, 21:34:49 pm »
Chris,

Default,  "happening or done because no formal choice or decision has been made"

By it's very name one should never get rid of anything "default" because it catches anything that falls through the net.

It might appear to be okay to delete "Default-in" where you are but if you used inches it would not be.

Only get rid of stuff if it causes you issues, otherwise keep it.
« Last Edit: February 25, 2022, 21:36:42 pm by EddyCurrent »
Filmed in Supermarionation

Offline dave benson

  • CNC Jedi
  • *****
  • Posts: 1889
    • View Profile
Re: Break Edges Plugin
« Reply #54 on: February 25, 2022, 21:46:41 pm »
Hi Chis
Good work finding the issue.
Dave

Offline Chip Owner

  • Storm Trooper
  • ***
  • Posts: 219
    • View Profile
Break Out for deburring
« Reply #55 on: October 18, 2022, 11:44:18 am »
Is it possible to use 'break out' for deburring parts?

Specifically thin sheet.  1.5mm thick

I was hoping to use a 0.2mm chamfer as a deburr on a sheet of parts but one of the settings has a minimum of 1mm. I think this would cut too deep for my needs.

Or any other suggestions on doing this in cambam as I try and find ways to make the machine do more of the work.

Offline dh42

  • Administrator
  • CNC Jedi
  • *****
  • Posts: 7564
    • View Profile
    • Cambam V1.0 French Doc
Re: Break Out for deburring
« Reply #56 on: October 18, 2022, 11:58:13 am »
Hello

Quote
I was hoping to use a 0.2mm chamfer as a deburr on a sheet of parts but one of the settings has a minimum of 1mm. I think this would cut too deep for my needs.

Can you share your file ? I don't understand the "minimum of 1mm"  ???

++
David

Offline Chip Owner

  • Storm Trooper
  • ***
  • Posts: 219
    • View Profile
Re: Break Out for deburring
« Reply #57 on: October 18, 2022, 12:27:06 pm »
Hello

Quote
I was hoping to use a 0.2mm chamfer as a deburr on a sheet of parts but one of the settings has a minimum of 1mm. I think this would cut too deep for my needs.

Can you share your file ? I don't understand the "minimum of 1mm"  ???

++
David

The minimum 1mm was one of the settings on the break out plugin, last box on the right.  Where it says 'Start Cutting'

10mm 60' V bit


Offline dh42

  • Administrator
  • CNC Jedi
  • *****
  • Posts: 7564
    • View Profile
    • Cambam V1.0 French Doc
Re: Break Out for deburring
« Reply #58 on: October 18, 2022, 13:03:00 pm »
Ah sorry, I understand wrong, I thought it was peck drilling (G83) ...

Quote
The minimum 1mm was one of the settings on the break out plugin, last box on the right.  Where it says 'Start Cutting'

Ok, the plugin said this value can't be smaller than 1mm, so it is not a bug ..

But I'm not sure that this option is what you need  ???

https://cambamcnc.com/forum/index.php?topic=6743.msg60866#msg60866

++
David

PS: I merged your topic to the Break Edge plugin topic ;)
« Last Edit: October 18, 2022, 13:06:42 pm by dh42 »

Offline Chip Owner

  • Storm Trooper
  • ***
  • Posts: 219
    • View Profile
Re: Break Out for deburring
« Reply #59 on: October 18, 2022, 13:34:44 pm »
Ah sorry, I understand wrong, I thought it was peck drilling (G83) ...

Quote
The minimum 1mm was one of the settings on the break out plugin, last box on the right.  Where it says 'Start Cutting'

Ok, the plugin said this value can't be smaller than 1mm, so it is not a bug ..

But I'm not sure that this option is what you need  ???

https://cambamcnc.com/forum/index.php?topic=6743.msg60866#msg60866

++
David

PS: I merged your topic to the Break Edge plugin topic ;)

On hindsight for sheets with multiple parts, at least on my machine, possibly not going to work. Even after a recent bed flatten, the bed is never flat enough to get 0.2mm accurate over the entier size.   Todays bed is 0.4mm out over the full sheet roughly.

Maybe in time if it gets upgraded to a skimmed full metal bed with only a thin waste board.

Thanks for the info though. I thought I'd found a shortcut for production. It's never that easy!