Skip to content

Commit b015a65

Browse files
committed
Fix edge connector + ClickGroove
Fixes #35
1 parent 4772ddb commit b015a65

3 files changed

Lines changed: 4 additions & 1 deletion

File tree

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,9 @@ This connector is a good alternative to the intersection puzzle if the plate has
135135
<!-- openscad -o docs/images/edge-puzzle.png --camera=0,30,0,40,0,25,300 -D plate_size='[420, 420]' -D connector_intersection_puzzle=false -D connector_edge_puzzle=true -D magnets=true -->
136136
<img src="docs/images/edge-puzzle.png" alt="Edge puzzle" />
137137

138+
<!-- regression tests: -->
139+
<!-- openscad -o docs/images/edge-puzzle-clickgroove.png --camera=0,0,0,10,0,10,400 -D plate_size='[168, 168]' -D bed_size='[100,100]' -D connector_intersection_puzzle=false -D connector_edge_puzzle=true -D click=true -D click_style=1 -->
140+
138141
#### Connector Height
139142

140143
The edge puzzle connector height can be configured using the `edge_puzzle_height_female` property. The male connector is smaller than this option by `edge_puzzle_height_male_delta`.
98.3 KB
Loading

gridflock.scad

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ module cell(unit_size=[1, 1], connector=[false, false, false, false], bottom_cha
294294
size = [BASEPLATE_DIMENSIONS.x*unit_size.x, BASEPLATE_DIMENSIONS.y*unit_size.y];
295295
difference() {
296296
union() {
297-
enable_clickgroove = function(direction) bottom_chamfer_takes[direction] < clickgroove_wall_strength;
297+
enable_clickgroove = function(direction) positive && bottom_chamfer_takes[direction] < clickgroove_wall_strength && !(connector_edge_puzzle && connector[direction] && (direction == _SOUTH || direction == _WEST));
298298

299299
difference() {
300300
translate([-size.x/2, -size.y/2, -_extra_height]) cube([size.x, size.y, _total_height]);

0 commit comments

Comments
 (0)