Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
blender-addons-contrib
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
blender
blender-addons-contrib
Commits
dff14c58
Commit
dff14c58
authored
4 years ago
by
Sebastian Sille
Browse files
Options
Downloads
Patches
Plain Diff
Signed-off-by: Sebastian Sille <nrgsille@gmx.de>
parent
f2f4a8b3
No related branches found
No related tags found
No related merge requests found
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
io_scene_3ds/__init__.py
+11
-7
11 additions, 7 deletions
io_scene_3ds/__init__.py
io_scene_3ds/export_3ds.py
+437
-191
437 additions, 191 deletions
io_scene_3ds/export_3ds.py
io_scene_3ds/import_3ds.py
+493
-316
493 additions, 316 deletions
io_scene_3ds/import_3ds.py
with
941 additions
and
514 deletions
io_scene_3ds/__init__.py
+
11
−
7
View file @
dff14c58
...
...
@@ -20,9 +20,9 @@
bl_info
=
{
"
name
"
:
"
Autodesk 3DS format
"
,
"
author
"
:
"
Bob Holcomb, Campbell Barton, Andreas Atteneder
"
,
"
version
"
:
(
2
,
0
,
0
),
"
blender
"
:
(
2
,
8
0
,
0
),
"
author
"
:
"
Bob Holcomb, Campbell Barton, Andreas Atteneder
, Sebastian Schrand
"
,
"
version
"
:
(
2
,
1
,
0
),
"
blender
"
:
(
2
,
8
2
,
0
),
"
location
"
:
"
File > Import
"
,
"
description
"
:
"
Import 3DS, meshes, uvs, materials, textures,
"
"
cameras & lamps
"
,
...
...
@@ -86,6 +86,12 @@ class Import3DS(bpy.types.Operator, ImportHelper):
default
=
True
,
)
read_keyframe
:
bpy
.
props
.
BoolProperty
(
name
=
"
Read Keyframe
"
,
description
=
"
Read the keyframe data
"
,
default
=
True
,
)
def
execute
(
self
,
context
):
from
.
import
import_3ds
...
...
@@ -147,8 +153,7 @@ def menu_func_import(self, context):
def
register
():
bpy
.
utils
.
register_class
(
Import3DS
)
# TODO: Restore export
# bpy.utils.register_class(Export3DS)
bpy
.
utils
.
register_class
(
Export3DS
)
bpy
.
types
.
TOPBAR_MT_file_import
.
append
(
menu_func_import
)
bpy
.
types
.
TOPBAR_MT_file_export
.
append
(
menu_func_export
)
...
...
@@ -156,8 +161,7 @@ def register():
def
unregister
():
bpy
.
utils
.
unregister_class
(
Import3DS
)
# TODO: Restore export
# bpy.utils.unregister_class(Export3DS)
bpy
.
utils
.
unregister_class
(
Export3DS
)
bpy
.
types
.
TOPBAR_MT_file_import
.
remove
(
menu_func_import
)
bpy
.
types
.
TOPBAR_MT_file_export
.
remove
(
menu_func_export
)
...
...
This diff is collapsed.
Click to expand it.
io_scene_3ds/export_3ds.py
+
437
−
191
View file @
dff14c58
This diff is collapsed.
Click to expand it.
io_scene_3ds/import_3ds.py
+
493
−
316
View file @
dff14c58
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment