zhangty019/S3_DeformFDM

Slices shapes boundaries unregular

yvanblanchard opened this issue · 3 comments

Hello,
I have a test case which consists at a simple ramp.
I want to slice this solid by taking benefit of avriable layer height, and also by inserting patches layers through the thickness. Just like the 'Ankle' test case.

Problem is that the output slices shapes are not as expected, in terms of boundary. We expect to have something much regular (straight edges), but instead we have complex unregular boundary shapes (see picture).
We used same settings (optim mode, paramters) as the ones used for the Ankle test case (with slight code adjustments).

Do you think this can be tuned today using the framework ?

Thank you
@rvmn

image

Slices:
image

Ramp mesh (OBJ):
Ramp_TestCaseSlicing.zip

rvmn commented

i'll have a look at the code and see the magic that is happening.
It's really cool that it is making varying layer thicknesses IN the same layer!
Haven't heard of any slicer that did that as far as i know :)
It works fine in the ankle example, making it thicker in the thick areas.
But it is only really useful if you could set the min. and max thicknesses as the nozzle size doesnt allow for too small and too big thicknesses ofc.
maybe it acts weird because it is having a transient thin to thick transition as opposed to the examples 'fold' in the middle.
btw, how did you select the vertices, does it work with your version?

Thank you @rvmn !

Yes, we had to specify min and max layer thickness (0.2mm and 1.0 mm , for example), and also use the specific 'Adaptive Height Slicing' mode of slicer , in order to get the 'patches' (shorter slices) through the thickness.

At end, we expect something like this (with regular slices boundaries!)
image

We specified/selected the bottom and upper faces vertices as 'frozen' (to keep them 'as it'), using a tricky technique..

TualK commented

Hello.

In the attached folder, you will find the TET mesh and the selection file we used to get the output.
We also tried with a tetrahedral mesh as uniform as possible but the same result happened.

Thank you.
rampe_remeshed_centered.zip