# Differences

This shows you the differences between two versions of the page.

 design_guide_hull [2018/02/18 12:13]z3dev created design_guide_hull [2018/06/12 14:33] (current)z3dev 2018/06/12 14:33 z3dev 2018/05/10 15:13 z3dev 2018/05/10 15:11 z3dev 2018/05/10 15:06 z3dev 2018/03/21 10:38 z3dev 2018/02/18 12:13 z3dev created Next revision Previous revision 2018/06/12 14:33 z3dev 2018/05/10 15:13 z3dev 2018/05/10 15:11 z3dev 2018/05/10 15:06 z3dev 2018/03/21 10:38 z3dev 2018/02/18 12:13 z3dev created Line 1: Line 1: ==== Hull ==== ==== Hull ==== - You can convex hull multiple 2D polygons (e.g. circle(), square(), polygon()) together. + Several shapes ​can be combined together to form the convex hull, i.e. sum of the outside shells. This includes irregular shapes such as combining a circle ​with a square. + + //Note: Convex hulls can be viewed as elastic wrapping around several shapes.// + + EXAMPLE + + //​[[https://​en.m.wikipedia.org/​wiki/​Convex_hull|Learn more about convex hull at Wikipedia.org]]//​ ​ - var h = hull( square(10),circle(10).translate([10,10,0]) ) + let h = hull(square(10),​ translate([5, 10, 15], circle(10)))