Cosmos-Keyboards icon indicating copy to clipboard operation
Cosmos-Keyboards copied to clipboard

"OpenCascade Error: 36219752" when generating case/shell

Open osa1 opened this issue 1 year ago • 3 comments

To repro, start with the default keeb and make these changes:

  • Select "5x6"
  • Uncheck "show wrist rest"
  • Switch to "advanced" configurations
  • Set "Pinky modifier key size" = 1u.
  • Set "Last row key count" = No last row.
  • Click on "Download" and download left or right case/shells.

It fails with "OpenCascade Error: 20011240". Browser console isn't any more helpful, it just shows the same error.

osa1 avatar Apr 08 '24 12:04 osa1

The problem seems to be with the "last row key count" setting. If I select anything other than "no last row" it generates.

osa1 avatar Apr 08 '24 12:04 osa1

Ah another day, another OpenCascade error 😁

These don't happen from anything specific you do, just more of an odd combination of settings that trips up the CAD kernel.

If you open the developer console when the model is generating, you'll see the site prints Creating holes just before the error is logged. The next step after creating key holes is punching the connector holes out of the wall. Unlike the preview where the wall is kept as a shell, when exporting the wall is converted to a solid body. This makes OpenCascade stricter about little mishaps in the walls.

Since you say it's tied to the last row key count setting, it's probably something about the walls pinching in by the thumb cluster when those keys are removed that's causing the issue.

rianadon avatar Apr 08 '24 18:04 rianadon