BeamNG / Blender-JBeam-Editor

Blender plugin to import, modify, and export JBeam.
MIT License
59 stars 4 forks source link

Unable to export to new JBeam file #7

Closed 16yd closed 11 months ago

16yd commented 11 months ago

Addon version: 0.1.4 Blender version: 3.6.5

Here is a JBeam structure I'd like to export: image

I want to be able to use this addon in place of thomatoes50's existing exporter addon (which doesn't allow for the naming of individual nodes), but can't yet do that as this current addon doesn't seem to support exporting brand-new (not imported) JBeams.

On the first export attempt, it produced an incomplete JBeam file containing only the nodes, which I have subsequently been unable to reproduce: image

Every time I try to export it after that, Blender throws the error Imported JBeam file could not be found. Please do not move the imported file while using the JBeam Editor.

angelo234 commented 11 months ago

Yeah currently its only able to export nodes. The reason is in many cases, you can have beams/triangles referencing nodes that aren't part of the same JBeam part/file. So you really need the full vehicle in many cases to handle them. So that's why I haven't supported handling beams/triangles yet. Sorry about that, although in the future, I will be supporting full vehicle importing.

The "Imported JBeam file could not be found. Please do not move the imported file while using the JBeam Editor." means that you cannot move the imported/exported JBeam file. You need to work on it in one place.

16yd commented 11 months ago

Thanks for the reply. Is a single-part export option planned where any beam or triangle referencing nodes not defined in the part is ignored?

angelo234 commented 11 months ago

Hmm, I guess I could have a mode like that. But this would come after full vehicle importing since I'm working on that now :)