ConvertToLDraw is a Software I created to convert a variety of 3D file formats to the LDraw format.
Here are some of its features:
-load formats with colour and submodels
-edit the colour of subparts and multicolour objects.
-textures are converted to vertex colours.
-3D preview of the part
The software has 3 tabs.
The "Main Part" tab containing the import/export and the metadata settings:
[
attachment=12594]
The "Colours and Subparts" tab here the names and colours of subparts can be changed:
[
attachment=12596]
The "Part Preview" tab shows a 3D view of the main part or a subpart:
[
attachment=12595]
This software is available on GitHub:
https://github.com/Nexusnui/Convert-To-LDraw
I have enabled the issue feature in the GitHub repo and added some issues with features for future versions.
Now, this sounds interesting! Could you please list the supported file formats? There is nothing in the readme. Does it also convert a Studio file back to LDraw maintaining all refs?
w.
(2025-03-14, 20:24)Willy Tschager Wrote: [ -> ]Now, this sounds interesting! Could you please list the supported file formats? There is nothing in the readme. Does it also convert a Studio file back to LDraw maintaining all refs?
w.
I use trimesh to load 3D models and the following file types should work:
*.stl *.3mf *.obj *.off *.ply *.gltf *.glb *.xaml *.stp *.step *.dae
and these filetypes may work:
*.brep *.igs *.iges *.bdf *.msh *.inp *.diff *.mesh
The program should theoretically be able to load anything trimesh can load.
The filetypes I actually tested are: *.stl, *.3mf, *.obj, *.ply
I cannot garanty that all possible variations of these filetypes work.
One problem I have found is, that colour in 3mf files can not be loaded.
(There is an issue about it and I try to fix that in a future version)
(2025-03-14, 23:38)Hageta Wrote: [ -> ]I use trimesh to load 3D models and the following file types should work:
*.stl *.3mf *.obj *.off *.ply *.gltf *.glb *.xaml *.stp *.step *.dae
and these filetypes may work:
*.brep *.igs *.iges *.bdf *.msh *.inp *.diff *.mesh
The program should theoretically be able to load anything trimesh can load.
The filetypes I actually tested are: *.stl, *.3mf, *.obj, *.ply
I cannot garanty that all possible variations of these filetypes work.
One problem I have found is, that colour in 3mf files can not be loaded.
(There is an issue about it and I try to fix that in a future version)
I have added a section about filetypes in the readme.
I just released a short tutorial for the current version(1.3) of ConvertToLDraw
If you want check out what features are planned in future updates, suggest feature or report or bug check out the
Issues on GitHub.
But you can also do that here.
Today I released version 1.4.0 of ConvertToLdraw ->
https://github.com/Nexusnui/Convert-To-L...tag/v1.4.0
New Features:
- Axis and Grid helper in preview
- Options to disable LDraw Scaling and Rotation(useful if your model already uses them)
- Changable Background Colour in Preview
Bug Fixes:
- Some data files of some modules were not included in pyinstaller builds
Additional changes:
- split "File Selection" area into "Save File" and "Load File"
Here is a screenshot showcasing the new preview helpers:
[
attachment=12700]