Rotate infill

55 views
Skip to first unread message

Mitch

unread,
Dec 12, 2019, 9:29:45 PM12/12/19
to IceSL
Dear All,
I am also experimenting with png infill patterns, and was wondering if it were possible to rotate a pattern a particular angle at an interval (to begin with odd and even, but later if possible at discrete angles as a function of height)? For example, if I wish to create a log-pile infill structure, I would rotate every second layer 90 degrees.
Thank you.
Mitch

sylefeb

unread,
Dec 17, 2019, 2:15:27 PM12/17/19
to IceSL
Dear Mitch,

If the pattern is generated by an infill shader this would be possible using the z-coordinate (see https://github.com/shapeforge/icesl-infillers, the parameter world to the function cellular has a z-coordinate which corresponds to the slice height)

If it is an image this is not supported for now. We had a plan to make this possible either by:
- providing a sequence of images to be changed every slice (and wrapping around)
- making it possible to access a given image from a shader

The shader would give maximum flexibility ... even though it is perhaps more involved to use if not familiar with GLSL. I'll see if it is possible without too much trouble, in which case we may add it in a next beta.

Thanks for the suggestions!
Best,
Sylvain

Mitch

unread,
Dec 20, 2019, 3:10:35 AM12/20/19
to IceSL
Dear Sylvain,

Many thanks as always for your response - I will give the shader rout a try, but the image options would be great if possible and not too much trouble!

Best regards,

Mitch
Reply all
Reply to author
Forward
0 new messages