Add x_offset, y_offset for making small alignment tweaks.
A bit hacky, but sometimes the honeycombs make an ugly pattern along the perimeter and you'd like to nudge it a little.
This commit is contained in:
parent
35113c9a79
commit
244ae02c41
1 changed files with 3 additions and 0 deletions
|
@ -84,6 +84,8 @@ module interior_honeycomb(
|
|||
x_span,
|
||||
y_span,
|
||||
perimeter,
|
||||
x_offset=0,
|
||||
y_offset=0,
|
||||
rotate=0,
|
||||
center=false
|
||||
)
|
||||
|
@ -98,6 +100,7 @@ module interior_honeycomb(
|
|||
intersection()
|
||||
{
|
||||
rotate([0, 0, rotate])
|
||||
translate([x_offset, y_offset])
|
||||
honeycomb_mesh(outer_radius, inner_radius, x_span, y_span, center=center);
|
||||
children();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue