1
Related Softwares / Re: CamBam Alternative
« on: July 06, 2024, 10:43:42 am »
So i did.
Thank you, Mr. Pixelmaker !
Thank you, Mr. Pixelmaker !
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.




public string[] NewPart_Options = {
"L", "B", // [string] library
"C", // [string] cam-style
"X", // [double] Position X
"Y", // [double] Position Y
"M", "SZ", // [double] StockSize Z
};
public string[] Commands = {
"NP", "NT", // new Part
"DEFINE", "DEF", // Define
"GC", // MOP GCode
"I", // MOP Profile Inside
"O", "A", // MOP Profile outside
"P", "T", // MOP Pocket
"D", "B", // MOP Drill
"E", "G", // MOP Engrave
};
public string[] MOP_Options = {
"ADD", // [int] Add primitives of an given Layer number (given in layer´s NAME!)
// HINT : multiple ADD are allowed and are collected !
"LIA", // [double] Lead in angle
"LIO", // [double] Lead out angle
"HPL", // Holding Tabs based upon points found in layer
"DM", // Drill Mode CC=Canned cycle CW=clockwise CCW=counter clockwise
"DI", "Z", // [double] Depth increment
"MD", "G", // Milling direction CO or G = conventional CL or L = climb M=Mixed
"CP", "SH", // [double] clearance plane
"RC", "A", // [double] Roughing clearance
"CW", "B", // [double] cut width
"SS", "W", // [double] Stock Surface
"SO", "S", // [double] step over
"OV", "I", // [0 or 1] Corner overcut 0=Off 1=On
"CO", "R", // Cut ordering : LF or O = Level First DF or T = Depth First
"HH", // [double] Holding Tab Height
"HL", // [double] Holding Tab Length
"H", // [int] number of Holding Tabs
"O", // [int] Optimisation 0=no 1=Standard(legacy) 2=Experimental(new)
"T", // [double] Target Depth
"N", // [double] spindle speed rpm
"V", // [double] Cut feedrate
};



{
LeadMoveInfo LeadInfo = new LeadMoveInfo();
profile.LeadInMove = new CamBam.Values.CBValue<LeadMoveInfo>(LeadInfo);
profile.LeadInMove.Cached.SpiralAngle = double.Parse(ParameterValue);
}
Log(" profile sprial angle = " + profile.LeadInMove.Cached.SpiralAngle);
Log(" profile leadin type = " + profile.LeadInMove.Cached.LeadInType);
Log(" profile tangent radius = " + profile.LeadInMove.Cached.TangentRadius);
break; if (Command=="LIA"):
# getting existing data from MOP
LeadInfo = profile.LeadInMove.Cached
LeadInfo.SpiralAngle = (float) (Parameter)
profile.LeadInMove = CBValue[LeadMoveInfo] (LeadInfo)