cleanup fill/shell extrusion. fix hex spacing
This commit is contained in:
parent
8d8e9fdefb
commit
6032b8a794
3 changed files with 17 additions and 28 deletions
|
|
@ -1126,7 +1126,7 @@ var gs_kiri_slice = exports;
|
|||
*/
|
||||
function sparseFillHex(target) {
|
||||
// compute segment lengths (vert/horiz and 45)
|
||||
var spacing = target.offset(),
|
||||
var spacing = target.offset() / 2,
|
||||
vhlen = (1 - target.density()) * 4 + spacing,
|
||||
anxlen = ROUND(Math.cos(30 * DEG2RAD) * vhlen, 7),
|
||||
anylen = ROUND(Math.sin(30 * DEG2RAD) * vhlen, 7),
|
||||
|
|
|
|||
Loading…
Reference in a new issue