Lua script sample to generate .spj file

Lua script sample to generate .spj file

Anonymous
Not applicable
863 Views
4 Replies
Message 1 of 5

Lua script sample to generate .spj file

Anonymous
Not applicable

Hello,

I am writing a lua script to load a few stl files, place them on the tray and create a jobFile  (.SPJ) , but I am not able to find any api to create .spj file.

Can anyone please provide a sample lua script or a code snippet to generate .SPJ?

 

Thanks.

 

 

0 Likes
Accepted solutions (1)
864 Views
4 Replies
Replies (4)
Message 2 of 5

Anonymous
Not applicable

Is .SPJ creation using LUA script is not possible?

0 Likes
Message 3 of 5

steffen_anders_adsk
Autodesk Support
Autodesk Support

Hello, @Anonymous,

 

Assuming with SPJ you are referring to Single-Pass Jetting, there is currently no implementation in Netfabb that natively produces files for such machines, with Lua or otherwise. Depending on what the specifications for that file type and the desired machines require, you may be able to generate a suitably compatible file with the existing Lua capabilities, though.

 

 

Kind regards,

Steffen

Steffen Anders
Autodesk Netfabb team

Netfabb resources: Online helpKnowledge baseForumsHomepageYouTube

How to get Netfabb Basic: VideoHelpDownload

0 Likes
Message 4 of 5

Anonymous
Not applicable

Hello Steffen,

 

Thanks a lot for the response. (Apologies for being a little ambiguous in my original post)

I can create .spj file as 

1. Load Structo DentaForm tray

2. Add meshes to DentaForm tray

3. Click CreateJobFile. 

It creates a password protected spj file. It contains the .png images after slicing the tray. 

I want to perform precisely this operation using LUA script.

I could accomplish first 2 steps. 

For step 3, Could not find a direct api to create a dentaform jobfile (.spj)

Is any api available for step 3?  

 

Thanks

 

.spj jobFile for  Structo dentaform.spj jobFile for Structo dentaform

 

 

0 Likes
Message 5 of 5

steffen_anders_adsk
Autodesk Support
Autodesk Support
Accepted solution

Hello,

 

Netfabb's Lua desktop automation currently has no Lua method available to trigger the writing of build files from a machine workspace.

That said, I will raise this as a suggestion with the team. Thank you for asking! It is always interesting and helpful hearing about what people use, or want to use, Netfabb for.

 

Best regards,

Steffen

Steffen Anders
Autodesk Netfabb team

Netfabb resources: Online helpKnowledge baseForumsHomepageYouTube

How to get Netfabb Basic: VideoHelpDownload

0 Likes