Author Topic: Streamlines plugin V 0.01  (Read 68877 times)

Offline EddyCurrent

  • CNC Jedi
  • *****
  • Posts: 5332
  • Made in England
    • View Profile
Re: Streamlines plugin V 0.01
« Reply #15 on: July 10, 2025, 09:17:28 am »
Error with this plugin.
Cambam 64bit v1.0 on Windows 11 24H2

From the message Log.

Error loading plugin D:\Program Files\CamBam plus 1.0\plugins\Streamlines.dll
Could not load file or assembly 'Streamlines.dll' or one of its dependencies.  is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)
Filmed in Supermarionation

Offline dh42

  • Administrator
  • CNC Jedi
  • *****
  • Posts: 7589
    • View Profile
    • Cambam V1.0 French Doc
Re: Streamlines plugin V 0.01
« Reply #16 on: July 10, 2025, 18:00:26 pm »
Same problem on Win 7 - 64bits and CB 64bits

Maybe "any CPU" has not been selected in the compiler ?

++
David

Offline rymaeda

  • Ewok
  • *
  • Posts: 35
    • View Profile
Re: Streamlines plugin V 0.01
« Reply #17 on: July 10, 2025, 22:49:42 pm »
"Oops! Sorry for the glitch — let me know if it’s resolved with the attached version. I asked the Copilot for help, and after several attempts, I had to edit the .csproj file manually.
« Last Edit: July 10, 2025, 23:17:24 pm by rymaeda »

Offline Bubba

  • CNC Jedi
  • *****
  • Posts: 3382
    • View Profile
Re: Streamlines plugin V 0.01
« Reply #18 on: July 11, 2025, 12:23:25 pm »
Hi, It looks like useful plugin. Thanks.

I do have problem though, after unpacking it resides in the plugins folder, but I cannot see it anywhere in the plugins dropdown menu. I don't see it as 'streamlines' or as 'drew streamlines'..

This plugin simply won't load.
« Last Edit: July 11, 2025, 12:29:33 pm by Bubba »
My 2¢

Win11, CB(1.0)rc 1(64 bit) Mach3, ESS, G540, 4th Axis, Endurance Laser.

Offline dh42

  • Administrator
  • CNC Jedi
  • *****
  • Posts: 7589
    • View Profile
    • Cambam V1.0 French Doc
Re: Streamlines plugin V 0.01
« Reply #19 on: July 11, 2025, 14:46:28 pm »
Hello

Same problem for me with CB 64 bits, the plugin won't load, works fine with CB 32bits.

Quote
This plugin simply won't load.

Yep, and if you set the diagnostic level to 4, you get an error message in the log window as shown by Eddy.

++
David

Offline lloydsp

  • CNC Jedi
  • *****
  • Posts: 9086
    • View Profile
Re: Streamlines plugin V 0.01
« Reply #20 on: July 11, 2025, 15:03:58 pm »
Bubba,
Where is your plugins directory?  I ask, because Install was putting them other than in the actual executables folder, in a whole 'nother copy of Cambam 1.0 64-bit.  Mine needed to go into the C:\Programfiles(X86\Cambam plus 1.0\plugins folder to work.

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

Offline Bubba

  • CNC Jedi
  • *****
  • Posts: 3382
    • View Profile
Re: Streamlines plugin V 0.01
« Reply #21 on: July 11, 2025, 15:51:22 pm »
Bubba,
Where is your plugins directory?  I ask, because Install was putting them other than in the actual executables folder, in a whole 'nother copy of Cambam 1.0 64-bit.  Mine needed to go into the C:\Programfiles(X86\Cambam plus 1.0\plugins folder to work.

Lloyd

LLoyd, the plugin is located C: ProgramFiles\Cambam plus 1.0\Plugins. Just like the rest of them I have installed over the years.. As you can see, I got plenty of practice doing this..
My 2¢

Win11, CB(1.0)rc 1(64 bit) Mach3, ESS, G540, 4th Axis, Endurance Laser.

Offline dh42

  • Administrator
  • CNC Jedi
  • *****
  • Posts: 7589
    • View Profile
    • Cambam V1.0 French Doc
Re: Streamlines plugin V 0.01
« Reply #22 on: July 11, 2025, 16:09:13 pm »
Hello

Yes, C:\ProgramFiles\Cambam plus 1.0\Plugins for the 64 bits version and C:\ProgramFiles(x86)\Cambam plus 1.0\Plugins for the 32 bits version of CamBam.

++
David

Offline rymaeda

  • Ewok
  • *
  • Posts: 35
    • View Profile
Re: Streamlines plugin V 0.01
« Reply #23 on: July 12, 2025, 05:48:13 am »
Sorry for the delay and the confusion — I honestly didn’t remember that CamBam version 1.0 had separate builds for x86 and x64. I had versions 0.98 and 1.0 both x86 installed here. I’ve now installed version 1.0 x64 and recompiled the plugin for that platform, and it worked. I wasn’t able to generate it for version 0.98 because the multithreading method isn’t compatible with .NET 3.5.

Cheers!


Offline Bubba

  • CNC Jedi
  • *****
  • Posts: 3382
    • View Profile
Re: Streamlines plugin V 0.01
« Reply #24 on: July 12, 2025, 12:21:01 pm »
No Bueno..
This loaded version loaded fine, but it does not work for me. I'm getting select at least one polyline message. Please see the screenshot.
My 2¢

Win11, CB(1.0)rc 1(64 bit) Mach3, ESS, G540, 4th Axis, Endurance Laser.

Offline EddyCurrent

  • CNC Jedi
  • *****
  • Posts: 5332
  • Made in England
    • View Profile
Re: Streamlines plugin V 0.01
« Reply #25 on: July 12, 2025, 13:00:08 pm »
Bubba,

I see you have a value in "Tag" but the outline shape needs to be a "PolyRectangle", then you have to select the internal Polylines.
Filmed in Supermarionation

Offline Bubba

  • CNC Jedi
  • *****
  • Posts: 3382
    • View Profile
Re: Streamlines plugin V 0.01
« Reply #26 on: July 12, 2025, 13:59:22 pm »
Bubba,

I see you have a value in "Tag" but the outline shape needs to be a "PolyRectangle", then you have to select the internal Polylines.

Eddy, Thanks for that. It works!

Thanks to the plugin creator.
My 2¢

Win11, CB(1.0)rc 1(64 bit) Mach3, ESS, G540, 4th Axis, Endurance Laser.

Offline Bubba

  • CNC Jedi
  • *****
  • Posts: 3382
    • View Profile
Re: Streamlines plugin V 0.01
« Reply #27 on: July 14, 2025, 16:30:12 pm »
Hi All.
Today I took this plugin for a spin. It does work but it have some issues that need to be corrected. I'm attaching a CB file for the plugin creator to have something more to go on other than image.
My 2¢

Win11, CB(1.0)rc 1(64 bit) Mach3, ESS, G540, 4th Axis, Endurance Laser.

Offline lloydsp

  • CNC Jedi
  • *****
  • Posts: 9086
    • View Profile
Re: Streamlines plugin V 0.01
« Reply #28 on: July 14, 2025, 23:15:08 pm »
Bubba,
Did you try inverting the 'inside/outside' nature of those two squares it passed through?  I've seen that sort of thing affect other routines.

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

Offline dh42

  • Administrator
  • CNC Jedi
  • *****
  • Posts: 7589
    • View Profile
    • Cambam V1.0 French Doc
Re: Streamlines plugin V 0.01
« Reply #29 on: July 15, 2025, 00:40:46 am »
Hello,

Quote
Did you try inverting the 'inside/outside' nature of those two squares it passed through?  I've seen that sort of thing affect other routines.

Yep I tried 3 things..

- converting the polyrectangles to polylines then "invert" the polyline > same result

- removing the 2 squares that works (top-left and bottom right) > same result

- moving the 2 squares that are not working about 0.001" in Y- .. and OK !

++
David