Code Monkey home page Code Monkey logo

Comments (9)

clementpoiret avatar clementpoiret commented on May 25, 2024 1

Amazing! :D
I tried and it works as expected.

Thanks for your reactivity and the explanation!

from manim_editor.

christopher-besch avatar christopher-besch commented on May 25, 2024

I'll look at it, but I might not finish it today.

from manim_editor.

christopher-besch avatar christopher-besch commented on May 25, 2024

I failed to replicate the problem. I ran manim --save_sections hsf.py Segmentation and then manim_editor in the same directory. In the Manim Editor I selected create a new project, called it HSF, selected the Segmentation scene and confirmed.
Then I got to see this:
image

Did you do anything differently?

from manim_editor.

clementpoiret avatar clementpoiret commented on May 25, 2024

Hmm that's strange.
Here is my full folder after running manim --save_sections hsf.py, as you can see, nothing is found by manedit

HSF.tar.gz

2021-11-22 09 57 19 localhost c4db016ee442

from manim_editor.

clementpoiret avatar clementpoiret commented on May 25, 2024

By exporting only with manim --save_sections hsf.py Segmentation (like you did), manedit works as expected, showing the project. I personnaly exported all but BaseHsf, and tried to create a project on manedit with either all sections, or only one (in the case I uploaded in previous post, only preprocessing)

from manim_editor.

christopher-besch avatar christopher-besch commented on May 25, 2024

Hmm that's strange.
Here is my full folder after running manim --save_sections hsf.py, as you can see, nothing is found by manedit

HSF.tar.gz

2021-11-22 09 57 19 localhost c4db016ee442

After rendering with Manim, there shouldn't be any project folders. So this is the expected behaviour. They only get created when creating one with the Manim Editor.
Or am I misunderstanding something?

PS: I currently can't take a look at the tar.gz I'll do that later today.

from manim_editor.

clementpoiret avatar clementpoiret commented on May 25, 2024

Oops sorry, I should have been unclear. Yes, I know that manim doesn't create the project, it's created by manedit.
But, when I export only one section using manim (like you did), I can create a project and see it on manedit. So I can replicate what you did.
However, when I export everything with manim (actually all but not the BaseHsf), manedit creates the project but I can't see it in the project selection page

from manim_editor.

christopher-besch avatar christopher-besch commented on May 25, 2024

Copy that.
I'll look into it later today.

from manim_editor.

christopher-besch avatar christopher-besch commented on May 25, 2024

I managed to reproduce the problem and fixed it. Could you check v0.3.5 and see if it's still there? Feel free to close the issue when everything is resolved.

And don't sorry for opening many issues; this kind of feedback is exactly what I need.
Thanks a lot again!

PS: If you're interested in knowing what caused this: I'm using JSON Schema files to check if a project.json really belongs to a Manim Editor project. These schemas contain information on how the different fields in the JSON should look like. You can create these schema files from an example JSON, which I've done. The problem was that the duration of all sections in that example were integers. So the Schema set that as the type for the duration parameter. Your example has a float somewhere though, so it just refused to load.

from manim_editor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.