ConvertToLDraw convert 3D models into LDraw pieces


ConvertToLDraw convert 3D models into LDraw pieces
#1
Brick 
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:
   

The "Colours and Subparts" tab here the names and colours of subparts can be changed:
   

The "Part Preview" tab shows a 3D view of the main part or a subpart:
   

This software is available on GitHub:
https://github.com/Nexusnui/Convert-To-LDraw
Reply
RE: ConvertToLDraw convert 3D models into LDraw pieces
#2
Information 
I have enabled the issue feature in the GitHub repo and added some issues with features for future versions.
Reply
RE: ConvertToLDraw convert 3D models into LDraw pieces
#3
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.
LEGO ergo sum
Reply
RE: ConvertToLDraw convert 3D models into LDraw pieces
#4
(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)
Reply
RE: ConvertToLDraw convert 3D models into LDraw pieces
#5
(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.
Reply
RE: ConvertToLDraw convert 3D models into LDraw pieces
#6
I just released a short tutorial for the current version(1.3) of ConvertToLDraw
Reply
RE: ConvertToLDraw convert 3D models into LDraw pieces
#7
If you want check out what features are planned in future updates, suggest feature or report or bug check out the Issues on GitHub.
Reply
RE: ConvertToLDraw convert 3D models into LDraw pieces
#8
But you can also do that here.
Reply
« Next Oldest | Next Newest »



Forum Jump:


Users browsing this thread: 1 Guest(s)