Infilling stl volume with lines

Hi everyone,
I have a structure that I've meshed using the STL format, which means only the outer surface is meshed. Now, I'm looking to create a line cloud within the volume using these outer surfaces. I'm using a printer that operates by printing lines, which is why I need this. The distance between the lines in the z direction will be referred to as sd (slicing distance), and in the y direction as hd (hatching distance). However, the x coordinates will be defined by the surface of the structure. The lines should start from the bottom and continue upward. I'll draw and attach a picture to help illustrate what I'm looking for.
Thanks a lot for your help!
Here is another similar topic that has been asked previously, but to be honest i am not sure how can i import it to my strucure,
https://de.mathworks.com/matlabcentral/answers/417110-how-to-fill-2-d-closed-loops-with-lines-boundary-of-this-closed-loops-are-extracted-as-output-from

2 Comments

Slicing and generating infill is the job of the slicer. Pathing is described by the gcode or machine file, not the STL.
Hi @DGM,
Thanks a lot for the clarification. With your help, I believe I can search more efficiently on the internet. To make it clearer, I've added a meshed STL volume and the sliced line that I'd like to create.

Sign in to comment.

Answers (0)

Categories

Find more on Data Import and Analysis in Help Center and File Exchange

Products

Release

R2018a

Asked:

on 16 Apr 2024

Commented:

on 17 Apr 2024

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!