I can't compile due to bsPostProcessingConfig

I can't compile due to bsPostProcessingConfig

min1ck
Participant Participant
367 Views
1 Reply
Message 1 of 2

I can't compile due to bsPostProcessingConfig

min1ck
Participant
Participant

good evening, I'm trying to create my first script based on some examples, but I don't understand why I get this error:

 

ReferenceError: postprocessLayerStack_MT is not defined
at exports.configurePostProcessingSteps

 

at this line of code:

 

/** 
* @Anonymous  a_config    bsPostProcessingConfig 
*/
exports.configurePostProcessingSteps = function(a_config)
{
  // Postprocessing the toolpaths using the given function:
  a_config.addPostProcessingStep(postprocessLayerStack_MT,{bMultithread: true, nProgressWeight: 1});
}

 

I read this in the reference:

"It is not allowed to have both functions (configurePostProcessingSteps and postprocessLayerStack) defined at the same time."

 

but in the example I'm looking at, in addition to defining configurePostProcessingSteps towards the end of the Main I see the (empty) function postprocessLayerStack_MT

Could someone help me understand? thanks for your patience 🙂

0 Likes
368 Views
1 Reply
Reply (1)
Message 2 of 2

min1ck
Participant
Participant

problem solved, sorry

0 Likes