You can use my tool Convert To LDraw to convert various 3D file formats to an LDraw Part.
It can convert stl, obj, step, 3mf and more. It also supports colours and multipart models (to a certain degree).
It can convert stl, obj, step, 3mf and more. It also supports colours and multipart models (to a certain degree).