@emailists
I assume you live in the US. My post only applies if you live in the US.
If you use Romex, (Romex is a Trade Name for NM sheathed cable), it is not designed or manufactured, or UL Listed, for use as you would like to do as basically a power cord extending from the wall electrical box. I only point that out so you know what most likely the electrical governing body in your area allows. (The AHJ, Authority Having Jurisdiction.)
With that out of the way.
Solid core #10 copper wire is pretty stiff and resists bending. Care would need to be taken when/if there is any bending at the IEC female connector. Any movements can, will, cause the tightness of the #10 solid wire to the mechanical lug terminations of the IEC connector to loosen. (It’s just the nature of a solid wire terminated in a mechanical lug). The only way to maintain a tight secure connection would be to solder the wire to the mechanical lug connection after mechanically tightening the connection first.
IF you want to meet electrical safety codes in your area you could cut/remove the plug off a good quality after market power cord and hard wire the conductors from the cord to the #10 solid copper branch circuit wires in the electrical wall box. Use spring wire electrical connectors. Nothing in the NEC Prohibits it providing the conductors in the power cord are rated for the ampacity of the branch circuit breaker.
You would need to install an extension box to the flush electrical wall box. You would need to install an approved strain relief cord connector to connect the power cord to the extension box.
Last but not least I would highly recommend you hire an electrician to do the job. He/she will know what is required/allowed by the AHJ in your area.
Example of a spring wire electrical connector.
https://www.homedepot.com/p/Ideal-Twister-Wire-Connectors-341-Tan-100-Per-Package-30-341P/202894284?...
I assume you live in the US. My post only applies if you live in the US.
If you use Romex, (Romex is a Trade Name for NM sheathed cable), it is not designed or manufactured, or UL Listed, for use as you would like to do as basically a power cord extending from the wall electrical box. I only point that out so you know what most likely the electrical governing body in your area allows. (The AHJ, Authority Having Jurisdiction.)
With that out of the way.
Solid core #10 copper wire is pretty stiff and resists bending. Care would need to be taken when/if there is any bending at the IEC female connector. Any movements can, will, cause the tightness of the #10 solid wire to the mechanical lug terminations of the IEC connector to loosen. (It’s just the nature of a solid wire terminated in a mechanical lug). The only way to maintain a tight secure connection would be to solder the wire to the mechanical lug connection after mechanically tightening the connection first.
IF you want to meet electrical safety codes in your area you could cut/remove the plug off a good quality after market power cord and hard wire the conductors from the cord to the #10 solid copper branch circuit wires in the electrical wall box. Use spring wire electrical connectors. Nothing in the NEC Prohibits it providing the conductors in the power cord are rated for the ampacity of the branch circuit breaker.
You would need to install an extension box to the flush electrical wall box. You would need to install an approved strain relief cord connector to connect the power cord to the extension box.
Last but not least I would highly recommend you hire an electrician to do the job. He/she will know what is required/allowed by the AHJ in your area.
Example of a spring wire electrical connector.
https://www.homedepot.com/p/Ideal-Twister-Wire-Connectors-341-Tan-100-Per-Package-30-341P/202894284?...