<p>In the end, I exported from blender to STL file and used <a href="http://marc.klein.free.fr/lego/stl2dat/stl2dat.html" rel="nofollow noreferrer">http://marc.klein.free.fr/lego/stl2dat/stl2dat.html</a> to convert to DAT. The final result worked well, and you can see the custom part used alongside regular ldraw parts in the build instructions here: <a href="https://rebrickable.com/mocs/MOC-68128/seejay/glittering-viper-rainbow-bears-starfighter/#details" rel="nofollow noreferrer">https://rebrickable.com/mocs/MOC-68128/seejay/glittering-viper-rainbow-bears-starfighter/#details</a></p>
<p>The ldraw model was built in LDCad and the instructions were built in LPub3d.</p>

CC BY-SA 4.0
2021-04-13T20:53:23.677Z
Thanks for the rebrickable link.  The pens look great in the instructions and renders.
chicks
CC BY-SA 4.0
2021-04-13T17:17:16.530Z
2021-04-13T17:17:16.530Z
SeeJay719
<p>I think LDPartEditor can do what you want.</p>
<p><a href="https://nilsschmidt1337.github.io/ldparteditor/" rel="nofollow noreferrer">https://nilsschmidt1337.github.io/ldparteditor/</a></p>

CC BY-SA 4.0
2021-04-13T17:13:34.043Z
Thanks for your answer. I somehow missed it at the time. I ended up not using that approach, but worth exploring. I'll answer the question with what I ended up doing.
SeeJay719
CC BY-SA 4.0
2021-02-26T09:00:34.863Z
2021-02-26T09:00:34.863Z
bb1950328
<p>I have modeled a custom part in Blender and I would like to get it into LDraw format for use in LDCad and LPub3D.</p>
<p>I don't know much about 3D formats, but Blender can export collada, alembic, fbx, gltf 2.0, wavefront, and x3d.</p>
<p>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.</p>

<software><ldraw>
Export an object from Blender to LDraw
SeeJay719
# Export an object from Blender to LDraw

(Asked by: username_0 on 2021-02-10)

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.

**Tags:** software, ldraw


---

## 2 answers

### Answer by username_0 on 2021-04-13. Score: 3 | Accepted answer

In the end, I exported from blender to STL file and used <http://marc.klein.free.fr/lego/stl2dat/stl2dat.html> to convert to DAT. The final result worked well, and you can see the custom part used alongside regular ldraw parts in the build instructions here: <https://rebrickable.com/mocs/MOC-68128/seejay/glittering-viper-rainbow-bears-starfighter/#details>

The ldraw model was built in LDCad and the instructions were built in LPub3d.

> **Comments:**
> **username_1**: Thanks for the rebrickable link.  The pens look great in the instructions and renders.  

---

### Answer by username_2 on 2021-02-26. Score: 2

I think LDPartEditor can do what you want.

<https://nilsschmidt1337.github.io/ldparteditor/>

> **Comments:**
> **username_0**: Thanks for your answer. I somehow missed it at the time. I ended up not using that approach, but worth exploring. I'll answer the question with what I ended up doing.  

---

