CamBam
News:
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
October 20, 2017, 11:29:38 am


Login with username, password and session length


Pages: 1 ... 14 15 [16] 17
  Print  
Author Topic: V-Engrave Plugin  (Read 68803 times)
EddyCurrent
CNC Jedi
*****
Offline Offline

Posts: 3139



View Profile
« Reply #225 on: December 15, 2016, 19:32:17 pm »

V-Engrave still won't work but neither does Threadmill and Trochoidal Pocket.
All those work by adding a new type of MOP so there is something common there.
Logged
dh42
Administrator
CNC Jedi
*****
Offline Offline

Posts: 4686



View Profile WWW
« Reply #226 on: December 15, 2016, 19:41:42 pm »

Strange, trocho pocket works as a charm on the V1.0 for me  Huh Huh and also Threadmill .. except that on V1.0 the toolpath are missing on the display for Threadmill  (but the gcode is ok)

and ... no pb to use the same file with 0.98 and v1.0 ...

++
David



Logged
dh42
Administrator
CNC Jedi
*****
Offline Offline

Posts: 4686



View Profile WWW
« Reply #227 on: December 15, 2016, 22:29:24 pm »

tried to recompile Vengrave with some debug text to find what is going wrong.

the error seems to appears at this line (in AttachToUI)

new XmlSerializer(typeof(MOPVEngrave)).Serialize(new MemoryStream(), new MOPVEngrave());

but ... I do not understand what is it and what it do .. Huh

++
David
Logged
EddyCurrent
CNC Jedi
*****
Offline Offline

Posts: 3139



View Profile
« Reply #228 on: December 15, 2016, 22:33:45 pm »

This is the error message.
Other plugins work okay.


* Image3.jpg (56.54 KB, 1542x81 - viewed 83 times.)
Logged
EddyCurrent
CNC Jedi
*****
Offline Offline

Posts: 3139



View Profile
« Reply #229 on: December 15, 2016, 22:36:34 pm »

 if (CADFile.ExtraTypes == null)  { CADFile.ExtraTypes = new List<Type>(); }
 CADFile.ExtraTypes.Add(typeof(MOPVEngrave));

  // HACK: Per 10bulls, this fixes clipboard errors associated with
 // copying external assembly objects that have not been serialized.

 new XmlSerializer(typeof(MOPVEngrave)).Serialize(new MemoryStream(), new MOPVEngrave());
Logged
dh42
Administrator
CNC Jedi
*****
Offline Offline

Posts: 4686



View Profile WWW
« Reply #230 on: December 15, 2016, 23:05:39 pm »

wait a minute, I found the pb and it seems to works !  Cool Cool
Logged
dh42
Administrator
CNC Jedi
*****
Offline Offline

Posts: 4686



View Profile WWW
« Reply #231 on: December 15, 2016, 23:31:43 pm »

Ok, V engrave repaired, now it works on both 0.9.8 and and V1.0  Cool

http://www.atelier-des-fougeres.fr/Cambam/Aide/Plugins/Vengrave.html

@ Eddy:

recompiled with .net 3.5 as usual (and of course .98 dll)

I only replace a statement and it works !

in plugin.cs

 close to line 230

[XmlType("MOPVEngrave"), Serializable]

is fully replaced by

[Serializable]

Code:
              foreach (TreeNode opNode in partNode.Nodes)
                {
                    if (opNode.Tag == mop)
                    {
                        mop.Name = opNode.Text;
                        opNode.EnsureVisible();
                        break;
                        }
                    }
                    break;
             }
        }

        foreach (var smop in CamBamUI.MainUI.CADFileTree.SelectedMOPs)
        {
            ThisApplication.AddLogMessage("SelectedMOPs: {0}", smop.Name);
        }
    }
    }

    //[XmlType("MOPVEngrave"), Serializable]
    // dh42: changed with [Serializable] so it works with V1.0

    [Serializable]
    public class MOPVEngrave : MOPFromGeometry, IIcon
    {
    // Smallest number such that 1.0 + DBL_EPSILON != 1.0
    const double DBL_EPSILON = 2.2204460492503131e-016;
    // Radians per degree
    const double DEGREES = Math.PI/180.0;
    // Log levels
    const int ERROR = 0, WARNING = 1, INFO = 2, DEBUG = 3, TRACE = 4, FINE = 5, FINER = 6, FINEST = 7;
    // logger

maybe something to test with dashed line plugin  Grin Grin (Makes a prayer !)

you know what ? I'm happy  Cheesy

++
David
« Last Edit: December 15, 2016, 23:41:51 pm by dh42 » Logged
dh42
Administrator
CNC Jedi
*****
Offline Offline

Posts: 4686



View Profile WWW
« Reply #232 on: December 16, 2016, 00:09:04 am »

it's me again  Grin

I've a try with dotpolyline with replacing [XmlType .... ] by [Serializable] no change ...

on 0.9.8, error when loading plugin, and error when saving the file

on 1.0, no error when loading the plugin or saving the file, but error "UnKnow entity type: DotPolyline" when loading.

 Embarrassed Embarrassed

good night
++
David
Logged
Bubba
CNC Jedi
*****
Offline Offline

Posts: 2225



View Profile
« Reply #233 on: December 16, 2016, 02:36:32 am »

As Always, an awesome job David. The VEngrave plugin working like a champ in CB V1. Much appreciated. Thanks.
   
Logged
EddyCurrent
CNC Jedi
*****
Offline Offline

Posts: 3139



View Profile
« Reply #234 on: January 08, 2017, 11:05:20 am »

New version 12 attached

1. compiled with .NET 4
2. works with CamBam version 1 only
3. works in Windows and Linux

Thanks to David for the [Serializable] fix  Grin

* VEngrave_Plugin_v12_CamBam_v1.zip (22.51 KB - downloaded 86 times.)
« Last Edit: January 08, 2017, 11:10:58 am by EddyCurrent » Logged
michel
Storm Trooper
***
Offline Offline

Posts: 219



View Profile WWW
« Reply #235 on: January 09, 2017, 15:19:40 pm »

Hi,

I tried the plug in and it works very well . However I have 2 issues


I cannot setup camotics to run the simulation with a v-cutter . It seems to only use round shapes even if i try to change it in camotics directly


second issue is that this is taking a lot fo memory . How can I reduce the g-code and still keep a decent result ?
my cnc memory is limited to 31.5 K . For stairs more then enough but not for such issues and it happens that I need it for a project .

I can manage it with the engrave plug-in and this one already pushing the limit of the memory. I just want to try to see if the v-engrave gives a better result.


regards
Michel
Logged
dh42
Administrator
CNC Jedi
*****
Offline Offline

Posts: 4686



View Profile WWW
« Reply #236 on: January 09, 2017, 19:20:17 pm »

Hello,

Quote
second issue is that this is taking a lot fo memory . How can I reduce the g-code and still keep a decent result ?

Maybe you can play with Path Step Size to reduce the number of Gcode line .. if you increase this value, you get few lines in the toolpath.

++
David
Logged
kitwn
CNC Ewok
*
Offline Offline

Posts: 5


View Profile
« Reply #237 on: March 06, 2017, 05:16:06 am »

I was starting to think I would need to spend$460AUD on V-Carve to be able to produce the text carvings I want to make. That's a lot of money for something that is just a hobby.
Then a second round of CamBam related searching took me to the 'atelier-des-fougeres' website and there I found the goldmine!

Not just V-Engrave, which works perfectly with my DIY, LinuxCNC driven router, but a whole host of other really useful plugins. A very big THANKYOU! to everyone who's efforts make CamBam even better than it already is.

Kit
Logged
dh42
Administrator
CNC Jedi
*****
Offline Offline

Posts: 4686



View Profile WWW
« Reply #238 on: March 06, 2017, 22:47:59 pm »

Hello

Welcome to the forum Wink

++
David
Logged
kitwn
CNC Ewok
*
Offline Offline

Posts: 5


View Profile
« Reply #239 on: March 07, 2017, 06:04:41 am »

Thankyou David,

I've been using CamBam for various simple jobs for a couple of years now but haven't paid much attention to the forum until very recently. It has certainly paid off in the last few days.

Regards

Kit
Logged
Pages: 1 ... 14 15 [16] 17
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines

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

Copyright © 2008 HexRay Ltd. | Sitemap