Hello together,
In case anyone is interested here I extended an original implementation from Danny Staple that allows converting LDraw model or part files into OpenSCAD files. The tool to do so can be found at https://github.com/orionrobots/ldraw-to-scad or as an installable PyPi package at https://pypi.org/project/ldraw-to-scad/ . I also translated the whole parts library to OpenSCAD files. The automatically translated files can be found at https://github.com/schiele/openscad-ldraw .
Note that the parts in the LDraw library are typically non-manifold, meaning that you will experience some trouble when generating solids out of those models. Rendering images should work easily though.
In case anyone is interested here I extended an original implementation from Danny Staple that allows converting LDraw model or part files into OpenSCAD files. The tool to do so can be found at https://github.com/orionrobots/ldraw-to-scad or as an installable PyPi package at https://pypi.org/project/ldraw-to-scad/ . I also translated the whole parts library to OpenSCAD files. The automatically translated files can be found at https://github.com/schiele/openscad-ldraw .
Note that the parts in the LDraw library are typically non-manifold, meaning that you will experience some trouble when generating solids out of those models. Rendering images should work easily though.