Answers.Body: <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>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-04-13T20:53:23.677Z
Answers.Text: Thanks for the rebrickable link.  The pens look great in the instructions and renders.
Answers.UserDisplayName: chicks
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-04-13T17:17:16.530Z
Answers.LastActivityDate: 2021-04-13T17:17:16.530Z
Answers.UserDisplayName: SeeJay719
Answers.Body: <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>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-04-13T17:13:34.043Z
Answers.Text: 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.
Answers.UserDisplayName: SeeJay719
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-02-26T09:00:34.863Z
Answers.LastActivityDate: 2021-02-26T09:00:34.863Z
Answers.UserDisplayName: bb1950328
Body: <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>
  
Tags: <software><ldraw>
Title: Export an object from Blender to LDraw
UserDisplayName: SeeJay719
ThreadText: # 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.  
  
  ---
  
  