Skip to content

Suggestion: Add board mount functionality#41

Open
kalj wants to merge 1 commit into
benjiaomodular:mainfrom
kalj:kalj/board-mount
Open

Suggestion: Add board mount functionality#41
kalj wants to merge 1 commit into
benjiaomodular:mainfrom
kalj:kalj/board-mount

Conversation

@kalj

@kalj kalj commented Oct 13, 2025

Copy link
Copy Markdown
Contributor

This is a new feature I have been using extensively for more than a year which is the option to add a mount for a PCB / proto board perpendicular to the panel:

P_20251011_205242

Here is how it is used in the panel file:

boardmount_board = [ 80.01, // length
                     49.53, // width
                     [[3.81, 3.81], 
                      [3.81, -3.81], 
                      [-3.81, 3.81], 
                      [-3.81, -3.81],
                      ],
                     2.5, // hole_diam
                     19, // vertical offset (centered if left out)
                     ];

// for adding stability, not completely necessary
boardmount_wedges =
    [[0, // vertical offset from board mount lower edge
      10 // size of wedge
     ],
     [33,10],
     [75,10],
     ];

Currently, the "wedges" need to be manually positioned to avoid colliding with components on the panel.

Feedback on this feature is welcome!

@benjiao

benjiao commented Oct 21, 2025

Copy link
Copy Markdown
Contributor

That test print is looking good! I initially wanted to add in something like this, and I ran into some adhesion issues so I decided to hold off on it. But if this doesn't affect the other features, I think we can add this in. Just some feedback:

  1. The screw hole definition can be simplified to something like [[5, 5, BOARDMOUNT_HOLE_ALL_CORNERS]]. This is how it's done in YAPPgenerator, https://mrwheel-docs.gitbook.io/yappgenerator_en/standoffs.
  2. If we want to add screw holes manually, those can be defined without the 3rd parameter. ie. [[5, 5], [5, board_height-5] ... ]
  3. Add to examples and/or docs.

Thanks, @kalj.

@kalj

kalj commented Oct 24, 2025

Copy link
Copy Markdown
Contributor Author

Ah, that would be neat for simplifying the screw hole positions. After all, they pretty much always have such a symmetry. I will look into it.

I am thinking about ditching the hole "wedges" thing. I don't think it adds much in terms of stability.

@benjiao

benjiao commented Oct 24, 2025

Copy link
Copy Markdown
Contributor

Screw hole positions

Ah, that would be neat for simplifying the screw hole positions. After all, they pretty much always have such a symmetry. I will look into it.

@kalj Yup! And I find it easier to measure around the edges of the perfboard/pcb with a caliper. One thing I think we can also define is an offset from the panel, to make sure that the board clears any panel-mounted components, while still keeping the coordinate system based on the mounted board.

image

Let me know what you think

Wedges

I am thinking about ditching the hole "wedges" thing. I don't think it adds much in terms of stability.

I can't really comment on it right now without trying it out. I say keep it in as an option, but we don't have to highlight it too much for now. I'll check it out when I finally find the time to do some tinkering with my printer.

@kalj kalj force-pushed the kalj/board-mount branch from ff175fc to 1fa7f83 Compare November 6, 2025 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants