![Image](https://i.imgur.com/aRH8IOp.jpg)
![Image](https://i.imgur.com/XsDSzwm.png)
Basically it's a warren truss that follows the contour of the inner and outer surfaces of the part, trying to keep a 45 degree angle or as close as possible at any given point. It makes a lot of sense and is arguably stronger per the same weight than most traditional infils offered by open-source slicers. I argued with that designer whether it is possible to model this in CAD instead, since this would allow for far more control, and also allow to integrate additional features in specific areas of the part. I spent the better pat of the day trying to achieve just that, with some reasonable success. I modeled a sample surface with non-offset inner and outer surfaces, compound bends, twist, etc, to make it as complicated as possible:
![Image](https://i.imgur.com/hjBTH4P.png)
and tried to figure out a way to model this infil in Solidworks. My approach was first to model a sine wave sketch:
![Image](https://i.imgur.com/zIjo9Nt.png)
Then design in the warren truss layout on both ends:
![Image](https://i.imgur.com/vqqouGu.png)
Then, create some reference planes as close to perpendicular to every point where the truss layout touches the inner and outer surfaces, and use Derived Sketch to copy the sine wave sketch there, and use Split Surface to transform the sine wave on both these surfaces at the right points:
![Image](https://i.imgur.com/0mqO2pD.png)
And finally, create Surface Lofts between them to create the actual infil:
![Image](https://i.imgur.com/wFK7GA1.png)
And after some thicknenings, it is done:
![Image](https://i.imgur.com/8ptsOBj.png)
While this solution kind of works, but:
1. It is really not parametric. Changing the infil density (the number of sine waves) would require a major rework. Each wave requires a lot of features to create, this is very laborious.
2. The initial part I created is still relatively simple, so transposing a flat sine wave curve onto these compound surfaces kind of works, but any part with more complex geometry would require to "break" the pattern into smaller sections to make these approximations more accurate (following the actual change in shape of the part). So what I did here is hardly a scalable solution.
I am attaching the part I created to this post. Can anyone suggest a better approach to create this geometry? Something less laborious and more parametric? It doesn't have to be exact, but I would like to be able to control the angle of the infil, the number of these curves with simple numeric variables. So far, I can't seem to find a way to do it.