When printed in PETG with 70% infill and 10 walls, it is really strong.
Insert a "Pause" in your slicer on the right height to insert the nut.
To print this I am using:
PrusaSlicer (OrcaSlicer can probably do the same)
Orientation: grip facing up
PETG filament
10 walls
10 solid layers on top and bottom
70% Cubic infill
Layer height: 0.15 mm
A cylindrical support blocker to prevent supports in the shaft and where the nut needs to be placed
Support style: Grid
'Supports on build plate only'
'Thick bridges'
'Extra perimeters on overhangs'
Insert a 'Pause' on the layer where it starts to bridge the top of the nut
Designed in Fusion360, source file included.
Many dimensions can be configured using MODIFY > Change Parameters.
In Fusion360, I am using this solution to import CSV parameters while overwriting existing values:
https://forums.autodesk.com/t5/fusion-support-forum/how-can-i-import-parameters-from-a-csv-and-overwrite-the/m-p/13947650/highlight/true#M212331
The design is inspired on the male version you can order here:
https://www.boottraileronderdeel.nl/search/Draaiknop+M10/
The author marked this model as their own original creation.