Custom infill generation

65 views
Skip to first unread message

Vijayasankar Vijayasankar

unread,
Apr 10, 2023, 4:59:09 AM4/10/23
to IceSL
Hi, 
I want to create a new type of infill . Later I want to use parameter painting. I followed this discussion but failed to generate the infill. Can someone help to solve this?

Thanks and regards,
Vijay

Re-try WhenDown

unread,
Apr 10, 2023, 5:18:41 AM4/10/23
to IceSL
Hey Vijay, there are three ways to create an infill; with an image (png), a shader (glsl) and with a plugin (c++). Could you tell us which one you attempting to?

Thanks.

Le 10 avr. 2023 à 10:59, 'Vijayasankar Vijayasankar' via IceSL <ic...@googlegroups.com> a écrit :

Hi, 
I want to create a new type of infill . Later I want to use parameter painting. I followed this discussion but failed to generate the infill. Can someone help to solve this?

Thanks and regards,
Vijay

Disclaimer:- This footer text is to convey that this email is sent by one of the users of IITH. So, do not mark it as SPAM.

--
You received this message because you are subscribed to the Google Groups "IceSL" group.
To unsubscribe from this group and stop receiving emails from it, send an email to icesl+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/icesl/58301ea6-69fd-4ead-95bc-63d1bcd265dcn%40googlegroups.com.
Message has been deleted

Re-try WhenDown

unread,
Apr 10, 2023, 8:33:44 AM4/10/23
to IceSL
Hi Vijay.

Does it not show up in the list of infills? The infill image must be named “cells.png”. I also believe the resolution has to be square, however off the top of my head I can’t remember if the resolution must be a given size (check our jigsaw infill for that).

Additionally, please answer to the list (not to me) so we can have a trace of the problem and other can look into the solution in the future.

Salim

Le 10 avr. 2023 à 11:59, Vijayasankar KN <bm17res...@iith.ac.in> a écrit :


Hi Salim, 

I have followed " Custom infill ommited "discussion. Tried creating an infill using image (png) attached below.

Thanks.


Disclaimer:- This footer text is to convey that this email is sent by one of the users of IITH. So, do not mark it as SPAM.

topinfill copy 2.png

Vijayasankar KN

unread,
Apr 16, 2023, 2:53:58 PM4/16/23
to Re-try WhenDown, IceSL
Dear Salim,

The file name is 'cells.png'. And I thoroughly followed the instructions by Thibault Tricard. The infill type comes up in the list but 
when I select the infill and click on slice, the application stops working. Image attached below.

Thanks and regards,
Vijayasankar

Vijayasankar KN

unread,
Apr 16, 2023, 2:54:24 PM4/16/23
to Re-try WhenDown, IceSL
Capture.PNG

Re-try WhenDown

unread,
Apr 19, 2023, 7:25:49 AM4/19/23
to ic...@googlegroups.com
Hi Vijay. Apologies for taking some time to get back to you. There's some things you need to consider when you create your image:

1. As documented in the 'README.md' file inside the infiller folder, the png image must be 24 bits of depth, yours isn't:
image.png

2. Create your png image without antialiasing. This isn't documented in the file mentioned above so I'll add this detail. Antialiasing introduces pixels with many colors, diffusing the pattern border and hence throwing off IceSL's algorithm to discern when an infill wall finished and when it ends:

image.png

3. I'm making an assumption with this one so please forgive me if wrong. In the infill image you're drawing the infill walls' thickness. Let IceSL control this, don't force it. Just mark the infill cells with different colors with the corresponding pattern (i.e. shape). Your infill image should look something like this (minus the lines caused by the antialising)
image.png
In the end, each cell should be a solid color with clear solid borders.

It is *strongly recommended* that the infill image is created with **no antialiasing**. Antialising softens the borders of the infill pattern by employing a color gradient that itself introduces many pixels with different colors. These colors make the pattern borders fussy and unintentionally throw off the algorithm in IceSL, resulting in really long calculation times.

Hope it helps,
Salim.


Le mar. 18 avr. 2023 à 07:01, Vijayasankar KN <bm17res...@iith.ac.in> a écrit :
Dear Salim,

  • Any thoughts you have will be greatly appreciated.
Thanks,
Vijay

Vijayasankar KN

unread,
Apr 20, 2023, 5:40:14 AM4/20/23
to Re-try WhenDown, ic...@googlegroups.com
Dear Salim, 

Thank you so much for the detailed explanation. I will work on it. Meanwhile, I have one more question. 
Is there any way to introduce a custom 3D infill in IceSL? ( I mean infill with changing cross-section )

Thanks and regards,
Vijay

Re-try WhenDown

unread,
Apr 20, 2023, 6:07:55 AM4/20/23
to ic...@googlegroups.com
Absolutely Vijay.

There’s two ways to do this:

1. Create an infill shader (see examples inside the ‘icesl-infill’ folder). You can explicitly decide for each 3D point in the volume to infill what cell does it belong to. To get the an initial idea see the ‘SquareGrid’ infiller, and to see how you can vary it per layer see the ‘Gyroid’ infill.

If you’re courageous enough and code a bit of C++, then this will give you a large array of tools to fully customize your infill, including the 2D contour management library Clipper, your own UI settings in IceSL, use of the IceSL interface, fine control of the generation process and whatever external library you wanna use.

Salim
Reply all
Reply to author
Forward
0 new messages