Import Scene Operators

bpy.ops.import_scene.autodesk_3ds(filepath="", filter_glob="*.3ds", constrain_size=10.0, use_image_search=True, use_apply_transform=True, axis_forward='Y', axis_up='Z')

Import from 3DS file format (.3ds)

Parameters:
  • filepath (string, (optional)) – File Path, Filepath used for importing the file
  • constrain_size (float in [0, 1000], (optional)) – Size Constraint, Scale the model by 10 until it reacehs the size constraint. Zero Disables
  • use_image_search (boolean, (optional)) – Image Search, Search subdirectories for any assosiated images (Warning, may be slow)
  • use_apply_transform (boolean, (optional)) – Apply Transform, Workaround for object transformations importing incorrectly
  • axis_forward (enum in [‘X’, ‘Y’, ‘Z’, ‘-X’, ‘-Y’, ‘-Z’], (optional)) – Forward
  • axis_up (enum in [‘X’, ‘Y’, ‘Z’, ‘-X’, ‘-Y’, ‘-Z’], (optional)) – Up
File :

addons/io_scene_3ds/__init__.py:107

bpy.ops.import_scene.obj(filepath="", filter_glob="*.obj;*.mtl", use_ngons=True, use_edges=True, use_smooth_groups=True, use_split_objects=True, use_split_groups=True, use_groups_as_vgroups=False, use_image_search=True, split_mode='ON', global_clamp_size=0.0, axis_forward='-Z', axis_up='Y')

Load a Wavefront OBJ File

Parameters:
  • filepath (string, (optional)) – File Path, Filepath used for importing the file
  • use_ngons (boolean, (optional)) – NGons, Import faces with more then 4 verts as fgons
  • use_edges (boolean, (optional)) – Lines, Import lines and faces with 2 verts as edge
  • use_smooth_groups (boolean, (optional)) – Smooth Groups, Surround smooth groups by sharp edges
  • use_split_objects (boolean, (optional)) – Object, Import OBJ Objects into Blender Objects
  • use_split_groups (boolean, (optional)) – Group, Import OBJ Groups into Blender Objects
  • use_groups_as_vgroups (boolean, (optional)) – Poly Groups, Import OBJ groups as vertex groups
  • use_image_search (boolean, (optional)) – Image Search, Search subdirs for any assosiated images (Warning, may be slow)
  • split_mode (enum in [‘ON’, ‘OFF’], (optional)) –

    Split

    • ON Split, Split geometry, omits unused verts.
    • OFF Keep Vert Order, Keep vertex order from file.
  • global_clamp_size (float in [0, 1000], (optional)) – Clamp Scale, Clamp the size to this maximum (Zero to Disable)
  • axis_forward (enum in [‘X’, ‘Y’, ‘Z’, ‘-X’, ‘-Y’, ‘-Z’], (optional)) – Forward
  • axis_up (enum in [‘X’, ‘Y’, ‘Z’, ‘-X’, ‘-Y’, ‘-Z’], (optional)) – Up
File :

addons/io_scene_obj/__init__.py:147

bpy.ops.import_scene.x3d(filepath="", filter_glob="*.x3d;*.wrl", axis_forward='Z', axis_up='Y')

Import and X3D or VRML file

Parameters:
  • filepath (string, (optional)) – File Path, Filepath used for importing the file
  • axis_forward (enum in [‘X’, ‘Y’, ‘Z’, ‘-X’, ‘-Y’, ‘-Z’], (optional)) – Forward
  • axis_up (enum in [‘X’, ‘Y’, ‘Z’, ‘-X’, ‘-Y’, ‘-Z’], (optional)) – Up
File :

addons/io_scene_x3d/__init__.py:84

Previous topic

Import Mesh Operators

Next topic

Info Operators