Visitar URL original
How to export an engineering file, such as a.babylon? Similar to other tools, for example, .blender · Issue #718 · BabylonJS/Editor · GitHub
Skip to content

How to export an engineering file, such as a.babylon? Similar to other tools, for example, .blender #718

Open

Description

@Hidesam

pls

Activity

  1. julien-moreau commented on Nov 10, 2025

    @julien-moreau
    Contributor

    Hey @Hidesam!
    I'm sorry but I'm not sure to understand the question. Do you mean that your first assumption was Babylon.js Editor projects to be embeded in a single .babylon file?

  2. Hidesam commented on Nov 11, 2025

    @Hidesam
    Author

    嘿 !很抱歉,我不确定是否理解这个问题。您的意思是您的第一个假设是将编辑器项目嵌入到单个 .babylon 文件中Babylon.js吗?

    I hope to integrate the assets content into the .babylon file as well. Instead of having separate files for each part, I want to be able to restore everything in a single file. Having separate files would result in many fragmented files. I need to combine them into one. For example, I need to use traditional tsx code to combine the project exported by the editor.

  3. yuripourre commented on Nov 16, 2025

    @yuripourre
    Contributor

    @Hidesam do you mean you have multiple .babylon files and you would like to import them in the same project.

    So the editor can export everything together (in a single file)?

  4. Hidesam commented on Nov 17, 2025

    @Hidesam
    Author

    您的意思是您有多个 .babylon 文件并且您想将它们导入到同一个项目中吗?

    所以编辑器可以一起导出所有内容(在一个文件中)?

    Currently, the exported.babylon files need to be combined with the resources in the "assets/*" folder to restore the engineering scene. I hope that these resource files generated by the editor can also be integrated into the.babylon file. In this way, only one.babylon import is needed to restore the entire scene.

  5. yuripourre commented on Nov 17, 2025

    @yuripourre
    Contributor

    @Hidesam I think I understood!

    Similar to a glb file that has everything needed.

    You want to import a single file that has geometry, textures, materials.

    If you open a single file in another computer you want it to work without any other configuration.

  6. Hidesam commented on Nov 18, 2025

    @Hidesam
    Author

    @Hidesam I think I understood!

    Similar to a glb file that has everything needed.

    You want to import a single file that has geometry, textures, materials.

    If you open a single file in another computer you want it to work without any other configuration.

    Yes, that's right. Thank you, sir.

  7. yuripourre commented on Nov 18, 2025

    @yuripourre
    Contributor

    @Hidesam thank you for confirming!

    @julien-moreau we could think about a "project file" with embedded resources maybe even a glb file with custom metadata that could be imported to the editor.

  8. julien-moreau commented on Nov 23, 2025

    @julien-moreau
    Contributor

    @yuripourre @Hidesam my question would be more "what is the usage of it?".
    Targetting the usage will help to provide the feature

  9. yuripourre commented on Nov 23, 2025

    @yuripourre
    Contributor

    For me the main reason will be when you work on a team, being able to send a single file and someone else open the file without I need to send any additional assets.

    Or when you need to copy to a new computer (render farm, etc.)

  10. Hidesam commented on Nov 24, 2025

    @Hidesam
    Author

    我的问题更多是“它有什么用?”针对使用目标有助于提供该功能

    There are also some other reasons. For instance, I have an engineering management platform. A single file is equivalent to an entire project. It's very convenient for switching, releasing, and managing, etc. Everything is very easy.

  11. julien-moreau commented on Dec 1, 2025

    @julien-moreau
    Contributor

    I'm thinking about a workflow.
    Would it be like Blender where EVERYTHING is packed into a binary file and you work with this binary file? Or it would be just to store/share projects a way that is more easy? Which would just be an option to "pack" the current project with the ability to unpack it later.

    Today having project being "git compliant" (like it is today by default) is something important for existing users. They can't work with only the full binary one as they are several to work on the same project at the same time.

  12. Hidesam commented on Dec 2, 2025

    @Hidesam
    Author

    我在考虑一个工作流程。会像Blender那样,所有内容都打包成二进制文件,然后用这个二进制文件来作吗?还是说只是用一种更简单的方式存储/共享项目?这只是一个“打包”当前项目的选项,之后可以解包。

    如今,项目“git兼容”(就像现在默认的那样)对现有用户来说非常重要。他们不能只用完整的二进制文件,因为两个项目需要同时处理多个项目。

    Sir,I think it could be similar to Blender, where a checkbox is provided during the export process, allowing users to choose whether to include "assets" or not,Of course, it should be based on your own thoughts and deliberations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions