<p>I'm trying to 3D print a lattice work or truss, basically some beams forming a rectangle and additional beams forming the diagonals and where those beams cross, they should be fused.  So, something like this:</p>
<p><a href="https://i.stack.imgur.com/gdKj1.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gdKj1.jpg" alt="simple lattice" /></a></p>
<p>The problem is that any slicer I give a form like this to starts drawing triangles around the inner openings and in best case those triangles then touch if you use enough walls, but the pull strength you would get from beams in such a truss is lost because the opposite corners of the rectangle are not connected by a single length of filament laid down.  Here as example what PrusaSlicer does for every layer:</p>
<p><a href="https://i.stack.imgur.com/dpkQW.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dpkQW.jpg" alt="enter image description here" /></a></p>
<p>Basically this gives separate triangles at the top, bottom, left and right with some rectangular walls at the outside. Not bad, but I think that for extra strength it would be better if on even layers there would be long extrusions going all the way from the top-left corner to the bottom-right corner (and hence interrupting extrusion on the other diagonal) and on odd layers having just the opposite (so long extrusions from bottom-left to top-right).</p>
<p>So, my question: is there any way to tell the slicer to do something like that? So, having extra long (alternating) corner to corner extrusions next to the triangular &quot;outer&quot; walls that it normally puts down? Or, is there some other trick I could use to get a similar effect (while also having long extrusions between adjacent corners)?</p>

[{'answer_id': 18136, 'author': 'fred_dot_u', 'author_id': 854, 'author_profile': 'https://3dprinting.stackexchange.com/users/854', 'pm_score': 1, 'selected': False, 'text': '<p>If on even layers, the routing is in one direction and on odd layers, the routing is the opposite diagonal, you\'ll have a much weaker structure, as there will be no material after the crossing point.</p>\n<p>Addressing that aspect, one could consider that the design is implemented in such a way that the nozzle creates the odd layer continuously from one corner to the other and then creates the &quot;missing&quot; segments from corner to center on the opposite diagonal.</p>\n<p>I know of no slicer which will create such tool paths from a model imported to the workspace.</p>\n<p>This leaves a relatively impractical option of creating the g-code manually. One of my clients is a machinist from the 50s who can look at an engineering drawing and hand-write the g-code for the machine center on which the part is to be created. Of course, that\'s not additive manufacture, it\'s the reverse and the cutting tool can remove far more material than a 3D printer can add.</p>\n<p>It\'s not an impossible task, but would be quite tedious. One might create a python code to generate appropriate g-code, given layer heights and machine-appropriate data such as speeds and temperatures, etc.</p>\n<p>Consider an <a href="https://www.youtube.com/watch?v=nRLJ4ylGTFc" rel="nofollow noreferrer">alternative post processing</a> specific to PETG, if PETG is an acceptable material for your project. One uses 100 percent infill in the model and then embeds the part in flour salt (finely ground salt), packing it in tightly. The salt-encased part is then re-melted. The part becomes &quot;non-layered&quot; removing the objections in the original reference. If you consider this method, some experimentation is indicated.</p>\n<p>The above link is a six minute YouTube video showing the process for multiple models, one after the other. PLA is shown with possibly poor results compared to PETG, hence the reference to experimentation.</p>\n'}, {'answer_id': 18147, 'author': 'Perry Webb', 'author_id': 15075, 'author_profile': 'https://3dprinting.stackexchange.com/users/15075', 'pm_score': 1, 'selected': False, 'text': '<p>The way I get rid of voids, like your triangular shaped voids the slicing program interprets as fill area, is to increase the  number of vertical/perimeter shells (the shells on the side).</p>\n<p><a href="https://i.stack.imgur.com/bbUdP.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bbUdP.jpg" alt="enter image description here" /></a></p>\n'}, {'answer_id': 18149, 'author': '0scar', 'author_id': 5740, 'author_profile': 'https://3dprinting.stackexchange.com/users/5740', 'pm_score': 3, 'selected': True, 'text': '<h2>Yes you can!</h2>\n<p>To have stronger prints you would have to choose the correct direction of filament deposition paths/traces. This answer demonstrates changing the direction of the filament path in Ultimaker Cura slicer.</p>\n<p>To do this, it requires some tinkering of your model and choosing the correct slicer parameters (decimals aren\'t allowed in changing the direction in Cura, only integer or round-off degrees).</p>\n<p>To recreate the experiment I have created a similar model in <a href="https://openscad.org/" rel="nofollow noreferrer">OpenSCAD</a>:</p>\n<pre><code>union(){\n    difference(){\n        cube([100, 50, 1],center = true); // outer contour\n        cube([90, 40, 1.1],center = true);  // inner contour\n    }\n    // add 2 cross beams\n    for (i=[-1:2:1]) {\n        // Note:\n        // 26.565051177078 would have been exactly corner to corner, but \n        // decimals aren\'t allowed in Cura, hence the choice for 26 degrees\n        rotate([0,0,i*26]){ \n            cube([100, 5, 1],center = true);\n        }\n    }\n}\n</code></pre>\n<p>Which gives you:\n<a href="https://i.stack.imgur.com/F527k.png" rel="nofollow noreferrer" title="Rectangle with cross beams"><img src="https://i.stack.imgur.com/F527k.png" alt="Rectangle with cross beams" title="Rectangle with cross beams" /></a></p>\n<p>Create an STL from the code and load this into Ultimaker Cura slicer.</p>\n<p>The trick is to direct the deposition of the top/bottom pattern [<code>lines</code>] and the infill [<code>lines</code>] in the direction you need (and for infill a high infill percentage). Remember the 26° angle of the cross beams, the definition of Cura line direction is different, so the angle of deposition needs to be ±(90 - 26) = ±64° which is denoted as [64, -64] in the slicer. Note the top and bottom contain 2 layers, the rest is infill. You can also have no infill by selecting very large top/bottom thickness, or, no top/bottom layers and only infill (this answer demonstrates <strong>both options</strong>, but you could choose just one).</p>\n<p>Look at the bottom layer (see slicer settings on the right):\n<a href="https://i.stack.imgur.com/72Gbu.png" rel="nofollow noreferrer" title="Bottom layer"><img src="https://i.stack.imgur.com/72Gbu.png" alt="Bottom layer" title="Bottom layer" /></a></p>\n<p>The second layer looks like:\n<a href="https://i.stack.imgur.com/XfdHA.png" rel="nofollow noreferrer" title="Second layer"><img src="https://i.stack.imgur.com/XfdHA.png" alt="Second layer" title="Second layer" /></a></p>\n<p>First infill layer:\n<a href="https://i.stack.imgur.com/yY10h.png" rel="nofollow noreferrer" title="First infill layer"><img src="https://i.stack.imgur.com/yY10h.png" alt="First infill layer" title="First infill layer" /></a></p>\n<p>Second infill layer (needed to lower the top layer to a single layer to be able to display this):\n<a href="https://i.stack.imgur.com/RbtzN.png" rel="nofollow noreferrer" title="Second infill layer (needed to lower the top layer to a single layer to be able to display this)"><img src="https://i.stack.imgur.com/RbtzN.png" alt="Second infill layer" title="Second infill layer (needed to lower the top layer to a single layer to be able to display this)" /></a></p>\n<p>As seen by the sliced layers, you can have an alternating pattern where the filament path is continuous for each cross-beam every other layer. This should increase the load (tension) the beam is able to support opposed to the given pattern in the question body.</p>\n'}, {'answer_id': 18157, 'author': 'janherich', 'author_id': 31405, 'author_profile': 'https://3dprinting.stackexchange.com/users/31405', 'pm_score': 0, 'selected': False, 'text': '<p>Have a look at <a href="https://www.reddit.com/r/3Dprinting/comments/pt80ap/new_3d_printing_slicer_geared_towards_highspeed/" rel="nofollow noreferrer">Chisel</a> infills there are very strength optimised, limitation is currently that they must be single line width, but multiple-lines thick infill will be supported soon.\nAfter that, it\'s very simple, basically setting double corrugated infill with corrugation size 1 for your rectangle model.</p>\n'}]
['https://3dprinting.stackexchange.com/questions/18135', 'https://3dprinting.stackexchange.com', 'https://3dprinting.stackexchange.com/users/31349/']