CamBam
News:
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
July 24, 2017, 23:26:34 pm


Login with username, password and session length


Pages: 1 2 [3]
  Print  
Author Topic: editing a postprocessor  (Read 3987 times)
lloydsp
CNC Jedi
*****
Online Online

Posts: 6965



View Profile
« Reply #30 on: July 27, 2016, 23:34:17 pm »

Sorry... yes.... "Run" the script.

I've been compiling .bas and .c files all week, and the word is stuck in my mind.

Lloyd

Logged

"Pyro for Fun and Profit for More Than Fifty Years"
lloydsp
CNC Jedi
*****
Online Online

Posts: 6965



View Profile
« Reply #31 on: July 27, 2016, 23:43:05 pm »

PS... I just re-booted my system and tried again -- and it worked! <huh?>

LLoyd
Logged

"Pyro for Fun and Profit for More Than Fifty Years"
michel
Storm Trooper
***
Offline Offline

Posts: 211



View Profile WWW
« Reply #32 on: July 28, 2016, 04:40:29 am »

this is my cb version and I used a laptop on windows 7. All works fine



* About2.jpg (42.97 KB, 602x390 - viewed 78 times.)
Logged
dh42
Administrator
CNC Jedi
*****
Offline Offline

Posts: 4512



View Profile WWW
« Reply #33 on: July 28, 2016, 17:13:49 pm »

PS... I just re-booted my system and tried again -- and it worked! <huh?>

LLoyd

I also tried that, but he won't .... very strange  Huh

++
David
Logged
michel
Storm Trooper
***
Offline Offline

Posts: 211



View Profile WWW
« Reply #34 on: July 13, 2017, 10:51:47 am »

Hi David,

To come back on this one I have found sombody to help on the programming of this dynamic park position I proposed.


Can you give me the needed guidelines to program the vb corrector  postprocessor to reach the goal ? You have more experience in cb programming so we can use your information to digg in ourselfs


as you know I would like to have the possibility for parking positions ( see my first post in this topic )

it needed to be added on the part name

example  part name  1  will now get a prefix depending on the position i need .

T1 means part 1 with a park position  x.... y .... ( see first post )

but in the generation of the G-code  T should not be visible as for me it needs to be just the number in the name preceeded with % .  That is how my machine works.

so name T1  will generate a gcode starting with %1
T11 will be %11    and so on ...


this is how it works today for me so the implementation of the park position should not interfear in this.

Also do these positions need to be hardcoded in the postprocessor or can it be made changeable to my needs? Maybe a txt file containing these values or a parameter in cb ??


I hope you give me some assistance in this.

Also another question. I intend to start learning the programming language in the comming months. Most of the people I asked told me that learning C# would be better then C++ . What is your advise in this ?



regards
Michel
« Last Edit: July 13, 2017, 10:56:43 am by michel » Logged
dh42
Administrator
CNC Jedi
*****
Offline Offline

Posts: 4512



View Profile WWW
« Reply #35 on: July 13, 2017, 14:53:16 pm »

Hello

Quote
Also another question. I intend to start learning the programming language in the comming months. Most of the people I asked told me that learning C# would be better then C++ . What is your advise in this ?

I'm not a C programmer, and I do not know what is the difference between C# and C++

It seems that most of the people that program CamBam plugins use the C# ... (CamBam is coded in C#)

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

Posts: 2961



View Profile
« Reply #36 on: July 13, 2017, 16:43:32 pm »

If you are serious about programming outside of CamBam then C++ is without doubt the way to go. That language would open up any avenue you wish to go down. Once you know something about C++ then using C# should be quite easy, but the other way around might not be.
Logged
Pages: 1 2 [3]
  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.173 seconds with 18 queries.

Copyright © 2008 HexRay Ltd. | Sitemap