@mbTRAAF
This is because at the moment it won't support the both but you can do some tweaks to make it work
go this place and block it
}
// if (properties.useG95 && properties.useParametricFeed) {
// error(localize("Parametric feed is not supported when using G95."));
// return;
// }
if (properties.useG95) {
this is line which is throwing the error
and in the function getFeed(f) add change something like this below
function getFeed(f) {
if (properties.useG95&& !properties.useParametricFeed) {
return feedOutput.format(f / spindleSpeed); // use feed value
}
if (activeMovements) {
and in the
function initializeActiveFeeds() at the end made some changes like this
for (var i = 0; i < activeFeeds.length; ++i) {
var feedContext = activeFeeds[i];
if(properties.useG95){
writeBlock("#" + (firstFeedParameter + feedContext.id) + "=" + feedFormat.format(feedContext.feed/spindleSpeed), formatComment(feedContext.description));
}else{
writeBlock("#" + (firstFeedParameter + feedContext.id) + "=" + feedFormat.format(feedContext.feed), formatComment(feedContext.description));
}
}
}
var currentWorkPlaneABC = undefined;
function forceWorkPlane() {
currentWorkPlaneABC = undefined;
}
Save and test the file carefully
Boopathi Sivakumar
Senior Technology Consultant