mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-15 16:16:00 +08:00
Add style to a variable in X3Reader
This commit is contained in:
parent
c738f306fb
commit
8afc49e902
@ -2,6 +2,7 @@
|
|||||||
# Cura is released under the terms of the LGPLv3 or higher.
|
# Cura is released under the terms of the LGPLv3 or higher.
|
||||||
|
|
||||||
from math import pi, sin, cos, sqrt
|
from math import pi, sin, cos, sqrt
|
||||||
|
from typing import Dict
|
||||||
|
|
||||||
import numpy
|
import numpy
|
||||||
|
|
||||||
@ -42,7 +43,7 @@ class X3DReader(MeshReader):
|
|||||||
def __init__(self) -> None:
|
def __init__(self) -> None:
|
||||||
super().__init__()
|
super().__init__()
|
||||||
self._supported_extensions = [".x3d"]
|
self._supported_extensions = [".x3d"]
|
||||||
self._namespaces = {}
|
self._namespaces = {} # type: Dict[str, str]
|
||||||
|
|
||||||
# Main entry point
|
# Main entry point
|
||||||
# Reads the file, returns a SceneNode (possibly with nested ones), or None
|
# Reads the file, returns a SceneNode (possibly with nested ones), or None
|
||||||
|
Loading…
x
Reference in New Issue
Block a user