@@ -73,8 +73,8 @@ add_puzzle_generator(
7373 // Slice layers
7474 add_layers(#twists.base_axis, @util/layers.inclusive(h, -h, height))
7575 add_layers(#twists.side_axis, polygon.shallow_cut_depths(width))
76- if #twists.opposite_side_axis != null {
77- add_layers(#twists.opposite_side_axis , @util/layers.opposite_depths(polygon.shallow_cut_depths(width)))
76+ if #twists.side_opposite_axis != null {
77+ add_layers(#twists.side_opposite_axis , @util/layers.opposite_depths(polygon.shallow_cut_depths(width)))
7878 }
7979 }
8080 },
@@ -138,8 +138,8 @@ add_puzzle_generator(
138138 // Slice layers
139139 add_layers(#twists.base_axis, @util/layers.inclusive(h, -h, height))
140140 add_layers(#twists.side_axis, polygon.full_cut_depths(width))
141- if #twists.opposite_side_axis != null {
142- add_layers(#twists.opposite_side_axis , @util/layers.opposite_depths(polygon.full_cut_depths(width)))
141+ if #twists.side_opposite_axis != null {
142+ add_layers(#twists.side_opposite_axis , @util/layers.opposite_depths(polygon.full_cut_depths(width)))
143143 }
144144 }
145145 },
@@ -187,15 +187,15 @@ add_twist_system_generator(
187187 add_twist(base_axis, #sym.thru([1, 0]), gizmo_pole_distance = 1)
188188 add_twist(side_axis, #sym.thru([2, 0]), gizmo_pole_distance = 1)
189189
190- opposite_side_axis = null
190+ side_opposite_axis = null
191191 if n == 3 {
192- opposite_side_axis = add_axis(
193- shape.opposite_side_pole ,
194- shape.opposite_side_names ,
192+ side_opposite_axis = add_axis(
193+ shape.side_opposite_pole ,
194+ shape.side_opposite_names ,
195195 )
196- add_twist(opposite_side_axis , #sym.thru([0, 2]), gizmo_pole_distance = 1)
196+ add_twist(side_opposite_axis , #sym.thru([0, 2]), gizmo_pole_distance = 1)
197197 }
198- export opposite_side_axis
198+ export side_opposite_axis
199199 }
200200
201201 // Add global twist directions
0 commit comments