FFF Post Creation Utility add-in creates unusable post-processor

FFF Post Creation Utility add-in creates unusable post-processor

Eric_Schubert
Enthusiast Enthusiast
668 Views
6 Replies
Message 1 of 7

FFF Post Creation Utility add-in creates unusable post-processor

Eric_Schubert
Enthusiast
Enthusiast

I'm attempting to modify the standard Creality post-processor to add just a couple lines of code that will allow for my automatic bed leveling probe to run its routine before printing.  However, using the FFF Post Creation Utility add-in generates a post-processor that will not output any code.  Instead, it throws an error stating that the post only supports one extruder.  My printer is only configured for a single extruder, so I'm not sure why this is happening.

 

I've attached the log and failed print files for review.  Either I'm not utilizing the utility correctly, or there's a bug here.  I'm looking for some advice or assistance as to what's wrong.  Any help is appreciated.

 

To clarify, I'm adding two lines to the utility in the "Start program" section after the default code that's there.  The new starting code I've defined below with new lines following the comment stating default code ends:

 

;%programName%
;%programComment%
G21
G90
M82
G28 Z0
; Default code stops here, added the following...
G29  ; Run automatic leveling routine
G0 X100 Z20 F5000  ; Move print head for probe removal prior to printing

 

 

0 Likes
669 Views
6 Replies
Replies (6)
Message 2 of 7

serge.quiblier
Autodesk
Autodesk

Hello @Eric_Schubert 

 

can you please share the file called Skeetz(withProbe)Custom.cps

It the resulting post created by the addin.

Apparently, 2 function seems to have been redefined inside the post.

I actually have no idea why, maybe a problem with the template post used for modification.

 

Regards.

 



Serge.Q
Technical Consultant
cam.autodesk.com
0 Likes
Message 3 of 7

Eric_Schubert
Enthusiast
Enthusiast

Thanks for responding, Serge.  Here's a copy of the post-processer that was created by the add-in.  (See attachment.)

0 Likes
Message 4 of 7

serge.quiblier
Autodesk
Autodesk

Hi  

 

as I suspected, some functions where duplicated, and the behavior inside VSCode extension, and inFusion was not the same.

Inside VSCode, no error was triggered, and the first version of the function seems to have been called.

But when working inside Fusion, the behavior was different, and the last function declared was called.

 

I have fixed the generic post used by the add-in, and your personalized post.

But editing the personalized post by hand made it impossible to changed it again, using the add in.

You can copy the generic.cps into the add-in folder and regenerate your post, if you wish.

 

I will inform the add-in author about the issue.

 

Regards.


______________________________________________________________

If my post answers your question, please click the "Accept Solution" button. This helps everyone find answers more quickly!



Serge.Q
Technical Consultant
cam.autodesk.com
0 Likes
Message 5 of 7

Eric_Schubert
Enthusiast
Enthusiast

Thanks, @serge.quiblier!  If I replace the generic post, will the add-in function properly if I make new custom posts?  Or does the author need to update the add-in for it to work, even after I replace the generic post?

0 Likes
Message 6 of 7

serge.quiblier
Autodesk
Autodesk

Hello @Eric_Schubert 

 

the add-in is only doing some smart "find and replace" in the post.

It will changes some variables with the content of the setting set in the dialog.

Then it will calculate some CRC value put in the header of the post.

So i don't think it will require any change to the add-in itself.

 

Regards.

 


______________________________________________________________

If my post answers your question, please click the "Accept Solution" button. This helps everyone find answers more quickly!



Serge.Q
Technical Consultant
cam.autodesk.com
0 Likes
Message 7 of 7

Eric_Schubert
Enthusiast
Enthusiast

Thanks, @serge.quiblier, I'll give making another custom post a shot and report back if that fixes it.

0 Likes