8. aux_importers¶
-
class
mocha.aux_importers.
SilhouetteImporter
¶ Bases:
object
Implements conversion from Silhouette projects/shapes to mocha project.
-
add_msg
(level, msg)¶
-
do_import
(project=None, clip=None, view=View(0))¶ - Parameters
project (
mocha.project.Project
) – project instance or None if you want to create a new mocha project.clip (
mocha.project.Clip
.) – clip instance or None.view (
mocha.project.View
.) – view instance.
Performs underlying import operation.
-
error
(msg)¶
-
property
messages
¶
-
prepare_importing
(file_contents)¶ - Parameters
file_contents (bytes) – SFX/FXS file contents
Parses SFX/FXS contents.
-
static
read_props
(node)¶
-
warning
(msg)¶
-