<p>From my experience, this is hard, particularly because slicers are not made to handle it well. They generally do their infill generation efficiently in terms of 2D geometry, built as a function of the layer height and the outline(s) in the layer. Of course you can actually make the infill pattern part of your model geometry, or use a separate model intersected with the interior of your model as the infill, but having the infill structure be 3D geometry means that the slicer will be quantizing it to layers, and will have a hard time generating exactly-one-line-thickness extrusions that print will for the infill cross sections.</p>
<p>If you do want to do this anyway, OpenSCAD provides the tools to do the necessary intersection of your generated geometry pattern with the model interior.</p>

CC BY-SA 4.0
2020-10-09T00:27:32.940Z
I'll have a look at this. I want to use my geometry as an infill pattern for another solid.
shamshx
CC BY-SA 4.0
2020-10-07T23:37:28.323Z
2020-10-07T23:37:28.323Z
R.. GitHub STOP HELPING ICE
<p>I am trying to look for my options for generating a custom infill pattern which complies to a geometry that I want to repeat. I can get the geometrical coordinates too in order to make the final shape. Has anyone done so previously?</p>

CC BY-SA 4.0
2020-10-08T13:45:30.873Z
Have you done a web search such as "characteristics of 3D-print infill patterns" to see the results of existing patterns in slice programs?
Perry Webb
CC BY-SA 4.0
2020-10-09T00:26:51.950Z
Is there a way to use my geometry as an infill pattern for say a cube.?
shamshx
<infill>
Custom Infill Pattern Based on Self-Generated Geometry
shamshx
# Custom Infill Pattern Based on Self-Generated Geometry

(Asked by: username_0 on 2020-10-07)

I am trying to look for my options for generating a custom infill pattern which complies to a geometry that I want to repeat. I can get the geometrical coordinates too in order to make the final shape. Has anyone done so previously?

**Tags:** infill
> **Comments:**
> **username_1**: Have you done a web search such as "characteristics of 3D-print infill patterns" to see the results of existing patterns in slice programs?  
> **username_0**: Is there a way to use my geometry as an infill pattern for say a cube.?  

---

## 1 answers

### Answer by username_2 on 2020-10-07. Score: 1

From my experience, this is hard, particularly because slicers are not made to handle it well. They generally do their infill generation efficiently in terms of 2D geometry, built as a function of the layer height and the outline(s) in the layer. Of course you can actually make the infill pattern part of your model geometry, or use a separate model intersected with the interior of your model as the infill, but having the infill structure be 3D geometry means that the slicer will be quantizing it to layers, and will have a hard time generating exactly-one-line-thickness extrusions that print will for the infill cross sections.

If you do want to do this anyway, OpenSCAD provides the tools to do the necessary intersection of your generated geometry pattern with the model interior.

> **Comments:**
> **username_0**: I'll have a look at this. I want to use my geometry as an infill pattern for another solid.  

---

