Hyperspeedcube icon indicating copy to clipboard operation
Hyperspeedcube copied to clipboard

Error cutting piece on one of two equivalent shape definitions

Open Sonicpineapple opened this issue 1 year ago • 0 comments

TestA works fine, but TestB has error cutting piece

common = require('common')

puzzledef{
  id = 'testA',
  name = "testA",
  ndim = 4,

  build = function()
    for v in cd{4, 3, 3}:expand('xoxo') do
      carve(v)
      -- slice{normal=v,distance=0}
      add_color(v)
    end
  end,
}
puzzledef{
  id = 'testB',
  name = "testB",
  ndim = 4,

  build = function()
    for v in cd{3, 3, 4}:expand('oxox') do
      carve(v)
      -- slice{normal=v,distance=0}
      add_color(v)
    end
  end,
}

This happens in v2.0.0-pre.6

Sonicpineapple avatar Jan 03 '24 04:01 Sonicpineapple