Hatch slice stack using LuA scripting

Hatch slice stack using LuA scripting

quentin_schmidBRKQZ
Enthusiast Enthusiast
228 Views
3 Replies
Message 1 of 4

Hatch slice stack using LuA scripting

quentin_schmidBRKQZ
Enthusiast
Enthusiast

Hi community,

 

I am working on a big dataset for which I would like to generate hatching in an automated manner using Lua scripting, but I cannot find a way to hatch a part using scripting. Is it even possible ?

 

Thanks

 

Quentin

0 Likes
Accepted solutions (1)
229 Views
3 Replies
Replies (3)
Message 2 of 4

steffen_anders_adsk
Autodesk Support
Autodesk Support

Hello, Quentin,

 

Specifics would need to be ironed out, of course, like how and where your dataset is stored, and what constitutes big, but since you didn't list any specifics, I don't see why that task shouldn't be possible.

 

Best regards,

Steffen

Steffen Anders
Autodesk Netfabb team

Netfabb resources: Online help • System requirements • Knowledge base • Forums • Homepage • YouTube

How to get Netfabb Basic: Video • Help • Download

0 Likes
Message 3 of 4

quentin_schmidBRKQZ
Enthusiast
Enthusiast

Hello Steffen,

 

thanks for the reply . I would have some slices files in a .sli format stored in a folder that I locate in a variable "PATH". I have about 380 different slice files.

Final goal is to hatch each slice stack ( let us say simple hatch to start), get the overall  hatch number ( for which I already have a script) for each slice stack and store this into an .csv file.

 

I just cannot find the function to "hatch" a slice stack. Ca you please indicate where I cannot find these function ?

 

thanks,

 

Quentin

Message 4 of 4

steffen_anders_adsk
Autodesk Support
Autodesk Support
Accepted solution

Ah, that would be Slice method createbyinput(), using a SliceInput object as a parameter which you create using the System method createsliceinput().

Steffen Anders
Autodesk Netfabb team

Netfabb resources: Online help • System requirements • Knowledge base • Forums • Homepage • YouTube

How to get Netfabb Basic: Video • Help • Download

0 Likes