Manuscript Offprint
arXiv:2611.00371Toolpath Overhang Optimization for the Large-Format 3D Printing of Bespoke Shapes
YEFAN ZHI, University of Pennsylvania, USA
MASOUD AKBARZADEH, University of Pennsylvania, USA

Fig. 1. Closed curve trimming optimizes a toolpath to be strictly within the overhang limit. Coupled with overfill optimization and smoothing, it improves the buildability and surface quality of geometries with large overhangs. Examples printed using PLA with a mm extrusion profile.
This paper presents a closed curve trimming algorithm for overhang optimization in large-format support-free 3D printing of bespoke manifold shapes. Large-format 3D printing enables efficient fabrication of complex, bespoke shapes. Because of the material properties and surface quality requirements, such shapes are typically printed without support structures and have to be designed as support-free. Most current methods of overhang optimization are limited to certain types of geometry and do not apply to bespoke shapes. Our method directly optimizes sliced toolpath curves with minimal geometric modification. Given an overhang limit, it ensures that all resulting toolpath curves are strictly within the overhang limit while preserving their orientation and preventing intersections. The algorithm is based on curve offsetting and trimming, and is applicable to closed toolpath curves that represent the boundaries of a solid volume.
CCS Concepts: • Computing methodologies → Shape modeling; • Applied computing → Computer-aided design.
Additional Key Words and Phrases: Overhang optimization, Large-format 3D printing, Shape optimization, Curve offsetting, Toolpath design
1 Introduction
Large-format extrusion-based printing has developed from a prototyping technology into a fabrication and construction method that couples geometric freedom with reduced waste, labor, and time, spanning materials such as concrete, earth, polymer, and glass. 3D concrete printing has revolutionized the production of bespoke complex building components that are otherwise costly or impossible to realize, thereby effectively incorporating efficient structural geometry and functional details [Lin et al. 2025; Wangler et al. 2019; Zhang et al. 2025]. 3D printing of earth and clay, on the other hand, offers an environmentally and socially healthier construction alternative for recyclability [Carcassi and Ben-Alon 2024; Curth et al. 2024; Gyawali et al. 2024]. In addition to traditional construction materials, large-format printing of polymers has enabled the effective prototyping and mass customization of large-scale functional components with complex geometries, contributing to sectors such
as aerospace, automotive, and construction [Pignatelli 2022; Vicente 2023]. 3D printing of glass produces unique aesthetics and is applicable in optical and microfluidic devices [Xin et al. 2023; Zhang et al. 2020].
These downsides of support structures have led to the support-free requirement for large-format 3D printing of bespoke shapes in most practices. A support-free design should be buildable without support structures in two senses: (1) the geometry (surface/mesh/volumetric representation, etc.) should be buildable, and (2) the printing scheme (toolpath) should be support-free. A widely studied method in polymer 3D printing that creates support-free printing schemes (for almost any extreme design) is multi-axis printing, where the design can be divided into multiple parts in place, each printed in curved layers with distinct nozzle orientation [Dai et al. 2018; Li et al. 2022; Wei et al. 2018; Zhang et al. 2022]. By creating larger contact area between layers to enhance friction and relying on the intra-layer bonding to counter gravity, extremely unbuildable designs can be printed without support structures.
However, this method is largely exclusive to polymer materials which solidify instantly upon extrusion. In contrast, large-format
Authors' Contact Information: Yefan Zhi, University of Pennsylvania, Philadelphia, PA, USA, yefanzhi@design.upenn.edu; Masoud Akbarzadeh, University of Pennsylvania, Philadelphia, PA, USA, masouda@design.upenn.edu.
Yefan Zhi and Masoud Akbarzadeh
printing of concrete and other paste materials involves a slow hydration process and carries non-negligible self-weight [Breseghello and Naboni 2022]. Multi-axis printing also requires robotic arms with 5 or 6 degrees of freedom, which are not widely available in large scale construction practices due to their cost [Xiao et al. 2021; Zhang et al. 2025]. To prevent the material from slumping and breaking, concrete is typically printed with much smaller tilt angles. In a handful of case studies [Li et al. 2024; Vertico 2025; Zhi et al. 2025b], curved or angled layers have been adopted to create non-planar contact faces, rather than to conquer extreme overhangs.
Hereafter we focus on planar (or moderately curved) large-format printing, where a more practical paradigm is to (1) design the geometry as mostly buildable, and (2) optimize extreme features such that the toolpath is support-free. The goal of this paper is thus to develop an algorithm that applies to bespoke geometries and optimizes the toolpath curves to make them support-free with minimal modification. While the algorithm is designed to optimize mostly buildable geometries, we show that in certain cases, when applied to extremely unbuildable shapes, it simplifies intricate features and makes the toolpath support-free while preserving the overall shape and topology of the design, reaching a balance between design freedom and fabrication feasibility.
1.2 Current methods
Before we offer formal definitions of overhang and its optimization problem, we review current methods of overhang optimization for large-format 3D printing as a context. Table 1 compares the benefits and restrictions of these methods. Examples are illustrated in Figure 2.
(a) Voxel-based topology optimization uses voxel grids or density fields to generate efficient structures under given boundary conditions [Rozvany 2001] and can be combined with overhang constraints to generate efficient results that can be printed free of support. Overhang is assessed between adjacent voxel layers and can be thus expressed as a projection constraint [Gaynor and Guest 2016] or filter [Langelaar 2016; Yang et al. 2023], or be added to the main optimization problem as a sensitivity scheme [Bi et al. 2022a].
(b) Morphable component-based topology optimization represents the overall optimized shape as an aggregation of elements with explicit geometries, such as bars, nodes, or parametric morphable shapes. The overhang angle can be directly measured from those elements [Bhat et al. 2022] or be added as a constraint in designing them [Guo et al. 2017]. While morphable component-based topology optimization offers more regular results, by having a much smaller number of elements, it accelerates the optimization process and produces results with a higher resolution.
(c) Toolpath curve generation is another generative design method that directly outputs support-free toolpath curves based on skeleton input [Bhooshan et al. 2018] or parametric models [Mogra et al. 2023]. It typically involves shape evolution across layers and is confined to the predefined design space and topology, thus is not an automated method for different application scenarios. Toolpath curve generation can also be a post-processing step to add permanent support curves to a given toolpath following a specific

[Langelaar 2016]
(a) Voxel-based topology optimization

[Mogra et al. 2023]
(c) Toolpath curve generation

[Gaynor and Guest 2016]
(b) Morphable component-based topology optimization

[Zhi et al. 2023]
(d) Wireframe optimization

[Zhi and Akbarzadeh 2025]
(e) Mesh stylization

(f) Closed curve trimming
Fig. 2. Compared with existing overhang optimization methods, ours is curve-based and ensures a strict overhang upper bound.
strategy [Huang et al. 2024], but will add substantial material to the design and change its overall shape.
(d) Wireframe optimization converts a toolpath to a wireframe skeleton structure and iteratively adjusts it to reach an equilibrium state that is support-free [Zhi et al. 2023]. It applies to bespoke geometry but is slow and easily produces sharp corners and unsmooth surfaces.
(e) Mesh stylization optimizes a surface mesh by regulating the vertex normals using normal-driven spherical shape analogy [Liu and Jacobson 2021; Zhi and Akbarzadeh 2025]. It preserves local rigidity of the mesh and prevents self-intersection, thus applies to bespoke geometry with minimal modification.
(f) Closed curve trimming, introduced in this paper, directly modifies the toolpath curves by trimming them with the offset region of the previous layer. It is significantly faster than surface- or volume-based methods.
Methods (a)–(c) are generative methods that create an optimized shape from given design space and constraints. Only (d) and (e) are post-processing methods that apply to a bespoke shape. However, these iterative methods do not guarantee that the resulting toolpath curves are strictly within the overhang limit. Solely relying on vertex normals, (e) can also create unbuildable concave zones. To help designers optimize bespoke design and guarantee buildability,
Toolpath Overhang Optimization • 3
Table 1. We provide the first method that applies to bespoke shapes while ensuring a strict overhang bound.
| Optimization method | Literature | Bespoke shape | Strict bound | Venue | Material strategy |
|---|---|---|---|---|---|
| (a) Voxel-based topology optimization | [Bi et al. 2022a; Gaynor and Guest 2016; Langelaar 2016; Yang et al. 2023] | X | ✓ | volume | generation |
| (b) Morphable component-based topology optimization | [Bhat et al. 2022; Guo et al. 2017] | X | ✓ | volume | modification |
| (c) Toolpath curve generation | [Bhooshan et al. 2018; Huang et al. 2024; Mogra et al. 2023] | X | ✓ | curve | generation/addition |
| (d) Wireframe optimization | [Zhi et al. 2023] | ✓ | X | curve | modification |
| (e) Mesh stylization | [Zhi and Akbarzadeh 2025] | ✓ | X | surface | modification |
| (f) Closed curve trimming | Ours | ✓ | ✓ | curve | subtraction |
we introduce (f) closed curve trimming method that operates on the toolpath curves. It is both fast and strict, owing to its unique material strategy—instead of generating, modifying, or adding new material, it subtracts unsupported regions.
When a point is unsupported, the additive strategy has to spend time to choose the location to add material to support it, while the subtractive strategy simply rejects that point. In the proposed method, the subtraction is done through closed

curve trimming followed by post-processing steps to preserve surface integrity and curve continuity, where new curve segments are added deterministically if necessary, making the result a combination of subtraction and addition.
1.3 Scope of this paper
This paper presents the closed curve trimming method of toolpath overhang optimization for large-format 3D printing, which is designed for the following requirements: (1) The method should be able to optimize bespoke shapes; (2) the input and output toolpath should be closed, non-intersecting curves with consistent orientations representing regions and aligned orientations across layers, representing a manifold surface compatible with continuous printing planning algorithms; and (3) the method should only invoke minimal modification when necessary. Using the material strategy of subtraction, we developed the deterministic and time-bounded method.
The paper is organized as follows: Section 2 defines the overhang property of toolpath curves and formalizes the overhang optimization problem. Section 3 details the method in two printing scenarios: solid printing and shell printing. Section 4 shows the effectiveness and robustness of the method using a range of examples with different applications. Section 5 discusses the post-processing steps to remove overfills and openings, as well as workarounds for open curves.

Fig. 3. Well-oriented, closed and non-intersecting curves form regions with aligned orientation across layers. Example of a double-sided Schwarz P triply periodic minimal surface (TPMS).
2 Overhang optimization problem
The proposed algorithm optimizes a sliced set of toolpath curves. It is thus crucial to define what a compatible toolpath is, what the overhang property of toolpath curves is, and what the objective of the optimization problem is.
2.1 Closed, consistent, and aligned (CCA) toolpath curves
We adopt the toolpath data structure of [Zhi et al. 2025a], which is a sequence of planar layers with closed, non-intersecting curves. The adjacent layers are parallel or have a small angle negligible in most operations. We summarize three properties of the toolpath curves in a layer that should be established in such toolpath data structures and preserved in our proposed method:
(a) Closed and non-intersecting. Closed and non-intersecting curves represent the manifold boundaries of a 2D solid volume, which is the result of slicing a 3D solid volume. Appendix A discusses the singularity of point intersections in representing the volume.
(b) Consistent orientation. Intrinsically, a parametric curve has a direction, which also directs the movement of the extruder in 3D printing. Closed and non-intersecting curves can be consistently oriented. We follow the convention to orient the curves counterclockwise (CCW) to create positive volumes and clockwise (CW) to create negative volumes [de Berg et al. 2008; Open Geospatial Consortium 2011; O'Rourke 1998]. For a polygon volume with holes, the outer wall is CCW and the inner walls are CW (when seen from above, from the +z direction). We refer to the continuous 2D volume enclosed by these wall curves as a region. The consistent orientation scheme gives an important property to the curves—the left side of a curve is always the interior of the region. This link between the local
Yefan Zhi and Masoud Akbarzadeh

(a) measurement of sample point overhang
(b) planar view
(c) overhang visualization
(d) overhang distribution
Fig. 4. Overhang can be measured using sample points and visualized as a color-coded mesh. Cumulative frequency allows the quantitative comparison between overhang distributions.
characteristic of curve normal direction and the global property of curve closedness is crucial for polygon clipping, offsetting, and our method of closed curve trimming.
Figure 3 shows an example of such orientation scheme. The wall curves form a hierarchical structure of enclosure, where some curves enclose other curves, which in turn may enclose more curves, etc (see [OpenCV 2016]). Vertically along the hierarchy, the orientation of the curves alternates between CCW and CW. We can thus use depth to determine the orientation of the curves and the associated regions, which is defined as the number of (other) curves that enclose a curve/point. A curve is a CCW outer wall if its depth is even. A point is in a region if its depth is odd.
(c) Aligned orientation across layers. Figure 3 also shows that for a sliced toolpath, the consistent orientation scheme aligns curve directions across layers, even though the type of wall (inner/outer) might not match. The alignment is compatible with continuous printing planning algorithms that create ramps across layers to minimize the number of stop-and-starts in extrusion (for example, see [Bi et al. 2022b; Zhi et al. 2025a; Zhong et al. 2023]). It also gives a crucial criterion for connecting trimmed segments in the post-processing step of our method. Aligned orientation across layers is the natural result of slicing a solid volume. However, for a toolpath without a reference volume, there is not a clear and operational definition for such matching and alignment. For a toolpath with little correlation between adjacent layers, the alignment cannot be assessed. Therefore, in this paper, we assume alignment is given by the consistent orientation scheme and is preserved if, after a sliced toolpath is modified, the segments preserved will still have their orientation unchanged.
In short we say a toolpath is “CCA” if its curves are closed and non-intersecting, consistently oriented, and aligned across layers.
2.2 Local overhang
Overhang takes place when material reaches out horizontally without being adequately supported. To assess the buildability of a printing scheme, [Zhi et al. 2025a] has proposed measuring two types of overhang: local overhang between adjacent layers to avoid plastic collapse and global overhang of the mass across multiple layers to prevent elastic buckling. These criteria are purely geometric and

Fig. 5. A buildable layer in solid/shell printing requires .
independent of material properties and printing parameters such as speed and time, which makes them handy tools for design communication. For a specific material recipe and the associated printing conditions (temperature and humidity), standard tests could be performed to record printable upper bounds of the two types of overhangs for reference.
This paper focuses on the local overhang, since it can be effectively optimized with small local modifications, while the global overhang is more related to the overall shape and topology of the design and usually requires more significant adjustments to be optimized. Hereafter we will refer to local overhang as simply overhang.
Local overhang assesses the support a toolpath point receives from the previous layer. Figure 4 illustrates two adjacent toolpath layers and with a layer thickness of (For slightly angled layers, is the nominal or average thickness). For any toolpath point , find from the previous layer that is closest to 's projection on . is seen as the support point of . The overhang distance of is the distance between and 's projection on . It is the planar offset of from its support point. The dimensionless overhang is the overhang distance divided by the layer thickness, , or the tangent of the overhang angle . In the rest of the paper, we adopt a planar view as in Figure 4b, where all layers are placed in the same space by matching their base planes . The overhang distance of is
By generating equally spaced sample points on the toolpath curves and connecting them with their support points, we can visualize the overhang on a toolpath as a wireframe model. By color-coding the printing visualization mesh M, we can also visualize the overhang as . The distribution of overhang can be represented by the cumulative frequency .
In parallel/non-parallel planar layers, base planes between adjacent layers are aligned such that the next plane is the previous plane translated along its +z direction or rotated about an axis on the plane. This rule prevents unnecessary distortion. Layer thickness t is measured as the length of the trajectory of the plane. For more details, see [Zhi and Akbarzadeh 2025; Zhi et al. 2025a].
2.3 Objective
Given an overhang distance limit (inclusive), all possible points that can be supported by form a set
For layer to be fully supported,
Recall the CCA requirements, we can formalize the overhang optimization problem as the following:
Overhang Optimization Problem. For a CCA toolpath with layers , modify the layers minimally such that
and the new curves are still CCA: (1) closed and non-intersecting, having (2) consistent orientation and (3) aligned orientation across layers.
Denote a zero-centered circle area with radius (inclusive)
where is the center. Eq. (2) is equivalent to the Minkowski sum
is also the region formed by offsetting the boundary curves of by distance with round corners.
3 Closed curve trimming method
While large-format printing usually prints shell surfaces rather than solids for the efficient material use, we introduce the method in both scenarios, since they share the same objective Eq. (4) and the optimization method of shell printing is an extension of the primitive condition of solid printing. To differentiate, we write as in solid printing and in shell printing (Figure 5). In both conditions we optimize the layers sequentially from bottom to top: Each time we assess two adjacent layers and ; Only the upper layer is modified. The rest of this section therefore focuses on two adjacent layers.
3.1 Solid printing
In solid printing of a volume V, we express a toolpath layer as a solid region K. Its boundary is a collection of closed, non-intersecting curves , which are the result of slicing the surface S of the solid volume V and naturally CCA. In the solid printing scenario, we assume the region can be properly filled and only enforce the CCA properties of the boundaries.
As illustrated in Figure 6, the natural strategy to ensure is to trim out the unsupported region and keep the intersection of and ,
which is a polygon clipping operation that can be efficiently computed with graph-based algorithms [Gong et al. 2009; Vatti 1992; Weiler and Atherton 1977] and libraries [Fogel et al. 2026; Johnson 2025]. In the example of Figure 6, the boundary is

Fig. 6. Closed curve trimming for overhang optimization in solid printing is essentially 2D region intersections.
trimmed by the boundary of the supported region . Since the result is still a collection of solid regions and the orientations of the unchanged segments are preserved (the left is still the interior), CCA properties are preserved. Let V and represent the solid 3D volume printed before and after trimming all layers. This strategy always has
and thus we say it uses a material strategy of subtraction.
3.2 Shell printing
In shell printing of a surface S, we express a toolpath layer as a collection of closed, non-intersecting curves . We use a minimal example to illustrate the key idea of the optimization in Section 3.2.1 and provide a complete and operational algorithm in Section 3.2.2.
3.2.1 Minimal example. In the example of Figure 5, is a ring region with one outer wall and one inner wall. We refer to the closed curves of its boundary as palisades. Consider adopting the trimming strategy in Eq. (6), . For a layer that is not fully supported, will include open curves. In the example of Figure 7, the curve in the upper layer is split into four segments by the palisades. Only and are supported and preserved. This breaks the continuity and closedness required. The natural strategy is to connect and with curves inside the region of . We propose using palisade segments in for this purpose, as they, when properly selected, suggest minimal deviation from the trimmed input.
Take as an example: it splits the inner palisade into two segments, on its left side, and on its right side. When we try to extend the end of , we can choose or . They both lead to the start of and are thereby candidates to substitute . Similarly, and are candidates to substitute . Judging by eye, of all four possibilities to form a complete closed curve, we know that is the best choice, as it is closest to both the original curve and a reference well-supported condition illustrated in Figure 5.
To offer a generalized criterion for selecting the best candidate, we look at the orientation of the palisade curves.
Yefan Zhi and Masoud Akbarzadeh

Fig. 7. Closed curve trimming for overhang optimization in shell printing selects palisade connections based on their referenced directions.
-
Since they form regions, they have intrinsic directions (blue) following which the left side is always the interior. They can be solved as in Section 2.1 and are the default result of certain computational geometry libraries.
-
Since they are offset results from the skeleton of , they also have referenced directions (red) parallel to the skeleton. The thin arrows in Figure 7 show the reference source of the palisade segments.
The two directions can be either the same (as for ) or opposite (as for ).
The example of Figure 7 suggests that if we solve the referenced direction of all segments and select those consistent with the supported toolpath segments ( and ) after connection, we can get the desired solution.
3.2.2 Complete algorithm. The complete algorithm, illustrated in Figure 8, offers operational criteria for all corner cases. We break down the steps here and offer additional details in the following subsections.
(1) Take as input the two adjacent layers and as well as the overhang distance limit .
(2) Solve the palisades, which are the results of offsetting the directed curves in by distance to their right side:
Find their intrinsic directions and referenced directions (Section 3.2.3).

Fig. 8. The complete algorithm for overhang optimization in shell printing achieves the objective and preserves the CCA properties.

Fig. 9. The referenced direction of a palisade curve is flipped from its intrinsic direction if it has an odd depth in and is thus inside the region.
(3) Solve intersections between and the palisades. Establish a 4-regular graph G with the edges from the two sources (Section 3.2.4).
(4) Maintain two sets, for collected edges and curves, and for pending ones. For each curve c in , there are three possibilities:
-
c intersects with the palisades. c will be split into at least 2 segments in G. (Seen as not intersecting if there is only one point intersection.) For each segment, if it is supported, add it and its next valid edge in G to (Section 3.2.4).
-
c does not intersect with the palisades. Solve its depth in . It is fully supported if it has an odd depth.
-
If it is fully supported, . Add it to .
-
If it is not fully supported, add it to for further processing to ensure consistent orientation.
(5) Join the segments in . The results will be non-intersecting closed curves only (proven in Section 3.2.4).
(6) For each curve in , find its parallel adjacent curve(s) in . If they are not represented in , add them to to ensure consistent orientation (Section 3.2.5).
(7) Establish a closed curve tree from . Clean it by removing curves breaking the consistent orientation. Collect the curves in the cleaned tree as the final result (Section 3.2.6).
(8) Output the modified layer .
3.2.3 Referenced direction. Referenced directions can be solved in the following way:
-
If a segment is on the right side of the directed skeleton (toolpath curve from the previous layer), its left should be the interior of the region which contains the skeleton. Therefore, its referenced direction is the same as its intrinsic direction.
-
If a segment is on the left side of the directed skeleton, its right should be the interior of the region which contains the skeleton. Therefore, its referenced direction is the opposite of its intrinsic direction.
A segment is on the left side of the directed skeleton if and only if it is inside the region formed by the skeleton curves . Since is the boundary of the region formed by offsetting the curves in , the two sets of closed curves will not intersect, and the referenced directions for palisade segments are consistent in each palisade curve, which can be determined by evaluating that curve's depth in . In one sentence, the referenced direction of a palisade curve is flipped from its intrinsic direction if and only if it has an odd depth in . Figure 9 gives a complex example that validates this simple criterion.
3.2.4 Curve trimming with palisade connections. This subsection discusses the operational steps for trimming the toolpath curves partly supported and connecting them with palisade connections using a graph-based approach, briefly shown in the minimal example

(a) identify a supported edge
(b) for an end vertex, collect the next valid edge
referenced = intrinsic
referenced ≠ intrinsic
(c) a start vertex also has two incident edges collected
Fig. 10. From vertex-level information, supported edges and their next valid edge can be identified.
in Section 3.2.1. It only concerns those toolpath curves that intersect with the palisades.
By solving the intersections between the toolpath curves and the palisades, we form a 4-regular graph G with edges from the two
sources. Say the edges are therefore of two types. Every vertex in G is a crossing vertex, where the two types of edges appear alternately in CCW order. (Touching vertices are ignored in G. Overlapping singularities are handled in Appendix B.) Such a graph can be processed vertex-by-vertex to compute polygon clipping operations, as shown in [Gong et al. 2009; Weiler 1980]. Here we use the vertex-level information to select the supported segments and proper palisade connections.

crossing vertex
touching vertex
For each toolpath curve in split into multiple edges, we can identify if an edge is supported by looking at the palisade edge incident to that is to the left of . is supported if and only if the intrinsic direction of is leaving (Figure 10a). For , the next valid edge is the edge incident to with a referenced direction leaving (Figure 10b). Add and its next valid edge to .
Later all collected edges can be joined to form closed, non-intersecting curves. To prove so, it suffices to show that every vertex in G has exactly two incident edges with consistent directions collected. For a start vertex S (Figure 10c), depending on the referenced direction of the palisade at S, we can find the neighboring supported edge pointing at that palisade and its next valid edge will be pointing at S. Since each vertex has one incident toolpath edge collected, and the number of toolpath edges and palisade edges collected are identical, no other edges other than those highlighted will be collected. The edges can thus be joined at every vertex to form closed curves only. Naturally they are intersection-free.
In our implementation, the selection of these edges and the joining is done in a single pass of depth-first search (DFS) on G.
Yefan Zhi and Masoud Akbarzadeh

Fig. 11. A fully unsupported curve may cause the upper body in subsequent layers to disappear after optimization. With the proposed post-processing, the curve can be represented by a palisade curve to preserve the upper body.

Fig. 12. A fully unsupported curve can be represented using adjacent palisade curves with parallel referenced directions.
3.2.5 Represent fully unsupported curves for consistent orientation. Intuitively, if a curve is fully unsupported, it should be abandoned. However, we prefer to “represent” them somehow using palisade curves in the optimization results because losing a complete curve may (1) cause the upper body in subsequent layers to disappear completely, which is not desired (example in Figure 11); and (2) break the consistent orientations that form regions, causing problem in counting the winding number.
For a curve in , we find its adjacent curve(s) in (Figure 12). They may include one curve outside and some curves inside . Since is out of the region of , the two sides have opposite directions. (Here we assume is the only curve in between them. If not, the consistent orientation has to be restored in the cleaning of the closed curve tree in Section 3.2.6.) Consider a trajectory that passes through the three layers. To maintain the change in the winding number in after the removal of , we find the adjacent side with parallel orientations. If at least one edge from that palisade curve is already in , we assume

Fig. 13. Closed curve tree cleaning will remove curves only when regions are “inconsistent” across adjacent layers.
the winding number is preserved. Otherwise, we collect the entire palisade to represent the unsupported curve . If no such curve exists, we have to simply abandon .
3.2.6 Clean final result for consistent orientation. While the consistent orientation should be preserved in the previous steps, it may be broken for corner cases where the two adjacent toolpath layers have little correlation. To ensure consistent orientation, we build the hierarchical structure of enclosure formed by the closed curves in , known as the closed curve tree. The curves, from exterior to interior, should be alternately oriented CCW and CW. To clean the tree, we traverse it and skip those breaking

the rule. The remaining curves, with consistent orientation, are collected as the final result . In Section 4, none of the collected examples had their curves removed in this cleaning. The cleaning only changes the result for extreme corner cases, one of which is illustrated in Figure 13, where a fully supported curve changes from a CW inner wall to a CCW outer wall and has to be removed.
3.3 Implementation
The proposed algorithm has been implemented in C# as a plugin for Grasshopper® in Rhino®. Polygon offsetting is done with Clipper2 [Johnson 2025]. (All curves are polygons in our implementation. The algorithm applies to any type of curve if the respective offsetting method is available.) Curve intersections, curve-point inclusion, and orientations are solved with native RhinoCommon methods [Robert McNeel & Associates 2026]. The bottleneck of the computation time is the polygon offsetting and curve-related methods. The rest of the algorithm is simple graph search and uses negligible time.
4 Results and applications
We present a series of results in this section and discuss the effects and applications of the algorithm. After optimization, short curves (< 5× layer thickness) are ruled unprintable and culled. Physical experiments verify the printability of the optimized shell printing
Toolpath Overhang Optimization • 9

Fig. 14. Optimized shell printing toolpaths can be printed without overhang issues. Examples printed using PLA with a 0.7 × 2.1 mm extrusion profile.
Table 2. Optimization results show high similarity scores in the perceived area.
| Fig. | Example | #L | #C | #P | τ₀ | US | CL | Length change | Length IoU | Area change | Area IoU | Time | Time / 1k pts |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 15 | (1) Pipe | 24 | 24 | 4835 | 1.5 | ✗ | ✗ | -3.95% | 0.801 | -7.26% | 0.920 | 14 ms | 2.896 ms |
| 1.1 | ✗ | ✗ | -7.75% | 0.667 | -14.92% | 0.830 | 11 ms | 2.275 ms | |||||
| 0.7 | ✗ | ✗ | -17.05% | 0.483 | -28.31% | 0.674 | 9 ms | 1.861 ms | |||||
| (2) Bunny | 64 | 82 | 6973 | 1.5 | ✗ | ✗ | -1.70% | 0.820 | -0.50% | 0.982 | 32 ms | 4.589 ms | |
| 1.0 | ✗ | ✗ | -3.09% | 0.605 | -1.31% | 0.939 | 30 ms | 4.302 ms | |||||
| 17 | (3) Skewer 1 | 74 | 74 | 370 | 1.0 | ✓ | ✗ | -0.10% | 0.779 | +0.31% | 0.940 | 6 ms | 16.216 ms |
| (4) Skewer 2 | 73 | 77 | 5599 | 1.0 | ✗ | ✗ | -3.29% | 0.583 | -2.03% | 0.925 | 21 ms | 3.751 ms | |
| (5) Sculpture | 68 | 138 | 76439 | 1.0 | ✗ | ✗ | -0.09% | 0.831 | +1.54% | 0.971 | 174 ms | 2.276 ms | |
| (6) Sydney Opera House | 91 | 121 | 15958 | 1.0 | ✓ | ✗ | +3.18% | 0.660 | +2.58% | 0.967 | 73 ms | 4.575 ms | |
| (7) St. Mary's Cathedral | 68 | 86 | 10941 | 0.5 | ✗ | ✗ | +2.92% | 0.734 | +3.96% | 0.962 | 42 ms | 3.839 ms | |
| 18 | (8) Schwarz P TPMS Unit | 60 | 164 | 14000 | 1.0 | ✗ | ✗ | +1.54% | 0.736 | -0.87% | 0.948 | 74 ms | 5.286 ms |
| (9) Gyroid TPMS Unit | 60 | 148 | 20866 | 1.0 | ✗ | ✗ | +0.57% | 0.641 | -3.01% | 0.866 | 94 ms | 4.505 ms | |
| (10) Diamond TPMS Unit | 60 | 208 | 29144 | 1.0 | ✗ | ✗ | +5.97% | 0.672 | +2.18% | 0.890 | 152 ms | 5.215 ms | |
| (11) Schwarz P TPMS Infill | 62 | 124 | 11200 | 1.0 | ✗ | ✗ | +2.05% | 0.799 | +0.33% | 0.987 | 47 ms | 4.196 ms | |
| (12) Gyroid TPMS Infill | 62 | 176 | 19733 | 1.0 | ✗ | ✗ | +1.81% | 0.766 | -0.60% | 0.970 | 94 ms | 4.764 ms | |
| (13) Diamond TPMS Infill | 62 | 236 | 26362 | 1.0 | ✗ | ✗ | +5.79% | 0.743 | -0.52% | 0.963 | 154 ms | 5.842 ms | |
| 20 | (14) TopoOpt Design | 36 | 77 | 17987 | 1.0 | ✗ | ✗ | -0.62% | 0.767 | +3.23% | 0.947 | 76 ms | 4.225 ms |
| 21 | (15) Artificial Reef (Average) | 66 | 230 | 52444 | 1.0 | ✗ | ✗ | +0.04% | 0.876 | +4.09% | 0.945 | 419 ms | 7.989 ms |
| ±3.42% | 0.720 | ±4.31% | 0.924 | 85 ms | 4.922 ms |
Note: #L = Number of layers; #C = Number of curves; #P = Number of points; US = Unsupported curves in represented by additional palisades of \partial H_i^{S}_{i-1}; CL = Some curves removed in final cleaning. Time recorded on a laptop with an Intel Core i9-13950HX CPU and 32 GB of RAM.
toolpaths in PLA (Figures 1 and 14), clay (Figure 16), and concrete (Figure 21).
4.1 Shell printing parameters
Table 2 summarizes the shell printing examples and their parameters. To quantify the complexity of the inputs, we collect the number of layers, curves, and polyline points of each example. To assess the change of the optimization, we document the length/area change and the intersection over union (IoU) of both the toolpath curves and the regions enclosed.
The change in length reflects the amount of material added/saved and the change in the area suggests the change in the perceived volume. The IoU is a similarity metric defined as the ratio of the intersection curve/area to the union curve/area of the input and output sets. The dividend of the length IoU is the total length of the segments in that are supported and preserved. While the average length IoU for the examples is 0.72, the average area IoU is 0.95, meaning the optimization preserved the consistent orientation and region conditions, while inducing a very small change to the region areas, thereby making minimal modification to the original design.
The running time of the optimization algorithm rarely exceeds 100ms on the test setup and is relevant to the size of the input (primarily the number of points, on average 5ms per 1000 points).
4.2 Solid vs. shell printing
In the first two sets of examples (Figure 15) we compare the optimization for solid and shell printing. In shell printing, the connection scheme may create volume that protrudes out of the input geometry. Therefore, although we crafted the method using the “subtractive” material strategy, we are also “adding” material when needed. Unlike in solid printing, we don’t necessarily have in shell printing.
Another difference is the effect on inner walls that represent openings of the surface. For Bunny, in solid printing, the bottom opening creates a large unsupported area and, by removing some materials, the optimized version uses a staircase-style closing to support the solid bottom. In shell printing, the hollow bottom is deemed buildable and thus unchanged.
Figure 15 also shows the robust effect of different overhang optimization targets . The cumulative frequency graphs show that
Yefan Zhi and Masoud Akbarzadeh

Fig. 15. Optimizations on solid and shell printing of the same geometry render different results.

Fig. 16. Shell printing of the bunny in clay is made possible by the optimization. Examples printed using EAZAO Potter with a mm extrusion profile.

Fig. 17. Shell printing optimization creates blending and smoothing effects.
the result is strictly upper-bounded by the target . Depending on the shape, the distribution of lower overhangs would also change. Physical experiment with clay (Figure 16) confirms the buildability of the optimized shell printing toolpath.
The rest of this section focuses on shell printing.
4.3 Blending and smoothing effects
Figure 17 provides more shell printing examples from which we observe blending and smoothing effects. Skewer 1 gives a minimal example of a completely unbuildable design. The result creates uniform blended connection between the discontinuous blocks. Skewer 2 and Sculpture show how sharp corners are smoothed out and cantilever features are trimmed (marked). Sydney Opera House offers a smooth shell surface example where the optimization ensures buildability while preserving curvature continuity. St. Mary's Cathedral shows that a creased hyperbolic design sees transitional fillets at its creases to remove extreme inward overhang.
4.4 Triply periodic minimal surface (TPMS) units and infills
Triply periodic minimal surface (TPMS) structures are known for their structural efficiency, maximized area, and lightweight properties [Chai et al. 2026; Yu et al. 2025]. While such geometries might be desirable in high-performance large-format 3D printed structures, their extreme overhangs have required external support schemes or custom post-processings and thus limited their application. Here we test the proposed method on TPMS units and infills to demonstrate its potential for expanding the application of such geometries in large-format 3D printing.
Let denote the wave length of the TPMS. Figure 18 shows TPMS units of three types: Schwarz P, Diamond, and Gyroid. To ensure curve closure, the units are double-sided. In addition, single-sided TPMS patterns that act as infills or supports are included as

Fig. 18. Triply periodic minimal surface (TPMS) toolpaths are optimized to be buildable and sealed.

Fig. 19. FEA shows that TPMS prototypes optimized for buildability maintain structural performance. (To incorporate self weight, is defined as the weight of concrete with the volume of the bounding box of the TPMS samples, and the compression and shear forces are applied proportionally.)
in a box. We adopted a ( ) uniform overhang target. In both units and infills the overhangs are successfully optimized to be under the threshold. The method replaced the red extreme overhang zones with long, continuous ramps without changing the porous topology. It also sealed the open holes caused by slicing. The original symmetric oval holes are transformed to
have raindrop shapes, the classic void shape in porous buildable designs (see [Guo et al. 2017]).
Finite element analysis (FEA) using Intact.Simulation [Intact Solutions 2026] was performed on the TPMS units and infills to assess the structural performance of the optimized results (Figure 19). While the optimized results deviate from the exact minimal surfaces, the FEA result shows that both Gyroid and Diamond prototypes see
Yefan Zhi and Masoud Akbarzadeh

Fig. 20. The optimization method is compatible with structures designed by topology optimization. Compared with the mesh stylization method [Zhi and Akbarzadeh 2025], the proposed method is fast and does not leave unbuildable concave zones.
reduction in the max von Mises stress recorded, suggesting an improvement in structural performance. This might be due to the fact that the raw sliced toolpath has thin or open walls at the horizontal zones, while the optimized results are more continuous and uniform in material thickness. Schwarz P prototypes see mixed changes in compression and shear stress.
4.5 Compatibility with topology optimization
To show the compatibility of the optimization algorithm with existing design/form-finding methods and engage with the precedent studies of overhang-optimized design/form-finding methods (Table 1), we demonstrate the example of a branching structure designed by topology optimization (Figure 20). In [Zhi and Akbarzadeh 2025], this geometry was optimized as a mesh using normal-driven stylization. The upper bound of the overhang was not guaranteed, and the result involves an unbuildable concave zone in the middle. The proposed method optimized the sliced toolpath of the original mesh. The optimized overhang is strictly upper-bounded by the target, and the concave zone is replaced by a continuous, buildable ramp. Using surface reconstruction [Zhi and Akbarzadeh 2025], the optimized toolpath can be converted back to a mesh for further processing and fabrication.
4.6 Internal overhang reduction of a complex toolpath
The last example illustrates how the method optimizes a design with a complex internal structure while preserving its external shape.
Artificial Reef

Fig. 21. The optimization of a porous artificial reef structure shows that the algorithm only modifies extreme overhang regions when necessary and converges back to the original toolpath afterwards. The example is printed using 3D Potter and Sika concrete with a mm extrusion profile.
The porous structure (Figure 21) is designed by embedding a coral-reef-like pattern with branching and folding features in a bounding geometry of a ramp. The overall buildability is fine since the infill pattern is guided to be parallel with the +z direction, but extreme overhang is observed in bridges, cantilever parts, and steep ramps. The toolpath remains almost unchanged in layers 0–26, and sees critical change in layers 27-46 where the extreme overhang regions are replaced by buildable ramps (red vs. green in Figure 21). Finally,
Toolpath Overhang Optimization • 13

Fig. 22. The overfill optimization and smoothing method by [Zhi and Akbarzadeh 2025] reduces the overfilled areas in the overhang-optimized toolpath while introducing little area that exceeds the overhang limit.
in layers 47-65, the optimized layers converge back to the original state. The boundary shape is preserved for the block to act as a tessellation tile with a continuous pattern.
5 Limitations and potential solutions
5.1 Overfilled parts
Since the overhang optimization method adopts a purely graph-based view, it might create overfilled areas and sharp corners that compromise the print quality. We suggest performing overfill optimization and smoothing to post-process the toolpath to enhance print quality (Figure 22). In Appendix C, a sketchy analysis shows that the overhang added in this process is small.
5.2 Planar openings on the print
For functional and aesthetic reasons, sometimes we prefer the print result to be watertight without planar openings. The general idea is that every little segment of curve s in should be either (1) deemed as closed or (2) “inherited” by another segment in that is supported by s. If not, certain palisade curves should be added to . To strictly enforce this without breaking the manifold topology would require point-level offset and dependency tracking and is not compatible with the design of the proposed algorithm.
Here we provide a band-aid solution that only works for certain simple geometries without holes in their sliced regions. Before the final cleaning, we collect any palisade curve c that is the result of offsetting some curve in to its left if none of c's segments are already collected. If c represents a planar opening it will be preserved in the final cleaning. If c is redundant, in the closed curve tree it will be wrapped by another curve that is more generic
and thus removed. This hack would effectively shrink CCW planar openings in the subsequent layers until they are sealed and therefore no curve is further created when offsetting to the left. Figure 1 shows the print result with this method applied.
5.3 Open curves
To expand the algorithm to accommodate open curves that represent a manifold surface, there are two potential directions. The first is to close the open curves by adding temporary segments, run overhang optimization, and open up the results. However, to solve such a scheme without creating intersections is non-trivial and different schemes might give different results. Moreover, the temporary segments might be significantly modified and relied upon, thereby making it impossible to recover the open curves in a buildable way.
Another direction is to “thicken” all curves to be double-sided, run overhang optimization, and solve the linear medial axis of the results. However, the regions enclosed by the double-sided walls might deform to involve branching shapes, making the linear medial axis complex to solve. Furthermore, the medial axis itself does not have a given curve direction and is not guaranteed to be buildable.
It is thus an open question whether the proposed algorithm can be expanded to apply to open curves.
6 Conclusion
We have presented the closed curve trimming method of toolpath overhang optimization for support-free large-format 3D printing. The method applies to bespoke shapes and ensures that the resulting toolpath curves are strictly within the overhang limit while preserving their orientation and preventing intersections.
Its main limitation is that it only applies to closed curves, and that the results are limited by the bottom-up process. If a similar decision protocol can be designed for the top-down direction to add/modify the bottom layers, the algorithm can potentially achieve more balanced results.
Acknowledgments
This work was supported by the National Science Foundation Future Eco Manufacturing Research Grant (NSF, FMRGCMMI2037097).
We acknowledge the designers/authors of the 3D models used in this paper, including Bunny [The Stanford 3D Scanning Repository 1994], Skewer 2 based on [Mitropoulou et al. 2020], Sydney Opera House designed by Jørn Utzon, model by [pcn3dprinting 2020], St. Mary's Cathedral designed by Kenzo Tange, TopoOpt Design [Zhi and Akbarzadeh 2025], and Artificial Reef [Machado Romero et al. 2026]. We thank David Chang and Eazao for the contribution in clay printing experiments. We also thank Amir Motavaselian, Fima Ivanov, and Hadi Rashidi for participating in the concrete printing experiments.
References
Krishnaraj Vilsraj Bhat, Gabriele Capasso, Simone Coniglio, Joseph Morlier, and Christian Gogu. 2022. On some applications of Generalized Geometric Projection to optimal 3D printing. Computers & Graphics 102 (2022), 199–212. doi:10.1016/j.cag.2021.10.006
S. Bhooshan, T. Van Mele, and P. Block. 2018. Equilibrium-aware shape design for concrete printing. In Humanizing Digital Reality - Proceedings of the Design Modelling
Yefan Zhi and Masoud Akbarzadeh
Symposium 2017, K. De Rycke et al. (Ed.). Springer, Paris, 493–508. doi:10.1007/978-981-10-6611-5_42
Minghao Bi, Phuong Tran, Lingwei Xia, Guowei Ma, and Yi Min Xie. 2022a. Topology optimization for 3D concrete printing with various manufacturing constraints. Additive Manufacturing 57 (2022), 102982. doi:10.1016/j.addma.2022.102982
Minghao Bi, Lingwei Xia, Phuong Tran, Zhi Li, Qian Wan, Li Wang, Wei Shen, Guowei Ma, and Yi Min Xie. 2022b. Continuous contour-zigzag hybrid toolpath for large format additive manufacturing. Additive Manufacturing 55 (2022), 102822. doi:10.1016/j.addma.2022.102822
Luca Breseghello and Roberto Naboni. 2022. Adaptive Toolpath: Enhanced Design and Process Control for Robotic 3DCP. Communications in Computer and Information Science (2022). doi:10.1007/978-981-19-1280-1_19
Olga Beatrice Carcassi and Lola Ben-Alon. 2024. Additive manufacturing of natural materials. Automation in Construction 167 (nov 2024), 105703. doi:10.1016/j.autcon.2024.105703
Hua Chai, Mathias Bernhard, Yefan Zhi, Maximilian E. Ororia, and Masoud Akbarzadeh. 2026. Design-to-fabrication workflow for 3D concrete printed structures with embedded periodic anticlastic surfaces. Automation in Construction 185 (2026), 106855. doi:10.1016/j.autcon.2026.106855
Alexander Curth, Natalie Pearl, Angelica Castro-Salazar, Caitlin Mueller, and Lawrence Sass. 2024. 3D printing earth: Local, circular material processing, fabrication methods, and Life Cycle Assessment. Construction and Building Materials 421 (3 2024). doi:10.1016/j.conbuildmat.2024.135714
Chengkai Dai, Charlie C. L. Wang, Chenming Wu, Sylvain Lefebvre, Guoxin Fang, and Yong-Jin Liu. 2018. Support-free volume printing by multi-axis motion. ACM Trans. Graph. 37, 4, Article 134 (jul 2018), 14 pages. doi:10.1145/3197517.3201342
Mark de Berg, Otfried Cheong, Marc van Kreveld, and Mark Overmars. 2008. Computational Geometry: Algorithms and Applications. Springer Berlin Heidelberg. doi:10.1007/978-3-540-77974-2
Efi Fogel, Ophir Setter, Ron Wein, Guy Zucker, Baruch Zukerman, and Dan Halperin. 2026. 2D Regularized Boolean Set-Operations. In CGAL User and Reference Manual (6.1.1 ed.). CGAL Editorial Board. https://doc.cgal.org/6.1.1/Manual/packages.html#PkgBooleanSetOperations2
Andrew T. Gaynor and James K. Guest. 2016. Topology optimization considering overhang constraints: Eliminating sacrificial support material in additive manufacturing through design. Structural and Multidisciplinary Optimization 54, 5 (November 2016), 1157–1172. doi:10.1007/s00158-016-1551-x
Yong-Xi Gong, Yu Liu, Lun Wu, and Yu-Bo Xie. 2009. Boolean Operations on Conic Polygons. Journal of Computer Science and Technology 24 (5 2009). Issue 3. doi:10.1007/s11390-009-9246-z
Xu Guo, Jianhua Zhou, Weisheng Zhang, Zongliang Du, Chang Liu, and Ying Liu. 2017. Self-supporting structure design in additive manufacturing through explicit topology optimization. Computer Methods in Applied Mechanics and Engineering 323 (2017), 27–63. doi:10.1016/j.cma.2017.05.003
Biva Gyawali, Ramtin Haghnazar, Pavan Akula, Kamran Alba, and Vahid Nasir. 2024. A review on 3D printing with clay and sawdust/natural fibers: Printability, rheology, properties, and applications. Results in Engineering 24 (Dec 2024), 103024. doi:10.1016/j.rineng.2024.103024
Shuyi Huang, Weiguo Xu, Ana Anton, and Benjamin Dillenburger. 2024. Self-supporting lamellae: Shape variation methods for the 3D concrete printing of large overhang structures. Additive Manufacturing 91 (July 2024), 104329. doi:10.1016/j.addma.2024.104329
Intact Solutions. 2026. Intact.Simulation for Rhino Grasshopper – Intact Solutions, Inc. [Online; accessed 2026-07-24]. https://intact-solutions.com/intact-simulation-for-rhino-grasshopper/
Jingchao Jiang, Xun Xu, and Jonathan Stringer. 2018. Support Structures for Additive Manufacturing: A Review. Journal of Manufacturing and Materials Processing 2, 4 (2018). doi:10.3390/jmp2040064
Angus Johnson. 2025. Clipper2 - Polygon Clipping and Offsetting Library. https://github.com/AngusJohnson/Clipper2
Matthijs Langelaar. 2016. Topology optimization of 3D self-supporting structures for additive manufacturing. Additive Manufacturing 12 (10 2016). doi:10.1016/j.addma.2016.06.010
Yamin Li, Dong He, Shangqin Yuan, Kai Tang, and Jihong Zhu. 2022. Vector field-based curved layer slicing and path planning for multi-axis printing. Robotics and Computer-Integrated Manufacturing 77 (October 2022), 102362. doi:10.1016/j.rcim.2022.102362
Yu Li, Hao Wu, Xinjie Xie, Liming Zhang, Philip F. Yuan, and Yi Min Xie. 2024. FloatArch: A cable-supported, unreinforced, and re-assemblable 3D-printed concrete structure designed using multi-material topology optimization. Additive Manufacturing 81 (February 2024), 104012. doi:10.1016/j.addma.2024.104012
Wenyu Lin, Li Wang, Zhijian Li, Gang Bai, Qiang Wang, and Yao Qu. 2025. Multi-scale fabrication and challenges in 3D printing of special -shaped concrete structures. Journal of Building Engineering 111, achieving (Oct 2025), 113134. doi:10.1016/j.jobe.2025.113134
Hsueh-Ti Derek Liu and Alec Jacobson. 2021. Normal-Driven Spherical Shape Analogies. Computer Graphics Forum 40, 5 (2021), 45–55. arXiv:https://onlinelibrary.wiley.com/doi/pdf/10.1111/cgf.14356 doi:10.1111/cgf.14356
Andrea Machado Romero, Yefan Zhi, Maximilian E. Ororia, Amir Motavasilian, Mohammad-Reza Alam, Shu Yang, and Masoud Akbarzadeh. 2026. Harnessing Offshore Renewable Energy from High-Intensity Focused Ocean Waves Using 3D-Printed Undulating Porous Structures. In Proceedings of the IASS 2026 Symposium: R-Evolution of Shapes: Sustainability, Re-Use, and new Design Paradigms, A. Manuello Bertetto, S. Gabriele, F. Marmo, and A. Micheletti (Eds.). Turin, Italy, 1–10.
Ioanna Mitropoulou, Mathias Bernhard, and Benjamin Dillenburger. 2020. Print Paths Key-framing: Design for non-planar layered robotic FDM printing. In Proceedings of the 5th Annual ACM Symposium on Computational Fabrication, Emily Whiting, John Hart, Cynthia Sung, Nadya Peek, Masoud Akbarzadeh, Dan Aukes, Adriana Schulz, Hayden Taylor, and Jeeunee Kim (Eds.). Association for Computing Machinery, New York, NY, Virtual Event, USA, 1–10. doi:10.1145/3424630.3425408
Mihir Mogra, Ofer Asaf, Aaron Sprecher, and Oded Amir. 2023. Design optimization of 3D printed concrete elements considering buildability. Engineering Structures 294 (11 2023). doi:10.1016/j.engstruct.2023.116735
Open Geospatial Consortium. 2011. OpenGIS Implementation Standard for Geographic information - Simple feature access - Part 1: Common architecture. OpenGIS Implementation Standard OGC 06-103r4. Open Geospatial Consortium Inc. Corrigendum. http://www.opengis.net/doc/is/sfa/1.2.1
OpenCV. 2016. Contours Hierarchy – OpenCV-Python Tutorials beta documentation. [Online; accessed 2026-06-15]. https://opencv24-python-tutorials.readthedocs.io/en/latest/py_tutorials/py_improcg/py_contours/py_contours_hierarchy/py_contours_hierarchy.html#contours-hierarchy
Joseph O'Rourke. 1998. Computational Geometry in C. Cambridge University Press. doi:10.1017/cbo9780511804120
pcn3printing. 2020. Opera House Magnet holder. https://www.thingiverse.com/thing; 4617977/files
Francesco Pignatelli. 2022. An application- and market-oriented review on large format additive manufacturing, focusing on polymer pellet-based 3D printing. Technical Report to. doi.org/10.1007/s40964-022-00309-3
Robert McNeel & Associates. 2026. RhinoCommon API. [Online; accessed 2026-06-25]. https://developer.rhino3d.com/api/rhinocommon/
G.I.N. Rozvany. 2001. Aims, scope, methods, history and unified terminology of computer-aided topology optimization in structural mechanics. Structural and Multidisciplinary Optimization 21, 2, 90–108. doi:10.1007/s001580050174
The Stanford 3D Scanning Repository. 1994. Stanford Bunny. https://graphics.stanford.edu/data/3Dscanrep/
Bala R. Vatti. 1992. A generic solution to polygon clipping. Commun. ACM 35, 7 (July 1992), 56–63. doi:10.1145/129902.129906
Vertico. 2025. Aevum by Zaha Hadid & Vertico: Concrete Innovation in Architecture. [Online; accessed 2025-12-08]. https://www vertico.com/projects/aevum
Carlos M. S. Vicente. 2023. Large-format additive manufacturing of polymer extrusion-based deposition systems: review and applications. doi:org/10.1007/s40964-023-00397-9
Timothy Wangler, Nicolas Roussel, Freek P. Bos, Theo A.M. Salet, and Robert J. Flatt. 2019. Digital Concrete: A Review. Cement and Concrete Research 123 (9 2019). doi:10.1016/j.cemconres.2019.105780
Xiangzhi Wei, Siqi Qiu, Lin Zhu, Ruiliang Feng, Yaobin Tian, Juntong Xi, and Youyi Zheng. 2018. Toward Support-Free 3D Printing: A Skeletal Approach for Partitioning Models. IEEE Transactions on Visualization and Computer Graphics 24, 10 (oct 2018), 2799–2812. doi:10.1109/TVCG.2017.2767047
Kevin Weiler. 1980. Polygon comparison using a graph representation. ACM SIGGRAPH Computer Graphics 14 (7 1980). Issue 3. doi:10.1145/965105.807462
Kevin Weiler and Peter Atherton. 1977. Hidden surface removal using polygon area sorting. Proceedings of the 4th annual conference on Computer graphics and interactive techniques (7 1977). doi:10.1145/563858.563896
Jianzhuang Xiao, Guangchao Ji, Yamei Zhang, Guowei Ma, Viktor Mechterheine, Jinlong Pan, Li Wang, Tao Ding, Zhenhua Duan, and Shupeng Du. 2021. Large-scale 3D printing concrete technology: Current status and future opportunities. Cement and Concrete Composites 122 (2021), 104115. doi:10.1016/j.cemconcomp.2021.104115
Chenxing Xin, Zheng Li, Liang Hao, and Yan Li. 2023. A comprehensive review on additive manufacturing of glass: Recent progress and future outlook. Materials & Design 227 (Mar 2023), 111736. doi:10.1016/j.matdes.2023.111736
Wenwei Yang, Li Wang, Guowei Ma, and Peng Feng. 2023. An integrated method of topological optimization and path design for 3D concrete printing. Engineering Structures 291 (9 2023). doi:10.1016/j.engstruct.2023.116435
Kun-Hao Yu, Teng Teng, So Hee Nah, Hua Chai, Yefan Zhi, Kun-Yu Wang, Yinding Chi, Peter Psarras, Masoud Akbarzadeh, and Shu Yang. 2025. 3D Concrete Printing of Triply Periodic Minimum Surfaces for Enhanced Carbon Capture and Storage. Advanced Functional Materials 35, 45 (2025), 2509259. doi:10.1002/adfm.202509259
Dao Zhang, Xiaofeng Liu, and Jianrong Qiu. 2020. 3D printing of glass by additive manufacturing techniques: a review. Frontiers of Optoelectronics 14, 3, 263–277. doi:10.1007/s12200-020-1009-z
Tianyu Zhang, Guoxin Fang, Yuming Huang, Neelotpal Dutta, Sylvain Lefebvre, Zekai Murat Kilic, and Charlie C. L. Wang. 2022. S3-Slicer. ACM Transactions on Graphics 41 (11 2022). Issue 6. doi:10.1145/3550454.3555516
Yuying Zhang, Xiaohong Zhu, Muduo Li, Chao Zhang, Yamei Zhang, Xiuli Du, Nemku-mar Banthia, Viktor Mechtcherine, Josephine V. Carstensen, Paulo J. M. Monteiro, and Daniel C. W. Tsang. 2025. 3D printing technology in concrete construction. Nature Reviews Clean Technology 1, 4 (Apr 2025), 288–303. doi:10.1038/s44359-025-00047-z
Yefan Zhi and Masoud Akbarzadeh. 2025. Surface-Toolpath Twins of Shell Components in 3D Concrete Printing for Optimized Buildability and Surface Quality. Journal of the International Association for Shell and Spatial Structures 66, 4 (2025), 226–242. doi:doi:10.20898/j.ias.2025.015
Yefan Zhi, Hua Chai, Teng Teng, and Masoud Akbarzadeh. 2023. Local optimization of self-supporting shell structures in 3D printing: a skeleton method. In Proceedings of the IASS 2023 Symposium: Integration of Design and Fabrication, Y.M. Xie, J. Burry, T.U. Lee, and J. Ma (Eds.). Melbourne, Australia, 1–11.
Yefan Zhi, Hua Chai, Teng Teng, and Masoud Akbarzadeh. 2025a. Automated toolpath design of 3D concrete printing structural components. Additive Manufacturing 100 (2025), 104662. doi:10.1016/j.addma.2025.104662
Yefan Zhi, Maximilian E. Ororbia, Amir Motavasilian, Hua Chai, Andrea Machado Romero, Meizhu Xu, Fang Sun, and Masoud Akbarzadeh. 2025b. Toolpath Optimization for a Post-Tensioned Concrete 3D-Printed Floor Structure. In Adjunct Proceedings of the 10th ACM Symposium on Computational Fabrication. ACM, Cambridge, MA, USA, 1–3. doi:10.1145/3774746.3779257
Fanchao Zhong, Yonglai Xu, Haisen Zhao, and Lin Lu. 2023. As-Continuous-As-Possible Extrusion-Based Fabrication of Surface Models. ACM Trans. Graph. 42, 3, Article 26 (mar 2023), 16 pages. doi:10.1145/3575859
A Touching points in 2D volume boundaries
A touching point in the 2D volume is a point whose neighborhood is divided into multiple parts by the boundaries. The point is either on a self-intersecting boundary curve or on multiple boundary curves that intersect at that point. To form G, we intersect every pair of curves from and , and record the intersections on both curves using

parameters. If a touching point happens to be an intersection, it brings ambiguity in sorting the intersections along a curve and will break the property required in selecting the supported segments and their next valid edges (Figure 10).
In extreme cases, a touching point can be incident to infinitely many edges, making it impractical to minimally adjust the boundary curves before solving G to remove the touching point without creating new intersections. Therefore, in our implementation, we simply assume there are no touching points that happen to be an intersection between and .
B Overlapping singularities in G
When solving G, an overlapping segment instead of a point intersection may occur, especially when the original ramp already has an overhang of . For a crossing overlap, we disentangle one end and place two pseudo vertices without creating a new intersec-

tion. The pseudo vertices mark the overlapping edges which, if collected consecutively, will be collapsed.
When the overlap is touching, we simply ignore it.
C Overhang added in overfill optimization
Overfill happens when the distance between two segments is less than the extrusion width w. Assuming the original toolpath has no overfill, we first optimize its overhang, then perform overfill optimization to reduce the overfilled area.
Here we estimate the overhang added in overfill optimization that exceeds the buildable limit. Consider two parallel segments A and B in that are too close to each other after overhang optimization, with a dis-

tance . It must be the result of one or both segments being offset inward from the raw state. Say is the result of offsetting and is now on . Let denote the distance between and . We have . Overfill optimization then pulls and apart symmetrically to and to have a clearance of .
For now, assume stays unchanged. If is outside , the added overhang will be
If , no overhang is added and the optimized layer is still strictly buildable.
Now consider when is also altered by overfill optimization. The part that supports will most likely be pulled to the same direction, making smaller.
Overfill at sharp corners is resolved by smoothing the corners until they reach the target corner radius, which is typically . After smoothing, the span of the arc is bounded by
The largest added overhang will be at the mid-span. Since the arc bridge is supported on both ends, it can be considered buildable in most printing scenarios.