First of all, this was very helpful to see where the relevant placement options are.
I have moved over the button to the appropriate place by shifting it 5mm.
I still have a bit of curiosity about a point though. If you look at my original attempt at the top of the post, where I used pads and pockets on the face of the base, I used construction lines with symmetry constraints to locate these features in the properly centred position. If I decided to resize the base, then the pad/pocket would move also.
- The way the sketch is currently attached to the base, I will need to remember to update the placement manually if I change the size of the base. Is there a way to attach the new sketch to the base in a way that would resist size changes? I'm thinking that the way I applied construction lines to the face originally was probably the right tac, but then I'd have to erect that sketch001 at 90 degrees to the face somehow.
- I guess this would go likewise for the placement of the construction line used for mirroring in TheMarkster's solution.
- I need to cut a ring out of the bottom of the base as well to match the button above. I have used the pocket feature with external geometry. It looks like I need to do this for each side separately. Was there a sensible way to avoid this doubling up?
- Using the pocket feature, on one side, I tried using the "type": "to first" option, which looked correct, but when I tried to "OK", I got this error about multiple solids. If instead i used the "type": "dimension" and put in the actual thickness of the base, it seemed to work. This method seems weak though as it would brek if I changed the thickness of the base? Was there another way to cut out this chunk?
Many thanks again
Alastair