3b1b / 3b1b/manim

Unsupported element type

未關閉
#1,904 14 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Python
星號
93.9k
分支
7.7k
平均合併
2 天 13 小時
30 天內合併 PR
4

描述

### Describe the error

The arrows can't be displayed correctly. There is only a tip on top.
### Code and Error
**Code**:

manimgl vex.py

**Error**:

WARNING You may be using Windows platform and have not specified the path of `temporary_storage`, which may cause OSError. So it is recommended to specify the config.py:232
`temporary_storage` in the config file (.yml)
WARNING Unsupported element type: svg_mobject.py:174
WARNING Unsupported element type: svg_mobject.py:174
WARNING Unsupported element type: svg_mobject.py:174
WARNING Unsupported element type: svg_mobject.py:174
WARNING Unsupported element type: svg_mobject.py:174
WARNING Unsupported element type: svg_mobject.py:174
WARNING Unsupported element type: svg_mobject.py:174
WARNING Unsupported element type: svg_mobject.py:174
0 WriteText: 40%|#####################################################6 | 12/30 [00:00<00:00, 28.87it/s]
(process:19896): GLib-GIO-WARNING **: 20:46:50.113: Unexpectedly, UWP app `Clipchamp.Clipchamp_2.5.5.0_neutral__yxz26nhyzhsrt' (AUMId `Clipchamp.Clipchamp_yxz26nhyzhsrt!App') supports 41 extensions but has no verbs
[20:47:00] INFO Tips: Now the embed iPython terminal is open. But you can't interact with the window directly. To do so, you need to type `touch()` or `self.interact()` scene.py:152
Python 3.8.0 (tags/v3.8.0:fa919fd, Oct 14 2019, 19:37:50) [MSC v.1916 64 bit (AMD64)]
Type 'copyright', 'credits' or 'license' for more information
IPython 8.6.0 -- An enhanced Interactive Python. Type '?' for help.

### Environment
**OS System**: Windows 11
**manim version**: master 1.6.1
**python version**: 3.8

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

此問題是關於在 svg_mobject.py 第174行出現不支援的元素類型 'svgelements.svgelements.Use' 的 SVG 解析警告。先檢查 vex.py 中使用的 SVG 檔案,查看有哪些 Use 元素。查看 manim/svg/svg_mobject.py 在第174行附近的 SVG 解析邏輯,以了解不同元素類型如何處理。目標是擴展對 Use 元素的支援,讓箭頭正確顯示。

由索引模型根據 Issue 內容生成。

評估

領域
computer-graphics
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。