mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-30 00:23:14 +00:00
IfcBlender: updated to Blender 2.58 (Patch by Yorik van Havre)
IfcParse: lazy loading of entities IfcGeom: caching of binary entities
This commit is contained in:
@@ -23,11 +23,10 @@ bl_info = {
|
||||
"description": "Import files in the "\
|
||||
"Industry Foundation Classes (.ifc) file format",
|
||||
"author": "Thomas Krijnen, IfcOpenShell",
|
||||
"blender": (2, 5, 6),
|
||||
"api": 32738,
|
||||
"blender": (2, 5, 8),
|
||||
"api": 37702,
|
||||
"location": "File > Import",
|
||||
"warning": "This addon requires several "\
|
||||
"Open CASCADE libraries to be installed",
|
||||
"warning": "",
|
||||
"wiki_url": "http://sourceforge.net/apps/"\
|
||||
"mediawiki/ifcopenshell/index.php",
|
||||
"tracker_url": "http://sourceforge.net/tracker/?group_id=543113",
|
||||
@@ -37,8 +36,7 @@ bl_info = {
|
||||
import bpy
|
||||
import mathutils
|
||||
from bpy.props import *
|
||||
from io_utils import ImportHelper
|
||||
|
||||
from bpy_extras.io_utils import ImportHelper
|
||||
|
||||
class ImportIFC(bpy.types.Operator, ImportHelper):
|
||||
bl_idname = "import_scene.ifc"
|
||||
@@ -54,7 +52,7 @@ class ImportIFC(bpy.types.Operator, ImportHelper):
|
||||
ids = {}
|
||||
while True:
|
||||
ob = IfcImport.Get()
|
||||
if not ob.type in ['IFCSPACE', 'IFCOPENINGELEMENT']:
|
||||
if not ob.type in ['IfcSpace', 'IfcOpeningElement']:
|
||||
f = ob.mesh.faces
|
||||
v = ob.mesh.verts
|
||||
m = ob.matrix
|
||||
|
||||
Reference in New Issue
Block a user