Duplo doorhinge geometry fix
Yesterday, 8:25 (This post was last modified: 4 hours ago by Peter Blomberg.)
Yesterday, 8:25 (This post was last modified: 4 hours ago by Peter Blomberg.)
The Duplo door hinge socket ddoorhinge.dat primitive works with doors and windows having a circular bar, but not with those having a half-square bar.
Picture1.png (Size: 3.24 KB / Downloads: 48)
Picture2.png (Size: 2.91 KB / Downloads: 48)
Upon examination of many parts with door hinges, older and newer, used and unused, I found that the curvature causing the clipping effect is limited to the upper fourth of the shape and that there is a dent roughly at half the height, both contributing to the slightly inward-leaning visual effect apparent when viewing from a distance. I propose that the curvature is modified.
Additionally, the outside slope is straight rather than bent and the height of the base is closer to a third of the shape height than a sixth. I propose that the base is increased to 1.8 LDU and that the outside slope is made straight.
Upon examining a large number of doors and windows, I observed that the bar part is 0.5 (up to 0.60) LDU thinner than previously modeled. All physical parts also have an approximately 0.5 LDU rounding of the corners, which is typically not modeled. However, I do not propose a change to the commonplace 5 LDU half-square geometry.
Here is the proposed new shape for the hinge socket.
Picture3.png (Size: 3.18 KB / Downloads: 48)
The image shows the ddoorhinge.dat primitive in red (back), the truncated door hinge 2207s02.dat in green (middle) and the proposed new shape in orange (front). The green version has vertical insides, i.e. no curvature for keeping the bar part of the window in place.
ddoorhingesocket.dat (Size: 517 bytes / Downloads: 0)
ddoorhingesockethalf.dat (Size: 1.92 KB / Downloads: 0)
The reworked ddoorhingesocket.dat would then still be clashing a little, but as Magnus points out, the 0.5 LDU clash is next to nothing. This way we do not need to touch any of the existing doors.
Based on 2207s02.dat and 51695s02.dat, I propose the below solution for the truncated version of the hinge.
Picture5.png (Size: 2.18 KB / Downloads: 11)
dtruncateddoorhingesocket.dat (Size: 679 bytes / Downloads: 0)
Perhaps a hinge primitive for future doors as well?
ddoorhinge2.dat (Size: 1.08 KB / Downloads: 0)


Upon examination of many parts with door hinges, older and newer, used and unused, I found that the curvature causing the clipping effect is limited to the upper fourth of the shape and that there is a dent roughly at half the height, both contributing to the slightly inward-leaning visual effect apparent when viewing from a distance. I propose that the curvature is modified.
Additionally, the outside slope is straight rather than bent and the height of the base is closer to a third of the shape height than a sixth. I propose that the base is increased to 1.8 LDU and that the outside slope is made straight.
Upon examining a large number of doors and windows, I observed that the bar part is 0.5 (up to 0.60) LDU thinner than previously modeled. All physical parts also have an approximately 0.5 LDU rounding of the corners, which is typically not modeled. However, I do not propose a change to the commonplace 5 LDU half-square geometry.
Here is the proposed new shape for the hinge socket.

The image shows the ddoorhinge.dat primitive in red (back), the truncated door hinge 2207s02.dat in green (middle) and the proposed new shape in orange (front). The green version has vertical insides, i.e. no curvature for keeping the bar part of the window in place.


The reworked ddoorhingesocket.dat would then still be clashing a little, but as Magnus points out, the 0.5 LDU clash is next to nothing. This way we do not need to touch any of the existing doors.
Based on 2207s02.dat and 51695s02.dat, I propose the below solution for the truncated version of the hinge.


Perhaps a hinge primitive for future doors as well?
