Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Rodneyk

Pages: [1] 2 3 ... 5
1
Scripts and Plugins / Re: Texturize Plugin
« on: July 25, 2022, 16:08:30 pm »
I managed to get the plugin compiled and it runs on CamBam 1.0, BUT ... it's going to need Rodney to give some clue to the bug fixes up to version 1.10

I am willing to try and help.  I have an email thread where I archived many of the changes I was making, not code but descriptions that may help.
I will continue to try and find where the back ups of that computer are as well.

2
Scripts and Plugins / Re: Texturize Plugin
« on: July 24, 2022, 01:14:29 am »
Well, I have some bad news (at least for now) I don't have access to the code from the current version (it is on a computer in storage).
I do have the version of the code that was originally released before a lot of bug fixing and added features.

I don't currently have Cambam on my computer so I cannot compile that. But I am attaching what I have for now.

By the way the reason I went to all the trouble to obfuscate the code originally was that a Person by the name of Armando/Br52/Lazer sent me messages demanding the code, it was rude and kind of pisses me off. 

I think someone should be able to start from this and look at the changes listed in this thread to fix the bugs.  I am happy to help but it has been a long time since I even had CamBam installed as a plane hit my house and my CNC was destroyed.

I did load the project into VS2022 and it looks good except that I am missing the CAMBAM files used in the compile.

If I get a chance I will attempt to dig out the computer that has the source code...


3
Scripts and Plugins / Re: Texturize Plugin
« on: July 21, 2022, 18:20:50 pm »
I have not been on the form for quite some time but just noticed that there has been some posts related to this code.
I will have to look for the code in my archive.
As far as decompiling the code, yes it can be done by a person skilled in that, but it would be easier to just write it from scratch. I wrote the code a long time ago. It was fairly simple, similar to a fill algorithm with randomized end points clipped to the included polygon. The code was not booby trapped to not work when decompiled, but an obfuscator with encryption was used to make it more difficult.

When I get a chance I will try and find the old source and publish it so you can get it working on more recent versions of CamBam.


4
CamBam help (General usage) / Re: New windows 7 and 8
« on: February 03, 2013, 01:42:58 am »
Finally go my new machine up and running. Cambam works fine.

I am betting that Mach3 will be the long pole. If you are using the parallel port you may be out of luck since that requires a kernel driver. With Windows 8 you will need a external motion controller. 

I won't be testing that. I run Cambam in my office o my Win8 box, and mach 3 in the shop on a Win7 32bit box. I save the g-code to a shared network directory.  If I need to use Cambam in the shop I use remote desktop from the shop computer (Yes it actually works ok).

5
Bug Reports / Re: Trim gets stuck with a surface
« on: January 22, 2013, 14:22:59 pm »
The bug is that the UI is stuck in trimming mode. It should issue a suitable error message and leave trimming mode.

Most edit modes can be cleared with the ESC key, have you tried that?

6
Installation Help / Re: Is the Cam Bam Download page down?
« on: January 22, 2013, 14:20:48 pm »
I am very sorry about the main page outage (again!)  :-[

This has been traced to a faulty firewall / switch which is getting replaced (and then jumped up and down on)  :(

Don't you just love hardware.  Though I doubt the jumjping up an down will do more than make you feel a little better :)

7
How to's and tutorials / Re: cutting wax
« on: January 22, 2013, 10:11:42 am »
Hello George

A tip is cheaper you make a mold and use a stamping on press.
Or make silicone mold using a model of piece.
If you make several pieces of wax on CNC, become expensive.

    Armando


Did you make those clips? If so I would love to see more details on how you did that, maybe a few pictures from start to finish. They loo very nice.


8
CamBam help (General usage) / Re: New windows 7 and 8
« on: January 22, 2013, 04:16:33 am »
It works fine on my Win7 box, and I am getting a Win 8 box as soon as costco delivers it and I will install it there.  Since it is written using the .NET framework I am guessing that Cambam will work just fine on Window8.

I'll post an update after I install on the new OS.

9
Scripts and Plugins / Re: Zoom to box
« on: January 18, 2013, 14:20:15 pm »
Update 1.4 available on original post. This version fixes the Zoom to selected objects to include point lists as requested.

Sorry it took so long, was a long day at work...

10
Scripts and Plugins / Re: Finding center of mass
« on: January 17, 2013, 06:22:59 am »
IF using RC 6 is important to anyone I think I can make it work by removing the dependancy on the method in cambam.  Code is written but it no one wants it I will not release it...

11
Scripts and Plugins / Re: Zoom to box
« on: January 17, 2013, 06:21:13 am »
Armondo
The source code that you put is pre compiled on "resource".
You're complicating things.

I always try and prepare my code for internationalization. The actaully reduces complexity for moving to other market. It is a good practice for anyone to do who might consider localizing in multiple languages.

You ask a donation is financial issue?

Actually that was intended to be a joke.  I was not expecting any one to send money. If someone did I would take it as a compliment that they found value in the plugin. However, I make enough money at my job to keep food on the table and electricity to the computer.

As far as rating Andy's code, I only have the sample he provided. He openly has said they are samples and not necessarily the best way to do the code.  I really like Cambam. My first job was writing a Cad program many years ago (before AutoCad) so I really do understand what is involved. What Andy has done is pretty good. The fact that he opened up his API is Awesome.  That does not mean he is putting lot of time into his sample code. 

I still stand by the fact that my code it the correct way to write the plugin. I appologize if people saw it as dis-respectful. I did find your comment disrespectful (but perhaps that is a langue misunderstanding).

12
Scripts and Plugins / Re: Zoom to box
« on: January 17, 2013, 06:01:03 am »
New update added (see initial post). This adds a Zoom to selected object button. If no objects are selected it will zoom to fit the drawing. Lightly tested.


13
Scripts and Plugins / Re: Zoom to box
« on: January 16, 2013, 14:31:47 pm »
I appologize if my last entry appeared dis-respectful.  Not entended. Note that I just started taking medication for a temporary medical issue which makes my moods very intense and I may have a tendancy to over-react for a couple of weeks. I am having fun writing these plugins.  I have been actively coding in c# since before Microsoft released the first version. Hint I am a lead developer for a small company in Redmond.


LLoyd +10
This argument could be held in a good mannered and polite language, paying respect to the other side. And all of us former programmers could just get a general enlightenment about the current state of things out of it.

14
Scripts and Plugins / Re: Zoom to box
« on: January 15, 2013, 14:36:11 pm »
Actually no,  I am using a different overload than you which allows the icon to be supplied as the parameter. My solution is clean and works correctly, yours takes an extra step to provide the icon. I stand by my solution.

Also, this is why I generally won't supply source code to my plugins, too easy for others to decide to play backseat Quarterback and argue over things which are not material to the code.   Example I could say that your code uses un-professional/rookie techniques such as hard coded strings for the tooltip.  A professional knows that you should place such strings in a resource for localization incase your code needs to be used in another language.  Also you are using the old way of adding eventhandlers which is considered to be obsolete in the current software developement community.  You no longer need to use new EventHandler(...). So to say that your way is the correct way is questionable...



Hello

This is the correct way to do it.
Code: [Select]
if (cc is ViewToolStrip)
{
ViewToolStrip vts = cc as ViewToolStrip;

ToolStripItem ti = vts.Items.Add("");   //is the start of header, is a word or can be empty.
ti.Click += new EventHandler(ZoomMenuItem_Click); //Creates a new event to run a procedure.
ti.Image = Properties.Resources.Area; //My image of Icon.
ti.ToolTipText = "Zoom selected to Fit";

break;
}

In all sequence is thus:

Code: [Select]
if (cc is ViewToolStrip)
{
ViewToolStrip vts = cc as ViewToolStrip;

ToolStripItem ti = vts.Items.Add("ISO");
ti.Click += new EventHandler(ViewISO_Click);
ti.ToolTipText = "ISO View";

// Added by Armando [BR52]
ti = vts.Items.Add("");
ti.Click += new EventHandler(Orthogonal_Click);
ti.Image = ViewToolbarAddins.Properties.Resources.Ortogonal;
ti.ToolTipText = "Orthogonal View";

ti = vts.Items.Add("XY");
ti.Click += new EventHandler(ViewXY_Click);
ti.ToolTipText = "XY View";

ti = vts.Items.Add("XZ");
ti.Click += new EventHandler(ViewXZ_Click);
ti.ToolTipText = "XZ View";

ti = vts.Items.Add("YZ");
ti.Click += new EventHandler(ViewYZ_Click);
ti.ToolTipText = "YZ View";

// Added by Armando [BR52]
ti = vts.Items.Add("");
ti.Click += new EventHandler(ViewRecet_Click);
ti.Image = ViewToolbarAddins.Properties.Resources.Retorno;
ti.ToolTipText = "Fit screen view";

// Added by Armando [BR52]
ti = vts.Items.Add(""); //is the start of header, is a word or can be empty.
ti.Click += new EventHandler(SelectedFit_Click); //Creates a new event to run a procedure.
ti.Image = ViewToolbarAddins.Properties.Resources.Area; //My image of Icon.
ti.ToolTipText = "Zoom selected to Fit";

break;
}

         Armando


15
Scripts and Plugins / Re: Zoom to box
« on: January 15, 2013, 04:44:54 am »
Ah, yes I understand. It looks that the toolbar addins has priority befor the icon of your plugin



I beleive the plugin can pretty much install the icon anywhere. The last plugin loaded wins because it can put the icon anywhere relative to the others.  I just added it to the end of the view toolbar (actually some other user requested that) with the code in the TopWindowLoad method:

Code: [Select]
       /// <summary>
        /// The top window load method.
        /// </summary>
        /// <param name="sender">
        /// The control sending the message (should be top window).
        /// </param>
        /// <param name="e">
        /// The e.
        /// </param>
        private static void TopWindowLoad(object sender, EventArgs e)
        {
            Form f = ThisApplication.TopWindow;

            // cycle through the controls in the top window.
            foreach (Control c in f.Controls)
            {
                // looking for the ToolStripContainers
                ToolStripContainer container = c as ToolStripContainer;
                if (container != null)
                {
                    // Cycle through the tool strips in the tool strip container
                    ToolStripContainer tsc = container;
                    foreach (Control cc in tsc.TopToolStripPanel.Controls)
                    {
                        // Looking for the ViewToolStrip.
                        if (cc is ViewToolStrip)
                        {
                            // Found the view tool strip
                            ViewToolStrip vts = cc as ViewToolStrip; // cast the toolstrip

                            // Attach the zoom plugin
                            ToolStripItem ti = vts.Items.Add(Resources.ZoomIcon); // Here is where I add it to the end.
                            ti.Click += ZoomMenuItemClick;
                            ti.ToolTipText = Resources.ZoomTip;

                            break;
                        }
                    }

                    break;
                }
            }
        }


Pages: [1] 2 3 ... 5