Skip to content

Commit

Permalink
Increase height of extrudedHull slice to make it work better
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasf committed Aug 28, 2024
1 parent 154a96e commit b5b5572
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/SwiftSCAD/Operations/Extrude/ExtrudedHull.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public extension Geometry2D {
/// - topShape: The 2D geometry to use as the top shape.
/// - Returns: A 3D convex hull connecting the base and top geometries.
func extrudedHull(height: Double, to topShape: any Geometry2D) -> any Geometry3D {
let sliceHeight = 0.001
let sliceHeight = 0.01

return extruded(height: sliceHeight)
.adding {
Expand Down

0 comments on commit b5b5572

Please sign in to comment.