I have modeled a custom part in Blender and I would like to get it into LDraw format for use in LDCad and LPub3D.
I don't know much about 3D formats, but Blender can export collada, alembic, fbx, gltf 2.0, wavefront, and x3d.
I don't need the part to properly use LDraw primitives for my purposes (and I imagine that kind of conversion isn't possible), but just to convert the mesh into the sort of tris and quads that ldraw can understand.