Commit Graph

47 Commits

Author SHA1 Message Date
Andrej730 13be6ccd45 Sort imports 2025-12-19 18:53:14 +05:00
Andrej730 d2126e5929 Blender 5.0 - avoid using deprecated use_nodes 2025-11-04 19:24:20 +05:00
Dion Moult e7b791f4a2 Run black on utils 2024-07-26 12:16:36 +10:00
Dion Moult 2d5be6cf89 Search replace 0.7.0 with 0.8.0 2024-06-27 11:49:12 +10:00
Dion Moult cdce612566 Update all geom settings to new v0.8 syntax 2024-06-09 16:15:55 +10:00
Martin15135215 ea4b23d6a3 add cff for ifcblender 2024-04-16 11:10:59 +02:00
Andrej730 17ee5e6f43 Getting shader graph nodes by type rather than name #3316
Because relying on names doesn't work for non english users
2024-04-15 12:04:44 +02:00
Andrej730 397617550e Title case naming for operators 2024-04-15 09:25:49 +02:00
Dion Moult ab5db2fa23 Minor fix 2022-01-19 12:19:36 +11:00
Dion Moult 5b281260f8 Licensing and black for BIMTester and IfcBlender. See #1082. 2022-01-19 11:07:43 +11:00
Krzysztof Trzciński 90bf32c342 Fix reusing meshes and mesh naming 2019-09-05 07:14:08 +10:00
Krzysztof Trzciński 1dff84ace3 Fix clash of mesh names (fixes #661) 2019-09-04 09:01:09 +10:00
Krzysztof Trzciński 99d8e96a35 Add support for collections 2019-09-04 09:01:00 +10:00
Krzysztof Trzciński c3a3cbee3f Fix filename -> ifcopenshell.file 2019-09-04 09:00:41 +10:00
Krzysztof Trzciński 748f826418 Introduce defaultdict instead of checks 2019-09-04 08:58:48 +10:00
Thomas Krijnen 6f5e4ec655 Fix iterator constructor in ifcblender 2019-05-24 10:38:31 +02:00
Thomas Krijnen 241c95e6df Some fixes for Blender 2.8? 2019-05-24 10:34:54 +02:00
Dawid Huczyński 9b0be0fb4e Delete intersection.py 2019-02-06 16:23:22 +01:00
Dawid Huczyński 3fdd92dc84 Create intersection.py 2019-02-06 16:23:22 +01:00
Dawid Huczynski 9f7a7a2c5b basic update to blender2.8, use of existing mesh if id match, 2019-02-06 16:23:22 +01:00
Thomas Krijnen 162b665d07 Update blender addon for str geometry.id 2018-01-15 11:00:25 +01:00
Campbell Barton 0429e765b5 Validate mesh input
This report comes from a but reported to Blender, where invalid geometry is apparently created by this importer.

https://developer.blender.org/T52921
2017-10-15 12:32:49 +02:00
Thomas Krijnen c97cf661a2 1. Also emit Plan and Axis shape representations and IfcTopologyRepresentations if requested. 2. Add serialization for curves. 3. In Python add option to specify representation for which to generate shape. 2015-04-22 09:15:48 +00:00
Thomas Krijnen 9cd0a76f84 Update bl_info structure in blender addon 2015-02-23 19:13:47 +00:00
Thomas Krijnen 4d5d749255 Merge developments from the python_wrapper branch into master 2015-01-05 14:11:42 +00:00
Thomas Krijnen 2a403e240d *** See: https://sourceforge.net/p/ifcopenshell/discussion/1782718/thread/6bd0f843/ ***
Massive refactor of the IfcGeomObjects module, which is now the IfcGeom::Iterator class.
2014-12-19 12:14:36 +00:00
Thomas Krijnen 5615c70952 IfcBlender: Assign material ids to mesh polygons rather than to derived tessellation data which is not persistent 2014-01-05 09:50:30 +00:00
Thomas Krijnen 259cfa895e Support for styled items in the Blender addon and make use of material indices 2013-05-11 17:14:47 +00:00
Thomas Krijnen 71b5cd12a8 - Getting ready for Blender 2.65 and Python 3.3.0 with universal Unicode according to PEP 393
- Allow opening of non-latin filenames on Windows, by using the non-standard _wfopen(), meaning that the IfcSpfStream no longer relies on a std::istream but a FILE* descriptor
2012-12-31 11:47:46 +00:00
Thomas Krijnen 3bb008c89f - Switch to double precision
- Allow accessing entities by GlobalId
- Some more support for writing back IFC
- Prefix EXPRESS Enum values to avoid collisions
- Fix a bug in the SenseAgreement of Cartesian trimmed curves
- Use straight line segment in case point projection failed on trimmed curve
- Add epsilon to polylines and -loops point equality test
- Decompose a convex polygonal bounded halfspace into several unbounded halfspace and process only if they operate on a volume larger than some epsilon
- No longer fail connected facesets if a single face is invalid
- Updated IfcBlender for compatibility with Blender 2.62
- Added additional test files
2012-03-13 11:56:52 +00:00
Thomas Krijnen 2b27b86b34 - IfcGeom: Major performance improvement by only sewing faces of IfcConnectedFaceSets when needed for boolean operations
- Automatic tests for several well known IFC files on the Internet
- IfcBlender: Make visibility in render consistent with 3d view
- Some compatibility for Ifc2x files with IfcShapeRepresentations and RepresentationIdentifier 'IAI'
2012-03-01 21:17:06 +00:00
Thomas Krijnen bc56aa3397 Fixes #3452367 Incorrect parenting in ADT-FZK-Haus-2005-2006.ifc
When multiple IfcShapeRepresentations exist for one IfcProduct, all are correctly parented in IfcBlender
2011-12-07 13:44:16 +00:00
Thomas Krijnen 63e39003ae Correct parent names if using the unicode compatibilty layer 2011-12-06 11:04:05 +00:00
Thomas Krijnen 479fcd9013 Further address UCS2 - UCS4 incompatibility, move compatibility layer to ifcwrap/Interface.h 2011-12-06 10:38:14 +00:00
Thomas Krijnen 203dd2107e Fixed typo 2011-12-05 17:40:14 +00:00
Thomas Krijnen 08d3eb649c Allow for string data to be passed as vectors of int between IfcPython and IfcGeom, to circumvent SWG trying to access UCS-2 data as UCS-4 and vice versa 2011-12-05 14:23:22 +00:00
Thomas Krijnen cab44ce754 IfcBlender: provide a temporary workaround for interfacing from a UCS2 Blender Python
A real solution could be to compile IfcGeom into a dynamic library and compile multiple versions of _IfcImport.so for different configurations which are selected based on sys.maxunicode
Another alternative would be not to rely on strings when exchanging textual data but vectors of int that contain the string character codes
2011-12-04 13:33:16 +00:00
Thomas Krijnen 950dd93c4f Make IfcBlender compatible with newer blender api revisions 2011-12-01 14:23:26 +00:00
Thomas Krijnen cac8d9b684 IfcBlender: process relations default to False, and warning in tooltip 2011-10-24 21:05:58 +00:00
Thomas Krijnen 8bcb9ffa3e - Now with actual logging to Blender texts
- More detailed feedback on progress and pop-up when import fails
2011-10-20 16:05:21 +00:00
Thomas Krijnen e6c5e5e10c IfcBlender: Ensure correct matrices on nested parenting 2011-10-09 10:07:04 +00:00
Thomas Krijnen 523ac48afc - Progress bar in Blender console
- Fix bug freeing objects multiple times in IfcGeomObjects::CleanUp()
2011-10-09 09:07:33 +00:00
Thomas Krijnen 87b668959b Process IfcRelAggregates and IfcRelContainedInSpatialStructure to enable IfcBlender to build a parenting graph 2011-10-08 13:06:57 +00:00
Thomas Krijnen eda8fd0c25 Create a python package for IfcBlender [#3412173] 2011-09-22 09:16:58 +00:00
Thomas Krijnen 8767f6e52a IfcBlender: updated to Blender 2.58 (Patch by Yorik van Havre)
IfcParse: lazy loading of entities
IfcGeom: caching of binary entities
2011-07-11 09:33:18 +00:00
Thomas Krijnen 7bd1a3e7e4 Updated IfcBlender.py
Fix gcc compilation (Patch by Jochem Berndsen)
2011-06-01 13:19:36 +00:00
Thomas Krijnen a1016d82da Initial commit 2011-05-08 11:04:32 +00:00