3b1b / 3b1b/manim

Render SVG from Draw.io

Open
#671 6 comments 0 reactions 0 assignees View on GitHub
bug SVG
Dominant language
Python
Stars
93.9k
Forks
7.7k
Avg merge
2d 13h
Merged PRs (30d)
4

Description

Hi, I'm trying to display some SVG from Draw.io, but I got some strange results.

I want to use manim for development and programming videos :smile:

The code :

```
class Uml(SVGMobject):
CONFIG = {
"file_name": "/home/necros/Downloads/FormObjects-Models.svg",
"unpack_groups": False
}

class UmlRender(Scene):
def construct(self):
uml = Uml()
uml.scale(5)

self.play(DrawBorderThenFill(uml), run_time=5)
self.wait(5)
```

Expected result :
![2019-08-05-231334_433x377_scrot](https://user-images.githubusercontent.com/15196752/62495665-e2f37080-b7d6-11e9-9ff2-b3046ad6a885.png)

Actual result :

![2019-08-05-231318_916x851_scrot](https://user-images.githubusercontent.com/15196752/62495670-ea1a7e80-b7d6-11e9-9a38-9d1c807bec58.png)

Exemple file : https://filebin.net/vhs2w1zlwbqeadhv/FormObjects-Models__1_.svg?t=byk639bd

In hope you have any idea to help me.

Regards

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.