CamBam
News:
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
June 18, 2018, 06:26:21 am


Login with username, password and session length


Pages: 1 [2]
  Print  
Author Topic: Mach3 3 to 5 axis simulator  (Read 7664 times)
lloydsp
CNC Jedi
*****
Offline Offline

Posts: 7530



View Profile
« Reply #15 on: February 24, 2018, 21:21:57 pm »

Eh... It's generally because we share our code, here.  That's all.

Lloyd
Logged

"Pyro for Fun and Profit for More Than Fifty Years"
krw125
CNC Ewok
*
Offline Offline

Posts: 25


View Profile
« Reply #16 on: February 24, 2018, 21:37:24 pm »

His question was which tool i used to hide the code, not "can you share your code ?" no ?  Wink
Logged
EddyCurrent
CNC Jedi
*****
Offline Offline

Posts: 3454



View Profile
« Reply #17 on: February 24, 2018, 21:47:40 pm »

Because I might want to use the same technique myself some day.

send me a PM if you don't want to reply in the forum.
« Last Edit: February 24, 2018, 21:52:31 pm by EddyCurrent » Logged
lloydsp
CNC Jedi
*****
Offline Offline

Posts: 7530



View Profile
« Reply #18 on: February 24, 2018, 21:48:46 pm »

Yeah...and?  Isn't 'hiding the code' the same thing as "not sharing the code"?

<grin>

I'm not 'impugning' you, just asking, and suggesting what I imagine his concerns might be.  And that, only, because I'm not speaking for him, but I would have that same concern.

Lloyd

Logged

"Pyro for Fun and Profit for More Than Fifty Years"
dave benson
CNC Jedi
*****
Offline Offline

Posts: 894


View Profile
« Reply #19 on: February 24, 2018, 23:25:37 pm »

HI Eddy

Is this what you want, Its built into VS.
I can tell you that there's nothing that's been written that can't be unwritten, you can just make it very difficult.
https://docs.microsoft.com/en-us/visualstudio/ide/dotfuscator/

Here is just one example of some software https://www.hex-rays.com/products/decompiler/index.shtml
I looked into this for my AI software (not the OpenCV stuff) for my turrets.

The ability to reverse engineer something  is already available on the net (even Executable code) and is wholly dependent  on your morals.

Dave
Logged
Garyhlucas
CNC Jedi
*****
Offline Offline

Posts: 1116


View Profile
« Reply #20 on: February 25, 2018, 02:27:28 am »

I wondered whether there were decompilers out there!  Back in 1979 when I bought my first SS50 Bus 6809 computer it was sold to us with an accounting software package in compiled basic.  The state changed the sales tax rate and it was hard coded into the programs!  We were waiting and waiting for the vendor to fix it, and then I found a decompiler and fixed it myself.  I also learned just how poorly written the software was and wrote a whole new package from scratch which we used for nearly 10 years.

I might even have a application I'd like to decompile.  The one that runs the Windows based CNC at work!  The program is obsolete and has some real stupid built in.  When you execute a tool change and it applies the tool length compensation the readout doesn't show Z0 when the new tool is at zero, it shows the tool length compensation!  So you have know idea if that new tool is going to crash or not, and commanding a move to Z1 might even crash!  You also can't pick up the top of a part with any tool other than the tool that was defined as having a zero compensation.  This pretty much kills us from using the more than 50 tool holders we have as presets.  Really makes me angry.
Logged

Gary H. Lucas

Have you read my blog?
 http://a-little-business.blogspot.com/
tau
Storm Trooper
***
Offline Offline

Posts: 115



View Profile
« Reply #21 on: February 25, 2018, 09:13:38 am »

I wondered whether there were decompilers out there! 
Gary,

I would say there are a whole bunch of tools out there that are suited for these type of jobs.
But as always, it's a matter of skills and stamina to tackle reverse engineering tasks.  Wink
Logged
lloydsp
CNC Jedi
*****
Offline Offline

Posts: 7530



View Profile
« Reply #22 on: February 25, 2018, 12:45:03 pm »

In my early R&D days, I did 'mountains' of disassembly of machine-language code, in order to document devices which were becoming obsolete, or to understand the functions of some devices, so we could modify or improve them.

The biggest problem with teasing-apart someone else's code is that although you may eventually come up with a functioning source (and that's not always easy, requiring long, diligent effort), if they wish to obfuscate by using nonsense variable names and/or procedure naming, there's absolutely nothing remaining about the original intent of the programmer -- not a single jot nor tittle.   Only 'well-written' code that has not been deliberately obfuscated may be fairly-easily understood upon examination.

So, except for those cases where you don't understand how to do a particular task, it's often less work to write the app from scratch than to de-compile someone else's application.

Lloyd
« Last Edit: February 25, 2018, 12:47:21 pm by lloydsp » Logged

"Pyro for Fun and Profit for More Than Fifty Years"
Bob La Londe
CNC Jedi
*****
Offline Offline

Posts: 3249


^ 8.5 pounds on my own hand poured bait.


View Profile WWW
« Reply #23 on: February 25, 2018, 14:35:54 pm »

<TANGENT>

We used Bubble Chamber back in the day to decompile Michelangelo and take a look at the "source" to see how he did it.  My buddy's girl friend worked at Radio Shack back then, and because we were all poor and didn't have the hardware we wanted for the job we had Tandy computers disassembled and scatter all over the floor of the store in the mall.  LOL.  Its was pretty funny. 

At one point a crowd (maybe 6 or 8 other computer nerds) was watching us and...

I told "Danger Mouse", "See, Right there?  That's where he nukes your drive."

He said, "Not it isn't.  Watch I'll execute that part."

We had to re-isolate and decompile the virus all over again. 

Logged

Getting started on CNC?  In or passing through my area?
If I have the time I'll be glad to show you a little in my shop. 

Some Stuff I Make with CamBam
http://www.CNCMOLDS.com
krw125
CNC Ewok
*
Offline Offline

Posts: 25


View Profile
« Reply #24 on: March 05, 2018, 17:44:15 pm »

Hi,
I Back for some news. Since last week, after an idea, i am modyfing the plugin (the simulator part), because some times i had some error messages and a slow simulation when the size of the block increase. Now, and it's very nice becasue, no error messages, we can have a big size of the block and an increase of the speed of simulation (x10 visibly  Grin). I finish the implementation, and the time to make a new video of the modification and a real milling, i could finally posted the demo plugin for downloading.

Thanks

Richard

Logged
krw125
CNC Ewok
*
Offline Offline

Posts: 25


View Profile
« Reply #25 on: April 15, 2018, 17:10:12 pm »

Hi,
It's good for me. The result is really very well.
The translation in English version is in progress.
Logged
krw125
CNC Ewok
*
Offline Offline

Posts: 25


View Profile
« Reply #26 on: April 26, 2018, 22:47:37 pm »

Hi,
The demo version of the plugin is available for downloading.
The tutorial is in progress so do not machining in real mode if you are not sure of you.
Adding video in real mode in section "videos"

The Full version will be available for sale in one or two weeks, but you can mail me for more informations

kwr12596@gmail.com

http://motion5x.fr

Best Regards,
Richard
Logged
krw125
CNC Ewok
*
Offline Offline

Posts: 25


View Profile
« Reply #27 on: June 06, 2018, 10:57:30 am »

Hi,
Sorry for the delay, but a error took me a long time to solve the problem. I think freeze for a few people or impossibility of executing the Plugin.
Now it's ok and demo version have been updated and will be available this night.
At the same time, the full version will be too available for people want to buy it.

Some videos of full version:

tuto:
https://youtu.be/1wN_AEV8S_U

Virtual machine:
https://youtu.be/mEcfTHgkahU

https://youtu.be/fbIYUa2Dojg

https://youtu.be/SGB0buJYfhs

x64 compatibility:
https://youtu.be/og_hrhaHDgQ

Full version gives you the possibility to create your own virtual machine.

Thank to dh42 (David) for your 4 axis wrapper torsade file.

Best regards,

Richard.

http://motion5x.fr
Logged
Bubba
CNC Jedi
*****
Offline Offline

Posts: 2429



View Profile
« Reply #28 on: June 06, 2018, 20:39:26 pm »

Just realised the plugin is not free. Huh I'm OUT!
Logged

My 2ยข
krw125
CNC Ewok
*
Offline Offline

Posts: 25


View Profile
« Reply #29 on: June 09, 2018, 03:07:45 am »

Oops!  Tongue

Shop is open

Have fun!

Best regards,
Richard


http://motion5x.fr
Logged
Pages: 1 [2]
  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.286 seconds with 19 queries.

Copyright © 2018 HexRay Ltd. | Sitemap