Skip to content

[BUG]: Clamshell Item Holder has wrong MultiConnect spacing, when parts are narrow (small internal depth) #123

@axodentally

Description

@axodentally

Hi, first of thanks for this amazing project!

I found a bug, when trying to generate Clamshell Style item holders with MultiConnect points and small widths for the clamshells itself.

Working Example:

So for example with Underware_Item_Holder_Clamshell_Style.scad and the Settings:

Settings

mounting surface: opengrid (though same bug for MultiBoard as well)
internal depth: 22
total Item width: 50

not changed from standard:
internal width: 60
internal height: 15

Results

I get correct spacing between the horizontal points:
Image

And the vertical points:
Image

Broken Example

Now, lets change the internal depth to 17, instead of 22

Settings

mounting surface: opengrid
internal depth: 17
total Item width: 50

Results

Vertical spacing is wrong
Image

Item spacing itself, however, is still correct:
Image

leading to two clamshell parts that do not fit.

Problem

The problem seems to be, that when the internal depth is too small and the two clamshell parts (correctly) move farther away from one another, to compensate for the missing space, the MultiConnect points move with them, but actually should stay at the same position in space.
As one can see, when such a "lip" is generated, the lip is exactly 5mm deep (or high..), so double that we have the wrong offset of 10mm, that was observable earlier:

Image

So somehow those MultiConnect points need to be fixed in space, while the rest of the part moves. And with that, sometimes the part probably does not need that lip at all, since it was only thought to be needed, because of the MultiConnect Points being so close to the edge. With those points however, not being close to that edge any more, the part itself can be much smaller (narrower).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions