Thomas Krijnen
6aeddcabc0
Delete file
2021-02-05 11:54:03 +01:00
Thomas Krijnen
2703dce209
Small changes
2021-02-05 11:52:05 +01:00
Thomas Krijnen
dc529d4146
Merge branch 'v0.6.0' into ifcopenshell_documentation
2021-02-05 11:47:35 +01:00
Thomas Krijnen
8648b16e00
Small changes to script
2021-02-05 11:41:44 +01:00
Thomas Krijnen
c0a62e8593
more cleanup
2021-02-05 11:39:35 +01:00
Thomas Krijnen
ef5d672d4d
Also add prefix install path with _
2021-02-05 11:24:50 +01:00
Long
01b1f4642f
fix ifcpatch recipe import path ( #1296 )
2021-02-05 18:19:10 +11:00
Dion Moult
e92a84f917
Bump IfcOpenShell to address bug #1293 and bug #1281 .
2021-02-05 10:08:20 +11:00
Dion Moult
04a2949d75
Fix import bug where loading existing elements wouldn't work.
2021-02-05 08:54:46 +11:00
Dion Moult
031a0cec59
Minor fix
2021-02-05 08:30:54 +11:00
Dion Moult
5f8e77c292
New create shape debugging tool to help determine broken or crashing elements
2021-02-04 22:25:43 +11:00
Dion Moult
384d007770
Validating IFCs UI now moved over into debug panel
2021-02-04 21:59:08 +11:00
Dion Moult
e14a3a99c0
Fix bug where spatial objects with representations didn't import correctly.
2021-02-04 14:50:46 +11:00
Dion Moult
96260cdb39
Minor fix
2021-02-04 12:35:34 +11:00
Dion Moult
d7f526eafd
Minor fix
2021-02-04 11:56:56 +11:00
Dion Moult
55b081edf7
Implement BIMTester web app mockup
2021-02-04 11:54:42 +11:00
Thomas Krijnen
ffb8c016b6
#1287 Don't wel accross different rep items
2021-02-03 14:51:02 +01:00
Dion Moult
11697fbd47
You can now specify a set of custom step definitions to BIMTester.
2021-02-03 21:58:49 +11:00
Dion Moult
4b9520a1bb
Fix #1289 . Users can now reassign the IFC file location if it moves.
2021-02-03 19:15:25 +11:00
Dion Moult
9717d6b1eb
Fix #1288 - error when importing consecutive files.
2021-02-03 17:30:19 +11:00
Dion Moult
2f2b4e7dc2
Fix bug where switching representations would not work or create duplicate meshes.
2021-02-03 16:41:41 +11:00
Dion Moult
f6c2a18e63
Now, users don't need to consider include curves and 2D annotations will always be imported. See #1142 .
2021-02-03 16:22:23 +11:00
Dion Moult
08d959f66d
Fix #1282 . Bug where unable to install add-on in older Blender versions.
2021-02-03 14:45:52 +11:00
Dion Moult
aa41f698c1
Fix #1287 . Back to IfcOpenShell for booleans. Optional conversion to Blender if the user decides to do so.
2021-02-03 13:49:36 +11:00
Dion Moult
c6a7dfdadb
There is now an ID and GUID map to Blender objects for easy access especially for devs
2021-02-03 13:47:09 +11:00
ahladik
adf5af947b
Some more fixes to the Windows build procedure ( #1285 )
2021-02-02 12:00:55 +01:00
Thomas Krijnen
55b63410bd
#747 Apply typemaps and checks to spf header
2021-02-02 11:49:42 +01:00
Dion Moult
012a2cca0f
Fix bug where BIMTester audit classes dropdown wouldn't show.
2021-02-02 20:46:17 +11:00
Dion Moult
5a722a792a
You can now load the active IFC file into a BIMTester audit. Rapid auditing go go go!
2021-02-02 20:45:56 +11:00
Dion Moult
c3f7410f76
Fix #1266 . Standardise BIMTester quotes, always translate, and refactor.
2021-02-02 16:51:12 +11:00
Dion Moult
7c1a23e5e3
BIMTester custom schema is now specified as an argument, not as a test requirement, which is where it belongs.
2021-02-02 16:11:38 +11:00
Dion Moult
ac95fb1aa2
BIMTester now operates on single feature files, which heavily improves usability
2021-02-02 12:34:14 +11:00
Dion Moult
1f4df32d04
Fix bunch of error messages (commonly seen in IFCCSV) when you try to get a property value which is None
2021-02-01 10:18:10 +11:00
Dion Moult
b09d030e12
Owner histories now updated when assigning aggregates.
2021-01-31 11:10:14 +11:00
Dion Moult
ed9557539d
Remove cache dir
2021-01-31 11:10:14 +11:00
Thomas Krijnen
500467b3a8
Fix json logger on validator for arg formatting
2021-01-30 21:58:27 +01:00
Thomas Krijnen
1cee5c3108
SVG Exclude IfcGrid from HLR
2021-01-30 16:15:54 +01:00
Thomas Krijnen
5e84d8da83
SVG Move section/elevation to origin to workaround PolyHLR bug
2021-01-30 16:15:26 +01:00
Thomas Krijnen
1317263536
SVG: Explicitly cast object type
2021-01-29 15:57:57 +01:00
Thomas Krijnen
f4ef17eea6
Also exclude spaces from HLR
2021-01-29 15:57:34 +01:00
Thomas Krijnen
5db0f78646
Add result_type typedef
2021-01-29 13:49:45 +01:00
Thomas Krijnen
b185f56dcc
SVG Dimension ObjectType and Boolean sub for slanted slabs
2021-01-29 13:03:44 +01:00
Dion Moult
b8ab478416
Editing attributes now stores a modified owner history
2021-01-29 21:19:20 +11:00
Dion Moult
97d34a7061
WIP unbreak drawing generation and support box context generation. See #1222 .
2021-01-29 17:44:52 +11:00
Dion Moult
3e6a737cdb
Implement assigning annotation representation. See #1222 .
2021-01-29 15:16:29 +11:00
Dion Moult
4c87ea321d
Improve UX of assigning classes to multiple objects. See #1222 .
2021-01-29 15:16:29 +11:00
Dion Moult
91c6fb402d
Sync blender and IFC names. See #1222 .
2021-01-29 15:16:29 +11:00
Thomas Krijnen
47d4ea00ca
Include outline in HLR render
2021-01-28 16:32:16 +01:00
Dion Moult
f55438e871
You can now add 2D representations. Also, we now support exporting "wireframe" or 2D meshes into IFC2X3 which we didn't before. See #1222 .
2021-01-28 17:27:23 +11:00
Thomas Krijnen
b1232ecb02
Option to use projection logic on floor plans
2021-01-27 22:34:19 +01:00
Dion Moult
a37e124d8f
You can now duplicate or linked duplicate objects in IFC. Neat. See #1222 .
2021-01-27 19:00:35 +11:00
Dion Moult
c472dc2f1b
You can now unlink blender objects to IFC ones. See #1222 .
2021-01-27 15:41:24 +11:00
Dion Moult
c0ed4074d8
You can now assign reps to type products. See #1222 .
2021-01-27 15:28:29 +11:00
Dion Moult
c94cac29a5
Add ability to map representations. See #1222 .
2021-01-27 15:02:34 +11:00
Dion Moult
f90c56013e
Editing placements and meshes now can happen in bulk. See #1222 .
2021-01-27 15:02:07 +11:00
Dion Moult
572efd7ea6
Minor fixes for loading schema data. See #1222 .
2021-01-27 09:14:47 +11:00
Dion Moult
b71febab0d
Clear IfcStore when you load a new file. See #1222 .
2021-01-26 21:28:54 +11:00
Dion Moult
bbde897113
Fix importing of grids and non contextual geometry. See #1222 .
2021-01-26 21:13:33 +11:00
Dion Moult
4527d3a96e
Only allow material assignment if we have available materials to assign. See #1222 .
2021-01-26 20:01:16 +11:00
Dion Moult
447a7a0eb2
Minor fix. See #1222 .
2021-01-26 19:50:50 +11:00
Dion Moult
92cb138ca8
WIP improved UI ordering, and print export time in console for convenience. See #1222 .
2021-01-26 16:07:35 +11:00
Dion Moult
fa7353c923
WIP owner model now records ADDED state for creating products. New feature. See #1222 .
2021-01-26 13:56:38 +11:00
Dion Moult
1023c8bc1c
WIP fix BIMTester packaging. See #1222 .
2021-01-26 12:54:27 +11:00
Dion Moult
276dc0d894
WIP implement add/remove material. See #1222 .
2021-01-26 11:45:58 +11:00
Dion Moult
8618befa0f
WIP refactor clash and smart clash. See #1222 .
2021-01-26 09:51:33 +11:00
Dion Moult
20ab036016
WIP implement presentation layers. Nicer UI. See #1222 .
2021-01-25 18:10:18 +11:00
Long
911ff4484f
Improve snapshot filename checking in bcf ( #1274 )
2021-01-25 14:59:16 +11:00
Dion Moult
b4ecdfba69
WIP refactor model module with new pie menu for convenience. See #1222 .
2021-01-25 14:58:12 +11:00
Dion Moult
f9521eca54
WIP Refactor patch module. See #1222 .
2021-01-24 19:57:22 +11:00
Dion Moult
af3ed303d8
WIP port pset template module. It probably needs rewriting, but at least no regressions. See #1222 .
2021-01-24 19:17:33 +11:00
Dion Moult
9d893d2c5a
WIP merge MVDs into geometry workarounds UI. Cleaner, more usable import / export UI. Remove obsoleted MVD options. See #1222 .
2021-01-24 14:33:56 +11:00
Dion Moult
900aa20e10
New "remove deep" function in the element util module. See #1228 .
2021-01-24 14:32:04 +11:00
Dion Moult
b68f490dbc
WIP port covetool. See #1222 .
2021-01-24 08:19:26 +11:00
Dion Moult
65f381a377
WIP minor tweaks to port IfcSverchok. See #1222 .
2021-01-23 18:42:11 +11:00
Dion Moult
8b7d96893f
WIP purge old export IFC. No going back! See #1222 .
2021-01-23 18:29:59 +11:00
Dion Moult
aa3a855b4c
Refactor qto utils and migrate to bmesh volume calculation. See #1222 .
2021-01-23 18:01:29 +11:00
Dion Moult
f19b962ab1
WIP More import function purging - remove groups. Openings always imported. See #1222 .
2021-01-23 16:40:27 +11:00
Dion Moult
9b6366ddac
WIP port constraints module. See #1222 .
2021-01-23 16:32:52 +11:00
Dion Moult
d0b2bf85cc
WIP port search module with new features! See #1222 .
...
* New IFC class search
* Slicker UI
* Colour by class and reset colours now available in search panel
2021-01-23 14:17:50 +11:00
Dion Moult
86e3d1e548
WIP refactor root module properties. See #1222 .
2021-01-23 12:54:27 +11:00
Dion Moult
d1e2ac4c5a
WIP port BCF to new refactored approach. See #1222 .
2021-01-23 12:20:06 +11:00
Dion Moult
8c36217e26
Line ending git fix?
2021-01-23 12:02:41 +11:00
Dion Moult
b7f574fa30
WIP implement document assign/unassign. See #1222 .
2021-01-23 12:02:27 +11:00
Thomas Krijnen
395d63279f
Log messages
2021-01-22 22:01:08 +01:00
root
55d24ba1ee
No boost cmake flag
2021-01-22 20:47:05 +01:00
Thomas Krijnen
923771f448
#1269 implement SurfaceCurveSweptAreaSolid with non-planar ref
2021-01-22 16:32:51 +01:00
Dion Moult
2f2611e0cb
WIP implement most of the document module apart from object references. See #1222 .
2021-01-22 21:04:30 +11:00
ahladik
94737da1f5
Workaround for Visual C++ / OCCT conflict with x86 release
...
Workaround for Visual C++ hanging when compiling 32-bit release OCCT up to version 7.4.0.
See https://tracker.dev.opencascade.org/view.php?id=31628
2021-01-22 10:56:50 +01:00
ahladik
6a6025302e
Update vs-cfg.cmd
...
Prefixed the build folders with a '_' to better distinguish them from source.
Removed a superfluous 'pause' command.
2021-01-22 10:56:50 +01:00
ahladik
b92fac5c5e
Update vs-cfg.cmd
2021-01-22 10:56:50 +01:00
ahladik
824f09a1e7
More changes to Visual Studio build process
...
Prevented incorrect linking to default libraries in Boost
Boost version updated to 1.74
2021-01-22 10:56:50 +01:00
ahladik
6a8d8139ed
More changes to Windows build scripts
...
Limited compatibility to Visual Studio 2013 or newer
Fixed the missing 'd' suffix linking ....\opencollada\xmld.lib
Fixed failure when calling the scripts without specifying a generator
2021-01-22 10:56:50 +01:00
ahladik
36f51e19b5
Changes to the build scripts to support Visual Studio 2019
...
Changes to the build scripts to support Visual Studio 2019, to optionally use a toolset different from the default and to build correctly when more than a single Visual Studio version is installed.
2021-01-22 10:56:50 +01:00
Dion Moult
3bbdc3f277
WIP fix IFC2X3 errors in classification refactor
2021-01-22 16:55:38 +11:00
Dion Moult
c67a99fb5d
New IfcOpenShell date utility module, because we shouldn't need to think too hard about dates
2021-01-22 16:21:17 +11:00
Dion Moult
7522f8fb7a
WIP fix issues in IFCCSV refactor. See #1222 .
2021-01-22 16:15:39 +11:00
Dion Moult
84959d1cf8
You can now export container data from IFCCSV
2021-01-22 15:52:48 +11:00
Dion Moult
404a6c244c
WIP deprecate merging/import aggregates setting as they are much more usable now. See #1222 .
2021-01-22 10:20:38 +11:00
Dion Moult
83c22ebce3
Merge branch 'iospectar-feature/extract-openings' into v0.6.0
2021-01-22 08:27:02 +11:00
Dion Moult
28717beff8
Merge branch 'feature/extract-openings' of https://github.com/iospectar/IfcOpenShell into iospectar-feature/extract-openings
...
# Conflicts:
# src/ifcpatch/recipes/ExtractElements.py
2021-01-22 08:26:18 +11:00
Bernd Hahnebach
02fa8c8413
[read carefully before decide merge] !!! normalize line endings of src files ( #1268 )
...
* all source: prepare to normalize line ending
* all src: normalize line endings
2021-01-22 08:22:34 +11:00
Manuel
3202174903
Attempt for compatibility with PythonOCC 7.4.1
...
Used import statement from occ_utils.py
added an If-Statement to the GetObject()-call.
Calling SetSelectionPriority directly on ais, as proposed by aothms (https://github.com/IfcOpenShell/IfcOpenShell/issues/1098 ) did not work.
Could load some ifc-models but needs further testing.
2021-01-21 13:34:33 +01:00
Thomas Krijnen
37fe54d247
erase enitty mapping upon deletion
2021-01-21 13:24:18 +01:00
Dion Moult
73439e2114
WIP port classification module with new features. See #1222 .
...
* Adaptive UI based on IFC version
* You can now load new classification libraries on the fly
* You can mix classification libraries with project references
2021-01-21 21:58:27 +11:00
Dion Moult
460cb85e4b
Minor fixes.
2021-01-21 21:55:08 +11:00
Dion Moult
b938e4b3c3
Add new get volume by material script
2021-01-21 10:54:48 +11:00
ihabelaghoury
37f35a7b2e
Small Refactor to Bimtester + Diff Module ( #1271 )
...
* Refactoring of BIMTester Module
* Modification to Bimtester refactor + Diff refactor
Co-authored-by: Ihab El Aghoury <ihab_elaghoury@yahoo.ca >
Co-authored-by: Dion Moult <dion@thinkmoult.com >
2021-01-21 08:56:00 +11:00
Jesse Vander Does
dc41ad5ab1
Adding openings from extracted elements
2021-01-20 09:51:46 -06:00
Dion Moult
8411333f66
WIP implement project UI to show basic project metadata. See #1222 .
2021-01-20 16:53:34 +11:00
Dion Moult
95ce82a79e
WIP implement deep removal of geometry. See #1222 . See #1228 .
2021-01-20 16:03:35 +11:00
Dion Moult
1d8a568a0b
WIP finish refactoring owner module props. See #1222 .
2021-01-20 10:44:43 +11:00
Dion Moult
70a45be904
WIP purge old aggregate system. See #1222 .
2021-01-20 10:17:31 +11:00
Dion Moult
e3444c60af
WIP implement blender offsets for non-geolocated files. Also deprecate a whole bunch of geolocation vendor workarounds into a standard feature. See #1222 .
2021-01-20 10:13:07 +11:00
Dion Moult
4cea2b7044
WIP code cleanup and deprecate legacy product import. Finally! See #1222 .
2021-01-20 10:11:32 +11:00
Dion Moult
1142c5285c
Geolocation util can now apply georeferencing to matrices
2021-01-20 10:07:48 +11:00
Dion Moult
ea524767a0
WIP implement georeference module for correctly geolocated files. See #1222 .
2021-01-19 11:18:26 +11:00
Bernd Hahnebach
45bba127ff
bimtester: steps, remove comment
2021-01-17 22:40:11 +01:00
Bernd Hahnebach
b9ba138d8d
bimtester: normalize line endings
2021-01-17 22:30:04 +01:00
Bernd Hahnebach
2ea04f97f9
bimtester: add git attributes to be able to normalize line endings
2021-01-17 22:30:04 +01:00
Bernd Hahnebach
d15c5c7e21
bimtester: recreate translation pot file and update lang po files
2021-01-17 22:30:04 +01:00
Bernd Hahnebach
9574b7e08f
bimtester: start italian and dutch translation
2021-01-17 22:30:04 +01:00
Bernd Hahnebach
19ba6f86d7
bimtester: example feature files, add lang short cut to file name
2021-01-17 22:30:04 +01:00
Bernd Hahnebach
c5c5bbd290
bimtester: example feature files, formating
2021-01-17 22:30:04 +01:00
Bernd Hahnebach
bc9f7d214d
bimtester: rename project of example ifcs
2021-01-17 22:30:04 +01:00
Dion Moult
ee0b9004e3
WIP reimplement material psets with new features. See #1222 .
...
* Data type sensitive UI
* New standardised UI
* Accomodate custom pset templates for materials
* Explicitly disable IFC2X3 material psets which are horrible and I don't want to support it
2021-01-17 21:54:37 +11:00
Dion Moult
3fe5c88910
WIP implement material attributes panel. See #1222 .
2021-01-17 21:07:01 +11:00
Dion Moult
25fb9be82e
WIP port object material assignment with 3 new features. See message. See #1222 .
...
* Full support for editing IfcMaterialList added
* The reusability of material set relationships are now roundtripped
* UI is sensitive to IFC schema version and adapts intelligently
2021-01-17 12:46:47 +11:00
Dion Moult
fa4ba58cac
Minor fix
2021-01-17 12:46:47 +11:00
Thomas Krijnen
5a11ac0545
Remove debugging statement
2021-01-16 15:12:19 +01:00
johltn
894bae66fd
Clean branch
2021-01-16 14:52:07 +01:00
johltn
ccb538c756
Clean branch
2021-01-16 14:50:09 +01:00
johltn
c87baa1a50
Clean branch
2021-01-16 14:46:24 +01:00
johltn
30fa59960d
Clean branch
2021-01-16 14:42:34 +01:00
johltn
bdd86366bf
Clean branch
2021-01-16 14:40:39 +01:00
johltn
142a38d402
Clean branch
2021-01-16 13:12:10 +01:00
johltn
257f4b2bf0
Clean branch
2021-01-16 13:03:28 +01:00
johltn
4e8a827822
Clean branch
2021-01-16 12:55:24 +01:00
Cyril Waechter
b10ba45194
Allow to install ifcpatch separately ( #1263 )
...
Will allow to provide ifcpatch as a standard python package for
various usages (eg. standalone, blenderbim addon, FreeCAD)
* Copy folder instead of files [using svn](https://stackoverflow.com/a/18194523/4098083 )
* Fetch recipes from ifcpatch module path
2021-01-16 10:42:45 +11:00
Bernd Hahnebach
a04ce8a24d
bimtester: steps, translate some project attribute tests
2021-01-15 21:03:45 +01:00
Bernd Hahnebach
1d0b13960f
bimtester: steps, translate some attributes
2021-01-15 21:03:45 +01:00
Bernd Hahnebach
418574fe40
bimtester: steps, translate ifcdata provide ifc file by argument
2021-01-15 21:03:45 +01:00
Bernd Hahnebach
2e07fd1cde
bimtester: steps, improve ifcdata schema test
2021-01-15 21:03:45 +01:00
Bernd Hahnebach
0123e2a69f
Merge pull request #1262 from berndhahnebach/btprdev
...
bimtester
2021-01-15 10:59:45 +01:00
Bernd Hahnebach
843917a431
bimtester: run, merge run and run wich copy in temp
2021-01-15 10:58:14 +01:00
Bernd Hahnebach
2fce21fd88
bimtester: run, merge getting the behave arguments
2021-01-15 10:58:08 +01:00
Bernd Hahnebach
c9e85c5d34
bimtester: run, merge run behave commands
2021-01-15 10:58:03 +01:00
Bernd Hahnebach
521a5a5981
bimtester: parse behave args to the gui too and other small gui
...
improvements
2021-01-15 10:57:55 +01:00
Bernd Hahnebach
c6347e30be
bimtester: rename project in example 1
2021-01-15 10:57:51 +01:00
Bernd Hahnebach
21d4203688
bimtester: parse ifcfile by behave user args
2021-01-15 10:57:47 +01:00
Bernd Hahnebach
aefd4e3387
bimtester: run, move comments and add prints
2021-01-15 10:57:44 +01:00
Bernd Hahnebach
3df2c89b0a
bimtester: report generator, add another parameter report file
2021-01-15 10:57:40 +01:00
Bernd Hahnebach
ebd53250e7
bimtester: report, simplify generation code
2021-01-15 10:57:36 +01:00
johltn
6444376ecd
Script to generate docs outside CMake
2021-01-15 07:30:09 +01:00
ihabelaghoury
f5796eaed3
Refactoring of BIMTester Module ( #1259 )
...
Co-authored-by: Ihab El Aghoury <ihab_elaghoury@yahoo.ca >
2021-01-14 20:43:39 +11:00
Dion Moult
a4b2285e8a
Minor fix
2021-01-14 08:02:00 +11:00
ihabelaghoury
713e70ff63
Total refactoring for CSV into a blenderBim module + use of IfcStore ( #1254 )
...
* Add new feature to Load from IFCStore in Cobie
* Initial refactor for CSV to become a CSV Module
* Update __init__.py
* Address Dion's review
Co-authored-by: Ihab El Aghoury <ihab_elaghoury@yahoo.ca >
Co-authored-by: Dion Moult <dion@thinkmoult.com >
2021-01-14 07:53:48 +11:00
Thomas Krijnen
540f793940
Workaround: IfcLine as segment with IfcVector magnitude length in composite curve
2021-01-13 15:46:00 +01:00
Dion Moult
071c84ddf8
WIP implement qtos. See #1222 .
2021-01-13 21:26:10 +11:00
Bernd Hahnebach
f2b645b73f
bimtester: get back dummy feautre file, deleted in 91773e8fc6
2021-01-13 08:38:51 +01:00
Bernd Hahnebach
7554714fff
bimtester: sort command line args by abc
2021-01-13 08:29:33 +01:00
Bernd Hahnebach
2d04d988e7
bimtester: improve gui
2021-01-13 08:29:33 +01:00
Bernd Hahnebach
91773e8fc6
bimtester: improve and fix copy in temp and run
2021-01-13 08:29:33 +01:00
Bernd Hahnebach
6ee3c8fd98
bimtester: start script, improve arguments
2021-01-13 08:29:33 +01:00
Bernd Hahnebach
a54b84b4c3
bimtester: run, better variable name
2021-01-13 08:29:33 +01:00
Bernd Hahnebach
addf28c1e2
bimtester: run, improve method run copy in temp
2021-01-13 08:29:33 +01:00
Bernd Hahnebach
aa82cb15d2
bimtester: run, rename method run copy in temp
2021-01-13 08:29:33 +01:00
Bernd Hahnebach
2e3c5c42bf
bimtester: fix import
2021-01-13 08:29:33 +01:00
QwiglyDee
a1be2ef868
#1234 section view decorations
2021-01-13 06:27:05 +07:00
Thomas Krijnen
ab8aa95479
#1224 update inverse cache upon deletion
2021-01-12 21:49:17 +01:00
Dion Moult
b78e710479
WIP implement add / remove fills. See #1222 .
2021-01-12 16:39:01 +11:00
Dion Moult
9400eab0ff
WIP implement void module with add / remove openings. See #1222 .
2021-01-12 15:14:14 +11:00
QwiglyDee
1836136049
adding section annotations
2021-01-12 09:33:46 +07:00
QwiglyDee
d1a2a12e94
close #1232 elevating grid in section views
2021-01-12 09:33:46 +07:00
QwiglyDee
6502b2c18d
little drawing helper
2021-01-12 09:33:46 +07:00
ihabelaghoury
1779fe88ef
Add new feature to Load from IFCStore in Cobie ( #1253 )
...
Co-authored-by: Ihab El Aghoury <ihab_elaghoury@yahoo.ca >
2021-01-12 11:26:59 +11:00
ihabelaghoury
497f793a6b
Cobie Module Refactoring ( #1252 )
...
* Create Mylog.txt
* Remove Cobie references from ui and operator
* Update __init__.py
* Extra Updates
* Update operator.py
* Update ui.py
Co-authored-by: Ihab El Aghoury <ihab_elaghoury@yahoo.ca >
2021-01-12 10:02:37 +11:00
Bernd Hahnebach
a85d7c66a5
bimtester: add simple example and translated feature files
2021-01-11 06:58:39 +01:00
Thomas Krijnen
e1b68dafa4
#841 cpp implementation of get_info()
2021-01-10 12:36:47 +01:00
johltn
df2f4b69e3
40 min waiting time
2021-01-10 09:02:27 +01:00
johltn
e76d401d15
Use 4 threads
2021-01-09 19:05:32 +01:00
Thomas Krijnen
3182c75f14
Some changes after #1155
2021-01-09 15:08:30 +01:00
admin
68767c3656
#1097
...
fix:IFC file conversion obj file, some cases will be rotated 90 °
2021-01-09 14:51:01 +01:00
Thomas Krijnen
6976144d80
Fix syntax for py27
2021-01-09 14:25:26 +01:00
Thomas Krijnen
2a54fee41a
Fix ifcopenshell.create_entity() by including schema
2021-01-09 11:59:34 +01:00
Thomas Krijnen
3d0c9378c1
Quickfix #1246
2021-01-09 11:49:30 +01:00
Dion Moult
8ef752f173
WIP port owner history setting to partial editing. See #1222 .
2021-01-09 12:00:22 +11:00
Dion Moult
06e1ee7825
WIP implement organisation editing. Also new features see commit message. See #1222 .
...
* Organisations are now imported.
* Organisation identification attribute support is now added, which I missed before
2021-01-09 11:42:21 +11:00
Dion Moult
84de1f1b09
WIP port address and role editing to owner module. See #1222 .
2021-01-08 20:53:51 +11:00
Bernd Hahnebach
2e85a80fc8
bimtester: geometric step translation improvement
2021-01-08 08:41:41 +01:00
Bernd Hahnebach
8eab1ec4a5
bimtester: code formating
2021-01-08 08:26:28 +01:00
Bernd Hahnebach
7871dea3ca
bimtester: very small code improvements in reports
2021-01-08 08:26:28 +01:00
Bernd Hahnebach
bf41ee013c
bimtester: improve step translation
2021-01-08 08:26:28 +01:00
Bernd Hahnebach
ef3f9489ea
bimtester: improve some step method names
2021-01-08 08:26:28 +01:00
Dion Moult
be2ea335f5
WIP partial port of IfcPerson to partial editing. New feature too! See message. See #1222 .
...
* Previously, IfcPerson was not imported. Now it is! Funky.
2021-01-08 16:27:19 +11:00
Dion Moult
53de93e582
WIP move the IFC Debug code into its own module. See #1222 .
2021-01-08 13:49:31 +11:00
Dion Moult
0dcdfcf46c
WIP implement local placement tree. See #1222 .
2021-01-08 13:29:59 +11:00
Dion Moult
2d061f63fb
WIP port add aggregate and remove container. See #1222 .
2021-01-08 11:41:54 +11:00
Dion Moult
afbdedaee8
WIP minor fixes to aggregate and spatial collection handling. See #1222 .
2021-01-07 21:02:46 +11:00
Dion Moult
30d9ad1fbc
Fix #1194 . Aggregates no longer use collection instances.
2021-01-07 20:21:41 +11:00
Dion Moult
d673e845f6
WIP psets now use partial editing with new features! See full message. See #1222 .
...
* Psets are now sensitive to data type
* Psets now support null vs empty
* Psets now respect shared STEP IDs
2021-01-07 19:09:55 +11:00
Dion Moult
fcc2b9ee13
WIP migrate types to partial editing. See #1222 .
2021-01-07 10:47:50 +11:00
Dion Moult
02ac150a51
WIP Implement style edit/add. See #1222 .
2021-01-06 17:57:24 +11:00
Dion Moult
d206dff9c0
WIP class dropdowns are now schema version specific and generated. See #1222 .
2021-01-06 15:19:55 +11:00
Dion Moult
cac635107e
WIP spatial operator now updates the blender collection structure. See #1222 .
2021-01-06 11:06:59 +11:00
Dion Moult
8eb9973045
WIP refactor mesh UI into geometry module and minor fixes. See #1222 .
2021-01-06 10:28:22 +11:00
Dion Moult
c4aecd6e61
Minor fix for #1235 .
2021-01-06 08:45:34 +11:00
QwiglyDee
cef3b9537a
toggle decorations onload
...
fix #1237
2021-01-06 04:01:03 +07:00
QwiglyDee
02b01b2a44
refectored decorations.
...
fixed #1241 somehow
2021-01-06 03:52:40 +07:00
QwiglyDee
db5418cbfe
fixed #1233 grid cropping
2021-01-06 02:32:55 +07:00
Bernd Hahnebach
44d3ddbb7c
bimtester: add log file and zoom smart view for failed elements tests
2021-01-05 18:06:09 +01:00
Bernd Hahnebach
b2e5c904c3
bimtester: copy all files of source code features path to tmp run
2021-01-05 18:06:09 +01:00
QwiglyDee
19d07892f4
fix #1240 undoing add_grid
2021-01-05 21:33:38 +07:00
Dion Moult
113efa1206
WIP you can now start a fresh project with partial editing support. See #1222 .
2021-01-05 21:15:52 +11:00
Dion Moult
f76d792a25
WIP port unit assignment to partial editing. See #1222 .
2021-01-05 21:13:44 +11:00
Dion Moult
d74b344a95
WIP create aggregation module to manipulate aggregations. See #1222 .
2021-01-05 16:29:14 +11:00
Dion Moult
30b3090386
WIP migrate attribute management to partial editing with 4 new features! See #1222 .
...
New features include:
- New clarity between null and empty string attributes
- Attribute editing now shows appropriate UI widgets depending on data type
- Attribute editing for enumerations now show a dropdown
- Attribute editing is now schema sensitive
2021-01-05 13:16:31 +11:00
Dion Moult
d4a219e54f
WIP assigning a class also assigns the spatial container if possible. See #1222 .
2021-01-04 16:23:36 +11:00
Dion Moult
23a66b3a72
WIP allow partial editing of spatial container. See #1222 .
2021-01-04 15:57:25 +11:00
Dion Moult
d9dbda6b5a
Minor fix
2021-01-04 15:57:25 +11:00
QwiglyDee
cbcd04c81d
drawing grid clipping
2021-01-04 11:31:30 +07:00
Dion Moult
1fe2bd8332
Merge branch 'v0.6.0' of github.com:IfcOpenShell/IfcOpenShell into v0.6.0
2021-01-04 13:07:36 +11:00
Dion Moult
6387c03dbc
WIP port reassign and unassign class to partial editing. See #1222 .
2021-01-04 13:07:29 +11:00
Cyril Waechter
516869ba5d
Use lru_cache for pset module ( #1229 )
...
New features
===========
* `get_by_name` : get pset template by name
* `is_templated` : allow to check if a pset template correspond to given name
Enhancement
============
* Use of lru_cache simplify code and enhance performance largely
(10+ times more requests in 4 less time)
kudo to aothms for the idea. See https://github.com/IfcOpenShell/IfcOpenShell/pull/1221#issuecomment-752902996 .
* Take advantages of new caching system and new features in blenderbim
2021-01-04 12:13:04 +11:00
Dion Moult
0c0ffce908
WIP assigning a class now ported over to partial editing and creates an IFC element. See #1222 .
2021-01-04 11:08:15 +11:00
johltn
f120f0c77c
Added travis_wait to CMake command
2021-01-03 14:42:49 +01:00
johltn
3961ecd322
Added travis_wait to CMake command
2021-01-03 14:01:26 +01:00
johltn
23c0e279be
Added travis_wait to CMake command
2021-01-03 13:56:48 +01:00
johltn
6e4bb95e82
Update
2021-01-03 13:10:57 +01:00
Dion Moult
af5350bb9f
WIP refactor representation editing into geometry module. See #1222 . Some new functionality as a result:
...
- Representations can now be added to any context, even invalid ones, non-subcontext, or missing target views
- Switching representations now change all linked data objects
2021-01-03 19:45:40 +11:00
Dion Moult
c5ec54ca7f
WIP refactor context UI into its own module. Remove dependency to Blender properties. See #1222 .
2021-01-03 12:08:00 +11:00
johltn
efea9d429e
Verbose
2021-01-02 15:48:34 +01:00
Thomas Krijnen
b91dfb401d
Rewrite svg array_to_string()
2021-01-02 13:08:01 +01:00
Thomas Krijnen
979f37d7c6
--svg-poly option and correct HLR view direction
2021-01-02 12:34:10 +01:00
Dion Moult
23abc604f9
WIP implement partial editing for adding / removing subcontexts. See #1222 .
2021-01-02 20:28:52 +11:00
Dion Moult
a997b2f999
WIP you can now partially edit the object placement of an object. See #1222 .
2021-01-02 19:33:32 +11:00
Dion Moult
0ecf66f7fa
New IfcOpenShell placement utility module
2021-01-02 19:32:27 +11:00
Dion Moult
2c6686846a
WIP allow partial mesh geometry editing to preserve style assignments. See #1222 .
2021-01-02 17:45:36 +11:00
Dion Moult
008014a89b
WIP refactor ability to partially write a new shape representation. See #1222 .
2021-01-02 15:39:24 +11:00
Dion Moult
b016d39eca
WIP refactoring representations to be incrementally edited. See #1222 .
...
# Conflicts:
# src/ifcblenderexport/blenderbim/bim/operator.py
2021-01-01 12:15:18 +11:00
QwiglyDee
c773b5741b
decorations anti-aliasing
2020-12-31 19:56:55 +07:00
Cyril Waechter
9060b6ee40
Rework python pset module ( #1221 )
...
New features
============
* Handle all syntax for ApplicableEntity as defined in IFC documentation. (drawback it increase request time by ~2/3)
* Allow to get applicable psets directly from template definition without caching.
This allow more general purpose usages. (drawback it increase request time by ~2.4)
To notice / discuss
===================
* `ifcwrap/CmakeLists` was installing only `.py` and `.bnf` files from `ifcopenshell-python`.
Why ? It now copy all files. Is it an issue ?
* property template file is now stored in ifcopenshell python module to allow usage
from every softwares. It was before only available for blenderbim addon.
* psets and qtos are now optionnally cached at object instead of module level.
This allow to work with multiple schema in the same python interpreter.
(eg. might help conversion between schemas)
* in blenderbim addon psetqto are now stored in `schema.psetqto`.
2020-12-31 21:39:33 +11:00
Thomas Krijnen
c3d4ce8f51
Store drawing location in SVG
2020-12-31 11:31:05 +01:00
Thomas Krijnen
a5adb01dff
IfcConvert --svg-xmlns option
2020-12-30 14:44:43 +01:00
Thomas Krijnen
de5ce28a78
--auto-section and --auto-elevation flags
2020-12-30 14:25:08 +01:00
Dion Moult
9def261316
Importing now stores a link to the original IFC representation contexts and subcontext IDs
2020-12-30 21:09:19 +11:00
Dion Moult
c844076efb
New experimental option to export file from memory in preparation for incremental editing
2020-12-30 13:50:10 +11:00
Dion Moult
ee222628f3
Add Vim swp files to gitignore
2020-12-30 12:20:02 +11:00
Dion Moult
cd6c258687
IFC Clash in the BlenderBIM Add-on now generates snapshots of clashes in BCF
2020-12-30 12:18:41 +11:00
QwiglyDee
0799a78e9a
aligned grid labels horizontally
2020-12-30 02:44:46 +07:00
QwiglyDee
a073015a9a
Merge branch 'v0.6.0' of github.com:IfcOpenShell/IfcOpenShell into v0.6.0
2020-12-30 01:07:13 +07:00
QwiglyDee
01d59a1bc2
decoration code cleanedup/refactored
2020-12-30 01:05:48 +07:00
QwiglyDee
453dbd65ac
grid decorations.
2020-12-29 21:43:35 +07:00
aothms
7ae685dbff
Nix build: py39, boost1.71, no py34 on macos, boost url, no dae validator build
2020-12-29 07:59:52 -05:00
QwiglyDee
0d457ba0ce
breakline decoration.
...
close #1214
2020-12-29 19:10:29 +07:00
Dion Moult
ef8b3d60b7
Merge branch 'v0.6.0' of github.com:IfcOpenShell/IfcOpenShell into v0.6.0
2020-12-29 22:49:28 +11:00
Dion Moult
c502d39aaf
Add support for BCFXML export of IFC Clash results
2020-12-29 22:49:22 +11:00
QwiglyDee
397a09846e
Merge branch 'v0.6.0' of github.com:IfcOpenShell/IfcOpenShell into v0.6.0
2020-12-29 18:18:45 +07:00
Dion Moult
ceb7b0e13f
Refactor BCF features into its own module
2020-12-29 14:15:15 +11:00
Dion Moult
f49174cab4
Refactor main init to call module inits instead
2020-12-29 13:49:53 +11:00
Dion Moult
17e805e144
Minor fix - see #1062
2020-12-29 10:03:57 +11:00
Long
5c92bd7348
implement Open Drawing Camera button ( #1220 )
2020-12-29 10:00:49 +11:00
QwiglyDee
7c45181a6e
fixed decoration of broken geom again
2020-12-29 02:15:28 +07:00
QwiglyDee
82468370a7
fixed Level decoration color
...
close #1213
2020-12-29 02:09:48 +07:00
QwiglyDee
7f49ebea55
fixed addin grid
...
close #1217 , close #1215
2020-12-29 02:04:08 +07:00
Dion Moult
c0381588f3
Implement add BCF related topic
2020-12-28 20:13:41 +11:00
Dion Moult
37e56c4011
Implement remove BCF related topic
2020-12-28 19:56:57 +11:00
Dion Moult
ea83238e7a
Implement support for adding BCF document references
2020-12-28 19:46:47 +11:00
Dion Moult
fa6df3fa30
Implement support for deleting document references
2020-12-28 18:44:33 +11:00
johltn
424069893e
Include ifcparse
2020-12-28 06:38:06 +01:00
johltn
abb34d33e4
Update
2020-12-28 06:07:00 +01:00
Dion Moult
36a0119f40
Implement add BIM Snippet
2020-12-28 16:04:09 +11:00
Dion Moult
9fc5d97488
Merge pull request #1219 from htlcnn/v0.6.0
...
ifccsv delimiter
2020-12-28 15:03:55 +11:00
htlcnn
f277733ff5
ifccsv delimiter
2020-12-28 10:18:55 +07:00
Dion Moult
510d756cc4
Implement delete BCF topic BIM snippet
2020-12-28 13:14:33 +11:00
Dion Moult
bca9c82c3d
Implement ability to edit labels
2020-12-28 12:50:22 +11:00
Dion Moult
3deba2e71e
Implement support for adding BCF labels to topics
2020-12-28 12:46:52 +11:00
Dion Moult
d5566785be
Implement BCF delete label
2020-12-28 11:40:40 +11:00
Dion Moult
6cfa9f6e9b
Implement ability to edit individual BCF reference links
2020-12-28 11:20:44 +11:00
Dion Moult
6a00f2f0d2
Implement adding BCF reference links
2020-12-27 17:07:02 +11:00
Dion Moult
b9583c562d
Implement support for deleting reference links
2020-12-27 16:53:40 +11:00
Dion Moult
e51b7d3c85
Implement ability to add BCF header file
2020-12-27 16:20:35 +11:00
Maxim Vasilyev
5234c8086f
fixed typo
2020-12-27 00:21:59 +07:00
QwiglyDee
7e306251c1
Misc annotation and decoration.
...
close #1209
2020-12-26 23:41:10 +07:00
QwiglyDee
8d05ceaea9
Merge branch 'v0.6.0' of github.com:IfcOpenShell/IfcOpenShell into v0.6.0
2020-12-26 23:26:00 +07:00
QwiglyDee
abaae7f06d
copying grid.
...
close #1210
2020-12-26 23:25:39 +07:00
QwiglyDee
3c2c591d6d
breakline annotation
...
close #1208
2020-12-26 22:01:14 +07:00
Thomas Krijnen
315b32dd38
Nix build: assert cmake in path
2020-12-26 13:49:57 +01:00
Dion Moult
6699f2dccf
Merge pull request #1212 from htlcnn/v0.6.0
...
fix IfcGetAttribute malfunction #1089
2020-12-26 15:13:09 +11:00
htlcnn
f235f5765b
fix IfcGetAttribute malfunction
2020-12-26 11:08:07 +07:00
aothms
877bf3207a
Nix build: no longer build cmake, some fixes for 32bit crosscompiling
2020-12-24 20:46:42 +00:00
QwiglyDee
119a729319
fix #1165 imperial formatting
2020-12-24 21:55:27 +07:00
QwiglyDee
1b9b005820
decorations colour.
...
close #1197
2020-12-24 21:04:44 +07:00
QwiglyDee
1bea18d3cf
fixed #1206 , #1207 decorating incomplete and zero segments
2020-12-24 19:50:36 +07:00
Bernd Hahnebach
1b6857b8ba
bimtester: also use gettext for html report translation
2020-12-23 11:41:35 +01:00
Bernd Hahnebach
666641bb18
bimtester: reports, code formating
2020-12-23 11:41:35 +01:00
Dion Moult
67f7e68fa7
Implement support for deleting BCF header files
2020-12-23 16:22:29 +11:00
Dion Moult
7b2fa3e877
Add support for adding BCF viewpoints
2020-12-23 15:53:38 +11:00
Dion Moult
4d2be3e3c5
Since current implementations will allow BCF FoV outside the 45-60 range, let's allow it
2020-12-23 15:53:18 +11:00
Dion Moult
5a1f2ec4fe
Implement support for editing BCF comments
2020-12-23 13:58:28 +11:00
Bernd Hahnebach
b22055a588
bimtester: once again move report data into resources dir
2020-12-22 20:37:41 +01:00
Bernd Hahnebach
27051cce8a
bimtester: move report data into new directory
2020-12-22 20:29:56 +01:00
Bernd Hahnebach
4df8418e72
bimtester: steps, add more attributes tests
2020-12-22 20:14:05 +01:00
QwiglyDee
6dfeaf5509
bpy-based formatting units for decoration
...
close #1164
2020-12-22 22:46:49 +07:00
QwiglyDee
30f8350156
decorators for Levels
2020-12-22 22:28:55 +07:00
QwiglyDee
7a7caffaae
fix #1198 stair decorator arrow shape
2020-12-22 19:35:29 +07:00
QwiglyDee
a5530acfd7
fixed Hidden decotator in edit mode
2020-12-22 19:27:44 +07:00
QwiglyDee
8baf9b056d
decorators cleanup
2020-12-22 18:47:50 +07:00
Dion Moult
6f84bc6ce5
Implement BCF add comment
2020-12-22 18:41:51 +11:00
Dion Moult
6a5d255c2f
Implement delete BCF comment
2020-12-22 18:23:43 +11:00
Dion Moult
ee42703f9f
Implement delete BCF viewpoint
2020-12-22 16:22:29 +11:00
Bernd Hahnebach
2226d5a565
bimtester: steps, remove a newline added by accident
2020-12-21 17:14:12 +01:00
Bernd Hahnebach
7d138b8f72
bimtester: steps, add missing import
2020-12-21 17:09:46 +01:00
Bernd Hahnebach
edd6e74813
bimtester: steps, add element class attributes test
2020-12-21 17:05:08 +01:00
Bernd Hahnebach
2a6efaaaa4
bimtester: step, prepare attributes eleclasses for translation
2020-12-21 17:05:08 +01:00
Bernd Hahnebach
dafdd06b2e
bimtester: steps, split steps testmodule
2020-12-21 16:37:13 +01:00
Bernd Hahnebach
1a48472b19
bimtester: steps, sort them according expression matcher
2020-12-21 16:08:21 +01:00
Bernd Hahnebach
8e78ed332f
bimtester: steps, move project test into project test module
2020-12-21 16:08:21 +01:00
Bernd Hahnebach
de5dc40e63
bimtester: steps, add new test module for spatial structure
2020-12-21 16:08:21 +01:00
Bernd Hahnebach
60dd74c64d
bimtester: steps, better name for element class guid tests
2020-12-21 16:08:21 +01:00
QwiglyDee
ff0a7891be
decorators code cleanup
2020-12-21 20:22:23 +07:00
QwiglyDee
a14c0f70a6
decorator for hidden close #1178
2020-12-21 20:22:23 +07:00
QwiglyDee
babbd51e70
decorations for Dim, Eq, Leader, Stair
...
close #1177 , #1176 , #1158 , #1150
2020-12-21 20:22:23 +07:00
QwiglyDee
ec02c8600b
refactored shaders
2020-12-21 20:22:23 +07:00
QwiglyDee
0c06639635
decorator classes for Dim/Eq/Leader/Stair/Hidden
2020-12-21 20:22:23 +07:00
QwiglyDee
97913e8592
fixed #1157 again with proper perspective correction
2020-12-21 20:22:23 +07:00
Bernd Hahnebach
26d537cb4f
gitignore: add gettext binary translation files, used in bimtester
2020-12-21 12:16:55 +01:00
Bernd Hahnebach
3b856f446e
bimtester: remove binary mo files from repository
2020-12-21 12:16:55 +01:00
Bernd Hahnebach
b8fe04b7a9
bimtester: fix error in step code
2020-12-21 11:28:51 +01:00
Bernd Hahnebach
81326ba48f
bimtester: improve and translate geometric representation class type test
2020-12-21 11:24:42 +01:00
Bernd Hahnebach
21a7599d45
bimtester: small code improvements
2020-12-21 11:24:42 +01:00
Bernd Hahnebach
1074c2431c
bimtester: add dummy feature file to be able to run a command to get all implemented steps
2020-12-21 11:24:42 +01:00
johltn
b77aa11776
Update
2020-12-21 10:15:39 +01:00
johltn
b6cf97a291
Change RST file title
2020-12-21 09:32:52 +01:00
Dion Moult
eb0f2de197
New snap spaces together utility for cleaning up spaces for energy modeling
2020-12-21 18:26:39 +11:00
Dion Moult
1a48343bcb
Optimise import and editing for files with lots of aggregations
2020-12-21 10:44:14 +11:00
Dion Moult
b0bd027f84
Optimise import to only consider surface styles
2020-12-21 10:43:21 +11:00
Thomas Krijnen
8bf530d0d7
Missing file that accompanies 9bcd932bed
2020-12-20 21:53:51 +01:00
Thomas Krijnen
a3bc159359
#1173 mutex in get_default_style()
2020-12-20 14:38:54 +01:00
Thomas Krijnen
7d756138f2
Add generator expresss_parser.py
2020-12-20 11:10:21 +01:00
Dion Moult
c16b63e5ae
New import code profiler in the IFC debug panel
2020-12-20 13:48:37 +11:00
Dion Moult
3eee5aba78
Optimise presentation layer assignment which was ridiculously slow and badly implemented
2020-12-20 11:03:19 +11:00
Dion Moult
05d835410d
Reimplement basic BCF metadata editing and further improve BCF UI
2020-12-19 21:48:23 +11:00
Dion Moult
03d8537a2d
Revert borked submodules. See #1186 .
2020-12-19 14:29:43 +11:00
Dion Moult
509ee78b67
Merge pull request #1184 from IFCRail/v0.6.0-ifcrail-mod
...
Set of improvements for BIMTester
2020-12-19 14:24:52 +11:00
Roch Bertucat
8cc546a9a2
Add path option for providing a schema in a step
2020-12-18 17:14:55 +01:00
Roch Bertucat
0ab82295f9
Fix a small issue in report path
2020-12-18 16:51:01 +01:00
Roch Bertucat
0f66f88420
Revert template change
2020-12-18 16:25:00 +01:00
Roch Bertucat
5572faf8b4
Fix an issue with localedir
2020-12-18 16:12:11 +01:00
Roch Bertucat
322860cc51
Merge remote-tracking branch 'origin/v0.6.0-ifcrail-contrib' into
...
v0.6.0-ifcrail-mod
Conflicts:
src/ifcbimtester/bimtester/features/steps/ifcdata.py
src/ifcbimtester/bimtester/features/template.html
src/ifcbimtester/bimtester/reports.py
src/ifcbimtester/bimtester/run.py
2020-12-18 15:44:46 +01:00
rbertucat
1bff04d2c0
Merge pull request #3 from IfcOpenShell/v0.6.0
...
Merge changes from main repo
2020-12-18 12:54:34 +01:00
Dion Moult
de4f18e2af
New UI to show BCF comments in the BCF panel as a subpanel
2020-12-18 22:14:31 +11:00
Roch Bertucat
03dd4c39b7
Add skipped step to the HTML template
2020-12-18 11:24:33 +01:00
Roch Bertucat
fc7d05c691
Improve referencing files using the path if available
2020-12-18 11:24:01 +01:00
Roch Bertucat
854a0fe863
Add a way to specify a path to the arguments
2020-12-18 11:22:51 +01:00
Roch Bertucat
9ffc2874da
Add a way to stop if fail step and improve report accordingly
2020-12-18 11:22:14 +01:00
Roch Bertucat
e01b677845
Add build/dist folders to gitignore
2020-12-18 11:20:42 +01:00
Bernd Hahnebach
85a78a6e48
bimtester: se gettext for message translation
2020-12-18 17:25:05 +11:00
Bernd Hahnebach
3ae20637d7
bimtester: code formating
2020-12-18 17:25:05 +11:00
Dion Moult
7dd40149aa
Migrate from bcfplugin to new bcf library in the BlenderBIM Add-on
2020-12-18 16:28:17 +11:00
Dion Moult
d08da0a61d
Document basic usage of bcf library
2020-12-17 22:47:15 +11:00
Dion Moult
1b09bb37e8
The BCF-XML library can now handle most data writing functions
2020-12-16 23:47:50 +11:00
Bernd Hahnebach
90f225e93b
bimtester: improve submodule handling for step translation
2020-12-16 23:10:40 +11:00
QwiglyDee
f00040c7d9
decorators for equal dimentions #1158
2020-12-16 17:29:15 +07:00
QwiglyDee
b8286e8fb5
arrow size fix #1157
2020-12-16 17:06:36 +07:00
QwiglyDee
dbafcc2fa1
fixed #1159 zero projection
2020-12-16 16:54:49 +07:00
Håkon Åmdal
a869e88de0
fix: use correct initializer function when compiling with USE_MMAP
2020-12-15 13:25:48 +01:00
Dion Moult
5ad6abea1a
Add simple BCF library to supersede bcfplugin, with bcfxml read capability
2020-12-15 14:49:29 +11:00
Bernd Hahnebach
d00da09cdc
start translation into German and French with one step as well as the report
2020-12-15 10:09:46 +11:00
Dion Moult
17a8b33387
You can new create new BCF projects from scratch
2020-12-14 13:51:01 +11:00
Dion Moult
4f2bf3a36f
You can now add new BCF topics to a BCF project
2020-12-14 13:29:52 +11:00
Carlos Dias
e208dd0381
Update selector.py
...
Changes fix problem with boolean values
2020-12-14 12:59:20 +11:00
Dion Moult
a62a32d414
Support for setting the BCF author. You can also now edit basic BCF topic metadata.
2020-12-13 21:56:04 +11:00
Dion Moult
6a06c292a1
Fix #1148 . Fix crash when creating drawings on Windows with Blender >= 2.91
2020-12-13 16:54:11 +11:00
Dion Moult
9dcf44fbea
You can now view and edit the BCF project name
2020-12-13 16:35:51 +11:00
Dion Moult
e39a997f5f
Bump to latest bcfplugin, new operator to save BCF projects
2020-12-13 13:45:21 +11:00
Vincent Cadoret
f3269b732f
More sensible names for the Smart Clash Groups
2020-12-12 13:04:28 +11:00
Vincent Cadoret
14c726008d
Split out clashes that were not grouped so they so up individually.
2020-12-12 13:04:28 +11:00
rbertucat
c0b4115202
Merge pull request #1 from engisis-com/v0.6.0
...
Apply changes done under Engisis to the IFCRail fork
2020-12-11 15:48:56 +01:00
Dion Moult
d5e6721ac4
Minor fix to support multiple dimension objects for decorations. See #1150 .
2020-12-11 11:13:48 +11:00
QwiglyDee
48de2f77ab
fix arrows heads
2020-12-11 10:11:47 +11:00
QwiglyDee
f37283f61c
drawing arrows
2020-12-11 10:11:47 +11:00
QwiglyDee
cc5f34a705
text drawing
2020-12-11 10:11:47 +11:00
QwiglyDee
33bf7054bf
ui and decorator handler
2020-12-11 10:11:47 +11:00
Thomas Krijnen
14193fb486
#1126 more elaborate polygonal curve segment check
2020-12-10 10:48:14 +01:00
Roch Bertucat
34174dd3f3
Add a set of steps to test aggregations in IFC files
2020-12-10 10:42:49 +01:00
Roch Bertucat
479b937f81
Add a way to load a custom IFC Schema and add util methods
2020-12-10 10:37:17 +01:00
Roch Bertucat
cada9c9e3b
Specify encoding for HTML report for special characters
2020-12-10 10:35:47 +01:00
Roch Bertucat
860d795ba1
Add a way to generate a report after the tests in the same command
2020-12-10 10:35:13 +01:00
Dion Moult
2ac0b75dbc
New Link IFC operator to easily append IFCs from another Blend file into a master file
2020-12-10 13:52:29 +11:00
Dion Moult
fb7998980d
Fix bug where aggregates were accidentally hidden when generating drawings
2020-12-10 13:51:51 +11:00
Dion Moult
b9af4906aa
Fix bug where selecting the IFC file for drawing generation didn't work
2020-12-10 13:51:27 +11:00
Dion Moult
ce6350a52f
New clean wireframes operator to easily apply edge split modifier to nicer drawings
2020-12-10 13:50:43 +11:00
Dion Moult
b65c1e94ad
Purge old experimental painter algorithm code for vector background elements
...
In preparation to migrate this to C++
2020-12-09 10:38:13 +11:00
Dion Moult
0387783e9d
Minor fix
2020-12-07 17:28:16 +11:00
Dion Moult
b72b2aa7d7
Package new BIMTester for the BlenderBIM Add-on
2020-12-07 16:42:01 +11:00
Dion Moult
c1bbb1e721
You can now bake parametric geometry to meshes
2020-12-07 15:33:51 +11:00
Dion Moult
0d28e741fc
Fix bug where spatial elements didn't get styles exported correctly
2020-12-06 19:10:03 +11:00
Dion Moult
0d03b4e008
Allow graceful migration of IFC entities when exporting so the user doesn't need to fix every invalid schema attribute themselves3RlG$Bayj3kPlwh4EEvXJP
2020-12-06 11:38:02 +11:00
fbpyr
981f0c23c7
apply matrix to object in BlenderClasher
...
Since scale is not supported in fcl upstream as found in https://github.com/IfcOpenShell/IfcOpenShell/issues/1129
2020-12-04 19:05:53 +11:00
Dion Moult
884e8a5663
Fix #1071 . New IFC file version 2X3<->4 upgrader and downgrader IfcPatch recipe
2020-12-04 11:52:18 +11:00
Dion Moult
06685f9768
Fix example script for printing out properties. See #1145 .
2020-12-04 10:59:59 +11:00
Dion Moult
9a20de914b
Add new workaround for the DESITE BIM application
2020-12-04 09:23:44 +11:00
Bernd Hahnebach
26f6e875ed
bimtester: add more ifc file tests
2020-12-04 09:20:41 +11:00
Bernd Hahnebach
cda131d6c1
bimtester: move ifc steps in separte module
2020-12-04 09:20:41 +11:00
Dion Moult
e1fa6fb306
You can now apply drawing styles to elements with material set usages
2020-12-03 22:17:46 +11:00
Dion Moult
679c2bef02
Fix bug where aggregates cause drawing generation to fail
2020-12-03 21:52:17 +11:00
Dion Moult
8bb157ce0a
Auto-add the currently loaded IFC when creating a drawing for the first time
2020-12-03 21:51:14 +11:00
Dion Moult
bdaf8cd0f3
Fix import bug where duplicate material names with accents cause import to fail
2020-12-03 21:44:20 +11:00
Dion Moult
4e62c276ee
Fix #1111 - issue where sometimes class and product dropdown gets out of sync. Also new utility function to query is_a() in the schema.
2020-12-02 09:51:00 +11:00
Dion Moult
c70b41f21a
Fix #1112 . You can now tag material attributes.
2020-12-02 09:03:18 +11:00
Dion Moult
aaf9b10a9e
Fix #1128 with improved IFCCSV description
2020-12-02 08:50:15 +11:00
Thomas Krijnen
9281c8fbce
#1126 Update serialization for trimmed curve
2020-12-01 14:03:07 +01:00
Dion Moult
5f76062575
Fix issue where invalidly declared representation contexts can confuse drawing creation
2020-12-01 22:26:02 +11:00
Dion Moult
efd2663f15
Support layer set material names classes in drawings
2020-12-01 22:25:30 +11:00
Dion Moult
823b10e323
Dumb grids are auto placed in an IfcSite if it can be detected for convenience
2020-12-01 21:37:47 +11:00
Dion Moult
431de8d5a1
Package ExtractElements IfcPatch recipe with the BlenderBIM Add-on
2020-12-01 21:29:09 +11:00
Dion Moult
dce730d9c2
Ship optimise IfcPatch recipe with BlenderBIM
2020-12-01 21:24:30 +11:00
Vincent Cadoret
50d7efa99b
move import statements to make dependencies optional
...
so regular clashing doesn't break if the dependencies are not present.
2020-12-01 14:06:57 +11:00
Vincent Cadoret
957c719224
Skip clash_set if it has 0 clashes
2020-12-01 14:06:57 +11:00
Vincent Cadoret
b407b815e2
Allow selection of max grouping distance in UI
2020-12-01 14:06:57 +11:00
Vincent Cadoret
ac12a6785c
Added a button to Load the smart clash groups for the active clash set
2020-12-01 14:06:57 +11:00
Vincent Cadoret
8aae7c95e6
Rename IsolateSmartGroup operator to SelectSmartGroup
2020-12-01 14:06:57 +11:00
Vincent Cadoret
bbde4e7522
Added a ui to select input and output files to clash smart grouper.
2020-12-01 14:06:57 +11:00
Vincent Cadoret
803a4b6c12
cleanup unnecessary imports and prints
2020-12-01 14:06:57 +11:00
Vincent Cadoret
5a06bd5a57
Minimum viable protoype for Smart Clash Grouping completed
2020-12-01 14:06:57 +11:00
Vincent Cadoret
51dca4329c
Add a more useful error message when no clashes are loaded for the given clashset
2020-12-01 14:06:57 +11:00
Vincent Cadoret
1921b4cecf
Added clash manager basic interface to load smart grouped clashes
2020-12-01 14:06:57 +11:00
Dion Moult
f7e05e011a
Merge branch 'fix-roundtrip' into v0.6.0
2020-12-01 10:47:49 +11:00
Dion Moult
2596f90015
Fix #952 . Implement roundtripping of all representation contexts.
2020-12-01 10:46:28 +11:00
Bernd Hahnebach
24c542e33a
bimtester: small code improvements in gui
2020-11-30 17:54:10 +11:00
Dion Moult
7b7f756506
Add support of exporting material sets for construction types
2020-11-30 11:28:32 +11:00
Dion Moult
9ca124bf2f
New UI to show inherited materials from related types
2020-11-30 11:27:51 +11:00
Dion Moult
c9666015bb
Fix error when creating a drawing of a file with material set usages
2020-11-30 09:51:42 +11:00
Thomas Krijnen
8815b74ff8
thanks @tpaviot
2020-11-29 16:16:11 +01:00
Dion Moult
98f45817a6
Improved UI for psets and qtos with collapsible panels and improved readibility
2020-11-29 23:24:56 +11:00
Dion Moult
e3f61510ad
The object psets panel now show inherited psets too
2020-11-29 22:26:51 +11:00
Bernd Hahnebach
864dcffef8
bimtester: startscript, add argument to start gui with some start directories
2020-11-28 08:27:24 +11:00
Bernd Hahnebach
fae899823b
bimtester: rename startscript, if startscript and package have the same name it is difficault to import the startscrip as the package has priority
2020-11-28 08:27:24 +11:00
Bernd Hahnebach
26d35a7644
bimtester: improve the signatures of the methods to run behave in temporary directory
2020-11-28 08:27:24 +11:00
Dion Moult
4a5fe83dab
Fix minor regression where the section cutting plane doesn't work if you haven't selected an object
2020-11-27 22:07:32 +11:00
Dion Moult
78666caa47
Minor improvement to roundtripping. Combined with 2.91 booleans, this rocks.
2020-11-27 22:02:12 +11:00
Dion Moult
3ad2d0eaac
Fix import bug where some IfcOpeningElements aren't put in the openings collection properly
2020-11-27 22:01:43 +11:00
Dion Moult
7ad35249b8
IfcOpeningElements now show up as wireframe for convenience by default
2020-11-27 22:01:15 +11:00
Dion Moult
259d467164
Add experimental support for non-IFC Blender clashing. See #1129 .
2020-11-27 18:18:23 +11:00
Dion Moult
cfa97be080
Be less accommodating to invalid Revit grids. See #1133 .
2020-11-27 12:14:08 +11:00
Dion Moult
fddea742b8
Support invalid IfcGrid elements coming from Revit. See #1133 .
2020-11-27 09:31:00 +11:00
Bernd Hahnebach
6ebb69f62e
bimtester: steps, improve imports
2020-11-27 09:07:01 +11:00
Dion Moult
b0097d35b4
Merge branch 'v0.6.0' of github.com:IfcOpenShell/IfcOpenShell into v0.6.0
2020-11-26 21:31:52 +11:00
Dion Moult
15ea15d9ab
Roundtripping geometry now works for one to many styled item relationships
2020-11-26 21:31:42 +11:00
Bernd Hahnebach
b88eb37bdf
bimtester: improve imports in steps
2020-11-26 19:00:57 +11:00
Bernd Hahnebach
5ce334019c
bimtester: merge guibimtester into bimtester module
2020-11-26 19:00:57 +11:00
Bernd Hahnebach
15199152ac
bimtester: code formating and comments
2020-11-26 19:00:57 +11:00
Dion Moult
e346d5e3c6
Support invalid empty IFC properties coming from ArchiCAD. See #1131 .
2020-11-26 12:48:03 +11:00
Dion Moult
957cc02157
Support exporting downgraded material definitions to IFC2X3 from IFC4
2020-11-26 09:53:05 +11:00
Bernd Hahnebach
32f99428c3
bimtester: move code into a package directory
2020-11-26 08:30:03 +11:00
Thomas Krijnen
acb518613b
#1118 check parallel and shape type
2020-11-25 11:02:57 +01:00
Dion Moult
25a26db360
Exporting classifications to IFC2X3 (including downgrading) is now supported
2020-11-25 20:35:11 +11:00
Dion Moult
5cbc924c85
Merge branch 'v0.6.0' of github.com:IfcOpenShell/IfcOpenShell into v0.6.0
2020-11-25 20:17:47 +11:00
Dion Moult
4bff3dc3dd
Roundtripping native geometry now works across different IFC schema versions
2020-11-25 20:17:30 +11:00
Bernd Hahnebach
a5b00f1ac9
bimtester: pass the ifc base file name to behave
2020-11-25 19:29:47 +11:00
Bernd Hahnebach
a9a8213731
bimtester: comments and code formating
2020-11-25 19:29:47 +11:00
Dion Moult
33b2661464
Merge branch 'v0.6.0' of github.com:IfcOpenShell/IfcOpenShell into v0.6.0
2020-11-25 13:15:20 +11:00
Dion Moult
3085c88647
New experimental IfcOpenShell IFC2X3<->IFC4 version migration utility
2020-11-25 13:13:46 +11:00
Bernd Hahnebach
7ec91728be
bimtester: remove the just added licence headers to avoid any confusion
2020-11-25 08:56:03 +11:00
Thomas Krijnen
b1c4481795
Option to disable boolean results (sets result to first operand)
2020-11-24 16:58:05 +01:00
Bernd Hahnebach
dd4902be18
bimtester: fix licence header
2020-11-24 18:04:34 +11:00
Dion Moult
c057cb9aab
Recreating round-tripped representations now preserves surface styles
2020-11-24 12:09:49 +11:00
Dion Moult
e2543954c0
Native geometry round-tripping now works with decoupled surface styles
2020-11-24 10:18:16 +11:00
Bernd Hahnebach
7ba812c6c9
bimtester: some restructure work
2020-11-24 08:21:19 +11:00
Thomas Krijnen
b15acfed42
Update IfcGeomShapes.cpp
2020-11-23 11:21:14 +01:00
Thomas Krijnen
648c976dd4
Remove debugging code #1121
2020-11-23 11:20:55 +01:00
Dion Moult
dd0a3ad7b8
Minor fix. Forgot to commit when I cleaned up the simpler copy attributes operator.
2020-11-23 16:01:21 +11:00
Dion Moult
b37ddb766f
Native representation roundtripping now supports layer assignments and will "fix" representations to use subcontexts properly. See #952 .
2020-11-23 16:00:45 +11:00
Dion Moult
7cc832ea15
Fix warnings in new simplified copy attribute to selection operator
2020-11-22 09:29:33 +11:00
johanrd
fc5fcef079
Fix for #1119 (regression from 0984751)
2020-11-21 10:53:00 +01:00
Dion Moult
280466df53
Fix bug where a material wouldn't get assigned for multiple mapped representations
2020-11-20 23:31:52 +11:00
Dion Moult
2bd44e2fe8
Add support for importing IfcMaterial description and category attributes
2020-11-20 23:31:29 +11:00
Dion Moult
9a87f3673a
Vendor workaround "treat styled item as material" deprecated, as new material & style system supports styles much better
2020-11-20 20:30:30 +11:00
Dion Moult
5af85ee7a3
Add support for IFC2X3 material data imports
2020-11-20 19:49:50 +11:00
Dion Moult
e150e5f6c3
Fix default layer category to none, not load bearing, in case we import IFC2X3 where this is blank
2020-11-20 19:49:04 +11:00
Dion Moult
44dc5a92b7
Fix bug where no colour is set if only a styled item has a style but a material has no representation
2020-11-19 22:38:23 +11:00
Laurens Oostwegel
1f938c7f1a
Deleted IfcWall duplicate in defaut styles
2020-11-19 20:35:56 +11:00
Dion Moult
225f8c788b
Bump IFCJSON dep
2020-11-15 22:15:53 +11:00
Dion Moult
17d069e9b5
Bump IfcOpenShell & minor fix
2020-11-15 21:08:25 +11:00
Dion Moult
21b9557b97
Minor fix
2020-11-15 20:26:22 +11:00
Dion Moult
76b29cb174
Presentation layers are now assigned to meshes, and implement representation assignment. See #1109 .
2020-11-15 17:00:50 +11:00
Dion Moult
1c24a59075
Merge branch 'v0.6.0' of github.com:IfcOpenShell/IfcOpenShell into v0.6.0
2020-11-14 22:18:14 +11:00
Dion Moult
9080744669
Minor fixes to new presentation layer features by Krande
2020-11-14 22:17:56 +11:00
Thomas Krijnen
47cd183e61
submodule
2020-11-14 11:04:12 +01:00
Dion Moult
9dcb2f9094
Merge branch 'Krande-presentationlayer' into v0.6.0
2020-11-14 19:55:09 +11:00
Dion Moult
2e762854fa
Merge branch 'presentationlayer' of https://github.com/Krande/IfcOpenShell into Krande-presentationlayer
2020-11-14 19:54:51 +11:00
Dion Moult
819b62a747
Fix bug where a styled item could be incorrectly assigned if an element has more than one representation context
2020-11-14 14:33:58 +11:00
Dion Moult
599089ad67
Now materials that aren't also used as a styled item can be exported
2020-11-14 13:36:49 +11:00
Dion Moult
ddfe0e0c98
IFCCSV will now skip GUIDS that it cannot find
2020-11-14 10:11:36 +11:00
Dion Moult
27a8e7c89a
IFCCSV now continues to edit other attributes even if it cannot change a class
2020-11-14 10:07:08 +11:00
Kristoffer
b9e34a107b
Prepare for pull request
2020-11-13 14:45:08 +01:00
Dion Moult
df3bb0428c
Fix #1103 bug where importing multiple grids with the same name fails
2020-11-13 22:01:49 +11:00
htlcnn
728b60e8c3
remove unused imports
2020-11-13 20:13:07 +11:00
Dion Moult
808ef1a19e
New UI to manage material psets instead of needing to use CSVs
2020-11-11 23:02:07 +11:00
Dion Moult
d6397baa59
Blender materials now map 1:1 to IfcMaterial and can store attributes
2020-11-11 22:13:50 +11:00
htlcnn
ecdc05d265
remove unused IfcElementType dropdown items
2020-11-11 11:35:14 +11:00
Bernd Hahnebach
7bb5860200
bimtester: fix in report creation on empty steps
2020-11-11 11:34:55 +11:00
Dion Moult
b3d180a288
Add workaround to guess geolocation data from Revit
2020-11-10 22:43:05 +11:00
Dion Moult
a9ae92883d
Add support for importing material data for type elements with no representation geometry
2020-11-10 18:02:43 +11:00
Dion Moult
1866b7852a
Provide support of upgrading a deprecated material list as a constituent set during import
2020-11-10 17:50:04 +11:00
krande
aca90b38c8
further experimentation. Still not able to hide\unhide
2020-11-09 18:08:03 +01:00
Kristoffer
2eae3a70d9
Added support for importing Presentation Layers from Ifc
2020-11-09 16:44:56 +01:00
Kristoffer
26510de9e0
Cleaned up formatting to align with master v0.6 branch
2020-11-09 13:40:14 +01:00
Kristoffer
2a585c98d8
Merge branch 'v0.6.0' of https://github.com/IfcOpenShell/IfcOpenShell into presentationlayer
2020-11-09 13:35:15 +01:00
Kristoffer
9f86396edf
Finished with creating, exporting Presentation Layer. Will start work on importing Presentation layer
2020-11-09 13:34:55 +01:00
Dion Moult
3477d3f1a2
Implement import support for material profile sets
2020-11-09 21:03:21 +11:00
htlcnn
caa1677181
rearrange logic
2020-11-09 20:41:11 +11:00
htlcnn
84509b7cc2
add IfcClass selector for Ifc By Type node
2020-11-09 20:41:11 +11:00
Luis C. Pérez Tato
09847513ab
Fixes #1038
2020-11-09 09:19:46 +01:00
Dion Moult
40e30eaa36
Support exporting more metadata labels like names and descriptions for profile sets
2020-11-09 19:15:23 +11:00
Dion Moult
527e6b0ca7
Minor fix
2020-11-09 15:26:16 +11:00
Dion Moult
8bdd24ba16
Add support for importing all attributes of material layers and consitutents
2020-11-09 15:01:39 +11:00
Dion Moult
4a6c980779
You can now rewind a breadcrumb trail when inspecting IFCs and show attribute lists
2020-11-09 11:45:53 +11:00
johltn
47af56cfa0
Fix typo
2020-11-08 18:13:13 +01:00
johltn
e186bc8e15
Update
2020-11-08 18:08:16 +01:00
tpaviot
ba094f2967
[clang-warning-fix] Removed unused format_edge and format_pnt functions from IfcGeomFunctions.cpp
2020-11-08 15:52:54 +01:00
tpaviot
8c507ea007
[g++-warning-fix] Fix wrong initialization order in SvgSerializer.h
2020-11-08 15:52:54 +01:00
tpaviot
640dc7cf5a
[g++-warning-fix] Fix ambiguous parenthesis in SvgSerializer.cpp
2020-11-08 15:52:54 +01:00
tpaviot
28d9bccb6e
[g++-warning-fix] Fix sign comparison in IfcGeomServer.cpp
2020-11-08 15:52:54 +01:00
tpaviot
1aa3e70d89
[g++-warning-fix] Removed unused function
2020-11-08 15:52:54 +01:00
tpaviot
e4662cf209
[g++-warning-fix] Fix wrong enum compare
2020-11-08 15:52:54 +01:00
tpaviot
f17702c66a
[g++-warning-fix] Fix sign comparison, unused function, unused variables in IfcGeomShapes.cpp
2020-11-08 15:52:54 +01:00
tpaviot
b8e0c21dcc
[g++-warning-fix] Fixed comparison between signed and unsigned integer expressions
2020-11-08 15:52:54 +01:00
tpaviot
4ea56ba987
[g++-warning-fix] Fixed initialization reorder
2020-11-08 15:52:54 +01:00
tpaviot
e793683668
[g++-warning-fix] Removed unused variable
2020-11-08 15:52:54 +01:00
johltn
9645b9f189
Update
2020-11-08 14:37:04 +01:00
johltn
a0d2bc25b1
Update
2020-11-08 14:02:50 +01:00
Kristoffer
a1cbf9a055
minor improvements in ui,export and operator
2020-11-08 13:52:20 +01:00
johltn
34e5cd9d16
Update
2020-11-08 13:37:01 +01:00
Dion Moult
b37ea77934
Implement IFC element inspector interface, useful for training and teaching OpenBIM
2020-11-08 21:52:34 +11:00
johltn
7827b15479
Update
2020-11-08 11:32:09 +01:00
johltn
f8e57b04b0
Update
2020-11-08 11:30:40 +01:00
Kristoffer
6423d13054
Merge branch 'v0.6.0' of https://github.com/IfcOpenShell/IfcOpenShell into presentationlayer
2020-11-08 11:25:04 +01:00
johltn
3ca2a8be39
Update
2020-11-08 10:42:17 +01:00
johltn
388ac5740d
Update
2020-11-08 10:30:23 +01:00
johltn
7825adf8e0
Update Travis
2020-11-07 20:55:54 +01:00
johltn
1eaa2ca8b4
Update Doxyfile
2020-11-07 19:30:51 +01:00
johltn
e366c15dde
Update conf.py
2020-11-07 19:12:33 +01:00
johltn
63f0c87920
Try to fix index.rst and also incude python docs
2020-11-07 18:55:39 +01:00
johltn
247a285b68
Test customized Doxyfile
2020-11-07 18:41:15 +01:00
johltn
ad9382de08
Create nojekyll file to handle underscore
2020-11-07 07:55:33 +01:00
Bernd Hahnebach
05c952073b
bimtester: some small improvements
2020-11-07 10:24:08 +11:00
Kristoffer
9a385c2118
minor improvements
2020-11-06 16:53:42 +01:00
Kristoffer
5928ddba40
Merge branch 'v0.6.0' of https://github.com/IfcOpenShell/IfcOpenShell into presentationlayer
2020-11-06 12:24:06 +01:00
Dion Moult
19b867dae8
Full support added for exporting material layer and constituent set attributes
2020-11-06 21:57:34 +11:00
Dion Moult
adf9ac52b2
Revert "add flake8 to travis-ci"
...
This reverts commit 990e6ee24e .
2020-11-06 20:53:02 +11:00
htlcnn
7c63370548
update travis-ci badge
2020-11-06 14:17:29 +11:00
htlcnn
b8c3da4951
fix EnumProperty items
2020-11-06 13:52:22 +11:00
htlcnn
322f3773e4
Ifc By Type dropdown
2020-11-06 08:18:15 +11:00
htlcnn
990e6ee24e
add flake8 to travis-ci
2020-11-06 08:18:15 +11:00
ofskrand
87e25cc597
Attempt to simplifying assigned items pointer. Stuck on read only
2020-11-05 16:32:49 +01:00
ofskrand
5009371e0f
Ran into error when attempting to append EnumProperty. How is that done?
2020-11-05 13:54:20 +01:00
Thomas Krijnen
f5c57d2a1c
#1078 check optional opening attributes
2020-11-05 13:37:21 +01:00
Dion Moult
ba09e08da5
Create new UI to manage material constituents
2020-11-05 22:41:43 +11:00
Dion Moult
4b2c129a4e
Add IFC export to Navisworks workaround to enforce triangulation
2020-11-05 22:01:53 +11:00
Dion Moult
2fb67b09cd
New category for IFC export workarounds for RIB iTWO costing program
2020-11-05 21:47:53 +11:00
Dion Moult
50b8718e3a
Fix bug where setting north angle from a geolocated IFC was wrong
2020-11-05 21:37:26 +11:00
johltn
e306da65c9
Update Travis file
2020-11-05 11:16:54 +01:00
johltn
e57ffa9447
Change username
2020-11-05 09:04:01 +01:00
johltn
35a668f3a8
Add sudo to mv command
2020-11-05 08:38:17 +01:00
Dion Moult
6ecf7a80f5
You can now convert from global to local coordinates
2020-11-05 18:17:45 +11:00
johltn
4fe44d0f47
Fix directory path
2020-11-05 08:07:14 +01:00
ofskrand
227ec74a51
Merge branch 'v0.6.0' of https://github.com/IfcOpenShell/IfcOpenShell into presentationlayer
2020-11-05 08:00:24 +01:00
ofskrand
9560211307
debugging collection property
2020-11-05 07:57:24 +01:00
johltn
617cad0b1a
Check current dir
2020-11-05 07:44:34 +01:00
Dion Moult
30afd6c95b
New fancy UI for material layer set management
2020-11-04 21:28:47 +11:00
Cyril Waechter
04943b216b
Add pyproject.toml
...
Following #1057 . For this project black should apply a line lenghth of 120.
This is automatically set up with pyproject.toml
2020-11-04 18:54:58 +11:00
ofskrand
aed4706e4c
updated ui with Presentation Layer
2020-11-04 08:52:20 +01:00
ofskrand
eeef2cfb3f
Merge branch 'v0.6.0' of https://github.com/IfcOpenShell/IfcOpenShell into presentationlayer
2020-11-04 07:57:40 +01:00
Dion Moult
3240ec63b7
New recipe to extract out elements into its own IFC
2020-11-04 16:47:49 +11:00
Kristoffer
ae25d97307
minor change [skip ci]
2020-11-03 15:55:08 +01:00
Dion Moult
b07d999bce
Fix #946 . More intuitive UI for reassigning IFC class of the active object.
2020-11-03 22:59:35 +11:00
Dion Moult
ad1cc7f0b9
Fix #1011 . Add example tooltips of add-on preferences external commands.
2020-11-03 21:14:39 +11:00
Dion Moult
81cba70f33
You can now add / remove qtos in bulk. See #1060 .
2020-11-03 21:04:50 +11:00
Dion Moult
8b0f0fe60f
You can now add / remove psets in bulk. See #1060 .
2020-11-03 20:59:48 +11:00
htlcnn
cde2d55694
add .git-blame-ignore-revs
2020-11-03 17:15:05 +11:00
Dion Moult
67baad5182
Fix #971 . New utility function to query which psets/qtos apply to a class.
2020-11-03 09:53:03 +11:00
Kristoffer
d9ecd20414
testing with layers [skip ci]
2020-11-02 15:14:33 +01:00
johltn
0def2a9b13
See if output exists
2020-11-02 13:14:46 +01:00
johltn
a75ced62ce
Try first commit
2020-11-02 12:43:17 +01:00
Dion Moult
96b8bc638b
Add support for deleting attributes in bulk. See #1060 .
2020-11-02 22:12:31 +11:00
Dion Moult
ba8689468e
You can now add attributes in bulk by selecting multiple before adding. See #1060 .
2020-11-02 22:05:47 +11:00
Kristoffer
2b1a7eec47
Merge remote-tracking branch 'origin/presentationlayer' into presentationlayer
...
# Conflicts:
# src/ifcblenderexport/blenderbim/bim/prop.py
# src/ifcblenderexport/blenderbim/libs/site/packages/.gitignore
2020-11-02 07:15:05 +01:00
Kristoffer
35bcaa804b
testing with layers [skip ci]
2020-11-02 07:13:51 +01:00
Dion Moult
8660d22476
Minor fix.
2020-11-02 11:26:31 +11:00
Dion Moult
3bc4e756cb
Add support for case insensitive file units on import
2020-11-02 10:20:44 +11:00
htlcnn
163075a821
black ifcblenderexport
2020-11-02 08:28:02 +11:00
htlcnn
286c77e3b0
black ifcopenshell-python
2020-11-02 08:28:02 +11:00
krande
19c8d13e86
Started on PresentationLayer support. Made necessary change to props set_unit enumerate list of tuples to adhere to actual IFC naming.
2020-11-01 15:59:43 +01:00
htlcnn
2c9d6a47f4
black ifcsverchok
2020-11-01 23:50:02 +11:00
htlcnn
4a6ec11f6f
black ifccsv, ifcdiff
2020-11-01 23:50:02 +11:00
htlcnn
d169a964dd
black ifccobie
2020-11-01 23:50:02 +11:00
htlcnn
892be5444c
black ifcclash
2020-11-01 23:50:02 +11:00
htlcnn
d6881e833d
black ifc2ca
2020-11-01 23:50:02 +11:00
htlcnn
c14f5eeca0
black ifcbimtester
2020-11-01 23:50:02 +11:00
johltn
c263012287
Modify conf
2020-11-01 12:13:54 +01:00
johltn
5aae70875d
Change doxygen output directory abd try to commit generated docs
2020-11-01 12:03:49 +01:00
johltn
0fb6d5a903
Re Comment python doc generation in CMake
2020-11-01 11:09:00 +01:00
Dion Moult
1a570aea83
Fix #1063 . Log error if you try to export an abstract IFC class.
2020-11-01 19:00:45 +11:00
johltn
2669819292
Install sphinx after exhale
2020-11-01 08:39:10 +01:00
johltn
a9c986020b
Try other version of sphinx
2020-11-01 08:28:07 +01:00
johltn
9d6468bbf6
Install sphinx with apt-get
2020-11-01 08:12:01 +01:00
Ryan Schultz
5c89a386ca
added drop down menus for area_unit and volume_unit
2020-11-01 15:29:42 +11:00
johltn
348c58a387
Uncomment test section
2020-10-31 20:43:18 +01:00
johltn
cb0a5c90e3
Test sphinx directly from Travis
2020-10-31 20:02:04 +01:00
johltn
6267187950
New test
2020-10-31 19:44:09 +01:00
johltn
3575aff235
Comment test section
2020-10-31 19:15:24 +01:00
johltn
54d5d4cc63
Try pip install for sphinx
2020-10-31 16:35:35 +01:00
johltn
f2bdcda369
Try without python docs generation
2020-10-31 15:31:23 +01:00
johltn
4020e9a1ce
Update conf.py
2020-10-31 15:20:35 +01:00
johltn
1d51d6cac0
Update conf.py
2020-10-31 15:03:30 +01:00
Dion Moult
9447e87ebd
Add support for rounding metric and imperial units in drawings
2020-10-31 21:46:09 +11:00
johltn
d1f8832af6
Cleaner RST file
2020-10-31 11:21:30 +01:00
Thomas Krijnen
b08346cc64
#1054 initialize memory in case of too few attribute values
2020-10-30 09:59:01 +01:00
Dion Moult
3fdcf3c7b7
Add support for multiple dimension objects per view
2020-10-30 10:58:02 +11:00
Dion Moult
84c0ad9ded
Auto fix incorrect file format settings when creating drawings
2020-10-30 09:17:57 +11:00
Dion Moult
0061d9d1a9
Fix bug where Views wasn't allowed to be in the IfcProject
2020-10-30 09:11:43 +11:00
johltn
6e589527db
Update CMakeLists.txt
2020-10-29 20:55:42 +01:00
johltn
cac5203523
Find Sphinx module
2020-10-29 20:43:24 +01:00
johltn
dafa6a546c
Install doxygen and sphinx
2020-10-29 20:22:34 +01:00
Dion Moult
e08260d6a2
Whoops. See #1056 .
2020-10-29 20:49:49 +11:00
johltn
e42f96faa7
Test modif on Travis file
2020-10-29 07:21:52 +01:00
Dion Moult
23abd3def4
Fix #1056 . Fix error in case you switch drawing styles and the style it used to have was deleted.
2020-10-29 16:27:48 +11:00
htlcnn
5e844682ea
unformat log messages
2020-10-29 09:15:07 +11:00
johltn
b2e7809ee5
Test Travis
2020-10-28 11:44:38 +01:00
johltn
fb75906fab
Test Travis
2020-10-28 11:26:02 +01:00
johltn
0a6d5a733a
Submodule
2020-10-28 11:07:19 +01:00
Dion Moult
f15d62c35e
Merge branch 'v0.6.0' of github.com:IfcOpenShell/IfcOpenShell into v0.6.0
2020-10-28 20:20:52 +11:00
Dion Moult
970f735b76
Fix bug where non uniform translations of spatial elements are exported wrongly. See #1052 .
2020-10-28 20:20:25 +11:00
Thomas Krijnen
aa49db07d3
Validate entity is_abstract in ifcopenshell.geom.validate
2020-10-27 11:41:39 +01:00
Dion Moult
6fd5f8d8c7
Support import of IFC2X3 document information / reference date times and formats
2020-10-27 11:08:22 +11:00
Thomas Krijnen
e70241fc53
#1047 add swig array wrapper
2020-10-26 14:10:13 +01:00
Dion Moult
e68f25bcfb
ResetAbsoluteCoordinates recipe now attempts to avoid changing object placement coordinates, instead focusing on geometry coordinates.
...
This prevents a double up when combining with the OffsetObjectPlacement recipe when doing tricky patching.
2020-10-26 14:59:18 +11:00
Dion Moult
3bd58b7738
You can now specify user coordinates to ResetAbsoluteCoordinates recipe
2020-10-26 14:58:23 +11:00
Dion Moult
76af85264f
Fix bug where attributes wouldn't import for some IFC classes
2020-10-26 14:25:39 +11:00
Dion Moult
473d97649c
Implement workaround when importing ProStructures files that aggregate elements of different types together
2020-10-26 14:06:06 +11:00
Dion Moult
e1c1cf6c9b
Implement model offset workaround for Bentley ProStructures. See #1047 .
...
In an ideal world, projects are geolocated properly in IFC. If not, they tend to store it in the spatial structure placement which is then inherited (e.g. Revit) or in the geometry coords themselves (e.g. 12D). In the case of Bentley ProStructures, it seemas s though large coords can be found in both object placements and geometry coords and who knows where else. In this scenario, a model offset is a clean solution rather than patching. However, it will lead to mesh inaccuracies in Blender due to the mixing of large numbers in both object locations and geometry coordinates.
Also model offsetting is useful to have available in general.
2020-10-26 13:36:18 +11:00
johltn
2243e0ab14
Set BUILD_DOCUMENTATION to OFF by default and ignore ifcopenshell python documentation generation
2020-10-25 12:52:48 +01:00
Johan Luttun
a25c6245bf
Update conf.py
2020-10-25 12:28:51 +01:00
Johan Luttun
0b6d55a8a3
Delete make.bat
2020-10-25 12:20:48 +01:00
Johan Luttun
9eaeea5462
Delete Makefile
2020-10-25 12:20:38 +01:00
Johan Luttun
483fb34e3a
Delete Doxyfile.in
2020-10-25 12:20:26 +01:00
Johan Luttun
001fbeb525
Delete Doxyfile.out
2020-10-25 12:20:16 +01:00
Johan Luttun
8fd685b4dc
Delete Doxyfile
2020-10-25 12:20:03 +01:00
johltn
1f76f73aa6
Upload files to generate documentation
2020-10-25 12:17:21 +01:00
Thomas Krijnen
ef0f00792a
#1034 Compound fallback for boolean union
2020-10-25 11:57:59 +01:00
johltn
5ed0b4d972
Added test submodule
2020-10-25 10:45:43 +01:00
johltn
f3282003f4
Modify gitignore
2020-10-25 10:44:57 +01:00
johltn
b534dc2199
Add Optimise recipe to ifcpatch
2020-10-25 18:22:33 +11:00
Dion Moult
5df723b9db
Package IFCSverchok
2020-10-25 18:17:10 +11:00
Dion Moult
b5d43b1d58
Fix #1036 . Fix export issue where units aren't set explicitly, or set to adaptive.
2020-10-25 13:12:14 +11:00
Dion Moult
4ebed8d029
Fix export of classifications if they are only applied to a type or spatial element, not a regular element. See #1031 .
2020-10-25 12:48:35 +11:00
johltn
25a5b435a6
Automatic documentation generation
2020-10-24 14:48:03 +02:00
Dion Moult
8872a13fd8
Classification trees are now stored in the blend instead of an external file for portability. See #1036 .
2020-10-24 21:35:01 +11:00
Dion Moult
ee6e96c226
Auto add owner history on IFC2X3 so the user doesn't need to do that manually
2020-10-24 18:20:42 +11:00
Dion Moult
4013a7e8b7
IFC Clash now uses iterator filters for faster clashing when using filters
2020-10-22 13:01:04 +11:00
Dion Moult
1a09658ec9
Fix IfcClash bug where spatial elements wouldn't get affected by user filters
2020-10-21 23:14:42 +11:00
Dion Moult
982166ac62
Increase maximum contacts threshold default so that it works out of the box for larger projects
2020-10-21 23:14:09 +11:00
Dion Moult
44d6060924
IFC clash now optimistically skips clashes that are likely to be merely coincident, thus resulting in less false positives
2020-10-21 23:13:43 +11:00
Jesusbill
95d6685597
add curve connections
2020-10-14 11:13:23 +02:00
Thomas Krijnen
a625a8aea3
Update img urls
2020-10-13 17:13:50 +02:00
Thomas Krijnen
7131c62600
Add docs/geom/settings
2020-10-13 17:12:24 +02:00
Dion Moult
88e20582dd
New node to get IFC attribute
2020-10-13 20:30:00 +11:00
Dion Moult
56209fa0ec
New IFC get property node
2020-10-13 20:25:35 +11:00
Dion Moult
d7e2f29eae
New node to read IFC entities
2020-10-13 20:13:59 +11:00
Dion Moult
2ead44e1c5
New node to generate IFC guid
2020-10-13 19:40:42 +11:00
Thomas Krijnen
fd18916b20
Add express.bnf to install
2020-10-11 14:23:54 +02:00
Thomas Krijnen
d7f246c86d
#1020 Map BezierCurve to BSplineWithKnots
2020-10-11 10:38:38 +02:00
Dion Moult
38e5321dbb
Add IFC remove node
2020-10-11 13:13:33 +11:00
Dion Moult
275fa479d6
New IFC add node
2020-10-11 12:32:23 +11:00
CyrilWaechter
60147a8ec9
Fix collections deprecation warning
...
```python
ifcopenshell/geom/occ_utils.py:28ifcopenshell/geom/occ_utils.py:28
/home/cyril/git/BIMxBEM/ifcopenshell/geom/occ_utils.py:28: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working
from collections import namedtuple, Iterable
```
2020-10-10 10:30:08 +02:00
Dion Moult
8b982df1c0
New IFC create shape node for Sverchok
2020-10-10 10:21:17 +11:00
Dion Moult
688c799d1b
New select blender objects node - select objects in the Blender scene based off entities in an IFC file
2020-10-09 21:17:18 +11:00
Dion Moult
cc778778ee
Add new by query IFC node
2020-10-09 21:05:00 +11:00
Dion Moult
b5fa993531
Fix #1007 . Bug where box representations don't respect project units.
2020-10-09 20:42:07 +11:00
CyrilWaechter
85e7ed380e
Import materials psets and display it
...
Import psets similarly to objects.
Display in the UI similarly to objects.
Basic handling for ConstituentSet and MaterialList.
2020-10-09 13:22:34 +11:00
Thomas Krijnen
fcc056e204
#1032 Consider swept disk Start- and EndParam on single circle/ellipse edge
2020-10-08 16:51:01 +02:00
Thomas Krijnen
16663d4db3
Swept disk revolution processing on face instead of wire
2020-10-08 16:50:05 +02:00
Thomas Krijnen
c24a91c42a
#1030 Check for intersecting axis and sweptarea
2020-10-08 16:23:55 +02:00
Thomas Krijnen
681fd43599
#1019 check if trimmedcurve compcurve parent has siblings
2020-10-08 13:05:06 +02:00
Dion Moult
1fa7791b8b
Three new nodes for IfcSverchok. By ID, By Guid, and By Type
2020-10-08 20:22:18 +11:00
Thomas Krijnen
38e5b17b0f
Update schema feature detection in serialization. #1020
2020-10-07 14:12:31 +02:00
Thomas Krijnen
ac40b90f27
Python settings.__init__ and settings.__repr__
2020-10-05 15:39:19 +02:00
Thomas Krijnen
11657207c2
Python settings.__init__ and settings.__repr__
2020-10-05 15:38:26 +02:00
Dion Moult
8982c8d045
Experimental create entity node created
2020-10-01 14:47:42 +10:00
Thomas Krijnen
373fd417eb
#1022
2020-09-30 10:24:50 +02:00
fluider
e3831be16e
Warning iterator invalidation in removeEntity
2020-09-30 10:22:12 +02:00
Dion Moult
b4f4d9b3c5
Improve prototype of native round-tripping by reading from original file and preserving styles
2020-09-28 22:14:03 +10:00
Thomas Krijnen
e70d08c3a1
update_default_style() and default material for IfcSpace
2020-09-27 16:01:59 +02:00
Thomas Krijnen
a13e28930a
SVG drawing center option
2020-09-27 14:29:27 +02:00
Thomas Krijnen
fd90d558b3
Correct X axis in SVG elevations
2020-09-27 14:28:47 +02:00
Thomas Krijnen
88bfa6fa96
smaller font-size in SVG print
2020-09-27 14:28:07 +02:00
Thomas Krijnen
e17c6e4c9f
SVG use stylesheet for all styling
2020-09-27 11:51:23 +02:00
Thomas Krijnen
ee1e9b4aec
--force-space-transparency
2020-09-27 11:51:00 +02:00
Thomas Krijnen
64153eb39a
Fix SVG elevation direction
2020-09-27 11:10:44 +02:00
Thomas Krijnen
f489487a20
--force-space-transparency option in IfcConvert
2020-09-27 10:43:11 +02:00
Walter Stanish
44306b036d
Fix #1013
2020-09-24 11:51:33 +10:00
Thomas Krijnen
bead7192fe
#1008 via tpaviot
2020-09-22 14:10:38 +02:00
Dion Moult
c01fd01c92
Implement read, create, and write for IfcSverchok
2020-09-22 21:22:10 +10:00
Thomas Krijnen
788c5b32f3
Proper orientation on SVG sections and elevations
2020-09-20 16:39:01 +02:00
Thomas Krijnen
08d773e346
Correctly name SVG section
2020-09-20 15:50:41 +02:00
Thomas Krijnen
5864de6dff
Sort SVG drawings plans before elevations
2020-09-20 15:43:57 +02:00
Thomas Krijnen
2dd1a00834
Draw door arcs only on floor plans
2020-09-20 15:37:47 +02:00
Thomas Krijnen
76896fe9d6
write svg drawing name in data-name
2020-09-20 15:36:43 +02:00
Thomas Krijnen
46c82d07d0
submodule
2020-09-20 15:26:09 +02:00
Thomas Krijnen
3e9210d29f
support for section and elevation references as annotation lines
2020-09-20 15:08:52 +02:00
Thomas Krijnen
0fba3bde2d
Update Travis ICU version after dist upgrade
2020-09-20 14:05:25 +02:00
Thomas Krijnen
ca8cf3620a
Disable gltf validation on Travis. Stuck on building DART code.
2020-09-20 13:34:04 +02:00
Thomas Krijnen
8f43a65b74
Update travis to bionic
2020-09-20 13:14:47 +02:00
Thomas Krijnen
bf57258895
#1005 Check degenerate edges on trimmed linear curves bounded by parameter value as well.
2020-09-20 12:59:11 +02:00
Dion Moult
cbeaee8501
Fix bug where spatial elements with representations would import twice
2020-09-20 20:36:38 +10:00
Thomas Krijnen
32ebd08158
#996 Handle CompSolid/Compound in Slicer output
2020-09-20 11:12:57 +02:00
Thomas Krijnen
757e3b5272
#996 Correct thickness computation
2020-09-20 11:11:44 +02:00
Dion Moult
6cc4ce46c2
Proof of concept of native representation roundtripping
2020-09-17 17:28:17 +10:00
Dion Moult
2310bf628f
You can now set facet tolerances (angular and deflection tolerance) when importing. See #766 .
2020-09-15 15:59:52 +10:00
Dion Moult
85d77798c3
You can now modify IFC classes using IFC CSV
2020-09-15 14:58:17 +10:00
Dion Moult
d4a629cbe8
Exporting now sets the IFC file if unset for convenience
2020-09-15 14:57:38 +10:00
Thomas Krijnen
3440dd4bf7
#766
2020-09-14 14:03:35 +02:00
Thomas Krijnen
df886b3a6b
Add missing express module init
2020-09-12 11:08:31 +02:00
Dion Moult
ce831c0e05
Bump IfcOpenShell
2020-09-12 11:07:19 +10:00
Dion Moult
1a04e54f03
Fix bug where multiple presentation style assignments in IFC2X3 would get ignored
2020-09-12 10:59:45 +10:00
Dion Moult
aac61a8948
Let users set their own app to open SVGs and PDFs
2020-09-11 19:02:33 +10:00
Dion Moult
e25629e64f
Remove papercuts when creating drawings to minimise manual tasks
2020-09-11 18:29:09 +10:00
Dion Moult
518c3eb6f0
Remove deprecated representation item operators in the mesh properties
2020-09-11 16:33:33 +10:00
Dion Moult
c6a5bdf4eb
Fix bugs in geocoding and geolocation MicroMVDs.
2020-09-10 17:43:30 +10:00
Dion Moult
9c591ce285
Add support for exporting addresses to the site and building
2020-09-10 16:11:33 +10:00
johltn
a70429d2c8
New cmake for doc
2020-09-09 20:45:42 +02:00
Dion Moult
970832411c
Enable exporting the plan context by default
2020-09-09 23:21:24 +10:00
Dion Moult
38765c8f0e
Adding openings now detects if you've selected the filling object instead
2020-09-09 23:20:29 +10:00
Dion Moult
681083e757
Fix bug in autodetection of wireframe meshes in case you use a modifier
2020-09-09 23:20:01 +10:00
Thomas Krijnen
ac2494968c
Actualize trapezium profile per https://forums.buildingsmart.org/t/how-are-the-sides-of-ifctrapeziumprofiledefs-bounding-box-calculated-in-most-implementations/2945/8
2020-09-09 14:20:15 +02:00
Dion Moult
68a821b0ec
Drawing styles store the render type and include outlines for more CAD-like drawings, and store shadow and lighting settings
2020-09-09 18:49:27 +10:00
Dion Moult
7f95759df0
Implement model federation MicroMVD for BIMTester
2020-09-09 16:44:36 +10:00
Dion Moult
ca6adffc25
Fix incorrect auditing of geolocation MicroMVD in BIMTester
2020-09-09 14:21:10 +10:00
Dion Moult
c58db675e3
You can now audit high poly objects using BIMTester
2020-09-09 11:23:11 +10:00
Thomas Krijnen
1494657368
Merge branch 'v0.6.0' of https://github.com/IfcOpenShell/IfcOpenShell into v0.6.0
2020-09-08 14:40:37 +02:00
Thomas Krijnen
d506ad77b7
python changes for latebound schema manipulation from python
2020-09-08 14:40:27 +02:00
Thomas Krijnen
95a29dec7b
cpp changes for latebound schema manipulation from Python
2020-09-08 14:37:50 +02:00
Thomas Krijnen
27f358b314
Move express parser into module code
2020-09-08 14:36:57 +02:00
Thomas Krijnen
fa4ff3e46b
Merge branch 'v0.6.0' of https://github.com/IfcOpenShell/IfcOpenShell into v0.6.0
2020-09-08 14:36:14 +02:00
Thomas Krijnen
44565b320c
Submodule
2020-09-08 14:36:05 +02:00
Dion Moult
f2de8ce8df
Implement imperial formatting for drawing dimensions
2020-09-08 22:13:41 +10:00
Thomas Krijnen
6ceda94cd4
Submodule
2020-09-08 10:49:57 +02:00
Dion Moult
635e84610e
Fix #986 . Text IfcAnnotation now stores classes and metadata like all IFC objects in SVG.
2020-09-08 18:32:11 +10:00
Dion Moult
94bd8da75e
Fix #985 . If the active object is a camera, the temporary section plane matches the camera orientation.
2020-09-08 18:14:39 +10:00
Dion Moult
627be5725a
Fix #983 . Minor fix.
2020-09-08 17:17:45 +10:00
Dion Moult
cd5786d2a7
Fix bug where sometimes you cannot add a context
2020-09-07 22:09:48 +10:00
Dion Moult
9c190d74bb
Fix #981 . Incorrect and inaccurate conversion to imperial units in quantities.
2020-09-07 21:46:13 +10:00
Dion Moult
b43f77bc01
Fix #980 . You can now have rotated text in drawings.
2020-09-07 19:54:36 +10:00
Dion Moult
f351d80453
Fix #979 . Include IfcSpace in the preset for cut objects for an overall plan / section
2020-09-07 18:16:39 +10:00
Dion Moult
ffebc44c64
Make stroke linecaps use round ends. They're just nicer, you know.
2020-09-07 17:50:04 +10:00
Dion Moult
22d7aef7be
You can now refresh the drawing list, in case you are manually creating drawings
2020-09-07 17:47:19 +10:00
Dion Moult
36bd903736
Switch between drawings with one click, with access from the 3D view
2020-09-07 17:08:04 +10:00
Dion Moult
24c00c0235
New feature to select high polygon meshes
2020-09-07 11:28:35 +10:00
Dion Moult
14c824dfee
If objects are not selected, export entire project to IFC
2020-09-06 10:21:12 +10:00
Dion Moult
dae5adc38b
Dumb walls are now even simpler, using two modifiers by default. Plane walls are still available as an option.
2020-09-05 14:23:43 +10:00
Dion Moult
57bc6f7763
Fix #978 . Minor fix.
2020-09-05 14:15:37 +10:00
Dion Moult
45b805b05f
New debug panel to create shapes from STEP IDs. See #977 .
2020-09-05 12:58:53 +10:00
Dion Moult
0522ea61f6
Minor cleanup
2020-09-05 12:20:16 +10:00
Dion Moult
a2f24a265a
Support exporting qtos related to a spatial element
2020-09-05 10:33:50 +10:00
Dion Moult
0583a5f430
Fix #975 . Add error message if drawing not created when adding to sheet
2020-09-05 08:08:50 +10:00
Dion Moult
7e80615fe0
Minor fix
2020-09-03 23:02:41 +10:00
Dion Moult
71fffa41a9
Minor: add demolish hatch pattern
2020-09-03 23:02:00 +10:00
Dion Moult
b2e6075aa3
Fix bug where enum properties won't export
2020-09-03 19:36:35 +10:00
Dion Moult
d1852b2415
Minor fix
2020-09-03 19:36:06 +10:00
Dion Moult
0b0876877e
Provide 3 default hatching styles for orthogonal squares (e.g. for tiling)
2020-09-03 19:35:51 +10:00
Dion Moult
147bf664cc
You can now copy properties to selection even if the pset doesn't exist yet
2020-09-03 19:24:55 +10:00
Dion Moult
dbbc56ef0d
You can now store arbitrary IFC data in the SVG, depending on the drawing style
2020-09-02 21:51:58 +10:00
Dion Moult
9c8f8ba56f
You can now add arbitrary annotation to a drawing, not just belonging to one of the preset types
2020-09-02 21:50:58 +10:00
Dion Moult
73e5f1adf2
Switching cameras now automatically sets all of the drawing styles on the fly
2020-09-02 21:49:18 +10:00
Dion Moult
311174b1e7
Fix bug where Plan RL tag was not projected correctly onto the drawing
2020-09-02 21:48:16 +10:00
Dion Moult
cba30f0831
Fix bug where 2D annotation curves geometry would be mangled on export.
2020-09-01 22:44:51 +10:00
Dion Moult
03b8503049
2D annotation now extracts from IFC directly, and considers bounding box intersection with the section plane
2020-09-01 22:44:28 +10:00
Dion Moult
3c8c411dc5
Fix #963 . Allow getting / setting north to / from IFC and Blender sun position.
2020-09-01 22:43:00 +10:00
Dion Moult
2e6150b5ef
You can now set the viewport shadow from the sun angle, useful for shadow studies
2020-09-01 22:26:57 +10:00
Dion Moult
55a54098dd
Fix #961 . Reloading is now more robust, and detects opening and projection changes to geometry
2020-09-01 12:18:48 +10:00
Dion Moult
f1269c7618
Fix #964 . Allow import of nested IfcSpace.
2020-09-01 09:46:40 +10:00
Dion Moult
6ac56cbcf6
Fix #965 . Improve canonicalisation of material names to fix import failure.
2020-08-31 22:31:15 +10:00
Dion Moult
6f6a1aede6
You can now export to DXF automatically when creating sheets
2020-08-31 10:38:48 +10:00
Thomas Krijnen
1e3dc6ba16
Update validate.py
2020-08-30 15:21:21 +02:00
Dion Moult
1b2c8bdf8e
Enable multiprocessing by default. Let's see how stable it is.
2020-08-30 21:41:46 +10:00
Dion Moult
9107c65ad0
New default site boundary CSS stroke style
2020-08-30 21:41:25 +10:00
Dion Moult
8d80c58e2d
You can now render OpenGL for drawings - allowing much better wireframe views
2020-08-30 21:41:01 +10:00
Dion Moult
9c50e909e3
Fix bug where adding text no longer works with new scales
2020-08-30 21:40:21 +10:00
Thomas Krijnen
b31caf3310
--json option for validate command line usage
2020-08-30 13:01:16 +02:00
Thomas Krijnen
fac949cf95
Remove duplicate import
2020-08-30 13:00:56 +02:00
Dion Moult
880a269e21
Fix silly bug causing uninstall to fail
2020-08-29 20:10:25 +10:00
Dion Moult
aca70434be
Minor fix
2020-08-29 20:07:33 +10:00
Dion Moult
f6280dec68
Bump IfcOpenShell
2020-08-29 19:00:33 +10:00
Dion Moult
4c4bc8ffd7
You can now generate annotation references for building storey levels
2020-08-29 18:56:23 +10:00
Dion Moult
2f4c96b9dc
Drawings can now be associated with an IFC geometric subcontext target view
2020-08-29 18:55:38 +10:00
Thomas Krijnen
bc2ce0ee62
Update express parser to retain AST parse tree
2020-08-29 10:23:59 +02:00
Dion Moult
77d686724e
Annotation tools are now in the viewport instead of in properties for easier access
2020-08-29 11:02:43 +10:00
Dion Moult
c5dd9a24cb
Different drawings can now have different aspect ratios. Finally!
2020-08-29 10:28:34 +10:00
Dion Moult
6bc05c5bdc
Add support for custom titleblocks, and provide presets for A1, A2, A3 sizes
2020-08-28 23:16:25 +10:00
Dion Moult
0c145dd885
Fix #956 . Add support for imperial and custom drawing scales.
2020-08-28 21:40:24 +10:00
Dion Moult
e7aa8d0e27
Support all ODS units for creating schedules (e.g. LibreOffice and Microsoft Excel have different defaults from a quick test)
2020-08-28 18:31:45 +10:00
Dion Moult
c368ae6596
Fix #882 . All SVG scales are now standardised to human units with appropriate spacing and placement. Views now appear within the titleblock border.
2020-08-28 11:45:57 +10:00
Dion Moult
eea7b6547e
Fix bug where mapped representations belonging to a context fails to import
2020-08-28 08:24:32 +10:00
Dion Moult
6cbf8cc8db
Creating drawing sheets now understand templates in any CSS unit
2020-08-26 20:37:48 +10:00
Dion Moult
d2fcf07b37
Utility to get all descriptions of IFC entities
2020-08-26 20:09:14 +10:00
Dion Moult
c552e90897
Utility to extract documentation for all maintainable assets
2020-08-26 20:08:28 +10:00
Dion Moult
345ef27b15
Support IFC2X3 classification CalendarDates
2020-08-26 20:04:07 +10:00
Thomas Krijnen
c872ee8844
Support writing SVG to scale
2020-08-25 15:01:07 +02:00
Thomas Krijnen
34c51fa9be
#823 fallback to BRepBuilderAPI_Transformed in case of errors
2020-08-25 14:43:31 +02:00
Thomas Krijnen
5c20e7b62a
#816 Use more than one cycle of self intersections in IfcArbitraryClosedProfileDef
2020-08-25 13:51:59 +02:00
Thomas Krijnen
c15fdc7fa9
Remove erouneous line related to #939
2020-08-25 13:00:54 +02:00
Thomas Krijnen
d0c207f6b9
#941 version numbers
2020-08-23 14:01:43 +02:00
Thomas Krijnen
1893f6cea4
#941 version numbers
2020-08-23 14:00:53 +02:00
Bruno Postle
a2fa3a39e9
configure cmake to use linux/unix soname conventions for shared libraries, initial soversion is 0
2020-08-23 13:59:48 +02:00
Thomas Krijnen
628f9a2879
Iteration of inverse attribute list
2020-08-23 13:54:23 +02:00
Dion Moult
6ec368901b
Types are now categorised in the project upon assignment
2020-08-22 19:34:52 +10:00
Dion Moult
af05f72010
Grids in drawings now read from the AxisTag attribute when possible
2020-08-22 19:25:58 +10:00
Dion Moult
a66b4f138a
Support export of IfcCircleProfileDef
2020-08-22 19:11:17 +10:00
Dion Moult
609a2d3a7d
Add dumb opening feature
2020-08-21 20:38:57 +10:00
Dion Moult
afd6811c08
Improve error reporting for BIMTester auditing lists
2020-08-21 19:52:50 +10:00
Dion Moult
ff5bc25228
Support tessellated polygonal face set for much more efficient files (44kb vs 84kb Suzanne!)
2020-08-21 18:14:46 +10:00
Dion Moult
09dd778f97
You can now specify custom attribute mappings to COBie spreadsheets
2020-08-21 14:38:41 +10:00
Dion Moult
668edbc45e
Add support to override COBie types/components selection
2020-08-21 11:38:43 +10:00
Dion Moult
f64e0c9acc
Minor fix
2020-08-20 23:37:03 +10:00
Thomas Krijnen
99a76b5a6e
#949 remove trailing dot from tmp filename
2020-08-19 12:56:43 +02:00
Dion Moult
3968bb2bf5
Auto add to drawings IFCs at export time for usability improvement
2020-08-18 15:58:46 +10:00
Dion Moult
df382d3e64
Fix bug where predefined types aren't audited correctly by BIMTester
2020-08-18 13:36:07 +10:00
Dion Moult
b6f51bc080
You can now add schedules to sheets
2020-08-18 10:04:19 +10:00
Jesusbill
cf6ec3777f
update changelog - ifc2ca
2020-08-17 20:35:16 +02:00
Thomas Krijnen
48f3d52880
Fix brace init with struct defaults #951
2020-08-17 18:02:59 +02:00
Jesusbill
7f48923153
add rigid connections - add spring stiffness for point connections
2020-08-17 17:05:31 +02:00
Dion Moult
eac72dc852
Convert ODS schedules into SVG schedules for inclusion in drawings
2020-08-17 22:10:06 +10:00
Dion Moult
d3da378ba3
New UI to add and manage schedules from ODS spreadsheets
2020-08-17 21:43:33 +10:00
Dion Moult
78d33b4ffd
Support converting drawings to PDF on the fly
2020-08-17 21:12:31 +10:00
Dion Moult
db0c266a17
Update titleblock with white background
2020-08-17 21:11:59 +10:00
Dion Moult
75b34b6a95
Support import of native IfcCircleProfileDef
2020-08-17 10:22:27 +10:00
Thomas Krijnen
1978ffa8df
--log-file option
2020-08-16 16:17:38 +02:00
Thomas Krijnen
d4afc6d1c0
#923
2020-08-16 14:35:39 +02:00
Thomas Krijnen
6eee9476a6
Default initialize verbosity
2020-08-16 13:40:58 +02:00
Thomas Krijnen
45c16e5318
Option for realtime logging with -vv
2020-08-16 13:37:58 +02:00
Thomas Krijnen
f2884f9b0f
Annotations with arrow heads and reuse path_objects
2020-08-16 11:41:40 +02:00
Thomas Krijnen
431e703137
Don't emit material warnings without faces
2020-08-16 11:41:07 +02:00
Dion Moult
31c349b0f1
Exports now automatically detect curve representations
2020-08-16 12:54:41 +10:00
Dion Moult
b7bb7815ad
Improved user friendly UI for sheet creation
2020-08-16 11:54:05 +10:00
Dion Moult
b5acf81be2
COBie now shows log too when generating spreadsheet
2020-08-16 10:57:05 +10:00
Dion Moult
2c79f07abf
New purge classifications feature, and imported systems shows up immediately
2020-08-15 18:37:03 +10:00
Dion Moult
bd02c8e34b
Fix bug where aggregate creation doesn't work if the aggregates collection doesn't exist
2020-08-15 17:34:13 +10:00
Dion Moult
c359e35747
Enforce directories when selecting features directory for usability
2020-08-15 13:13:30 +10:00
Dion Moult
0a7c365d78
Selecting multiple objects will now guess quantities in bulk
2020-08-15 13:05:09 +10:00
Dion Moult
a1e5135a9e
More robust footprint area calculation with support for IfcSpace floor area
2020-08-15 12:40:55 +10:00
Dion Moult
e9e0dbabe4
You can now implement element filters for drawing styles
2020-08-15 11:52:58 +10:00
Dion Moult
75b14d4c15
Added button to conveniently edit the vector style CSS within Blender
2020-08-15 09:45:20 +10:00
Dion Moult
217098132f
Windows now generate a 2D annotation symbol
2020-08-15 09:27:42 +10:00
Dion Moult
6c064ecd51
Doors now have 2D annotation symbols generated too
2020-08-14 21:27:36 +10:00
Dion Moult
cc4a29fc11
New feature to quickly add an Ifc Grid system object
2020-08-14 20:43:44 +10:00
Dion Moult
7386da14dc
Support export of grids and UVW grid axes
2020-08-14 18:23:24 +10:00
Dion Moult
0a657be394
Grid axes are now categorised in UVW and have attributes on import
2020-08-14 18:22:07 +10:00
Dion Moult
9062d9720b
Add import support for IfcGrid itself, not just the grid axes
2020-08-14 16:54:47 +10:00
Dion Moult
43186e4e59
You can now pick the vector style for each drawing style
2020-08-13 20:38:50 +10:00
Dion Moult
3254bc3c14
Merge branch 'v0.6.0' of github.com:IfcOpenShell/IfcOpenShell into v0.6.0
2020-08-13 20:23:36 +10:00
Dion Moult
cee53689aa
Fix bug in extracting smart data for annotation tags
2020-08-13 20:23:26 +10:00
Thomas Krijnen
afb2aaab5a
Fixes for polygonal facesets and skip over errors in SVG
2020-08-13 12:22:03 +02:00
Dion Moult
e9b791adaa
Improve drawings management UI from a single dropdown to a proper list
2020-08-13 20:17:51 +10:00
Dion Moult
7f6c9e61c8
Add highly incomplete proof of concept DXF2IFC script
2020-08-13 17:47:56 +10:00
Dion Moult
a7c76b1f48
Drawing styles now can store rudimentary rendering settings
2020-08-13 09:22:27 +10:00
Dion Moult
a47d1ac32a
Add prototype drawing style UI
2020-08-12 21:50:57 +10:00
Dion Moult
01d0d125a6
Utility to quickly set object colours, also colour mode is automatically changed now
2020-08-12 19:59:30 +10:00
Dion Moult
5db2a46369
Aggregation matrix inversion is no longer required now that relative placements are fixed from the previous commit
2020-08-12 19:04:47 +10:00
Dion Moult
4c3913353c
Fix bug where parts of an aggregate were not placed relative to the whole
2020-08-12 18:27:31 +10:00
Dion Moult
71e59922ec
Support IfcIndexedPolyCurve for more robust 2D representations
2020-08-12 12:39:39 +10:00
Dion Moult
d56dd25245
Add dumb window
2020-08-12 08:57:58 +10:00
Dion Moult
a477a2046d
Add dumb slab feature
2020-08-11 21:10:02 +10:00
Dion Moult
f6e8d5e281
Create dumb door feature
2020-08-11 20:54:54 +10:00
Dion Moult
0d221fa759
New dumb stair tool
2020-08-11 19:05:26 +10:00
Dion Moult
e2fd9add83
Add dumb wall feature
2020-08-11 17:24:30 +10:00
Dion Moult
e858930755
Enable export with auto-generated bounding box representations
2020-08-11 16:32:59 +10:00
Dion Moult
ffa4e7570d
Add button for camera to quickly open relevant drawing
2020-08-11 15:04:09 +10:00
Dion Moult
cd6bd0e3cc
Body subcontext added by default when a new rep is added, with a cloned mesh
2020-08-11 14:50:21 +10:00
Dion Moult
ef41daedb9
Users can now specify what objects to cut for documentation with presets
2020-08-11 13:52:16 +10:00
Dion Moult
114e835d4a
Implement multiprocessing in shape creation for IFC drawings
2020-08-10 21:47:37 +10:00
Dion Moult
12345b14ac
Minor fix
2020-08-10 14:38:46 +10:00
Dion Moult
1e02353922
Minor fix
2020-08-10 13:01:42 +10:00
Dion Moult
6c868033e3
Fix project setup MicroMVD
2020-08-10 11:21:33 +10:00
Dion Moult
1e6e6a4977
Publish MicroMVD definitions for classifications
2020-08-10 10:40:19 +10:00
Thomas Krijnen
f9bf6f814d
#945 don't fail on degenerate edges in polygonal faceset
2020-08-09 20:55:44 +02:00
Thomas Krijnen
06b512c2e3
#939 break up closed loops for swept disk
2020-08-09 20:50:39 +02:00
Dion Moult
64db48276c
Add a blank material style for documentation
2020-08-09 18:19:05 +10:00
Dion Moult
34fc2136c6
Fix #839 . Add upstream support for IFCJSON, including compact, v4, and v5a
2020-08-09 18:10:30 +10:00
Dion Moult
fb5c25bb68
Fix #873
2020-08-09 17:32:54 +10:00
Dion Moult
d12643197e
Bump IfcOpenShell
2020-08-09 17:22:20 +10:00
Dion Moult
f58847502e
Support transparency in non-nodal materials
2020-08-09 17:13:01 +10:00
Dion Moult
57d44c9066
Hotfix IfcOpenShell util module
2020-08-09 13:26:11 +10:00
Dion Moult
b1842de9fa
New function to add ifc opening relationships
2020-08-09 13:09:29 +10:00
Dion Moult
f2dcd8bb75
Add feature to calculate multiple object volumes
2020-08-09 11:46:14 +10:00
Dion Moult
829b97a0d8
New feature to calculate area of selected faces
2020-08-09 11:33:47 +10:00
Dion Moult
be4fe1b684
Simplify UI by making GlobalId generation more automated and show in context
2020-08-09 11:21:00 +10:00
Dion Moult
09af3b052b
Move object structural properties to its own panel
2020-08-09 11:14:11 +10:00
Dion Moult
3292b98080
Allow export of type relations in IFCCSV
2020-08-08 17:58:45 +10:00
Dion Moult
11a66ee181
Convert units to project settings when guessing quantities
2020-08-08 16:31:27 +10:00
Dion Moult
7d976b1bc7
Add support for importing area and volume units
2020-08-08 14:47:33 +10:00
Dion Moult
43f0f396ab
New feature to calculate total length of selected edges
2020-08-08 14:22:48 +10:00
Dion Moult
ec66d7c0b8
Split object psets and qto into their own panels for usability
2020-08-08 13:19:56 +10:00
Dion Moult
c79ef17a58
Minor fix
2020-08-07 20:18:43 +10:00
Dion Moult
0dbe7b9cc1
Add perimeter quantity calculation
2020-08-07 20:00:45 +10:00
Dion Moult
1d2677543d
Allow calculation of depth
2020-08-07 18:23:50 +10:00
Dion Moult
e56648e393
Simple recipe to merge two IFC files
2020-08-06 20:27:10 +10:00
Dion Moult
562dc72129
Publish implementation of geocoding MicroMVD
2020-08-06 18:32:33 +10:00
Thomas Krijnen
bc8b377d6d
#928 make trim param precision comparison dependent on radius
2020-08-05 10:40:25 +02:00
Dion Moult
b60438b51c
New UI in Blender to run IFCPatch
2020-08-05 17:18:10 +10:00
Dion Moult
277786771c
Optimise the optimisation recipe. See #944 .
2020-08-05 15:12:23 +10:00
Dion Moult
61f6ecbf17
New IFCPatch recipe to optimise IFCs by recycling non rooted elements
2020-08-04 21:11:37 +10:00
Dion Moult
6772886e65
New utility function to replace an attribute
2020-08-04 21:08:49 +10:00
Dion Moult
2a22acfdc9
Make util.element.get_psets() support IfcComplexProperty
2020-08-04 20:18:08 +10:00
Dion Moult
323dddf082
New feature to visualise IFC diff changes
2020-08-04 19:00:34 +10:00
Dion Moult
a2454cf5ee
Add support for dimensions added with MeasureIt-ARCH
2020-08-03 21:43:48 +10:00
Dion Moult
91917dcbb4
Minor fix for OCC import
2020-08-03 21:43:10 +10:00
Thomas Krijnen
97f03d3933
Skip degenerate triangles in IfcTriangulatedFaceSet #934
2020-08-03 10:57:10 +02:00
Thomas Krijnen
0d28978a48
Reuse py build dir in build script to speed up builds
2020-08-01 19:32:50 +02:00
Dion Moult
8ad9c215af
Allow keyboard shortcuts for import and export.
...
Turns out operators need to start with import/export. Odd.
2020-08-01 09:31:28 +10:00
Dion Moult
ecebb4b853
Fix #932 - bug where a material_id of -1 will not import.
2020-07-31 20:28:01 +10:00
Dion Moult
3e985facdd
When absolute coordinates are offset during import, record the offset
2020-07-31 20:10:05 +10:00
Dion Moult
6c7ddcca9c
Fix #940
2020-07-31 16:12:14 +10:00
Dion Moult
e9cd48c62d
Fix import bug getting geometry type of objects without a representation
...
E.g. an IfcGridAxis
2020-07-31 15:41:38 +10:00
Dion Moult
e63f083a40
Fix bug where IFC2X3 files cannot have coordinates reset properly
2020-07-31 09:32:08 +10:00
Dion Moult
a376ec1b12
Accommodate blank qto names. Probably invalid IFC though.
2020-07-31 09:31:31 +10:00
Dion Moult
a3e38d2322
Merge branch 'v0.6.0' of github.com:IfcOpenShell/IfcOpenShell into v0.6.0
2020-07-30 19:15:19 +10:00
Dion Moult
e7446dc6cb
Fix bug #936 where long, duplicate, material names fail to import.
2020-07-30 19:15:06 +10:00
Thomas Krijnen
75cff21efe
#939 closed sweep
2020-07-30 11:12:55 +02:00
Dion Moult
5c2ded1486
Merge branch 'v0.6.0' of github.com:IfcOpenShell/IfcOpenShell into v0.6.0
2020-07-30 17:09:44 +10:00
Dion Moult
8197621232
Curves, if they are a swept disk solid, may belong to multiple items.
...
Not sure if this is the best approach. It'll probably bite me in the future.
2020-07-30 17:09:09 +10:00
Bruno Postle
0cc816922c
Fix shebang in command-line scripts
2020-07-30 10:11:32 +10:00
Dion Moult
a337c480a9
Support exporting IfcSweptDiskSolid for curves with no bevel profile
2020-07-29 21:46:16 +10:00
Thomas Krijnen
cc40726618
Fix SVG storey sorting and element naming
2020-07-28 12:19:05 +02:00
Dion Moult
7f58df876b
Allow explicit checking for null attributes and properties
2020-07-28 17:31:26 +10:00
Dion Moult
330aa1b6e3
Publish element classes MicroMVD definitions
2020-07-28 17:31:11 +10:00
Dion Moult
252479189c
Refactor geolocation MicroMVD definitions
2020-07-28 16:41:13 +10:00
Dion Moult
f56269301f
Fix bug where IFCCSV won't correctly store boolean data types
2020-07-28 11:47:22 +10:00
CyrilWaechter
d87ea93e89
Restore OCC 0.18.1 support
2020-07-27 23:03:25 +10:00
Dion Moult
1d6f0c8e63
Document dependencies
2020-07-27 21:01:16 +10:00
Dion Moult
9359c388d1
Add true north conversion function to IfcOpenShell geolocation util lib
2020-07-27 18:38:34 +10:00
Dion Moult
e2621e0207
Publish definitions for geolocation and project setup MicroMVD
2020-07-27 18:38:13 +10:00
Dion Moult
2837f75d50
BIMTester will now report unspecified tests with fancy colours
2020-07-27 18:37:05 +10:00
CyrilWaechter
ab1f7337a5
Support for pythonocc-core 7.4.0
2020-07-27 08:39:28 +10:00
Cyril Waechter
21a4680811
Adapt data type for python-fcl/fcl 0.6.1
...
Credit to @aothms #919
Need testing with python-fc 0.0.12l / fcl 0.5 to make sure it breaks nothing
2020-07-26 10:53:25 +10:00
Dion Moult
019f460af2
IFCPatch can now be used as a library or as a CLI
2020-07-25 18:38:35 +10:00
Thomas Krijnen
2a7c406412
#916
2020-07-23 10:49:45 +02:00
blocovin
1018118341
Add center-model-geometry
2020-07-23 10:47:48 +02:00
Dion Moult
5fbb324d7d
New GUI to run IFCCOBie using the BlenderBIM Add-on
2020-07-23 17:02:48 +10:00
Dion Moult
7d4c760332
IFCCOBie now supports the ODS format, not just XLSX and CSV
2020-07-23 15:36:25 +10:00
Dion Moult
d636775cad
Create a better CLI for IFCCOBie, and don't create CSVs when you just need a XLSX
2020-07-23 13:43:57 +10:00
Dion Moult
18a2996a93
Fix bug where COBie convert fails on empty names of related objects for assemblies
2020-07-23 13:42:41 +10:00
Thomas Krijnen
4f1aca8ceb
#921
2020-07-22 12:25:24 +02:00
HeySora
416640891f
Use cerr_ instead of std::cerr
...
It was crashing on UNICODE builds.
2020-07-22 10:36:03 +02:00
Yoni Chechik
02bb7bea92
fixed broken url
...
fixed broken url (thanks https://github.com/IfcOpenShell/IfcOpenShell/issues/656 )
2020-07-21 11:39:53 +02:00
Thomas Krijnen
f92d1708f2
#924
2020-07-21 11:35:56 +02:00
Dion Moult
37e32738b9
Minor fix
2020-07-21 16:40:33 +10:00
Dion Moult
2d3ede02da
BIMTester can now audit predefined types
2020-07-21 16:37:11 +10:00
Dion Moult
95f97efa72
Minor fix
2020-07-21 15:26:43 +10:00
Dion Moult
a89f7dc116
New UI to run BIMTester from BlenderBIM Add-on
2020-07-20 22:08:39 +10:00
Dion Moult
f1ed9d5b53
More granular reporting from BIMTester, and ability to run without packaging
2020-07-20 16:59:16 +10:00
Dion Moult
e7afa0b3e4
Improved error reporting on failed BIMTester tests
2020-07-20 16:58:18 +10:00
Thomas Krijnen
20303ed6a8
Check for unbounded composite curve segments
2020-07-18 10:32:18 +02:00
Thomas Krijnen
fdfe1097c4
Minor changes after #916
2020-07-18 09:59:07 +02:00
Stefan Fink
ea71a1f8a7
IfcSiPrefix.cpp changes for MSVC 2013
...
IfcHierarchyHelper.h:176,185 changes in addRelatedObject about throw exception
exception comes from
ifcparse/IfcHierarchyHelper.h line 176 get_parent_of_relation(rel)
if (get_parent_of_relation(rel) == relating_object) {
ifcparse/IfcHierarchyHelper.h line 47
IfcUtil::IfcBaseClass* get_parent_of_relation(IfcUtil::IfcBaseClass* t)
ifcparse/IfcSchema.h
ptrdiff_t attribute_index(const std::string& attr_name) const {
ptrdiff_t index = -1;
-1 return but getArgument(..) Parameter is unsigned int
in the methode -1 is ca. 42123423423423 and throw IfcParse::IfcAttributeOutOfRangeException
we catch this exception and all works as expected and before in 0.5-rc1
2020-07-18 09:55:31 +02:00
Dion Moult
9d6e7c2481
Allow for wildcard expansion in IFCCSV export
2020-07-18 17:29:40 +10:00
Dion Moult
41c539965c
Add automatic quantities calculated at export. See #898 .
2020-07-18 14:22:18 +10:00
Dion Moult
ab432ba3dd
Allow "none" geometry types for objects with no body representation
2020-07-18 13:11:13 +10:00
Dion Moult
11472f9aa9
Allow export of mesh edges for structural curve members
2020-07-18 13:10:28 +10:00
Dion Moult
1ec78e57ce
Minor fix
2020-07-16 17:35:57 +10:00
Dion Moult
418e4133b7
Minor fix
2020-07-16 17:19:07 +10:00
Dion Moult
2e1a32d540
Provide manual length, area, volume calc operators in qto UI. See #898 .
2020-07-16 17:12:11 +10:00
Dion Moult
c885652338
Minor fix
2020-07-16 13:05:50 +10:00
Dion Moult
ee4a93c0d3
Remove TK interface for BIMTester. Will provide a Blender UI instead.
2020-07-16 12:59:28 +10:00
Dion Moult
9f63f42e6e
Support import of IfcObjective constraints
2020-07-16 11:52:51 +10:00
Dion Moult
4d30be716e
You can now select all COBie defined assets and types using the selector
2020-07-16 11:37:56 +10:00
Dion Moult
e3de339ab2
Fix import bug where truncated material names cause import failure
2020-07-16 11:11:47 +10:00
Jesusbill
2a6b3b981a
update changelog
2020-07-15 00:33:06 +02:00
Jesusbill
a8d261f271
add zero-length springs for point connections and connection-to-member
2020-07-14 21:48:54 +02:00
Jesusbill
6c22894a93
import elements with no material or profile
2020-07-14 21:44:14 +02:00
Jesusbill
6e8eca37ef
experimental ca2ifc (json -> ifc) for creating example files
2020-07-14 21:40:23 +02:00
Dion Moult
63e65b2114
Fix broken selector utility
2020-07-14 19:27:56 +10:00
Dion Moult
1222716e16
BIMTester UI updated to new Gherkin syntax conventions
2020-07-14 18:22:32 +10:00
Thomas Krijnen
98ed21a1e2
Merge branch 'v0.6.0' of https://github.com/IfcOpenShell/IfcOpenShell into v0.6.0
2020-07-13 13:20:08 +02:00
Thomas Krijnen
093ebb2d8f
Don't try to apply opening elements marked as Reference
2020-07-13 13:19:28 +02:00
Dion Moult
42f597a7af
New experimental mode to allow users to profile import progress
2020-07-13 16:15:23 +10:00
Dion Moult
88331d16a2
Fix bug where imported materials that duplicated a name could be incorrectly assigned
2020-07-13 16:12:34 +10:00
Dion Moult
fa1926fa84
Exporting now uses custom people and organisations defined from the UI. See #875 .
2020-07-13 15:29:06 +10:00
Dion Moult
bdbe988dc7
Don't bother creation relationships to invalid psets.
...
An invalid pset can occur when the pset doesn't contain any properties. This can happen when all properties are not part of the pset definition template. This may lead to unwanted data loss, but strictly enforces buildingSMART pset definitions.
2020-07-12 11:06:14 +10:00
Dion Moult
6b07aeb703
Allow export of positioning elements (only IfcGrid for now) See #911
2020-07-12 10:19:22 +10:00
Thomas Krijnen
4015c5b5b2
--door-arcs option in SVG serializer
2020-07-11 23:26:21 +02:00
Thomas Krijnen
a62fd01725
Move late bound inverse access to IfcBaseEntity
2020-07-11 23:24:49 +02:00
Dion Moult
58fad83d4f
No longer require object linked materials in Blender in preparation for new material system
2020-07-11 22:25:06 +10:00
Thomas Krijnen
1e916896ab
--section-height-from-storeys
2020-07-11 13:39:09 +02:00
Thomas Krijnen
803cc66abb
#873
2020-07-11 11:55:00 +02:00
Thomas Krijnen
8500daf1cc
#915
2020-07-11 11:40:27 +02:00
Dion Moult
4baec5754d
Allow you to specify whether to recut all, or just recut selected. See #901 .
2020-07-10 21:22:22 +10:00
Dion Moult
607e506767
Users no longer need to manually select types for collections when exporting
2020-07-10 14:08:04 +10:00
Dion Moult
65821c4367
Group all aggregates into a single collection and update aggregate operators
2020-07-10 13:52:34 +10:00
s-leger
fd283b9c84
Update export_ifc.py
...
Fix for objects where material index > material slots
Keep material indexes in material slots range (index % slots is blender default behavior)
Fallback to a minimal slot count to 1 for objects without material slots
2020-07-10 12:09:10 +10:00
Dion Moult
2132706c6e
Migrate import geolocation to util module
2020-07-10 12:00:54 +10:00
Dion Moult
e781dbd789
Export now supports Ifc2x3 style classes in IFC4
2020-07-10 11:59:21 +10:00
Dion Moult
07f8f8c489
Support IfcSpatialElementTypes for export
2020-07-10 11:55:45 +10:00
Dion Moult
a7e1eb15ab
Add support for triangular grids in IFC import
2020-07-10 10:30:41 +10:00
Dion Moult
a27b00e616
Allow import of invalid grids coming from Revit. See #911 .
2020-07-10 10:18:33 +10:00
Dion Moult
c7211ed171
Create basic UI to manage people and organisations. See #875 .
2020-07-09 20:46:50 +10:00
Dion Moult
fbaa6cd2ed
New UI to assign constraints to objects and export
2020-07-07 12:33:41 +10:00
Dion Moult
e2868f871a
Support export of scaled curve bevel objects. See #900 .
2020-07-06 19:14:27 +10:00
Dion Moult
b866106293
Exported constraints are now managed using the new UI, no CSV required
2020-07-06 17:48:00 +10:00
Dion Moult
fda508e3f8
New UI to manage IFC constraints in the file
2020-07-06 17:26:38 +10:00
Thomas Krijnen
436eb3a637
msvc utf8 conversion in wrapper write()
2020-07-05 11:40:17 +02:00
Dion Moult
155a1eeca9
Fix incorrect dimension export of rectangle profiles
2020-07-04 13:26:14 +10:00
Dion Moult
79fdfa878c
Rename "documentation" to "drawings and sheets" for more universal terminology. See #881 .
2020-07-03 22:00:25 +10:00
Dion Moult
9a026d93fb
Update fetch object passport to substitute a mesh from a Blender file only. See #871 .
2020-07-03 21:54:22 +10:00
Dion Moult
125c0ced6e
New feature to remove a representation subcontext. See #870 .
2020-07-03 21:08:40 +10:00
Dion Moult
36b262dff9
Allow for null data in exporting georeferencing
2020-06-30 21:28:46 +10:00
Dion Moult
4d8b130f2d
Fix IfcPatch ResetAbsoluteCoordinates recipe to account for coordinate lists
2020-06-30 21:24:08 +10:00
Dion Moult
d22d903a36
Improve absolute coordinate support for georeferencing
2020-06-29 11:16:49 +10:00
Yorik van Havre
c76c72c017
Added USERSPACE_PYTHON_PREFIX cmake variable to allow install IfcPython in userspace instead of system-wide.
2020-06-28 12:48:25 +02:00
Dion Moult
3e9fff6c19
New feature to unassign/reassign IFC class easily
2020-06-23 23:42:33 +10:00
Dion Moult
da7ba7b1e9
Fix bug for exporting slots with no materials
2020-06-23 22:49:56 +10:00
Dion Moult
794e55aadd
Fallback to non-native if boolean operations exist. See #865 .
2020-06-23 08:02:46 +10:00
Dion Moult
ebc305c0e1
Bump IfcOpenShell
2020-06-21 19:43:58 +10:00
Dion Moult
358d9ef1c8
Reimplement edge based mesh import
...
We don't use foreach_set, since for some reason doing it with foreach_set requires edit mode to be toggled for the edges to be visible. We make the assumption that an object is either edge based or face based, but not both.
2020-06-21 09:48:54 +10:00
Dion Moult
a931c5ced9
Fix bug with incorrect unit scales on native elements
2020-06-20 21:23:53 +10:00
Dion Moult
189177300a
Allow export of native faceted breps
2020-06-20 21:23:15 +10:00
Dion Moult
b77ed5aab6
Fix bug where group subtypes are imported as the wrong class
2020-06-20 21:22:49 +10:00
Harald Geyer
501447fa5f
Fix building with -DIFCXML_SUPPORT=OFF
2020-06-20 08:47:42 +02:00
Dion Moult
8962e3bcf4
Don't fail on importing case insensitive file extensions
2020-06-19 16:43:22 +10:00
Dion Moult
d3f07c4ac4
Support native export of IfcArbitraryClosedProfileDef and IfcRectangleProfileDef
2020-06-18 21:55:07 +10:00
Dion Moult
1280eed00e
Merge branch 'v0.6.0' of github.com:IfcOpenShell/IfcOpenShell into v0.6.0
2020-06-18 11:50:54 +10:00
Dion Moult
391ae80e36
Add support for storing subitems of a representation, like a profile. See #865 .
2020-06-18 11:50:23 +10:00
Thomas Krijnen
67754ecfb8
opencascade_knotspec_to_ifc multiple definition
2020-06-16 10:34:48 +02:00
Thomas Krijnen
e155cb4ab0
#586 Edge curve point projection error logging
2020-06-15 16:24:45 +02:00
Thomas Krijnen
89a7584d0c
--edge-arrows debugging setting
2020-06-15 16:24:16 +02:00
Thomas Krijnen
f01ae4a45b
#842 IFC4X3 schema and some other schema init cruft
2020-06-15 12:48:30 +02:00
Thomas Krijnen
b8d0e22aa8
#891 silence gcc-10 bug
2020-06-15 11:56:04 +02:00
Thomas Krijnen
e2784fb69b
Backwards pyocc compatibility in occ_utils
2020-06-15 11:36:13 +02:00
Thomas Krijnen
e9a9c1ab7a
#891 fix wrapper compilation
2020-06-15 10:34:47 +02:00
Thomas Krijnen
724d8c405b
Fix constructors and assignment op for Kernel
2020-06-14 16:08:50 +02:00
Thomas Krijnen
4ca158e47b
Merge branch '672' into v0.6.0
2020-06-14 13:06:38 +02:00
blocovin
32511bd9e9
Move center-model, model-offset and model-rotation under geom_options instead of serializer_options
2020-06-14 12:16:20 +02:00
blocovin
e1af6d34e4
Update IfcConvert documentation
2020-06-14 12:16:20 +02:00
blocovin
6e2038c1f5
Use model-offset in IfcGeom::Kernel and add model-rotation
2020-06-14 12:16:20 +02:00
Dion Moult
76e7205692
Add experimental native support for faceted breps import
2020-06-14 19:19:54 +10:00
Dion Moult
7e362110d2
Optimise import process. See commit notes.
...
* When there is only one material slot, there is no need to assign materials as the slot becomes the default
* Don't loop through collections to find the collection you need, we now store aggregate collcetions
* The project collection is not added to the scene collection until the very end. Apparently linking objects to collections when the collection is enabled in the view_layer causes it to be twice as slow. Therefore all view layer operations happen at the end.
* Don't print the progress bar, as excessive prints and calls to the iterator.progress() makes it very, very slow. Like, so slow you wouldn't even wait for the file to finish you'd just give up. See #895 .
* Only create materials once per mesh. Nobody seems to be using styled items properly as an object override anyways.
* Use foreach_set to create meshes instead of mesh.from_pydata. This is much faster.
* Similarly use foreach_set to set material indexes. This leads to a crazy speed increase on big meshes.
2020-06-14 19:17:58 +10:00
Dion Moult
7b98e48b9c
Prevent adding a crazy number of material slots, especially in messy IFCs coming from Revit
2020-06-14 19:03:43 +10:00
Dion Moult
d8373715e2
Disable mesh cleaning if objects >= 10000, for import optimisations
2020-06-12 21:48:35 +10:00
Dion Moult
9961f6172f
Users can now choose whether to import type representations, disabled by default
2020-06-12 21:46:28 +10:00
Thomas Krijnen
e2e217700d
#843 SetTransparency requires theToUpdateViewer
2020-06-12 11:18:30 +02:00
Dion Moult
2035cf64c2
Improve i18n support in section plane tool and fix bug for invalid materials
2020-06-12 16:59:27 +10:00
Dion Moult
8b7850b3ff
New IFC Patch recipe to split an IFC by building storey
2020-06-11 15:15:54 +10:00
Dion Moult
2f8ea33da5
Native elements are now always processed separately with multithreading, reducing bugs with 2D axis representation parsing too. See #865 .
2020-06-11 10:57:29 +10:00
Dion Moult
edc3aa6157
Support import whitelists and blacklist filters. Groundwork for #865 .
2020-06-11 10:52:00 +10:00
Dion Moult
4a6868495e
Opening elements now create a boolean relationship. See #865 .
2020-06-11 09:58:40 +10:00
Dion Moult
9ae3adf0d7
Distinct representation items are now stored in different vertex groups. See #865
2020-06-08 17:04:36 +10:00
Dion Moult
a8a51eb212
Add support for styled surfaces for native elements. See #865
2020-06-08 12:06:15 +10:00
Thomas Krijnen
afb05f42db
Merge branch 'master' into v0.6.0
2020-06-07 20:23:00 +02:00
Thomas Krijnen
2a42a582fd
Merge branch 'master' into HEAD
2020-06-07 19:46:34 +02:00
Thomas Krijnen
86d7205760
layerset-first setting
2020-06-07 19:46:10 +02:00
Thomas Krijnen
c8cca08dfa
TODO note
2020-06-07 16:44:42 +02:00
Thomas Krijnen
603cf011c3
Implement LINE primitives in glb exporter #864
2020-06-07 16:39:23 +02:00
Thomas Krijnen
91bfd116e8
Fix correspondence between material_ids and edges
2020-06-07 16:13:20 +02:00
Thomas Krijnen
95c953fd52
Share vertices amonst edge-segments
2020-06-07 15:47:19 +02:00
Dion Moult
0237f12ceb
Add native element processor for extruded solids and swept disks. See #865 #885
...
* New user option to enable native element processing
* Native element geometry will be substituted with dummy geometry so that the iterator doesn't waste time on it
* IfcArbitraryClosedProfileDef and IfcRectangleProfileDef are supported for IfcExtrudedAreaSolid
* Old rebar code full of assumptiosn deleted for a more globally applicable native support for IfcSweptDiskSolid
* Probably created a whole bunch of new useful utility functions in the process, which can contribute to #829
2020-06-07 22:53:33 +10:00
Thomas Krijnen
a17b211983
rename by_type_excl_subtypes
2020-06-07 12:49:39 +02:00
Dion Moult
a575b701b7
Merge pull request #888 from robertguetzkow/v0.6.0
...
Fix #883 by adding correct number of edges
2020-06-07 08:12:27 +10:00
Robert Gützkow
7c7587f167
Fix #833 by adding correct number of edges
...
The mesh structure was invalid because the vertex indices for only one edge were set. The other edge had the same index for both vertices.
2020-06-06 23:42:24 +02:00
Dion Moult
793c1c8ec6
Enable curve imports by default, so rebar, profiles, are imported without user confusion. See #771 and #865 .
2020-06-06 11:55:22 +10:00
Dion Moult
9c111a1470
Disable limited dissolve, which can break geometric accuracy.
2020-06-05 21:24:28 +10:00
Dion Moult
f21ae53950
Merge pull request #880 from globalcitizen/v0.6.0
...
Section Plane -> Temporary Section Cutaway
2020-06-05 21:11:04 +10:00
Walter Stanish
8ab42cf09f
Section Plane -> Temporary Section Cutaway
2020-06-05 20:53:20 +10:00
Dion Moult
a6a4cb81c5
Merge pull request #876 from globalcitizen/v0.6.0
...
Minor UX and documentation tweaks
2020-06-04 12:05:16 +10:00
Walter Stanish
619abdae51
Update strings as per pull request
2020-06-04 11:42:29 +10:00
Walter Stanish
f5d01a90a9
Note on platform specificity
2020-06-04 11:08:34 +10:00
Walter Stanish
3a8a4b7c86
Normalize UI panel naming
2020-06-04 11:06:46 +10:00
Dion Moult
d0f02f9247
Users are prompted to assign an IFC class prior to changing IFC metadata. See #869 .
2020-06-04 10:47:51 +10:00
Dion Moult
12bb14da48
Minor fix. See #874 .
2020-06-04 10:33:05 +10:00
Dion Moult
b708c25f90
Minor fix
2020-06-03 22:03:30 +10:00
Dion Moult
4f1514022a
Material layer set usage data is now half-imported, with no metadata. See #865 .
2020-06-03 11:21:10 +10:00
Dion Moult
43abb87e82
Fix incorrect type assignment on non-unique type names bug. See #865 .
2020-06-02 20:48:36 +10:00
Dion Moult
2e19d7697a
IFC4 georeferencing data is now imported
2020-06-02 09:34:24 +10:00
Dion Moult
72a1c00e46
Switching contexts are now more tolerant of broken IFCs. See #865 .
2020-06-01 22:37:11 +10:00
Dion Moult
fa461502a0
Store the IFC geometry type on import. See #865 .
2020-06-01 21:57:56 +10:00
Dion Moult
0ec205ad1d
Retain material data if a surface style overrides it on import. See #865
2020-06-01 20:55:14 +10:00
Jesusbill
82ada5c102
minor fix in ifc2ca (revert a bad modification :|)
2020-06-01 01:41:20 +02:00
Jesusbill
9fa89651c4
minor fixes in ifc2ca
2020-06-01 01:26:35 +02:00
Thomas Krijnen
6aa32fb77a
Remove debugging statement
2020-05-31 17:11:00 +02:00
Thomas Krijnen
be96cee77d
Iterator include/exclude of entity_instance in Python
2020-05-31 17:08:19 +02:00
Thomas Krijnen
4ffa658faf
Don't segfault on empty multithreaded iterator result set
2020-05-31 17:07:41 +02:00
Thomas Krijnen
1eea532c9e
python interator include/exlude entity types
2020-05-31 12:51:21 +02:00
Dion Moult
ee7ea5445a
Covetool now reads north angle from project geolocation
2020-05-30 19:40:05 +10:00
Dion Moult
7e77c0c92c
You can now submit custom geometry for covetool environmental analysis
2020-05-29 19:18:57 +10:00
Dion Moult
ec8a07ec6a
Setup a default project if one hasn't been setup yet instead of an error
2020-05-29 09:24:07 +10:00
Dion Moult
bdf17e5c12
Allow for objects with no placement
2020-05-28 22:34:54 +10:00
Jesusbill
e071c7812f
major update, refactoring to consider generalization of connections
2020-05-27 05:33:36 +02:00
Dion Moult
8bef6b9347
Bump IfcOpenShell build
2020-05-25 20:42:35 +10:00
Dion Moult
11b3f1c70c
Minor fix
2020-05-25 20:38:18 +10:00
Dion Moult
e75cc10988
New feature to select IFC clash results
2020-05-25 19:07:09 +10:00
Dion Moult
0d93633326
Update docstrings as per aothms comments
2020-05-22 11:30:45 +02:00
Dion Moult
295b2fb56b
More documentation
2020-05-22 11:30:45 +02:00
Dion Moult
d62bbd995f
Add sphinx docstrings to ifcopenshell python binding
2020-05-22 11:30:45 +02:00
Dion Moult
1361c7b7e5
Users can now switch between IFC4 and IFC2X3 for exporting
2020-05-22 12:06:55 +10:00
Dion Moult
3b81a69591
You can now export psets for spatial elements
2020-05-22 11:08:54 +10:00
Dion Moult
72a2ab93c3
When importing, existing rooted elements are reused
2020-05-21 20:26:08 +10:00
Dion Moult
d3590c2325
You can now specify relationships to IFC Diff in Blender
2020-05-21 19:26:28 +10:00
Dion Moult
5ead8995e1
BIMTester now purges data based on the latest MicroMVD syntax spec
2020-05-21 12:46:27 +10:00
Jesusbill
ea1c3079cb
add export to .ifcjson, related #839
2020-05-21 04:10:20 +02:00
Thomas Krijnen
d81196316d
Alternative implementation to #801
2020-05-20 16:27:59 +02:00
kukalaka
eba631d245
Add missing IFC_PARSE_API
2020-05-20 16:15:08 +02:00
didi-ux
2ee9dafd16
Fix visualization for pythonocc 7.4.0
...
Following up the issue disscused here: https://sourceforge.net/p/ifcopenshell/discussion/1782717/thread/06e3103d93/
The yield and for-loop in initialize_display() changed slightly, 'GetHandles' and 'SetDiffuse' were removed. The directions are now V3d_TypeOfOrientation enumerations (randomly chosen by me) instead of tuples of integers.
2020-05-20 16:14:41 +02:00
Thomas Krijnen
839ca49a7a
Fix #861
2020-05-20 11:55:59 +02:00
Dion Moult
3d06af0001
New simple energy/daylight analysis through cove.tool integration
2020-05-20 10:42:48 +10:00
Dion Moult
f081c9dbcb
Add support for import and export of clash sets from Blender
2020-05-19 20:35:00 +10:00
Dion Moult
bc56196f27
New UI to create, manage, and run clash sets within BlenderBIM Add-on
2020-05-19 15:08:54 +10:00
Dion Moult
e45f5d867b
IFC Clash now supports clashing multiple clash sets and recording the results for each clash set
2020-05-18 19:40:01 +10:00
carlopav
35ea0b1b8b
further fix to geolocation.py
2020-05-17 15:26:54 +02:00
Thomas Krijnen
3427b99521
libxml2.so on travis
2020-05-17 13:46:36 +02:00
carlopav
8fe4eb1dba
util/geolocation.py fix imports and dms2dd
2020-05-17 12:32:52 +02:00
Dion Moult
b08fb47a47
You can now perform internal collision checks
2020-05-17 19:53:13 +10:00
Dion Moult
b0bb05bcdb
Minor fix. See #854 .
2020-05-17 19:41:26 +10:00
Dion Moult
6193a18734
You can now filter elements in IfcClash with either inclusion or exclusion IFC selectors
2020-05-17 19:32:04 +10:00
Dion Moult
c7e3dba8c4
Add util module to IfcOpenShell, including element, geolocation, unit, and selector. See #829 .
2020-05-17 18:32:56 +10:00
Dion Moult
1ac37d9110
Users can now configure clash tolerance distance and results show the greatest distance
2020-05-17 14:40:48 +10:00
Dion Moult
ca4b257188
You can now clash multiple IFC files against multiple IFC files
2020-05-17 14:35:08 +10:00
Dion Moult
ef5f86273e
Minor fix.
...
Use PyPi windows build of fcl instead. https://github.com/BerkeleyAutomation/python-fcl/issues/17
2020-05-17 08:34:50 +10:00
Dion Moult
e44eaf0ccd
Implement import and export of relative placements of spatial hierarchy. See #852 .
2020-05-16 21:36:34 +10:00
Dion Moult
3235d2495a
Minor fix. See #852 .
2020-05-16 20:04:51 +10:00
Dion Moult
81b3711c33
Bump IOS build and add support for IFCXML import. See #854 .
2020-05-16 16:07:12 +10:00
Dion Moult
588549ca91
If you export two IfcProjects, they get merged into one by default. See #852 .
2020-05-16 15:10:11 +10:00
Dion Moult
64fe2e978e
Bundle IFC Clash in Blender for clash detection for Windows and Linux
2020-05-16 12:54:26 +10:00
Dion Moult
3e223b53e4
Move utility as it is starting to mature
2020-05-16 09:16:54 +10:00
Thomas Krijnen
64c0679a7e
FIx code generation import for schema_class
2020-05-15 14:28:56 +02:00
Dion Moult
67cf93d182
Let IFCClash be used either as a standalone or as a library
2020-05-15 21:08:27 +10:00
Dion Moult
fd821f3553
Allow ifcclash to patch coordinates to aid clash accuracy
2020-05-15 21:01:18 +10:00
Dion Moult
e3c36a28f2
Fix bug where type mapped representations were not isolated to a single IFC
2020-05-15 16:39:40 +10:00
Dion Moult
480a1100ea
Allow custom Qto quantities to be exported
2020-05-14 21:37:33 +10:00
Dion Moult
25f5407933
Fix inability to export due to truncated object names
2020-05-14 21:36:21 +10:00
Dion Moult
395d5ebea7
Fix round-trip bug when IFC2X3 classifications are imported. See #851 .
2020-05-14 21:35:43 +10:00
Dion Moult
dd525d8a30
Fix bug where a subcontext is always assumed during import, causing a fail
2020-05-14 16:30:16 +10:00
Dion Moult
32c621139b
Fix bug where monetary unit causes import to fail
2020-05-14 16:29:56 +10:00
Dion Moult
5d7a841380
Rewrite IFCClash to get good results
2020-05-13 22:08:30 +10:00
Dion Moult
619416f7ad
Merge branch 'v0.6.0' of github.com:IfcOpenShell/IfcOpenShell into v0.6.0
2020-05-12 13:32:01 +10:00
Dion Moult
df12d6bab1
New feature to convert from local to global coordinates
2020-05-12 13:31:16 +10:00
Thomas Krijnen
ad4e7fa14f
Fix amiguous implicit cast
2020-05-11 11:19:54 +02:00
Dion Moult
df62643fc7
Minor fix
2020-05-11 17:55:26 +10:00
Dion Moult
42f325295e
Refactor SVG writer class to make multiprocessing easier in Blender
2020-05-11 17:46:38 +10:00
Dion Moult
48341176df
Minor fix
2020-05-11 17:29:35 +10:00
Dion Moult
754ebaba1f
Forgot to commit this
2020-05-11 17:24:56 +10:00
Dion Moult
7728e83f1e
Default to IfcAnnotation for all annotation objects
2020-05-11 17:13:27 +10:00
Dion Moult
42634e9c60
Export views as groups, and text annotation as IfcTextLiteralWithExtents
2020-05-11 15:30:31 +10:00
Dion Moult
1d7865c558
Add support for IfcAnnotation elements
2020-05-11 15:17:39 +10:00
Dion Moult
c481b77e73
Add support for breakline annotations
2020-05-11 10:00:54 +10:00
Dion Moult
4871243445
New door tag symbol
2020-05-11 08:34:10 +10:00
Dion Moult
1a31999abf
Release new optimised patterns with caching for polygon metadata
2020-05-10 22:11:20 +10:00
Thomas Krijnen
b8f790ca8b
SVG: Sort storeys and output elements names
2020-05-10 11:48:39 +02:00
Thomas Krijnen
1c82d8c936
svg print space areas
2020-05-10 11:10:30 +02:00
Dion Moult
58a40316af
Stair annotations now work in 3D
2020-05-09 22:45:16 +10:00
Dion Moult
af11ebdc4f
Annotation contexts are now drawn as solid lines in section cuts
2020-05-09 22:26:39 +10:00
Dion Moult
2a8251fc94
New UI to manage representation contexts for each object
2020-05-09 18:14:10 +10:00
Dion Moult
561009c330
Support solid line annotations using curve data
2020-05-09 16:38:05 +10:00
Dion Moult
e270cf6989
Improved section caching, with annotation objects not cut.
2020-05-09 15:50:24 +10:00
Dion Moult
752a7c9b1c
Minor fix for IFC2X3
2020-05-09 12:47:26 +10:00
Dion Moult
c83af5fc2a
Switching contexts and pushing contexts now works on object types
2020-05-09 12:02:10 +10:00
Dion Moult
b857d9a37b
Type representations are now properly mapped to instance representations if they share a rep
2020-05-08 20:40:06 +10:00
Dion Moult
ac49d1f7aa
For IFC2X3, IfcDoorStyle and IfcWindowStyle metadata will be imported
2020-05-08 10:18:32 +10:00
Dion Moult
1b237ccefe
Type representations are now imported too, not just element representations
2020-05-08 10:18:02 +10:00
Dion Moult
cdbe3433c0
New feature to add/override a single representation to an existing IFC file
2020-05-07 22:15:16 +10:00
Dion Moult
6300b27ac4
IFC unit settings are now preserved on import
2020-05-07 21:25:53 +10:00
Dion Moult
bbc429bb99
New feature to switch / load / create new contexts per object
2020-05-07 16:57:14 +10:00
Dion Moult
673f12dd8a
New feature to bulk add smart annotations to objects
2020-05-07 09:36:38 +10:00
Dion Moult
0af8902dde
Allow text annotation formatting functions
2020-05-06 21:10:39 +10:00
Dion Moult
4ed3517c47
Minor fix
2020-05-06 20:23:37 +10:00
Dion Moult
ef88f574c1
Namespace import/export operator so we can use it headlessly
2020-05-06 09:59:22 +10:00
Thomas Krijnen
9fca1aca3a
catch errors during iterator construction
2020-05-05 13:08:38 +02:00
Thomas Krijnen
9c5c05202f
more defensive XML parsing
2020-05-05 13:08:09 +02:00
Thomas Krijnen
c9c2f76960
parse_xml can return nullptr
2020-05-05 13:07:55 +02:00
Dion Moult
23f5c808e8
Add export support for profile 3d geometry representations
2020-05-05 18:39:14 +10:00
Dion Moult
956e9ab034
Support Annotation 2D and 3D geometry representations
2020-05-05 18:30:43 +10:00
Dion Moult
0288af196d
Support FootPrint GeomSet geometry representations
2020-05-05 18:17:12 +10:00
Dion Moult
9384cc04b8
Support 2D axis representations, and curves from either mesh or curves
2020-05-05 18:07:21 +10:00
Dion Moult
01e82620aa
Make IFC export more granular to only export contexts that are specified
...
This allows us to build up highly specific IFC exports instead of monolithic files.
2020-05-05 15:25:48 +10:00
Dion Moult
fa8b12497c
Reuse materials on subsequent imports if they already exist
2020-05-05 09:35:15 +10:00
Dion Moult
534ede4839
Relevant types are auto selected for export if you don't select them
2020-05-04 18:47:57 +10:00
Dion Moult
c3b04d554c
Lat/longs are converted to decimal degrees when imported from DMS
2020-05-04 18:46:47 +10:00
Dion Moult
3fedbad7bb
Fix classification round-trip bug
2020-05-04 18:46:19 +10:00
Dion Moult
11362becc8
Geometric representation contexts and subcontexts are now imported
2020-05-04 15:27:12 +10:00
Jesusbill
2d2c5cfc3d
add orientation in the json file for point and line geometries
2020-05-04 05:34:19 +02:00
Dion Moult
3ce71e855f
Text annotation can now extract dynamic variables from IFC data
2020-05-04 12:20:34 +10:00
Dion Moult
dce5c40007
Aggregates are now placed inside IfcProject during import
2020-05-04 10:21:28 +10:00
Dion Moult
7410d75ef5
Users can now specify a symbol for text annotation
2020-05-04 09:35:35 +10:00
Dion Moult
be2556aa0c
Minor fix
2020-05-04 07:46:25 +10:00
Dion Moult
97ac0e09b7
Add option to use cached render during documentation
2020-05-03 20:37:51 +10:00
Dion Moult
61a2eb4a43
Feature to set and resize text to 1.8, 2.5, 3.5, 5 and 7 sizes
2020-05-03 19:54:27 +10:00
Dion Moult
7deedf6ec9
New UI to add annotation objects
2020-05-03 15:41:05 +10:00
Dion Moult
9e250a9616
Cache IFC metadata so you don't need to reload the IFC file on every view generation
2020-05-03 11:24:52 +10:00
Dion Moult
a712861633
Grid annotations now work in 3D too
2020-05-03 11:24:22 +10:00
Dion Moult
280c7df79a
Don't cut rooms in documentation, fix non single material bug, and add view present for construction style documentation
2020-05-02 21:01:39 +10:00
Dion Moult
47eb032689
Users can now specify which IFC files they want to cut
2020-05-02 17:33:16 +10:00
Dion Moult
741ae2575d
Full classification HasReferences hierarchy is now exported
2020-05-02 13:57:11 +10:00
Dion Moult
70f298baae
Support import of document information and relationships
2020-05-02 09:21:13 +10:00
Dion Moult
04afc101a3
You can now relate and export document references and information entities
2020-05-01 19:13:54 +10:00
Dion Moult
784a394298
New document reference UI, where all docs are imported regardless of object association, and you can edit almost all metadata
2020-05-01 17:24:59 +10:00
Dion Moult
6e0fb6145e
Author and export document information metadata
2020-05-01 12:56:57 +10:00
Dion Moult
7b5d8a4079
Import rebar more efficiently without needing to create a profile
2020-05-01 10:23:19 +10:00
Dion Moult
9d9911c4c0
Import all document association metadata, not just location
2020-05-01 09:58:15 +10:00
Dion Moult
7ac2dc6712
Import element classification references
2020-05-01 08:33:50 +10:00
Dion Moult
ce00b3d5f8
Import classifications, as well as the hierarchy tree which can be browsed
2020-04-30 17:03:01 +10:00
Dion Moult
38167af916
Fix section planes not cutting through aggregates and appearing at cursor
2020-04-30 08:28:00 +10:00
Dion Moult
adb4a3f72a
New feature to select similar type
2020-04-29 20:26:36 +10:00
Dion Moult
a34a05262e
Minor fix
2020-04-29 18:11:44 +10:00
Dion Moult
fcd528abfa
Aggregate metadata is now imported (attributes / psets / types / etc)
2020-04-29 09:29:55 +10:00
Dion Moult
3eee143bed
New option to merge aggregates into a single object for artists
2020-04-29 09:20:30 +10:00
Dion Moult
203fcc1dca
Bump bcfplugin dependency to latest version
2020-04-28 18:32:45 +10:00
Dion Moult
2fa49d36d8
New operator to reload an existing IFC file
2020-04-28 14:52:04 +10:00
Dion Moult
7bb7d91c7e
Improve usability of IFCDiff by prompting for export JSON file
2020-04-28 11:42:08 +10:00
Dion Moult
1fdd3352ec
Add support for BCF bitmaps
2020-04-28 10:46:08 +10:00
Dion Moult
6d26e1c31f
Add support for BCF clipping planes
2020-04-27 14:30:33 +10:00
Dion Moult
bb935bf167
Add support for BCF line annotations
2020-04-27 13:35:39 +10:00
Dion Moult
01cd5d1d79
Let user control section plane colour
2020-04-27 09:33:00 +10:00
Dion Moult
9f5ef32173
Eyedrop tool to visually select objects to export to IFC
2020-04-27 08:32:01 +10:00
Dion Moult
d65f2b432b
New import workaround for vendors who create a silly amount of materials like DDS-CAD
2020-04-26 22:06:27 +10:00
Dion Moult
b8ea5dc3be
IFCCSV now supports queries for inverse spatial or type relationships
2020-04-26 17:33:18 +10:00
Dion Moult
cbfd41ad28
Package IFCCSV with BlenderBIM, with UI to import export CSV IFC data
2020-04-26 14:41:38 +10:00
Dion Moult
753fdae0d4
Allow export of IFC class into CSV
2020-04-26 14:40:33 +10:00
Dion Moult
011c50a042
IFCCSV can now be included as a library in your app!
2020-04-26 14:21:11 +10:00
Dion Moult
a695eecd9a
Minor fix to IFCCSV when exporting non-existant attributes
2020-04-26 14:12:31 +10:00
Dion Moult
3d45f9afeb
New feature to only apply section planes to specific objects
2020-04-25 19:17:47 +10:00
Dion Moult
82e38e3abe
New feature to remove a section plane
2020-04-25 19:09:34 +10:00
Dion Moult
3671953472
New feature to have multiple section planes at any angle
2020-04-25 17:40:24 +10:00
Dion Moult
b250472d60
New feature to create a section plane on a model in real-time
2020-04-25 16:21:15 +10:00
Thomas Krijnen
2ee0cda83e
delitem in ifc express parser schema
2020-04-24 13:56:28 +02:00
Thomas Krijnen
186da7ce8b
Better formatting in IFC express parser
2020-04-24 13:56:06 +02:00
Dion Moult
4db3b83681
Deprecate CSV-based pset assignment
2020-04-24 20:54:24 +10:00
Dion Moult
13fef5a452
New workaround for importing Civil 3D files with absolute coords
2020-04-24 19:55:00 +10:00
Dion Moult
80863f94d3
New feature to write new property set templates
2020-04-24 18:05:59 +10:00
Dion Moult
9ad57d658e
New feature to read pset template files
2020-04-24 17:14:07 +10:00
Dion Moult
a90ad6e16c
Only bundle Uniclass and Omniclass. Other systems can be downloaded online.
2020-04-23 18:16:04 +10:00
Dion Moult
19130b109e
New hierarchical classification navigator, reading class data from IFCs. Thanks to Lucyon Oak (Teck-Freak)
2020-04-23 16:05:06 +10:00
Dion Moult
9217af315b
New Graphisoft classification XML to IFC converter utility
2020-04-23 14:31:58 +10:00
Dion Moult
13d434c00f
Fix incorrect OffsetObjectPlacement patch when coordinates or directions are recycled
2020-04-23 09:48:52 +10:00
Dion Moult
2bb57aebb5
New IfcPatch recipe to offset and rotate an entire model
2020-04-21 18:55:28 +10:00
Dion Moult
048966bda2
Read from model precision to determine tolerance when doing diffs
2020-04-21 17:29:47 +10:00
Dion Moult
ee69bfedcb
New feature to copy attributes or psets to all selected objects courtesy of Lucyon Oak (Teck-Freak)
2020-04-20 11:06:34 +10:00
Dion Moult
f63ac9609b
Optimise rebar profile creation on IFC import
2020-04-16 13:40:46 +10:00
Dion Moult
7adf4934aa
Add support for importing IFC groups
2020-04-15 10:08:09 +10:00
Dion Moult
66afa9872d
Minor fix
2020-04-14 20:53:32 +10:00
Dion Moult
4e0347fb05
Fix IFC grids imported in wrong location
2020-04-14 20:51:38 +10:00
Dion Moult
442ab790d4
Add export support for CAD presentation layer assignment
2020-04-13 18:24:47 +10:00
Dion Moult
ddc37ab4d1
Minor fix
2020-04-13 13:23:53 +10:00
Dion Moult
c3a795c825
Add support for BCF orthogonal camera scales
2020-04-12 21:00:13 +10:00
Dion Moult
88bb7da0b2
Add support for BCF component visibility, colouring, and selection sets
2020-04-12 20:40:07 +10:00
Dion Moult
d180c4732f
Support for exporting IFCZIP files. See #834
2020-04-12 09:51:10 +10:00
Dion Moult
bdfe197c64
Support for importing IFCZIP files. See #834
2020-04-12 09:17:26 +10:00
Thomas Krijnen
42fedf81c4
Add parse_ifcxml to ifcopenshell_wrapper
2020-04-11 14:13:19 +02:00
Dion Moult
c93a4b6808
Fix schema-invalid exports for booleans, mat slots without polys, and linked duplicate objects having duplicate materials
2020-04-11 21:54:36 +10:00
Dion Moult
3562b566d0
Remove unnecessary cmake files for linux builds
2020-04-11 11:11:53 +10:00
Dion Moult
65a9d6ac50
Fix potential infinite loop during export thanks to Stephen Leger
2020-04-11 11:03:29 +10:00
Dion Moult
2e21c97d82
Remove obsolete IFC file
2020-04-11 10:40:35 +10:00
Dion Moult
efc8533c2d
Delete obsolete ifcdoc tool
2020-04-11 10:38:12 +10:00
Dion Moult
407e64632e
Reorganise libs into its own folder thanks to Stephen Leger
2020-04-11 10:37:47 +10:00
Dion Moult
3d1c796f14
Minor fix
2020-04-09 18:14:55 +10:00
Dion Moult
2db3cf0aa0
Merge pull request #830 from s-leger/patch-3
...
Remove hardcoded selection
2020-04-09 10:51:57 +10:00
s-leger
f59f017bde
Remove hardcoded selection
...
use selected_objects argument of exporter
2020-04-09 02:46:38 +02:00
s-leger
abbaef459b
Remove hardcoded input objects
...
Small cleanup of add_spatial_elements_if_unselected using sets
IfcExporter.export and IfcParser.parse take selected_objects as argument
2020-04-09 02:42:03 +02:00
Dion Moult
dd1b0a1056
Merge pull request #828 from s-leger/patch-2
...
Use ifcExportSettings.factory()
2020-04-09 08:26:55 +10:00
Dion Moult
79b741225b
Merge pull request #827 from s-leger/patch-1
...
Settings factory
2020-04-09 08:26:45 +10:00
s-leger
c78bb18c8d
Use ifcExportSettings.factory()
2020-04-08 15:43:45 +02:00
s-leger
4cf3479036
Settings factory
...
Use a static "factory" method to keep init logic near settings definition.
```python
logger = logging.getLogger('ExportIFC')
logging.basicConfig(
filename=context.scene.BIMProperties.data_dir + 'process.log',
filemode='a', level=logging.DEBUG)
output_file = bpy.path.ensure_ext(self.filepath, '.ifc')
ifc_export_settings = export_ifc.IfcExportSettings.factory(context, output_file, logger)
ifc_parser = export_ifc.IfcParser(ifc_export_settings)
ifc_export_settings.logger.info('Starting export')
```
2020-04-08 15:40:12 +02:00
Thomas Krijnen
8bf8cdf51b
Guarantee schemas are initialized for serialization and tesselation
2020-04-08 15:04:17 +02:00
Thomas Krijnen
a59633ae0b
Update MVD submodule
2020-04-08 12:34:18 +02:00
Dion Moult
f6db62c758
Psets and qtos can be selected from a list instead of typed
2020-04-08 14:15:36 +10:00
Dion Moult
44b49f4ce9
Minor fix
2020-04-08 12:07:27 +10:00
Dion Moult
b6e97dd26c
Optimise spatial tree creation during import
2020-04-08 11:05:27 +10:00
Dion Moult
67bb18b580
Bump to latest IfcOpenShell build
2020-04-08 11:04:18 +10:00
Jesusbill
4786dc78a3
create ifc2ca dedicated folder and populate with existing scripts
2020-04-07 16:10:42 +02:00
Dion Moult
fb51e85f79
Minor fix
2020-04-07 19:01:57 +10:00
Dion Moult
acf1289d50
Import rebar as an extruded circle instead of a brep
2020-04-07 18:50:07 +10:00
Dion Moult
b8edcb880d
Minor fix
2020-04-07 18:49:16 +10:00
Dion Moult
e86839d2db
Diffs are now supported in non-legacy importer
2020-04-07 15:44:54 +10:00
Dion Moult
3049d24f6f
Accomodate invalid psets without properties created by Solidworks
2020-04-07 14:46:58 +10:00
Dion Moult
28d5d11474
Spatial elements without geometry are now imported too
2020-04-07 14:34:24 +10:00
Dion Moult
503fcee432
Remove uninstall feature, as the built-in Blender remove plugin now handles this
2020-04-07 12:57:07 +10:00
Dion Moult
4c3051267e
Repackage BlenderBIM Add-on in single add-on dir thanks to Stephen Leger from Archipack
2020-04-07 12:02:44 +10:00
Dion Moult
df14ab57bf
Fix wrapped data values in COBie extracts
2020-04-06 17:30:02 +10:00
Dion Moult
374d5a5d1d
New optional GUI for BIMTester for user friendly testing
2020-04-06 16:55:36 +10:00
Dion Moult
ee288bf7f9
Implement Project setup MicroMVD steps in BIMTester
2020-04-06 11:59:28 +10:00
Dion Moult
96ab539a0f
Allow people to export context / project metadata
2020-04-06 10:18:23 +10:00
Dion Moult
1662b11fb2
Support different aspect ratios for BCF snapshots
2020-04-03 17:35:45 +11:00
Dion Moult
7ee385866a
Minor fix
2020-04-03 16:08:49 +11:00
Dion Moult
f3590f2b7b
Allow people to check all inverse relationships without filters
2020-04-03 11:15:29 +11:00
Dion Moult
22e4eb4570
Allow to diff inverse relationships
2020-04-03 11:10:14 +11:00
Dion Moult
82c38f67ba
BIMTester can now package test definitions for portability
2020-04-02 18:38:42 +11:00
Dion Moult
4c58cec393
Fix bug where missing styles in invalid IFCs cause imports to fail
2020-04-02 13:11:07 +11:00
Dion Moult
02e29955bf
Merge pull request #819 from Jesusbill/v0.6.0
...
udpate ifc2ca.py - major revision
2020-04-02 09:04:00 +11:00
Jesusbill
f4681b2053
udpate ifc2ca.py - major revision
2020-04-01 15:39:49 +02:00
Thomas Krijnen
b41d3ed2e6
SVG --print-space-names and entity classes
2020-04-01 12:19:56 +02:00
Dion Moult
55f3f20531
Add experimental multicore import to IFCClash
2020-04-01 15:11:05 +11:00
Dion Moult
a6c88a1d01
Accomodate deprecreated IfcPresentationStyleAssignment better
2020-04-01 09:25:34 +11:00
Dion Moult
3ff4b056b7
Support multiple materials per object on import
2020-03-31 19:37:04 +11:00
Dion Moult
a5fd66706a
Add support for BCF header files
2020-03-31 12:35:17 +11:00
Thomas Krijnen
293ba0db51
Don't fail on parse errors in multithreaded mode #746
2020-03-30 10:53:08 +02:00
Dion Moult
d5d36f85be
Change exception to error log
2020-03-30 10:20:15 +02:00
Dion Moult
f921b6a7e7
Make validate module write to logger
2020-03-30 10:20:15 +02:00
Dion Moult
fe633d9698
Add support for ordered BCF viewpoint snapshot images
2020-03-30 18:27:28 +11:00
Dion Moult
c4cd6ef710
New feature to validate IFC files against specification
2020-03-30 12:47:14 +11:00
Thomas Krijnen
df81490f86
Don't run wire intersection checks on parallel edge pairs
2020-03-27 13:26:34 +01:00
Dion Moult
c99bf6e63a
Compile views and sheets with automatic numbers, names, and scales
2020-03-27 18:23:46 +11:00
Dion Moult
46c878341d
Fix broken ResetAbsoluteCoordinates IfcPatch recipe
2020-03-27 09:04:20 +11:00
Thomas Krijnen
21c9598409
Remove duplicate element quantity from XML #802
2020-03-26 18:53:57 +01:00
Dion Moult
03a23958a3
Store scale and view title in views on sheets, so it can be post-processed
2020-03-26 21:44:54 +11:00
Dion Moult
f37e5e5d83
New buttons to open views and sheets instead of browsing manually
2020-03-26 20:47:21 +11:00
Dion Moult
bf4eb330e0
New feature to add a sheet, and add a view to a sheet
2020-03-26 18:26:35 +11:00
Dion Moult
cdb7a00f0a
Merge branch 'v0.6.0' of https://github.com/IfcOpenShell/IfcOpenShell into v0.6.0
2020-03-26 18:23:36 +11:00
Dion Moult
8613834129
Optimise titleblock template. Skip pattern adding until it is optimised.
2020-03-26 18:23:27 +11:00
Thomas Krijnen
8625aab5f0
Check CWD in builds-deps.cmd #804
2020-03-25 14:20:47 +01:00
Thomas Krijnen
7e6ebbebe0
Update docs in accordance with #804
2020-03-25 14:09:22 +01:00
Thomas Krijnen
ed98983687
Tolerance handling, error detection and triangulation on tesselation geometry #814
2020-03-25 14:05:22 +01:00
Dion Moult
3a590e4ba1
Implement BCF related topics
2020-03-25 17:55:52 +11:00
Dion Moult
1971bfe014
Support BCF topic document references
2020-03-25 17:12:02 +11:00
Dion Moult
dd98ac3a89
Add links to project homepage, docs, wiki, and community
2020-03-25 16:32:14 +11:00
Dion Moult
2678dc3a09
Add support for BCF topic BIM snippets
2020-03-25 16:20:24 +11:00
Dion Moult
f2e203d699
Show topic reference links and allow browsing of links
2020-03-25 15:03:06 +11:00
Dion Moult
52ff61a91c
Show BCF topic metadata in UI
2020-03-24 17:53:58 +11:00
Dion Moult
8a22169036
Add support for viewing BCF comments
2020-03-24 14:44:03 +11:00
Dion Moult
7c66c5e4fc
Allow users to select just objects for convenience when exporting
2020-03-24 11:25:27 +11:00
Dion Moult
44d884590a
Allow any type of curve to be used for construction documentation annotation
2020-03-24 10:34:58 +11:00
Dion Moult
662a9fdad7
Allow users to see different BCF viewpoints through a camera
2020-03-23 19:35:02 +11:00
Dion Moult
648aaaa778
Show list of BCF viewpoints in UI for each topic
2020-03-22 20:39:22 +11:00
Dion Moult
a8cb855613
Add button and operator to uninstall add-on
2020-03-22 15:25:57 +11:00
Dion Moult
7079e2aee2
Package BCF 2.1 schemas with distribution
2020-03-21 21:54:53 +11:00
Dion Moult
65a5dcbe25
Add list of BCF topics in UI
2020-03-21 21:44:02 +11:00
Dion Moult
5454521c2a
Minor fix
2020-03-21 00:25:26 +01:00
Dion Moult
9932e7f012
Add ability to select a BCF file to be loaded
2020-03-20 21:22:32 +11:00
Dion Moult
a7b52b5578
Add dependencies for patched bcfplugin
2020-03-20 21:21:23 +11:00
Dion Moult
114611d173
Do limited dissolve on imported meshes
2020-03-20 14:42:43 +11:00
Dion Moult
3b8b0cbbbf
Don't assume the first representation when checking materials
2020-03-20 09:38:41 +11:00
Thomas Krijnen
83bba733c7
Update .travis.yml
2020-03-19 14:37:11 +01:00
Thomas Krijnen
c991b9812f
Update .travis.yml
2020-03-19 13:51:45 +01:00
Dion Moult
5454c5b1e7
Allow manually specified qto values to be exported
2020-03-19 18:16:30 +11:00
Dion Moult
7fe067498f
Allow qtos to be imported
2020-03-19 16:48:50 +11:00
Dion Moult
ea71485f3b
Allow import of contained in IfcSpace relationship
2020-03-19 15:53:36 +11:00
Dion Moult
41acb6c985
Allow export of objects contained inside IfcSpace and other spatial elements
2020-03-19 14:37:18 +11:00
Dion Moult
772468d1ec
Minor fix
2020-03-19 10:41:07 +11:00
Dion Moult
296ae71606
Merge remote-tracking branch 'refs/remotes/origin/v0.6.0' into v0.6.0
2020-03-19 10:35:07 +11:00
Dion Moult
160c055906
Add workaround for IfcOpenShell e44221c - see bug #812
2020-03-19 10:33:31 +11:00
Thomas Krijnen
86b02a9adf
Address some warnings
2020-03-18 11:59:11 +01:00
Thomas Krijnen
30b28d5a8f
Update .travis.yml
2020-03-18 11:42:00 +01:00
Thomas Krijnen
d02182793b
Product names in STP export thanks to luuk https://sourceforge.net/p/ifcopenshell/discussion/1782717/thread/55558229/?limit=25#a843
2020-03-18 10:12:54 +01:00
Dion Moult
358323492e
Add new feature to auto-clean mesh on import
2020-03-18 17:49:08 +11:00
Dion Moult
e99c775d51
Fix bug where some objects inside spaces won't import
2020-03-18 17:48:42 +11:00
Dion Moult
e068776141
Fix bug where aggregate objects might not be exported
2020-03-18 14:22:44 +11:00
Dion Moult
130d732745
Support multiple materials per object on IFC export
2020-03-18 14:22:01 +11:00
Thomas Krijnen
f24db3402f
Support for 3D part of IfcSurfaceCurve
2020-03-17 15:13:36 +01:00
Thomas Krijnen
0cfbde13b9
PERMISSIVE_EXTRUSION preproc directive
2020-03-17 11:57:43 +01:00
Thomas Krijnen
9a99f85026
IfcCraneRailAShapeProfileDef for better or worse
2020-03-17 11:55:54 +01:00
Thomas Krijnen
481c6165ca
Parametrize code generation actions from the command line
2020-03-17 11:55:28 +01:00
Dion Moult
dc8e73b822
Add support for IfcSpatialElements and exclude abstract classes.
2020-03-17 19:16:11 +11:00
Dion Moult
8ba9b37ec9
Add icon and embed common.lark for packaging IFCCSV
2020-03-16 14:54:45 +11:00
Dion Moult
a5b5b10d29
Add IFCCSV tool - import and export data from CSV
2020-03-16 13:19:35 +11:00
Thomas Krijnen
3e55297eb0
Propagate hierarchy helper template archument to IfcFile schema name
2020-03-11 16:19:13 +01:00
Thomas Krijnen
bd27ff150a
Place fills under openings in XML
2020-03-11 15:16:18 +01:00
Thomas Krijnen
cb872a5bff
Miirror SVG output to account for coordinate systems
2020-03-11 14:45:58 +01:00
Dion Moult
f540e3495c
Allow user toggle if aggregates are created. Useful for artists.
2020-03-11 15:44:00 +11:00
Dion Moult
9ce34ce395
Add feature to merge by material when importing, useful for artists
2020-03-11 15:27:03 +11:00
Dion Moult
608abf2e55
Calculate position of hidden lines in views in absolute coordinates
...
Very useful for creating projection lines in axonometrics
2020-03-10 18:28:03 +11:00
Dion Moult
c6e10abc51
New feature to merge import geometry by class, which is useful for artists who don't care too much about the data
2020-03-10 09:56:34 +11:00
Thomas Krijnen
4df2feabe2
Add py38 to nix build
2020-03-08 10:14:47 +01:00
Thomas Krijnen
3c355b4848
Add py38 to nix build
2020-03-08 10:13:35 +01:00
Dion Moult
a7c14bc7c3
Fix bug where placing spaces in a spatial structure fails with non-unique names
2020-03-08 14:51:32 +11:00
Dion Moult
3a91ed1382
Support IFC2X3 materials without transparency
2020-03-06 22:03:01 +11:00
Dion Moult
e2cfc676d8
New test to check that no elements exist of a particular type
2020-03-06 11:35:05 +11:00
Dion Moult
8008ad16b1
Fix import bug where not all objects are typed
2020-03-06 10:17:00 +11:00
Dion Moult
5dd919f028
Create argument to specify a single feature in BIMTester, and separate report generation into its own function
2020-03-06 10:16:30 +11:00
Dion Moult
43348ce236
Bump to latest IfcOpenShell build
2020-02-28 11:24:43 +11:00
AlaaB2020
9f2443e01c
Update IfcGeomFunctions.cpp
...
Changing comment to be suitable for the code change
2020-02-26 10:42:23 +02:00
Dion Moult
c8cb9d8a7c
Auto detect badly geolocated site from Tekla upon import
2020-02-25 17:47:32 +11:00
Dion Moult
ffc8ec8c8d
Accomodate deprecated IFC2X3 ways of relating type products
2020-02-25 17:43:48 +11:00
AlaaB2020
9cab063671
Update IfcGeomFunctions.cpp
...
get the first material even if there are more than one material layer
2020-02-24 13:08:21 +02:00
Dion Moult
baf5f1891f
New import option to toggle the import of space objects
2020-02-21 11:43:48 +11:00
Dion Moult
bdc8caa5f6
New feature to colour code objects by attribute or pset values
2020-02-21 09:41:35 +11:00
Dion Moult
7a5ec24d8d
Add ability to search with regex for pset values
2020-02-20 17:31:38 +11:00
Dion Moult
eac8925134
Minor UI clean-up to hide panels by default
2020-02-19 17:24:28 +11:00
Dion Moult
c3ffe9c3de
Build new attribute search operator with regex support and ignorecase
2020-02-19 17:24:01 +11:00
Dion Moult
6c47ff73fd
Specially import grids even though they are 2D as grids are pretty important.
2020-02-19 16:20:02 +11:00
Dion Moult
cfe18d41d6
Implement support for importing pset data
2020-02-19 14:43:34 +11:00
Dion Moult
5beb3dc755
Show percentage results in BIMTester, add tests for element existance, attributes from a list, and more generic attribute checking
2020-02-18 14:03:32 +11:00
Thomas Krijnen
e44221c9c2
XML serializer decomposition fixes for IFC4
2020-02-10 16:36:56 +01:00
Thomas Krijnen
56e3353879
Add inverse attribute availability to schema definition macros
2020-02-10 16:36:38 +01:00
Sander Boer
861dab0d9e
proposed fix for #739 , build with swig4
2020-02-07 10:45:14 +01:00
Dion Moult
7c97ad05fd
New IFCPatch tool, which can "patch" an IFC, including adjusting coordinates and elevations.
2020-02-06 16:20:15 +11:00
Dion Moult
bf55214e1a
IFC2CA made more IFC specific - Merge pull request #778 from Jesusbill/v0.6.0
...
minor update of ifc2ca.py
2020-02-05 22:05:01 +11:00
Dion Moult
207359ec2c
Minor fix
2020-02-04 17:38:08 +11:00
Dion Moult
1f89a00896
Allow people to maintain parametric modifiers, or bake the results
2020-02-04 11:57:06 +11:00
Dion Moult
b449f8afaa
Handle scenarios where the data block name is the name for meshes and curves
2020-02-04 11:56:39 +11:00
Dion Moult
2d53c691f5
Prevent duplicate GlobalIds if the author manually creates a collision
2020-02-04 11:55:54 +11:00
Thomas Krijnen
3b0585ae4b
Merge branch 'v0.6.0' of https://github.com/IfcOpenShell/IfcOpenShell into v0.6.0
2020-02-03 14:00:51 +01:00
Thomas Krijnen
2e6f5c1bd9
Fix #776 IfcPolygonalFaceSet units
2020-02-03 14:00:21 +01:00
Dion Moult
c87903d3d7
Allow arbitrary locations for leaders and section levels.
2020-02-03 18:01:41 +11:00
Dion Moult
e03e961a2f
Add support for projection elements
2020-02-02 20:28:51 +11:00
Dion Moult
c7c3d366bc
Allow 3D dimension annotations with arbitrary origins for flexibility.
2020-02-01 22:50:49 +11:00
Dion Moult
691cc8759a
New operator to quickly set diagram render options
2020-02-01 22:49:35 +11:00
Jesusbill
2786d7a20c
minor update of ifc2ca.py
2020-01-31 16:52:15 +01:00
Dion Moult
9571d4a67b
Allow users to toggle import of opening elements.
2020-01-31 12:52:44 +11:00
Dion Moult
bb462659a3
Fix import of multiple spatial elements with the same name
2020-01-31 12:44:02 +11:00
Dion Moult
85e55b6deb
Implement import and association of type products
2020-01-30 17:23:57 +11:00
Dion Moult
e354354b1a
Fix curve profile orientation on export.
2020-01-30 15:33:01 +11:00
Dion Moult
56a2f9eedc
Minor fix where enum position would get lost when refreshed
2020-01-30 08:57:20 +11:00
Dion Moult
9cf81d5c7b
Record the source IFC file as metadata in preparation for partial writes
2020-01-29 11:42:43 +11:00
Dion Moult
1800ebc893
Sites now can have a long/lat attribute exported.
2020-01-29 11:29:29 +11:00
Dion Moult
9895ff3c22
Quick project set up now creates spatial objects.
2020-01-29 11:28:26 +11:00
Dion Moult
52fae93a14
Allow export of objects for spatial tree
2020-01-28 22:06:58 +11:00
Dion Moult
5a3303837d
You can now write BIMTester tests directly to the features dir.
2020-01-28 18:10:33 +11:00
Dion Moult
f501aaeb01
Add new import workaround for 12D files with absolute coordinates.
2020-01-24 10:19:44 +11:00
Dion Moult
98e082ccac
Assign product types using a property, not by parenting for scalability.
2020-01-23 15:23:19 +11:00
Dion Moult
9e67b05df9
Add workaround for importing wrongly geolocated Revit buildings.
2020-01-22 21:43:18 +11:00
Dion Moult
f80e700997
Add autodoc for IfcOpenShell-python. See #755 .
2020-01-21 21:34:32 +11:00
Dion Moult
2f1b5ff2d4
Add doc pages for utilities, rename doc to IfcOpenShell
2020-01-21 18:03:15 +11:00
Dion Moult
9b5265e6fd
Merge IfcOpenShell documentation structure. See #755 .
2020-01-21 17:53:05 +11:00
Dion Moult
b88739eed8
Add progress bar when importing. Fix #759 .
2020-01-21 14:55:35 +11:00
Dion Moult
3108d3ecfe
Add experimental IFC to Code_Aster converter script. See #756 .
2020-01-21 09:55:40 +11:00
Dion Moult
f78a0ec88a
Assign all structural members to group. See #756 .
2020-01-20 20:15:06 +11:00
Dion Moult
afaab7c9e0
Allow export of structural analysis models. See #756 .
2020-01-20 17:26:41 +11:00
Dion Moult
8dce661830
Allow export of structural member connections. See #756 .
2020-01-20 16:22:24 +11:00
Dion Moult
47723b4e63
Allow export of boundary conditions. See #756 .
2020-01-20 15:06:24 +11:00
Dion Moult
f50722c4bc
New UI to add structural boundary condition data. See #756 .
2020-01-19 18:41:57 +11:00
Dion Moult
a34588179d
Extract select attributes from XSD into JSON.
2020-01-19 18:40:39 +11:00
Dion Moult
3fb268f687
Properly detect all possible representation contexts for an object. See #756 .
2020-01-18 12:47:55 +11:00
Dion Moult
368f76b713
Minor fix
2020-01-17 14:13:11 +11:00
Dion Moult
09e4fe56f4
Add junit dir argument
2020-01-17 12:52:55 +11:00
Dion Moult
e077235eee
Add bimtester definitions related to model setup tests
2020-01-16 17:55:37 +11:00
Thomas Krijnen
d9805185ee
Fix boolean op style selection
2020-01-15 11:50:44 +01:00
Thomas Krijnen
f58d9243fa
Fix trimmed curve where vertex order does not agree with linear curve geom
2020-01-15 10:35:31 +01:00
Dion Moult
9a2f101df7
Allow structural point connections to be exported. See #756 .
2020-01-15 17:43:21 +11:00
Dion Moult
af278b5724
Add UI for pset overrides without the need to create a CSV.
2020-01-15 17:17:03 +11:00
Dion Moult
71f836d013
Add ability to export parameterised profiles for material profiles.
2020-01-14 17:38:54 +11:00
Dion Moult
8490dc7841
Allow material profile sets to be exported.
2020-01-14 16:11:11 +11:00
Dion Moult
2dbcd6712e
Create UI to add/remove material attributes
2020-01-14 15:38:22 +11:00
Dion Moult
ef919ab431
Create UI to change material definition type
2020-01-14 13:28:48 +11:00
Dion Moult
29b7b2963e
Allow topological reference export of structural members. See #756 .
2020-01-14 12:11:26 +11:00
Dion Moult
8ae8042d65
Only show predefined type and user defined type if it is a valid input
2020-01-13 17:42:59 +11:00
Dion Moult
c4af52e8ee
Allow IfcStructural* elements to be exported. See #756 .
2020-01-13 17:35:56 +11:00
Thomas Krijnen
9ef9498c35
Submodule
2020-01-12 15:21:09 +01:00
Thomas Krijnen
68763f4988
Don't raise error on eliminated compcurve polygon points
2020-01-12 15:18:12 +01:00
Thomas Krijnen
98d8a3477d
Limit max angle for trimmed curve approx
2020-01-12 15:17:48 +01:00
Thomas Krijnen
07756ab2da
Renable wire segmentation for #468 and #674
2020-01-12 14:40:27 +01:00
Dion Moult
a2003101a0
Support export of point clouds to IFC
2020-01-12 20:47:06 +11:00
Dion Moult
ce5bf5749f
Minor fix
2020-01-12 20:45:55 +11:00
Dion Moult
7519447966
Add sample data for doors and window.
2020-01-12 19:02:32 +11:00
Dion Moult
e1cfa68dcb
Allow export of material properties. Related to #756 .
2020-01-12 19:01:35 +11:00
Thomas Krijnen
614348d3a2
Update testfile submodule
2020-01-11 14:45:36 +01:00
Thomas Krijnen
4320888d9d
Fix #726 , #728 , #730 by other transition mode, more aggressive curve approx and custom revolution implementation
2020-01-11 14:23:16 +01:00
Dion Moult
d84cfeffcc
Export an axis representation for beveled curves. Related to #756 .
2020-01-11 22:58:53 +11:00
Dion Moult
a762afc7c1
All export of vector curve objects. Related to #756
2020-01-11 09:55:39 +11:00
Dion Moult
7c0f5ca7bc
Allow import of site objects
2020-01-11 07:51:57 +11:00
Thomas Krijnen
6047addfae
#include <Message_Msg.hxx>
2020-01-10 10:05:31 +01:00
Dion Moult
b66e5e9911
Document context panel
2020-01-10 18:44:05 +11:00
Dion Moult
e5cd71dd1e
Minor fix
2020-01-10 18:24:05 +11:00
Dion Moult
28e043f97a
Minor makefile fix
2020-01-09 06:00:30 +01:00
Dion Moult
af2dd8f9bb
Minor fix
2020-01-09 15:52:11 +11:00
Dion Moult
0f1be45990
Automatically detect and set import workarounds for Revit
2020-01-09 15:30:43 +11:00
Dion Moult
d91fa69e83
Write documentation for BIM panel and owner history panel
2020-01-09 13:49:11 +11:00
Dion Moult
a286082a1c
Add scene documentation
2020-01-09 07:28:30 +11:00
Dion Moult
fde80896a1
Add assign context operator and minor UI cleanup
2020-01-08 16:58:59 +11:00
Dion Moult
579d3d9f86
Add feature to explode an aggregation.
2020-01-08 15:58:39 +11:00
Dion Moult
f11021b505
Place opening elements into collection on import. Fix #750 .
2020-01-08 15:26:31 +11:00
Dion Moult
21ed3ea515
Import aggregations into collections. Fix #750 .
2020-01-08 15:07:29 +11:00
Dion Moult
e927ac49ac
Add basic sphinx docs
2020-01-08 10:58:52 +11:00
Thomas Krijnen
e8494dcbfd
Fix placement on STP and IGS export
2020-01-07 15:37:22 +01:00
Thomas Krijnen
99706bdf5a
Fix #741
2020-01-07 14:17:55 +01:00
Dion Moult
6b9a01c50d
Add STEP header metadata
2020-01-07 16:12:11 +11:00
Dion Moult
13e0b77c7f
Fallback to legacy importer if diff feature enabled
2020-01-07 15:48:54 +11:00
Dion Moult
dcaef14b5f
Add dependencies for IFC Diff
2020-01-07 14:42:03 +11:00
Dion Moult
6d6f7af3d7
Create UI to run IFCDiff tool from Blender
2020-01-07 14:27:34 +11:00
Dion Moult
dfe8149b17
Package IFC diff utility for Windows
2020-01-06 17:39:04 +11:00
Dion Moult
fc220efb6c
Create UI to switch between views easily
2020-01-06 14:30:44 +11:00
Dion Moult
6d83815ab1
Allow view scales to be set per camera instead of global
2020-01-06 11:46:42 +11:00
Dion Moult
461b1735dd
New interface to quickly create a new view for documentation
2020-01-06 10:41:59 +11:00
Dion Moult
642738e0c0
Merge branch 'v0.6.0' of https://github.com/IfcOpenShell/IfcOpenShell into v0.6.0
2020-01-06 08:49:24 +11:00
Dion Moult
99c77fff5e
Remove unnecessary example blend file
2020-01-06 08:48:14 +11:00
Dion Moult
8a255d3b0d
Fix duplicate material assignment bug on import
2020-01-03 21:21:36 +11:00
Dion Moult
94d2a11096
Minor fix when ignoring site coordinates
2020-01-03 16:56:32 +11:00
Dion Moult
403cda5bc8
Allow you to select person and organisation when exporting owner history metadata
2020-01-03 15:53:57 +11:00
Dion Moult
d6b9810b94
Add about 50 hatches in SVG pattern format taken from LibreCAD
2020-01-03 12:46:29 +11:00
Dion Moult
7c6e7742a8
Implement "should recut" to force recutting of a diagram
2020-01-03 08:44:51 +11:00
Dion Moult
220826f141
Turn BIMTester into a CLI app with ability to set arguments to Behave
2020-01-02 15:02:40 +11:00
Dion Moult
2007277bfc
Add unit tests to check for names, shapes, attributes, properties, and quantities
2020-01-02 13:01:17 +11:00
Dion Moult
f74295127b
Allow people to create spatial structure elements
2020-01-02 13:00:18 +11:00
Dion Moult
4ed4bcf660
Implement multicore importer using IfcOpenShell iterator with Revit material hack
2019-12-31 16:32:20 +11:00
Dion Moult
4da2f9c9e7
Don't strictly enforce Ifc naming in objects or meshes
2019-12-29 07:28:54 +11:00
Dion Moult
782b10fbde
Add AI-enabled web 2.0 hypermedia API generate digital twin button
2019-12-20 10:43:39 +11:00
Dion Moult
4bb5248593
Minor fix
2019-12-19 16:49:27 +11:00
Dion Moult
5127555740
Implement Conda Mac and Linux lib loading workaround
2019-12-19 15:31:00 +11:00
Dion Moult
276ac5c1d1
Isolate libs for macos and linux builds
2019-12-19 05:05:57 +01:00
Dion Moult
d6e16c5373
Fix bug with loading absolute dependencies on a fresh install
2019-12-19 04:35:19 +01:00
Dion Moult
a93844bb83
Support multiline annotation, improve RL tags, detect active camera
2019-12-19 13:00:19 +11:00
Dion Moult
6f5a6418a7
Fix rotated dimensions, add engineering style dimensions
2019-12-19 08:17:14 +11:00
Dion Moult
f63161e40a
Add view cut caching, equal dims, and RL tags
2019-12-17 17:05:03 +11:00
Dion Moult
b500dab88a
Fix PDF dimension annotation rendering bug
2019-12-17 17:04:00 +11:00
Dion Moult
eed5d05af5
Convert template to OpenGOST typeface
2019-12-17 14:59:02 +11:00
Adrien Scho
4b6fe80fb2
chore: updated broken links in readme
2019-12-16 13:43:52 +01:00
Adrien Scho
05a5c3c3f9
fix : #734 - No XML serializer registered for IFC4X1
2019-12-16 13:43:52 +01:00
Thomas Krijnen
3937d995b6
Merge branch 'master' into v0.6.0
...
# Conflicts:
# src/ifcopenshell-python/ifcopenshell/geom/main.py
2019-12-16 13:41:54 +01:00
Dion Moult
1b2af78e65
Experimental packaging with OCC and SVG deps
2019-12-16 05:44:52 +01:00
Thomas Krijnen
974e3fa904
Correct clean up in Iterator
2019-12-14 13:23:40 +01:00
Dion Moult
c0cd0ce07e
Add section cut multiprocessing, grids, hidden lines, stair arrows, text annotations, and leaders
2019-12-13 17:25:52 +11:00
Dion Moult
4f7925580a
Implement dimension text rotation, technical font, and dimension position
2019-12-12 18:17:39 +11:00
Dion Moult
e87bff736e
Add simple section cut results caching
2019-12-12 18:16:02 +11:00
Dion Moult
948ff287f1
Standardise line thicknesses and dimension tick styles
2019-12-12 18:14:44 +11:00
Dion Moult
b452d7c794
Add support for different view scales
2019-12-12 12:51:47 +11:00
Mieszko Boczkowski
1426c7066b
Move has_occ() function to __init__
2019-12-11 11:54:56 +01:00
Mieszko Boczkowski
f84982f99a
Change exception on failed import for Python 2 compatibility
2019-12-11 11:54:56 +01:00
Mieszko Boczkowski
8d4f34461e
Fix OCC imports in Python
2019-12-11 11:54:56 +01:00
Dion Moult
516757ba38
Support placing a view / section / diagram on a sheet
2019-12-11 18:50:01 +11:00
Dion Moult
25dfa32b7e
Switch to absolute paths for module loading
2019-12-11 18:44:46 +11:00
Dion Moult
2eeb507b78
WIP support for cutting a section with dimension annotation lines
2019-12-10 18:54:26 +11:00
Dion Moult
1d04a3a5c7
Move section generator into plugin to prepare for integration
2019-12-09 21:26:29 +11:00
Dion Moult
d3b56bd79b
Experimental code to merge background faces in a section cut
2019-12-08 21:14:04 +11:00
Dion Moult
53d64348fd
Allow people to configure exportable contexts
2019-12-07 21:33:44 +11:00
Dion Moult
d46ba7d1cd
Simplify UI for context management
2019-12-07 17:02:59 +11:00
Dion Moult
c339a97443
Allow IFC clash utility to run as a command line app
2019-12-05 17:28:34 +11:00
Dion Moult
dfc30c2137
Add sample material pass files and fix relative material locations
2019-12-05 09:54:35 +11:00
Dion Moult
e9418bfb0b
Allow IFC diff utility to read from command line input
2019-12-04 21:58:59 +11:00
Dion Moult
f7116d70e7
Add experimental UI to manage geometric contexts
2019-12-04 17:49:28 +11:00
Dion Moult
2d495e6124
Add support to do basic import of document relationships
2019-12-04 15:30:33 +11:00
Dion Moult
5df2b3aa0a
Experimental support to proxy one shape for another in IFC
2019-12-03 17:27:22 +11:00
Dion Moult
a00449e34b
Export clash results to JSON with metadata
2019-12-01 22:17:23 +11:00
Dion Moult
6250f903ff
Implement experimental clash detection with a tolerance
2019-12-01 22:04:28 +11:00
Dion Moult
5bb59f3136
Allow fetching Eevee or Cycles materials from a material pass file
2019-11-30 22:42:04 +11:00
Dion Moult
d76a67450c
Import externally defined materials
2019-11-30 12:05:56 +11:00
Dion Moult
a38df48d5a
Support styled item surface colours on IFC import
2019-11-30 11:26:02 +11:00
Thomas Krijnen
e283b51dbc
Add includes for older occt versions
2019-11-26 12:47:43 +01:00
Dion Moult
44491c6167
Make the audit class a drop down in the panel UI
2019-11-26 21:05:05 +11:00
stephassoria
afaa34ffc2
IfcOpenShell v0.6.0 as subrepo
2019-11-26 10:09:16 +01:00
Dion Moult
031fd1baff
Mostly stable implementation of mirror modifier
2019-11-26 11:49:14 +11:00
Dion Moult
e643966191
Fix incorrect version replacement
2019-11-25 07:49:13 +11:00
Dion Moult
ad7ef0be4f
Implement experimental support for mirror modifier
2019-11-24 22:11:57 +11:00
Dion Moult
b9e6665eab
Fix reuse of representation maps. See #724
2019-11-24 18:12:33 +11:00
Thomas Krijnen
9bcd932bed
fixes for macos catalina
2019-11-22 18:45:11 +01:00
Thomas Krijnen
bfaa9ed5f9
Old OCC compatibility
2019-11-22 13:12:39 +01:00
Johan Luttun
a2418cf260
added faceset feature ( #714 )
...
* added faceset feature
* indented code correctly
* better indentation on selected hunk
2019-11-22 12:58:30 +01:00
Dion Moult
69a6f5ee36
Minor fix to build script
2019-11-21 21:49:18 +11:00
Dion Moult
e781df10b8
Merge branch 'v0.6.0' of github.com:IfcOpenShell/IfcOpenShell into v0.6.0
2019-11-21 21:27:49 +11:00
Dion Moult
f16861d5a9
Implement support for IfcLibraryInformation like a Git server
2019-11-21 21:27:32 +11:00
Dion Moult
ad504ff081
Add sentences to exempt IFC files from BIMTester auditing
2019-11-21 09:46:37 +11:00
Dion Moult
9a18198988
Partial implementation of project library information
2019-11-21 07:09:08 +11:00
Dion Moult
de64e3afc3
Reorder BIM property panels for better user experience
2019-11-21 06:48:22 +11:00
Dion Moult
7253b07b0c
Fix broken select IFC type operator
2019-11-21 06:43:35 +11:00
Dion Moult
b4f344627d
Merge pull request #725 from s-leger/patch-5
...
Fix bug in boolean modifier support
2019-11-19 07:42:59 +11:00
Thomas Krijnen
c385257c92
Add more warning related to rep usage. See #724
2019-11-18 12:59:48 +01:00
s-leger
859afaeece
Fix negative right axis
2019-11-18 07:54:11 +01:00
s-leger
e510d5a197
Fix resolve_boolean_modifier
...
Use matrix col for axis instead of row ..
Store product indexes in resolve_boolean_modifier
Remove get_product_from_raw_name
2019-11-18 07:51:09 +01:00
Dion Moult
33967953b7
Merge pull request #723 from s-leger/patch-5
...
Implement element voiding and clean up to PEP8
2019-11-18 15:55:14 +11:00
s-leger
34c2cd3c06
Update export_ifc.py
...
Fix function names, spaces, "type" shadowing
improve vertices export using list comprehension
Check for empty material slot
2019-11-18 05:46:52 +01:00
s-leger
5cd6f44e73
Update export_ifc.py
...
Fix translation and axis of type_products
2019-11-18 04:23:41 +01:00
s-leger
b75f1e1758
Merge branch 'v0.6.0' into patch-5
2019-11-18 04:07:26 +01:00
Stephen Leger
f12e732854
fix merge error
2019-11-18 03:49:04 +01:00
Stephen Leger
c9a5fbf221
merge 0.6 into patch-5
2019-11-18 03:45:24 +01:00
Dion Moult
c930b8f155
Optimise select audited operator
2019-11-18 11:30:08 +11:00
Dion Moult
1e802bd0a3
Bugfix for BIMTester purge function to overwrite existing feature files
2019-11-18 10:48:50 +11:00
Dion Moult
c46167073b
Specifying an IFC diff now does an incremental import
2019-11-18 10:18:21 +11:00
Thomas Krijnen
5237f4a634
Add warning related to rep usage. See #724
2019-11-17 14:07:32 +01:00
s-leger
b54be81408
Update export_ifc.py
...
fix typo in product
2019-11-17 14:00:05 +01:00
s-leger
39a5ecb6d2
Update export_ifc.py
...
Replace object by obj - never override native var "object"
Implements get_axis from matrix helper
2019-11-17 13:25:41 +01:00
s-leger
a6128f118a
Update export_ifc.py
2019-11-17 13:12:22 +01:00
Dion Moult
448a56afe9
Minor scale fix and code cleanup
2019-11-17 20:41:53 +11:00
Dion Moult
0d243beb36
Implement export for objects with non-uniform scale
2019-11-17 19:08:29 +11:00
s-leger
9e4092a050
Update export_ifc.py
...
Retrieve product from raw name
2019-11-17 03:15:46 +01:00
s-leger
44d4d9e563
process booleans
...
process booleans as RelFillsElements and RelVoidsElements
Fills are expected to be parent of holes so when you move a fill hole follow in real time
2019-11-17 02:52:20 +01:00
Dion Moult
f249d55d3c
Add version string to Makefile so users know their version
2019-11-17 12:40:14 +11:00
Dion Moult
85076dc697
Rename plugin to "BlenderBIM"
2019-11-17 12:29:02 +11:00
Dion Moult
c074bd455f
Ensure null values cannot be picked which result in bad IFC data
2019-11-17 11:59:35 +11:00
Dion Moult
c04e8f98ec
Refactor Blender property definitions in its own file
2019-11-17 11:38:56 +11:00
Dion Moult
ef6dcd9291
Fix location for parented and constrained objects
2019-11-16 07:38:21 +11:00
s-leger
c51c8602a3
Update ui.py
...
Dynamic enum cache
Update on change
Use direct propertygroup access in enum functions
2019-11-15 17:33:11 +11:00
Dion Moult
9659de6ebf
Support export of people and organisations
2019-11-15 15:44:04 +11:00
Dion Moult
396979954f
Add ability to purge tests of deleted elements
2019-11-15 15:43:33 +11:00
Dion Moult
836e350a15
Merge pull request #721 from s-leger/patch-3
...
Update ui.py
2019-11-15 15:03:59 +11:00
s-leger
0532048f37
Update ui.py
2019-11-15 04:59:51 +01:00
s-leger
78e18f0a01
Update ui.py
...
Fix for dynamic enum function signature
2019-11-15 04:53:58 +01:00
Dion Moult
e1bf82b88e
Merge pull request #720 from s-leger/patch-2
...
Class naming convention
2019-11-15 14:18:44 +11:00
Dion Moult
ed0dffb409
Merge pull request #719 from s-leger/patch-1
...
Dynamic enumerators
2019-11-15 14:18:29 +11:00
s-leger
c66a2589d8
Class naming convention
...
Fix naming convention for Panel classes
2019-11-15 01:48:20 +01:00
s-leger
7140b2c4e8
Dynamic enumerators
...
Dynamic enums require to hold proper reference to enum array. (may lead to access violation and strange ui behaviour)
Cleanup bpy.props.xxx and bpy.types.xxx
Fix in path for files with hardcoded "/"
BIM_PT_ prefixes for Panel classes
Use poll method for panels
2019-11-15 01:44:29 +01:00
Dion Moult
21e87095dc
Minor fix
2019-11-14 07:51:47 +11:00
Dion Moult
cfe030378a
New UI to assign multiple swept solids per object
2019-11-13 18:48:12 +11:00
Dion Moult
556a476f9f
Improved extrusion algorithm calculates extrusion profiles per face
...
Bugfixes incorrect extrusion axis locations, and also decouples object matrix_world from the extrusion axis, allowing you to have multiple extrusion per object in the future.
2019-11-12 17:57:59 +11:00
Dion Moult
49efce7eca
New option to ignore site, to import incorrectly geolocated IFCs
...
This behaviour occurs extensively in IFC files coming from Revit
2019-11-08 17:24:15 +11:00
Dion Moult
c425b44ca9
Store generated GlobalId values for parametric geometry
2019-11-08 16:45:39 +11:00
Dion Moult
af16e64fd9
Add UI option to import curves and tolerate invalid IfcSite objects
2019-11-08 16:02:57 +11:00
Dion Moult
60b3daf686
Create legacy features to export materials into broken BIM programs like Revit
2019-11-08 15:10:51 +11:00
Dion Moult
80dccfeb54
Add support for inner curves in mesh extrusions and fix position bug
2019-11-08 12:39:34 +11:00
Thomas Krijnen
c89d268986
More elaborate shape fixing on face surface
2019-11-07 14:04:45 +01:00
Dion Moult
ee7956d921
Add support for plan representations and all target views
2019-11-07 21:49:14 +11:00
Dion Moult
609ef5f3a7
Add support for exporting survey points geometry
2019-11-07 17:59:37 +11:00
Dion Moult
0477910fc0
Add support for export of imperial units
2019-11-07 16:40:57 +11:00
Dion Moult
85a3a97d13
Fix import of conversion based units
2019-11-07 14:20:54 +11:00
Dion Moult
9eb035e6f5
Fix export bug with uncast attribute data types
2019-11-07 09:11:25 +11:00
Thomas Krijnen
2a407f007c
Document fontconfig dependency for occt 7.4
2019-11-06 14:05:05 +01:00
Thomas Krijnen
5992cdfdaf
Build script changes for occt 7.4
2019-11-06 12:03:32 +01:00
Dion Moult
0d7d843fc9
Support extruded vector curves and tilts
2019-11-06 17:37:51 +11:00
Dion Moult
fae405bfe0
Add support for importing curves, such as for survey point curve sets
2019-11-06 11:10:51 +11:00
Thomas Krijnen
c59c74aeed
Confitionally select num_bytes, see #699
2019-11-05 17:23:13 +01:00
Thomas Krijnen
e36357d381
Log error about missing triangulation
2019-11-05 15:47:02 +01:00
Thomas Krijnen
8d96f40934
Check for inner wires before reinitializing face builder
2019-11-05 15:27:39 +01:00
Thomas Krijnen
a1253b004d
Fixes for closed/non-periodic nurbs curve edges #586
2019-11-05 15:13:34 +01:00
Thomas Krijnen
ee79401a34
Correct attribute_filter notice
2019-11-05 14:43:37 +01:00
Dion Moult
37990310eb
Experimental half-broken support for curves added
2019-11-05 21:49:17 +11:00
Dion Moult
d806c6ab55
Cull-backfaces and cache geometry creation in IfcDoc
2019-11-02 20:08:34 +11:00
Thomas Krijnen
ed013db011
throw exception on invalid nested aggregates
2019-11-01 16:11:46 +01:00
Thomas Krijnen
5fcee9dfe5
spherical toroidal surface
2019-11-01 16:11:26 +01:00
Thomas Krijnen
159ce931b4
Break up sweeps along adjacent non-linear segments.
2019-11-01 15:06:04 +01:00
Dion Moult
2d0d0ed786
New UI to add and remove classifications
2019-11-01 17:44:10 +11:00
Dion Moult
635ad552d3
New UI to create, edit, and save aggregates
2019-11-01 16:32:11 +11:00
Thomas Krijnen
d3eab88ab9
Create FUNDING.yml
2019-10-30 08:31:30 +01:00
Dion Moult
c3a36b7cdb
Support cartesian transformations on mapped representations on import
2019-10-30 13:15:03 +11:00
Thomas Krijnen
f231db0aff
Remove newlines and other characters from material names
2019-10-29 10:06:02 +01:00
Dion Moult
0a610f88e0
New UI to set features dir and diff JSON file
2019-10-29 18:13:10 +11:00
Dion Moult
e2764c9764
Merge branch 'v0.6.0' of github.com:IfcOpenShell/IfcOpenShell into v0.6.0
2019-10-28 21:02:03 +11:00
Dion Moult
d6ef64aef4
Proof of concept for IFC construction documentation
2019-10-28 21:01:32 +11:00
Dion Moult
cf454c6306
IFC cutting tool now supports multiple files and classes
2019-10-28 20:59:16 +11:00
Dion Moult
18daa6aacd
Allow gbXML export of simple objects that don't have vertex groups
...
Also record space names
2019-10-28 17:53:13 +11:00
Dion Moult
55717756e6
Create IFC Diff tool, showing added, removed, and modified.
...
It produces a JSON output of exactly what changed. It requires a patched version of the DeepDiff library, which I will provide.
2019-10-25 16:42:49 +11:00
Dion Moult
852df6e2ce
Some bugfixes and package IFC COBie for alpha release
2019-10-25 08:22:16 +11:00
Dion Moult
bc2bce8fae
Add experimental support for openings in gbXML export
2019-10-23 13:29:25 +11:00
Dion Moult
e5efa2803a
Fix BIMTester file overwrite bug and template re-reading.
2019-10-23 13:28:18 +11:00
Dion Moult
d3ccd9ee61
Merge branch 'v0.6.0' of https://github.com/IfcOpenShell/IfcOpenShell into v0.6.0
2019-10-23 11:33:05 +11:00
Dion Moult
593af0509f
Optimise import to only create shapes once. Much faster.
2019-10-23 11:32:30 +11:00
Thomas Krijnen
60073da049
Update validate.py
2019-10-22 10:49:07 +02:00
Dion Moult
681a3c3a5c
Test new way of getting element position matrix in import
2019-10-22 15:54:38 +11:00
Dion Moult
f63c0293bf
IFC import now supports IFC attributes
2019-10-21 17:44:06 +11:00
Dion Moult
7e8cda6c12
Add interface to add or remove documents to objects
2019-10-21 15:31:10 +11:00
Dion Moult
1bdb64d9e7
Refactor properties to have prefix to prevent name clashes with other addons
2019-10-21 14:56:40 +11:00
Dion Moult
e2ada7ce90
Implement IFC import mesh reuse for mapped representations
2019-10-21 14:33:51 +11:00
Dion Moult
2751b7728f
Add new feature to select object by GlobalId
2019-10-19 17:38:25 +11:00
Dion Moult
9ee708fbe6
Create UI to input georeferencing variables
2019-10-19 15:15:42 +11:00
Dion Moult
851acca4b2
Support custom psets
2019-10-19 14:45:07 +11:00
Dion Moult
4cddd95337
Fix bug where blank predefined types could be added by accident
2019-10-19 13:59:05 +11:00
Dion Moult
5a7acda57d
Allow to add attributes from a drop down for ease of use
2019-10-19 13:48:07 +11:00
Dion Moult
62f04fc9a6
Move pset definitions into a property group and create a UI for it
2019-10-19 11:36:29 +11:00
Dion Moult
4dbe7d92aa
Merge branch 'v0.6.0' of github.com:IfcOpenShell/IfcOpenShell into v0.6.0
2019-10-19 10:47:15 +11:00
Dion Moult
c79db0380d
Create quick project setup button for convenience
2019-10-19 10:47:00 +11:00
Demetrio92
e6cae6e7b9
minor bugfix
...
should be OR, not AN; color is spelled without U everywhere else; exception call itself was breaking
2019-10-17 14:14:15 +02:00
Dion Moult
791be5006b
Couple of minor fixes to make importing more robust
2019-10-17 18:47:01 +11:00
Dion Moult
240b642d6d
Test light schedule data for gbxml
2019-10-17 18:46:06 +11:00
Dion Moult
574d9a3036
Add attributes interface
2019-10-16 23:17:48 +11:00
Dion Moult
34e5dac549
Merge branch 'v0.6.0' of github.com:IfcOpenShell/IfcOpenShell into v0.6.0
2019-10-16 07:23:39 +11:00
Dion Moult
1fc06da7a2
Create UI to assign and remove Psets
2019-10-16 07:23:03 +11:00
Thomas Krijnen
4000fef4c7
Don't apply too many half space subtraction operands at once
2019-10-15 15:06:51 +02:00
Thomas Krijnen
503029733c
Fix face-face distance calc and hardcode tolerance independent of precision.
2019-10-15 14:14:50 +02:00
Thomas Krijnen
734c456fa5
Properly adjust wire intersection tolerance based on vertex clustering
2019-10-15 12:53:44 +02:00
Thomas Krijnen
5b81d7a0c1
Fix previous commit
2019-10-15 10:39:58 +02:00
Thomas Krijnen
f9b76ce022
Don't write materials without diffuse color in geom server
2019-10-15 10:38:49 +02:00
Dion Moult
fa3431f983
Fix bug with Revit where Revit expects normalised unit vectors.
...
I think IFC doesn't require it, but fine, we'll play with Revit.
2019-10-15 18:11:06 +11:00
Dion Moult
2d673acb1d
Styled items repeat per product, so this should be a list, not a dict
2019-10-15 18:10:32 +11:00
Dion Moult
05c05b5700
Purge old BIMTester files
2019-10-15 16:30:10 +11:00
Dion Moult
58b7c42fc5
Create features template
2019-10-15 11:58:26 +11:00
Dion Moult
f78fb0a4f0
Package up BIMTester - basically a super lightweight wrapper around Behave and a JUnit HTML formatter.
2019-10-15 11:19:44 +11:00
Dion Moult
2b34d66ca4
Include Behave configuration
2019-10-14 18:27:17 +11:00
Dion Moult
f21fac9edc
Change build url
2019-10-13 20:30:01 +11:00
Dion Moult
15a93b1651
Merge branch 'v0.6.0' of github.com:IfcOpenShell/IfcOpenShell into v0.6.0
2019-10-13 20:23:53 +11:00
Dion Moult
b7ffd4e350
Fix makefile to build just one plugin, since import and export are merged now
2019-10-13 20:20:48 +11:00
Thomas Krijnen
833d16404f
Update attribute filter in accordance with help string
2019-10-13 07:45:19 +02:00
Dion Moult
c55dbfc7fa
Implement UI to toggle wireframe / swept solid, and assign profiles and extrusions
...
Also allow file browser to select a location for an external material
2019-10-13 15:36:49 +11:00
Dion Moult
4476cce08c
Create interface panel to select external materials
2019-10-13 11:14:49 +11:00
Dion Moult
3db6f42f04
Add latest features into readme
2019-10-13 09:46:12 +11:00
Dion Moult
4732dae384
Allow to define surface styles via object, rather than by material
2019-10-12 22:20:09 +11:00
Dion Moult
a9397e23ba
Refactor material creation to follow IFC data, not rely on ifcopenshell geom, since we want to retain a bunch of smart IFC data later
2019-10-12 20:09:41 +11:00
Dion Moult
c5645a1084
Prevent infinite loops on broken spatial trees
2019-10-12 18:54:12 +11:00
Dion Moult
556766bf2b
Spatial elements should check both class and name to prevent issue where two elements have the same name
2019-10-12 18:53:40 +11:00
Dion Moult
33bea4bf6c
Merge branch 'v0.6.0' of https://github.com/IfcOpenShell/IfcOpenShell into v0.6.0
2019-10-11 17:24:53 +11:00
Dion Moult
bf31ced530
Create JUnit to HTML converter
2019-10-11 17:23:54 +11:00
Dion Moult
642fd08d1f
Define a few more steps
2019-10-11 17:23:20 +11:00
Dion Moult
9d0bbf52a2
Don't include IfcSpace since there can be _lots_ in a large file, and ifc spaces actually have geometry
2019-10-10 21:13:00 +11:00
Dion Moult
9056fd7fd1
Remove some abstract entities
2019-10-10 21:12:40 +11:00
Dion Moult
7513906aaa
Implement basic Gherkin-based QA system
2019-10-10 18:29:22 +11:00
Dion Moult
7b15edb44c
Implement CSV and XLS writer with logging features for COBie
2019-10-09 14:44:10 +11:00
Dion Moult
e25bdd009b
Remove unnecessary files
2019-10-09 10:45:30 +11:00
Dion Moult
72f09e6a22
Merge branch 'v0.6.0' of https://github.com/IfcOpenShell/IfcOpenShell into v0.6.0
2019-10-09 10:13:37 +11:00
Dion Moult
7b8a4501e6
Bug #663 - Implement support for COBie issues spreadsheet
2019-10-09 10:12:38 +11:00
Dion Moult
ba443232b3
Bug #663 - Implement support for COBie coordinates spreadsheet
2019-10-09 10:01:41 +11:00
Dion Moult
71153abaf6
Bug #663 - Implement support for COBie attributes spreadsheet
2019-10-09 09:43:22 +11:00
Dion Moult
d9ebd2d08e
Merge experimental new importer plugin into export plugin
2019-10-08 23:05:27 +11:00
Dion Moult
792c9b65b1
Build "select by class / type" feature in the UI panel
2019-10-08 22:09:39 +11:00
Dion Moult
202a4c0a08
Bug #663 - Implement support for COBie documents spreadsheet
2019-10-08 18:35:56 +11:00
Dion Moult
8cb8e22cdc
Bug #663 - Implement support for COBie impacts spreadsheet
2019-10-08 18:16:32 +11:00
Dion Moult
38972d7ee4
Bug #663 - Implement support for COBie jobs spreadsheet
2019-10-08 17:33:14 +11:00
Dion Moult
959609db99
Bug #663 - Implement support for COBie resources spreadsheet
2019-10-08 16:56:37 +11:00
Dion Moult
e3d24856b9
Bug #663 - Implement support for COBie spares spreadsheet
2019-10-08 16:51:56 +11:00
Dion Moult
6513cb6a88
Bug #663 - Implement support for COBie connections spreadsheet
2019-10-08 16:14:00 +11:00
Dion Moult
77578b0ade
Bug #663 - Implement support for COBie assemblies spreadsheet
2019-10-08 15:45:23 +11:00
Dion Moult
32f51086ca
Bug #663 - Implement support for COBie systems spreadsheet
2019-10-08 14:52:30 +11:00
Dion Moult
f426f2c0af
Bug #663 - Implement support for COBie components spreadsheet
2019-10-08 14:32:10 +11:00
Dion Moult
a6916e1f59
Bug #663 - Implement support for COBie types spreadsheet
2019-10-08 13:45:48 +11:00
Dion Moult
8f757810e7
Bug #663 - Implement support for COBie zones spreadsheet
2019-10-08 12:22:05 +11:00
Dion Moult
2b786ef945
Bug #663 - Implement suport for COBie spaces spreadsheet
2019-10-08 11:47:49 +11:00
Dion Moult
dc7fb6eb98
Bug #663 - Implement support for COBie floors spreadsheet
2019-10-08 10:54:32 +11:00
Dion Moult
3ff9af1421
Bug #663 - Implement support for COBie facilities spreadsheet extraction
2019-10-08 10:18:39 +11:00
Dion Moult
fc44b4e0d4
Allow user option to export without representations
2019-10-07 22:23:31 +11:00
Dion Moult
0ebb33da18
Improve error messaging for incorrect psets
2019-10-07 22:14:52 +11:00
Dion Moult
eceba6932c
Fix date in dist filename
2019-10-07 21:20:39 +11:00
Dion Moult
1f6f7f570e
Refactor operators into their own file and provide logging capabilities
2019-10-07 21:11:11 +11:00
Dion Moult
23d65da0e2
Add makefile
2019-10-06 19:59:41 +11:00
Dion Moult
824b30b3da
Bundle and implement basic UI with addon
2019-10-05 21:15:53 +10:00
Dion Moult
90fee4ef7f
Throw in bootstrap file for when you don't want to reload blender to test the plugin
2019-10-04 17:28:57 +10:00
Dion Moult
adeb3dea61
Include utility to merge materials by diffuse colour to clean up bad IFC files
2019-10-04 17:26:15 +10:00
Dion Moult
75f254d162
Extract definitions and descriptions for use in plugin
2019-10-04 17:24:49 +10:00
Dion Moult
00aad53181
Bug #663 - Implement experimental support for cobie IFC->CSV conversion for contact information
2019-10-04 17:22:03 +10:00
Dion Moult
bf7005acfc
Add experimental support for gbxml - make importer import spaces, as it is very important for energy modeling
2019-10-04 17:20:19 +10:00
Dion Moult
e37c882fe2
Experimental code for a user interface
2019-10-03 22:11:05 +10:00
Dion Moult
624888adab
Half-implement experimental support for space boundary relationships
2019-10-03 17:56:45 +10:00
Dion Moult
144df86380
Throw in experimental import and bulk rename script
2019-10-01 18:37:33 +10:00
Dion Moult
50c51530e7
Add pset examples
2019-10-01 18:03:16 +10:00
Dion Moult
7312b8cbe7
Merge branch 'v0.6.0' of https://github.com/IfcOpenShell/IfcOpenShell into v0.6.0
2019-10-01 18:01:55 +10:00
Dion Moult
4e878f5848
Move pset into pset dir
2019-10-01 18:00:54 +10:00
Thomas Krijnen
d99b5fb2f9
Merge branch 'master' into v0.6.0
2019-09-30 09:11:04 +02:00
Dion Moult
51e0097db1
Add prepackaged installation instructions.
2019-09-30 10:10:50 +10:00
Dion Moult
1cac87fa50
Bump readme with new features
2019-09-30 08:07:56 +10:00
Dion Moult
e688f781f5
Parenting is reserved for type assignment, whereas a named child of constraint now specifys a nesting relationship
...
This allows you to have a defined by type and a rel nests at the same time. Using parenting for types is the more common operation, whereas nesting is a less frequent operation.
2019-09-29 22:41:26 +10:00
Dion Moult
2f2c40406f
Implement support for window attributes
2019-09-29 22:29:06 +10:00
Dion Moult
a406f3d78a
Implement support for door attributes
2019-09-29 22:12:51 +10:00
Dion Moult
22d35cf89a
Fix placement rel to for nested elements for a start.
2019-09-28 23:43:50 +10:00
Dion Moult
8e2723951d
Fix #670 - fix compilation with OCE and C++11 range based for loop
2019-09-28 23:14:08 +10:00
Dion Moult
4d4c111d5f
Implement nested relationships between elements
2019-09-28 14:08:09 +10:00
Dion Moult
0c294a58bf
Implement support for material constituent sets
2019-09-28 12:41:51 +10:00
Dion Moult
81864def9e
Implement support for material layer sets
2019-09-28 10:54:10 +10:00
Thomas Krijnen
6771c91224
Remove duplicate swig dependency statement
2019-09-27 15:45:48 +02:00
Thomas Krijnen
596e13b24c
Add null check on trimmed curve
2019-09-27 15:12:35 +02:00
Dion Moult
a07c2cb1f8
Minor fix to packaging
2019-09-27 08:43:49 +10:00
Thomas Krijnen
ae6dfce7e3
Add an excemption for the requirement of boolean op result to be manifold
2019-09-26 15:14:23 +02:00
Dion Moult
1f371f3319
Create Blender export plugin
2019-09-26 21:55:30 +10:00
Dion Moult
a41e7fc298
Add SVG sectioning utility
2019-09-26 07:37:08 +10:00
Dion Moult
739c5fb326
Roundtrip export of swept solid for basic extrusions for programs like Revit
2019-09-20 09:15:32 +10:00
Dion Moult
8b40b9944f
Provide support for center of gravity representations
2019-09-18 11:30:07 +10:00
Dion Moult
19d587d17c
Allow generated mesh representations such as bounding box
2019-09-17 12:56:43 +10:00
Dion Moult
45678c8536
Merge branch 'v0.6.0' of https://github.com/IfcOpenShell/IfcOpenShell into v0.6.0
2019-09-17 11:21:05 +10:00
Dion Moult
c21c9c24f8
Handle materials which don't have nodes
2019-09-17 11:20:22 +10:00
Dion Moult
32588c63eb
Bump readme with new features
2019-09-16 19:36:44 +10:00
Dion Moult
611f0e7248
Minor fixes to representation detection
2019-09-16 17:25:00 +10:00
Dion Moult
2d408eb985
Add support for footprint and reference subcontexts
2019-09-16 16:53:34 +10:00
Dion Moult
ac166691c4
Allow support for clearance geometry
2019-09-16 16:47:48 +10:00
Dion Moult
7516177304
Add support for multiple representations such as body and axis
2019-09-16 16:28:26 +10:00
Birger Brekke
f8d713a412
fixup! Use model-offset in IfcGeom::Kernel and add model-rotation
2019-09-16 07:54:10 +02:00
Dion Moult
6d36ee3f53
Relate documents and classifications to project itself
2019-09-16 13:16:58 +10:00
Birger Brekke
e6606e363a
Use model-offset in IfcGeom::Kernel and add model-rotation
...
Applying model-offset in IfcGeom::Kernel makes it work
independently of the serializer.
`model-rotation` was also added to support rotation in the same
manner as `model-offset` supports offset.
2019-09-13 16:09:11 +02:00
Dion Moult
dee8af6ec9
Implement associations to qualitative objective constraints
2019-09-11 16:50:27 +10:00
Dion Moult
00af240915
Implement rel associate classifications for objects and types
2019-09-11 14:47:53 +10:00
Dion Moult
730057ed4d
Allow objects and types to be associated with external documents
2019-09-11 12:44:36 +10:00
Dion Moult
675ba205ef
Bump readme with new features
2019-09-11 09:23:02 +10:00
Dion Moult
9ab13a3e0c
Maintain GlobalIds for type products
2019-09-10 20:11:58 +10:00
Dion Moult
9b7ea1e83c
Allow for psets to be assigned to types, and pset overrides
2019-09-10 20:11:37 +10:00
Dion Moult
2c84a07bdc
Don't hardcode unit definitions
2019-09-10 17:08:45 +10:00
Dion Moult
dd1ddfcd8e
Merge branch 'v0.6.0' of https://github.com/IfcOpenShell/IfcOpenShell into v0.6.0
2019-09-10 05:26:43 +01:00
Dion Moult
cd21611646
Define diffuse colour, and give possibility for externally defined material URI
2019-09-10 14:18:50 +10:00
Dion Moult
360767a6eb
Bump feature list
2019-09-09 22:00:12 +10:00
Dion Moult
2bf89f11c8
Minor code cleanup
2019-09-09 15:11:32 +10:00
Dion Moult
018123aa21
Export basic material information
2019-09-09 15:11:07 +10:00
Dion Moult
0bf149c894
Fix minor bug where libraries don't exist
2019-09-09 12:48:42 +10:00
Dion Moult
b0797db321
Maintain GlobalIds for projects and spatial structures
2019-09-08 20:51:59 +10:00
Dion Moult
58e870d185
Relate objects to psets
2019-09-08 19:02:00 +10:00
Dion Moult
70ec98a9e0
Add ability to detect data types from property set templates so that psets are easier to insert
2019-09-08 18:30:16 +10:00
Dion Moult
22bb5cc276
Relate types to their respective project library
2019-09-08 14:55:23 +10:00
Dion Moult
cecb623e76
Prevent unnecessary duplicate creation of the same representation
2019-09-08 11:24:41 +10:00
Dion Moult
04aa0ad04d
Support IfcProjectLibrary as related to IfcProject
2019-09-08 11:07:40 +10:00
Dion Moult
58be8e95b0
Bump readme with new features
2019-09-07 22:32:41 +10:00
Dion Moult
5f8a792cf4
Allow the creation and storage of map conversions and CRSes
2019-09-07 22:27:52 +10:00
Dion Moult
5dbbe174de
Allow wireframe geometry exports
2019-09-07 08:05:42 +10:00
Dion Moult
9908e5cf05
Clean up trailing whitespace
2019-09-07 08:04:49 +10:00
Dion Moult
3d11a98eef
Fix #665 - Display curves too, not just solid elements
2019-09-07 07:40:16 +10:00
Dion Moult
5ce8917c82
Allow type definitions which have no representation, to be used as simply ways to inherit properties
2019-09-05 21:38:52 +10:00
Dion Moult
9c11e6bd09
Update readme with new features
2019-09-05 18:50:32 +10:00
Dion Moult
dd3df2258d
Allow settings to toggle export of representations and quantities
2019-09-05 17:18:13 +10:00
Dion Moult
826280f35c
Add support for multiple collection instances
2019-09-05 12:04:34 +10:00
Dion Moult
5536bd5d59
Minor fix where qto calculator wasn't passed in, whoops
2019-09-05 12:03:07 +10:00
Krzysztof Trzciński
90bf32c342
Fix reusing meshes and mesh naming
2019-09-05 07:14:08 +10:00
Dion Moult
d917e738db
Merge pull request #662 from elmopl/blender_ifc_280rc1
...
Fix reusing meshes and mesh naming
2019-09-05 07:13:16 +10:00
Krzysztof Trzciński
42307972a8
Fix reusing meshes and mesh naming
2019-09-04 21:02:47 +01:00
Dion Moult
bd9aa18053
Record and remember globalids between exports
2019-09-04 17:46:58 +10:00
Dion Moult
3074242aa0
Add basic support for some forms of quantity take-off
2019-09-04 16:53:10 +10:00
Dion Moult
684e687b6a
Simplify unnecessary code to get representations
2019-09-04 11:58:18 +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
Dion Moult
032a4743ac
Merge pull request #641 from elmopl/blender_ifc_280rc1
...
Blender ifc 2.80rc1 collections enhancement
2019-09-04 08:55:46 +10:00
Krzysztof Trzciński
7c99294ba8
Fix clash of mesh names ( fixes #661 )
2019-09-03 17:57:39 +01:00
Dion Moult
1665d8e0f6
Merge remote-tracking branch 'blender-bim-ifc/master' into v0.6.0
2019-09-03 21:06:15 +10:00
Dion Moult
6e9f24af66
Move to subdir
2019-09-03 21:02:57 +10:00
Dion Moult
359b55aeab
Add feature about IfcRelAggregates to readme
2019-09-03 20:55:10 +10:00
Dion Moult
b1dda0a679
Support element decomposition through IfcRelAggregates
2019-09-03 20:52:22 +10:00
Dion Moult
a7286e5527
Add a timer for export times
2019-09-03 20:51:58 +10:00
Dion Moult
c055a8e9e8
Allow objects to be an arbitrary collection as long as some parent is part of the spatial tree
2019-09-03 20:51:39 +10:00
Dion Moult
8c0a24c463
Add screenshots
2019-09-02 21:38:14 +10:00
Dion Moult
164c249a48
Add instruction about adding to path
2019-09-02 21:28:53 +10:00
Dion Moult
adb3a08638
Bump readme with demo blend file
2019-09-02 21:27:24 +10:00
Dion Moult
cba28fbb72
Minor fix to template so that it isn't syntatically incorrect, at least.
...
We'll fix the hardcoded variables later.
2019-09-02 21:18:22 +10:00
Dion Moult
4de35bc252
Fix missing data for type products
2019-09-02 21:16:21 +10:00
Dion Moult
27407b8642
Parse array modifiers and create instances. Take into account local vs global rotation.
2019-09-02 19:43:55 +10:00
Dion Moult
3490b1b388
Report exceptions about spatial structure
2019-09-02 19:43:11 +10:00
Dion Moult
46c5cd4ee2
Describe newly coded features in readme
2019-09-01 22:17:49 +10:00
Dion Moult
73b387011d
Add example pset
2019-09-01 22:03:40 +10:00
Dion Moult
931b00d651
Add types schema
2019-09-01 22:03:33 +10:00
Dion Moult
c461a483b3
Now allow the creation of psets in a crude form
2019-09-01 22:03:02 +10:00
Dion Moult
36a74a212c
Only parse selected types, not all types in the type collection
2019-09-01 19:30:58 +10:00
Dion Moult
291a54d07e
Support IfcRelDefinesByType
2019-09-01 18:40:20 +10:00
Dion Moult
6a5bedc02e
Support exporting product types
2019-09-01 17:23:48 +10:00
Dion Moult
e11d4e4e4c
Support custom attributes for products
2019-09-01 13:22:26 +10:00
Dion Moult
fdb6af4ce3
Clean up files I should've put in gitignore
2019-09-01 11:46:11 +10:00
Dion Moult
1c28055afe
Support object instancing, so product representations are reused if the mesh data is the same
2019-09-01 11:45:32 +10:00
Dion Moult
72fa983e81
Allow export of any product class
2019-09-01 11:21:24 +10:00
Dion Moult
bb29a493c7
Don't hardcode spatial structure elements. Make a sensible assumption instead that all collections are either contexts or spatial structures.
2019-09-01 10:33:06 +10:00
Dion Moult
1c647c5365
Print errors in case the name cannot be detected
2019-09-01 10:32:22 +10:00
Dion Moult
6b53ebdc5e
Hardcode context names, since there are unlikely to be many
2019-09-01 10:27:05 +10:00
Dion Moult
c2cb11c594
Remove useless function
2019-09-01 10:26:54 +10:00
Dion Moult
153d6fe337
Use an IFC4 template. Don't let 2X3 hold us back!
2019-09-01 10:26:33 +10:00
Dion Moult
11e187fc76
We don't need this ifc_schema class, it seems
2019-09-01 10:14:31 +10:00
Dion Moult
fa38317438
Whitespace cleanup
2019-09-01 09:45:57 +10:00
Dion Moult
7c2d640106
Refactor representation creation into its own function
2019-09-01 09:44:06 +10:00
Dion Moult
64b23393a0
Remove unnecessary comment
2019-09-01 09:43:36 +10:00
Dion Moult
ae9fce8c45
Support dynamic contexts and trees of spatial structures
2019-08-31 23:51:53 +10:00
Dion Moult
bd35a9924e
Refactor into a class. It's gonna get big!
2019-08-31 17:37:53 +10:00
Dion Moult
2f4e82e0b9
Rename to sensible name
2019-08-31 17:16:16 +10:00
Dion Moult
e9649a5217
Basic geometry export
2019-08-29 23:11:12 +10:00
gpioto
98f4c8518e
Casting default timestamp template to integer
...
The documentation of IFC indicates that the timestamp must be of type Integer. (https://standards.buildingsmart.org/IFC/DEV/IFC4_2/FINAL/HTML/link/ifctimestamp.htm )
If not, it cause some problems importing the generated IFC file in some platforms
2019-08-28 09:01:13 +02:00
Thomas Krijnen
75b24c2352
Put maximum length on layerset wall end point intersection
2019-08-21 11:59:30 +02:00
Thomas Krijnen
16ce1f0823
Make sure layerset fold is parallel to other wall axis curve
2019-08-16 10:42:48 +02:00
Thomas Krijnen
af1853de04
Iterative epsilon in faceset helper
2019-08-09 17:48:56 +02:00
Thomas Krijnen
b3711ad8cb
thread_local define for clang
2019-08-09 10:05:49 +02:00
Thomas Krijnen
188b20533b
Only pull when on a branch
2019-08-03 14:48:01 +02:00
Thomas Krijnen
f32e034963
Merge pull request #639 from aothms/multithreaded
...
Multithreaded
2019-08-02 15:37:00 +02:00
Thomas Krijnen
fd3469029f
-pthread on unix
2019-08-02 14:55:55 +02:00
Thomas Krijnen
88a5dc3053
fix po::value
2019-08-02 13:27:33 +02:00
Thomas Krijnen
6e4a692de3
Threads in python app
2019-07-19 15:55:22 +02:00
Krzysztof Trzciński
e450101a12
Add support for collections
2019-07-16 19:31:16 +01:00
Krzysztof Trzciński
3f3b548d74
Fix filename -> ifcopenshell.file
2019-07-16 18:33:54 +01:00
Krzysztof Trzciński
6284b3960d
Introduce defaultdict instead of checks
2019-07-16 18:30:03 +01:00
Thomas Krijnen
a6835360e4
Guarantee get_decomposing(IfcProject*) == nullptr
2019-07-12 10:43:35 +02:00
Thomas Krijnen
4ec9ab52f1
Remove IfcFileWithSchema
2019-07-10 16:34:57 +02:00
Thomas Krijnen
7ee6cdeeab
Add missing header
2019-07-10 16:17:11 +02:00
Thomas Krijnen
c9530999f7
Update CMakeLists.txt
2019-07-10 15:44:38 +02:00
Thomas Krijnen
2154e24af1
GLTF_SUPPORT depends on BUILD_CONVERT
2019-07-10 14:35:56 +02:00
Thomas Krijnen
1cd2287d86
Cleanup concurrently created breps and triangulations
2019-07-09 16:34:35 +02:00
Thomas Krijnen
40937b3c72
Write progress for threaded conversion
2019-07-09 16:12:12 +02:00
Thomas Krijnen
3bcced7baa
Some fixes to threading work
2019-07-09 16:00:29 +02:00
Thomas Krijnen
3ebca0516e
Implement multi_threaded implementation in Iterator
2019-07-03 12:10:27 +02:00
Thomas Krijnen
ae2feb2848
Merge remote-tracking branch 'origin/pr/638' into multithreaded
2019-07-02 15:21:46 +02:00
Thomas Krijnen
2a447039d0
Merge remote-tracking branch 'sander/multithreaded' into multithreaded
2019-07-02 15:21:24 +02:00
You Yue
0dec407dbe
Last commit for multithreading, Airsquire implementation
2019-07-02 12:30:40 +02:00
You Yue
a286598e55
Sander boer's change for multithreading
...
1. Added multithread for create element
2. Added support function in IfcConvert.cpp for multithreading at bottom
2019-07-02 12:10:08 +02:00
Thomas Krijnen
869cc25061
rollback prcre version due to https://github.com/KhronosGroup/OpenCOLLADA/issues/570
2019-07-01 11:15:12 +02:00
Thomas Krijnen
b4ce5be86d
Fix error after merge
2019-06-30 15:46:36 +02:00
Thomas Krijnen
1341be223b
Merge branch 'master' into v0.6.0
2019-06-30 10:52:21 +02:00
Thomas Krijnen
1103f545a2
Double braces for older version of g++
2019-06-30 10:51:45 +02:00
Thomas Krijnen
51cf52c388
Build script: Don't use wget or curl, just urlretrieve
2019-06-30 09:44:40 +02:00
Thomas Krijnen
c29cc87660
Revert cmake version due to build errors, more careful json install
2019-06-28 08:38:24 +02:00
Thomas Krijnen
839b5a2699
Minor cleanups, 4x1 and 4x2 geom lib, granular schema macros
2019-06-26 13:50:46 +02:00
Thomas Krijnen
73f7c34c8d
Update build-all.py
2019-06-26 12:44:56 +02:00
Andrej Tibaut
636b2aafdf
1) Added support for IFC4x1 (see issue https://github.com/IfcOpenShell/IfcOpenShell/issues/504#issuecomment-505051675 ).
...
2) New build parameters (flags) introduced for use of IFC4x1 and IFC4x2: USE_IFC4X2 (for use of IfcBridge), USE_IFC4X1 (for use of IfcAlignment)
This explains new parameters (flags):
#ifdef USE_IFC4X2
#include "../ifcparse/Ifc4x2enum.h"
#elif USE_IFC4X1
#include "../ifcparse/Ifc4x1enum.h"
#elif USE_IFC4
#include "../ifcparse/Ifc4enum.h"
#else
#include "../ifcparse/Ifc2x3enum.h"
#endif
3) Added comment block "This file is part of IfcOpenShell. ..." at the beggining of the Ifc4x2* files.
2019-06-26 12:44:26 +02:00
Andrej Tibaut
cee2c4e748
Reverted from SWIG_VERSION=4.0.0 back to SWIG_VERSION=3.0.12 because of https://github.com/IfcOpenShell/IfcOpenShell/issues/582#issuecomment-497789849 as recommended by @aothms.
2019-06-26 12:44:26 +02:00
Andrej Tibaut
e7a08a3de6
#634 solved:
...
- new method to_pystring(...) added to solve the TypeError: Can't mix strings and bytes in path components:
- import "urlib" changed to "urlib.urlretrieve"
- JSON version extracted to a constant
2019-06-26 12:44:26 +02:00
Andrej Tibaut
827c6ac6b4
Motivated by issue #608 to improve the method def git_clone(...) to the def git_clone_or_pull_repository(...).
...
Also, dependencies versions were updated.
2019-06-26 12:44:26 +02:00
Andrej Tibaut
d371f1a6be
UnicodeDecodeError problem solved ( #630 )
...
* UnicodeDecodeError problem solved
UnicodeDecodeError problem described in #626 solved.
* UnicodeDecodeError solved (2)
UnicodeDecodeError problem described in #626 changed (fname replaced with fn) and solved.
2019-06-21 11:43:53 +02:00
Otso Alho
a851a25ddc
catch Standard_ConstructionError when serialising xml attributes
2019-06-21 11:21:33 +02:00
Thomas Krijnen
35160e5a94
Update some code comments
2019-06-19 12:41:54 +02:00
Mathias Artus
a9a6cfabca
Added support for Ifc 4x2
2019-06-19 11:31:11 +02:00
Thomas Krijnen
ecb0fee0cd
Fix latebound enumeration writing in IfcConvert
2019-06-18 14:28:57 +02:00
Thomas Krijnen
12e9f7b941
Merge branch 'master' into v0.6.0
2019-06-15 15:24:53 +02:00
ninichki
443b8c2079
Boolean Operands like ST_SHAPELIST should not append all shapes
2019-06-14 17:33:30 +02:00
Thomas Krijnen
826316cb2b
Remove duplicate faces in faceset_helper. Fixes #600
2019-06-14 11:32:59 +02:00
Thomas Krijnen
491dc57098
Update README.md
2019-06-14 10:00:42 +02:00
Otso Alho
19ed074b4a
inverse thicknesses
2019-06-07 11:17:51 +02:00
Otso Alho
2cfe74ce09
reverse styles also when reversing surfaces
2019-06-07 11:17:51 +02:00
Thomas Krijnen
b0b844ea5a
Provide node names in gltf serializer
2019-06-07 10:38:52 +02:00
Thomas Krijnen
2d0812d46e
Update test file submodule
2019-06-05 16:59:04 +02:00
Thomas Krijnen
f5b7d0db59
Remove additional fuzz markup on halfspace operands and initially process with smaller fuzz. Fixes #601
2019-06-05 16:58:08 +02:00
Thomas Krijnen
68068cb816
Fix merge error: bring back assignment to Logger::max_severity
2019-06-04 17:24:59 +02:00
Thomas Krijnen
40d2c237fc
Merge master
2019-06-04 17:07:35 +02:00
Thomas Krijnen
7e089ab8b5
Fix cleanup of temp files in case of failed initialization
2019-06-04 17:06:13 +02:00
Thomas Krijnen
8ee86f9968
Clean up glb tempfiles in case of error
2019-06-04 17:03:58 +02:00
Thomas Krijnen
2590bd01d5
Fix gltf max accessor meta-data
2019-06-04 16:55:19 +02:00
Thomas Krijnen
ef9b9e743f
Typo
2019-06-04 16:34:57 +02:00
Thomas Krijnen
532f129458
Tolerance tweaks on unification prior to boolean ops
2019-06-04 14:24:19 +02:00
Thomas Krijnen
d535cf0222
Merge master
2019-05-31 14:33:40 +02:00
Thomas Krijnen
77e02ddae4
Remove all references to _newclass from wrapper code
2019-05-31 14:31:31 +02:00
Thomas Krijnen
98bf6c2d95
Merge branch 'master' into v0.6.0
...
# Conflicts:
# src/ifcconvert/IfcConvert.cpp
2019-05-28 12:50:38 +02:00
Thomas Krijnen
b27482db46
Correct change_extension after unicode changes
2019-05-28 12:48:40 +02:00
Thomas Krijnen
3d2e99b5fa
Correct change_extension after unicode changes
2019-05-28 12:44:58 +02:00
Thomas Krijnen
8b382df7cc
CMake IFCOPENSHELL_LIBRARIES depending on configuration options
2019-05-28 12:04:13 +02:00
Thomas Krijnen
1a57162873
Do unify boolean operands, especially after new triangulation logic.
2019-05-24 17:16:31 +02:00
Thomas Krijnen
69f25a563c
Merge branch 'master' into v0.6.0
2019-05-24 15:39:52 +02:00
Thomas Krijnen
9a85fbc225
Fix static/const declaration
2019-05-24 15:38:35 +02:00
Thomas Krijnen
dd71abc672
Fix enum name in geom wrapper
2019-05-24 15:11:09 +02:00
Thomas Krijnen
aa493f5987
Merge branch 'master' into v0.6.0
2019-05-24 14:53:50 +02:00
Thomas Krijnen
784c1724d5
Check shell validity in accordance with https://github.com/IfcOpenShell/IfcOpenShell/commit/342cce89d70a5ded5fb1bf52d87383bfce5021ca#commitcomment-31511282
2019-05-24 14:49:14 +02:00
Thomas Krijnen
901e805d24
Revert 13d2cf3357
2019-05-24 14:29:21 +02:00
Thomas Krijnen
41972bba7d
Merge branch 'master' into v0.6.0
2019-05-24 12:10:00 +02:00
Thomas Krijnen
17077c74a9
Unify transitionmode for swept disk and swept area
2019-05-24 12:09:33 +02:00
Thomas Krijnen
825a493d7a
Add an additional reuse_ok check to the products associated to the *mapped* representation
2019-05-24 12:08:39 +02:00
Thomas Krijnen
6f5e4ec655
Fix iterator constructor in ifcblender
2019-05-24 10:38:31 +02:00
Thomas Krijnen
de3f8cdaf4
Merge branch 'master' into v0.6.0
2019-05-24 10:36:43 +02:00
Thomas Krijnen
241c95e6df
Some fixes for Blender 2.8?
2019-05-24 10:34:54 +02:00
Thomas Krijnen
8015ea217e
codecvt fallback for g++4.8
2019-05-22 22:13:12 +02:00
Thomas Krijnen
285d40d586
add to_string() method in ifcopenshell.file
2019-05-22 16:18:48 +02:00
Thomas Krijnen
80e166302a
Fix SVG exporer in 0.6 branch
2019-05-22 14:44:06 +02:00
Thomas Krijnen
bcf8cadc30
Correct Y-UP transform in gltf serializer
2019-05-21 18:02:10 +02:00
Thomas Krijnen
26621cbcd5
Update version string to 0.6.0b0
2019-05-21 13:33:59 +02:00
Thomas Krijnen
703c69fdde
Update nix build script to default GLTF_SUPPORT to ON
2019-05-21 13:31:43 +02:00
Thomas Krijnen
21981403c7
Merge branch 'master' into v0.6.0
...
# Conflicts:
# nix/build-all.py
2019-05-21 13:30:58 +02:00
Daniel Smith
c61bc29f06
Relocate random header include
2019-05-21 13:12:27 +02:00
Thomas Krijnen
90ac50f210
Document libffi dependency in nix build script for installing py37
2019-05-21 12:53:54 +02:00
Thomas Krijnen
4e21298009
Merge branch 'master' into v0.6.0
2019-05-19 13:25:14 +02:00
Thomas Krijnen
a5cc0f1cef
Add python version 3.7.3
2019-05-19 13:22:24 +02:00
Thomas Krijnen
d106f178d5
Merge branch 'master' into v0.6.0
2019-05-18 11:07:13 +02:00
Thomas Krijnen
a98ab72f67
Update version number
2019-05-18 11:06:27 +02:00
Thomas Krijnen
62e4bf8fb3
Update to OCCT 7.3.0p3
2019-05-18 11:05:12 +02:00
Thomas Krijnen
e532a2ead2
Merge branch 'master' into v0.6.0
2019-05-18 11:01:45 +02:00
Thomas Krijnen
fd9ba0d243
char wchar_t compatibility
2019-05-18 11:01:17 +02:00
Thomas Krijnen
9a9422bea6
Use ASCII temp name for DAE on nix as well
2019-05-18 10:53:45 +02:00
Thomas Krijnen
f10b4bdecc
Use ASCII temp name for DAE on nix as well
2019-05-17 16:52:15 +02:00
Thomas Krijnen
fd6de77577
Smaller markup on fuzziness for boolean result interference checks
2019-05-17 14:25:28 +02:00
Thomas Krijnen
1d5e560e66
Large refactoring of convert(IfcFace*) to support triangulation of non-planar faces with inner boundaries
2019-05-17 12:31:23 +02:00
Thomas Krijnen
fa8ff0d878
Travis: reverse grep command order
2019-05-15 19:43:36 +02:00
Thomas Krijnen
7296bd1382
Try to fix python encoding test error
2019-05-15 17:38:46 +02:00
Thomas Krijnen
d60b9df40c
Add back ICU as a libxml2 dependency on Travis
2019-05-15 17:20:23 +02:00
Thomas Krijnen
373934f993
Update submodule
2019-05-10 12:09:46 +02:00
Thomas Krijnen
a8f6444cad
Option to build -static on *nix
2019-05-10 12:04:32 +02:00
Thomas Krijnen
0b2bd5d0e8
Eliminate ICU dependency
2019-05-10 11:59:00 +02:00
Thomas Krijnen
c15120e0ae
Process string encoding test on travis
2019-05-10 11:56:40 +02:00
Thomas Krijnen
96cb6a73a2
Update .travis.yml
2019-05-08 14:27:00 +02:00
Thomas Krijnen
92b7ca15cf
Update .travis.yml
2019-05-08 14:12:40 +02:00
Thomas Krijnen
db65678f5e
Setup glTF-Validator
2019-05-08 14:06:29 +02:00
Thomas Krijnen
f3a7a6594a
Small gcc fixes
2019-05-08 13:46:21 +02:00
Thomas Krijnen
a786c9a9ee
Validate glTF glb
2019-05-08 13:31:51 +02:00
Thomas Krijnen
ab1d34fe1d
Update CMakeLists.txt
2019-05-08 13:16:50 +02:00
Thomas Krijnen
ff542d7381
Update .travis.yml
2019-05-08 13:16:29 +02:00
Thomas Krijnen
3023e084a6
Initial implementation of a direct binary glTF serializer
2019-05-07 17:06:45 +02:00
Sander Boer
0b02f7fb2b
.clang-format settings indent=2 for me, temporarily. style=allman width=80
2019-05-03 17:30:48 +02:00
Sander Boer
66508876a5
builds nicely, but chokes immediately on serializer- first element, needs debugging
2019-05-03 17:28:08 +02:00
Sander Boer
8ea77bdeca
Linearizing the use of IfcGeomIterator by integrating it into IfcConvert in full, atm it does not build.
2019-05-01 18:34:01 +02:00
Sander Boer
6468329f01
merge with ifcopenshell
2019-04-30 14:26:27 +02:00
Thomas Krijnen
0fd3c69579
FindFromKey() backwards compat
2019-04-30 11:54:56 +02:00
Sander Boer
513d5d0666
Merge branch 'master' of https://github.com/IfcOpenShell/IfcOpenShell
2019-04-26 11:22:36 +02:00
Thomas Krijnen
4792fd9efe
Don't do brute-force edge sewing in case of non-manifold faceset from wire intersections or triangulations
2019-04-24 17:15:18 +02:00
Thomas Krijnen
587edca99f
Don't log empty error messages from boolean op
2019-04-24 17:01:02 +02:00
Thomas Krijnen
71118fb126
Retain topology information when triangulating face boundaries. #574
2019-04-24 16:32:06 +02:00
Thomas Krijnen
80bdb36ccc
Reduce face triangulation message severity to warning
2019-04-09 17:09:27 +02:00
Thomas Krijnen
013b7a763d
Some fixes to make sure that non-planar faces get explicitly triangulated
2019-04-09 17:03:24 +02:00
Thomas Krijnen
f0fa9ca736
Install python module files using glob
2019-04-05 11:18:22 +02:00
Thomas Krijnen
8a197a6305
Work on 3ds max plug-in
2019-04-03 15:08:14 +02:00
Thomas Krijnen
91d10a1465
Provide basic validation utility in Python
2019-04-03 14:41:25 +02:00
Thomas Krijnen
1314209a89
Map empty aggregate to empty tuple in python
2019-04-03 14:40:09 +02:00
Thomas Krijnen
45c3c27fb5
Fixes for mapping declaration subtypes to SWIG
2019-04-03 13:55:29 +02:00
Thomas Krijnen
6e42f82e1a
Merge branch 'master' into v0.6.0
2019-03-29 09:32:22 +01:00
Thomas Krijnen
0ae1c90797
--ignore-whitespace in patch Fixes #565
2019-03-29 09:31:39 +01:00
Thomas Krijnen
94bf798168
Merge branch 'master' into v0.6.0
2019-03-24 14:26:14 +01:00
Thomas Krijnen
8c1924084a
Don't consider openings as children in geom filters
2019-03-24 12:36:33 +01:00
Thomas Krijnen
2bf3648966
Add MVD subrepo
2019-03-19 11:04:24 +01:00
Thomas Krijnen
5e54e84a92
Delete MVD module now separate repo
2019-03-19 11:02:24 +01:00
Thomas Krijnen
e43e02c003
Vector of bool type conversion in python wrapper.
2019-03-13 13:32:24 +01:00
Thomas Krijnen
2a026e93d5
Fix errors after merge
2019-03-08 17:22:05 +01:00
paul
dafa304936
Update Python to 2.7.16 - So Fedora 29 Compile
2019-03-08 15:03:20 +01:00
Thomas Krijnen
ac4be43170
Merge branch 'master' into v0.6.0
...
# Conflicts:
# src/ifcconvert/IfcConvert.cpp
# src/ifcgeom/IfcGeomRenderStyles.cpp
# src/ifcgeom/IfcGeomWires.cpp
# src/ifcparse/IfcLogger.cpp
# src/ifcparse/IfcLogger.h
# src/ifcparse/IfcParse.cpp
# src/ifcparse/IfcUtil.cpp
# src/serializers/ColladaSerializer.cpp
# src/serializers/schema_dependent/XmlSerializer.cpp
2019-03-08 11:40:16 +01:00
Thomas Krijnen
e4fdfd2eb3
Apply length unit to IfcCylindricalSurface Radius. Fixes #553
2019-03-04 17:23:15 +01:00
johltn
a800a9e7c7
FIx MVD module
2019-03-04 12:50:28 +01:00
Thomas Krijnen
9052721a00
Preliminary work on MVD parser/converter/checker
2019-03-04 10:20:42 +01:00
Thomas Krijnen
2538eeea87
Fixes for latebound inverse attributes in Python
2019-02-27 17:18:19 +01:00
Thomas Krijnen
dbc3c5ebef
Mark abstract entities in latebound schema
2019-02-20 15:35:19 +01:00
Thomas Krijnen
45136fce6c
GeomServer: precision on double formatting, compound in meters, bounding box also from compound
2019-02-20 12:29:44 +01:00
Thomas Krijnen
bf1623975c
Merge remote-tracking branch 'dleverton/master'
2019-02-15 14:30:55 +01:00
hlg
df49f1bc1b
prevent index out of bound in case of a single point
2019-02-15 14:22:02 +01:00
hlg
acde878946
process IfcIndexedPolyCurve without segments #549
2019-02-15 14:22:02 +01:00
Thomas Krijnen
33cbcc2510
Provide LARGEST_FACE_DIRECTION in geom server quantities
2019-02-15 13:46:13 +01:00
Thomas Krijnen
d583bf5284
Populate entity subtypes, get schema info in Python
2019-02-15 13:09:54 +01:00
David Leverton
d12cacbd2e
Fix Position handling for IfcSurfaceCurveSweptAreaSolid
2019-02-13 15:34:50 +00:00
Thomas Krijnen
8d65086e01
Fix #540 . Fix XML serializer schema registration.
2019-02-13 14:16:58 +01:00
Thomas Krijnen
4822b57584
Process binary trees of boolean ops in a single call. Fixes #546
2019-02-13 10:08:55 +01:00
Thomas Krijnen
94c3261ba8
Geomserver positions in 64bit
2019-02-12 16:31:38 +01:00
Thomas Krijnen
5db91e52da
Fixes to logger templates
2019-02-12 14:55:03 +01:00
Thomas Krijnen
68151b970a
Conditionally sew faces based on detection of shared edges
2019-02-12 13:59:49 +01:00
Thomas Krijnen
826752ca6c
Geomserver bounding box sizes
2019-02-12 12:47:01 +01:00
Thomas Krijnen
c3adcf631a
Fix previous commit
2019-02-08 16:53:09 +01:00
Thomas Krijnen
a4c2aa8f42
IfcConvert Windows unicode support ( #258 )
2019-02-08 15:18:55 +01:00
Thomas Krijnen
7f9d418112
Add LARGEST_FACE_AREA to geom server
2019-02-06 16:24:17 +01: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
4df526f023
Merge branch 'master' into v0.6.0
2019-02-06 15:39:43 +01:00
Thomas Krijnen
6bac067488
Keep behaviour of returned null pointers for now
2019-02-06 13:33:38 +01:00
Stinkfist0
000d11daab
IfcFile: possibility to mark an entity as modified so that potential cache is invalidated.
2019-02-06 13:30:33 +01:00
Stinkfist0
3bef32bb87
IfcGeom::Kernel::get_layers: remove what would appear to be unnecessary code (yields 0 layers in my tests).
...
The LayerAssignments() calls can take up to 95 % of the function's execution time yielding no results.
2019-02-06 13:30:33 +01:00
Stinkfist0
9211f80625
IfcFile::entitiesByReference: cache loaded references. Profiling shows around 3x speed-up (avg. of first 5000 calls to this function).
2019-02-06 13:30:33 +01:00
Stinkfist0
910cdb3754
IfcConvert: print durations of file parsing and XML conversion.
2019-02-06 13:30:33 +01:00
Stinkfist0
38f7ccdc20
Optimize IfcFile::entitiesByReference() by reserving capacity for IfcEntityList in advance.
...
Around 18.4 % speed-up (avg. of first 2000 calls) when converting a somewhat large (176 MB) file to XML.
2019-02-06 13:30:33 +01:00
Thomas Krijnen
40c2602b0e
Fix discrepancy with v06
2019-02-06 13:29:56 +01:00
Thomas Krijnen
42e00581cd
Merge branch 'master' into v0.6.0
...
# Conflicts:
# src/ifcgeom/IfcRepresentationShapeItem.h
# src/ifcgeom_schema_agnostic/IfcGeomFilter.h
2019-02-06 12:22:48 +01:00
Thomas Krijnen
81f978f101
Changes to Axis with missing refDirection
2019-02-06 12:18:10 +01:00
Xavier Lamorlette
3e041a1fb2
Migrate deprecated bind1st and mem_fun to C++11 bind
2019-02-06 11:01:23 +01:00
Xavier Lamorlette
bd3118b4a3
Fix a "declaration of 'identifier' hides class member" warning
2019-02-06 11:01:23 +01:00
Thomas Krijnen
4b57a7bdd6
Set a lower bound tot faceset_helper::epsilon
2019-01-26 15:00:20 +01:00
Thomas Krijnen
6a5bfefce9
Merge branch 'master' into v0.6.0
...
# Conflicts:
# src/ifcparse/Ifc4-latebound.cpp
# src/ifcparse/Ifc4.cpp
# src/ifcparse/Ifc4.h
# src/ifcparse/Ifc4enum.h
2019-01-20 14:27:09 +01:00
Thomas Krijnen
ef7eee411b
Update to IFC4Add2TC1
2019-01-20 13:47:12 +01:00
Thomas Krijnen
5ee32fb945
Merge branch 'master' into v0.6.0
2019-01-16 12:30:12 +01:00
Thomas Krijnen
944813146e
Close polylines on closed profile def. Fixes #538
2019-01-16 12:28:58 +01:00
Thomas Krijnen
16cafb9f8b
Fix #534
2019-01-11 16:22:53 +01:00
Thomas Krijnen
b1754f7b26
Remove debug prints
2019-01-05 13:45:54 +01:00
Thomas Krijnen
55ac6e760d
Merge branch 'master' into v0.6.0
2019-01-05 13:43:19 +01:00
Thomas Krijnen
9d6eec0f5a
Update suprepo
2019-01-05 13:42:51 +01:00
Thomas Paviot
9048ce4857
Fixed BRepAlgoAPI_BooleanOperation::DumpErrors method only available for OCC version > 7
2019-01-02 10:26:03 +01:00
Thomas Krijnen
f24944be48
Merge branch 'master' into v0.6.0
2018-12-31 11:40:16 +01:00
Thomas Krijnen
dec0c646cc
Only round corners on discontinuous spines. Fixes #358 .
2018-12-31 11:39:35 +01:00
Thomas Krijnen
421daa3d19
Work-around for invalid IfcOrganization instances
2018-12-30 12:55:17 +01:00
Thomas Krijnen
7bf9f637e7
Fix some warnings
2018-12-30 12:51:13 +01:00
Thomas Krijnen
9a2623953b
Merge branch 'master' into v0.6.0
2018-12-30 12:50:27 +01:00
Thomas Krijnen
382efc0255
Fix some warnings
2018-12-30 12:50:04 +01:00
Thomas Krijnen
93a80c6148
Merge branch 'master' into v0.6.0
2018-12-29 14:35:41 +01:00
Thomas Krijnen
bf50d0534b
Fixes for edge curves and non-planar faces with inner boundaries. #338
2018-12-29 14:34:47 +01:00
Thomas Krijnen
b1ab829c14
Merge branch 'master' into v0.6.0
2018-12-29 14:26:16 +01:00
Thomas Krijnen
7022e842bf
Update subproject
2018-12-29 14:18:51 +01:00
Thomas Krijnen
65b5453ef1
More verbosity adjustments
2018-12-29 13:48:20 +01:00
Thomas Krijnen
5e32c1e55c
More verbosity adjustments
2018-12-29 13:37:51 +01:00
Thomas Krijnen
e6f523a2b8
Adjust verbosity of several log messages
2018-12-29 12:34:32 +01:00
Thomas Krijnen
2c8a79e186
Re-enable some disabled functionality in the 0.6 branch
2018-12-28 16:02:03 +01:00
Thomas Krijnen
13d2cf3357
Remove --sew-shells option, always on now
2018-12-28 15:36:10 +01:00
Thomas Krijnen
427720f369
Addendum to previous merge
2018-12-28 15:18:41 +01:00
Thomas Krijnen
d20f4a5af6
Merge branch 'master' into v0.6.0
2018-12-28 15:18:14 +01:00
Thomas Krijnen
4936ea3ac3
Document boolean operation failure reasons, correct min len check and manifoldness check. Fix #478
2018-12-28 15:15:41 +01:00
Thomas Krijnen
4101407b43
Small changes to convert(face)
2018-12-24 16:04:51 +01:00
Thomas Krijnen
29d3b436b4
Merge branch 'master' into v0.6.0
2018-12-24 16:03:20 +01:00
Thomas Krijnen
a2231605a5
Take into account edge orientation; small fixes to convert(face)
2018-12-24 16:02:00 +01:00
Thomas Krijnen
4380e1d86a
Merge branch 'master' into v0.6.0
2018-12-22 14:06:28 +01:00
Thomas Krijnen
161deeb4e0
Fix warnings and compilation on clang
2018-12-22 14:05:49 +01:00
Thomas Krijnen
31eac564f6
Detect self-intersections in faceset helper and clamp bounding box eps factor to 1.
2018-12-21 15:58:21 +01:00
Thomas Krijnen
99b865bbd9
Some layerset processing comments
2018-12-21 14:40:58 +01:00
Thomas Krijnen
4de617e398
Merge branch 'master' into v0.6.0
2018-12-21 11:53:36 +01:00
Thomas Krijnen
1a1b7e93ab
Changes to no-material message
2018-12-19 16:54:02 +01:00
Thomas Krijnen
f5af6ee6c0
speed-up min_vertex_edge_distance(). Fixes #518
2018-12-19 16:39:54 +01:00
Thomas Krijnen
94f49af00b
Fix header order
2018-12-19 16:30:05 +01:00
Thomas Krijnen
39b8680f64
Improve performance of layerset slicing
2018-12-19 16:10:33 +01:00
Thomas Krijnen
26282437cc
Layerset processing error message
2018-12-19 15:15:28 +01:00
Thomas Krijnen
6911b48a46
project() more efficiently onto planar surfaces
2018-12-19 15:15:00 +01:00
Sander Boer
de416eca49
Too lazy to comment
2018-12-18 12:49:11 +01:00
Thomas Krijnen
acd3564429
Remove some warnings for open shells
2018-12-17 13:25:28 +01:00
Thomas Krijnen
20471bd33e
Check comcurve segments extent before creating iterator
2018-12-17 10:56:26 +01:00
Thomas Krijnen
bb15446822
Make std::map inheritance private. #512 #517
2018-12-17 10:37:48 +01:00
Thomas Krijnen
e3b415ad54
Use miimal bounding box edge length for faceset relative epsilon
2018-12-14 17:14:55 +01:00
Thomas Krijnen
27b9689e14
Work-around gcc issue
2018-12-14 12:14:12 +01:00
Thomas Krijnen
32338e2490
Make std::map inheritance private. #512 #517
2018-12-14 11:56:09 +01:00
Thomas Krijnen
e104d1aac3
Travis: max log length
2018-12-12 17:01:11 +01:00
Thomas Krijnen
632d36e2ba
Sync subrepo
2018-12-12 16:40:43 +01:00
stephassoria
9a9475adcb
Exclude parse_ifcxml.cpp content from build when WITH_IFCXML is not define
2018-12-12 16:29:37 +01:00
Thomas Krijnen
f307f39023
Fix remaining merge conflict
2018-12-12 16:29:10 +01:00
Thomas Krijnen
f526277a7d
Fix some warnings
2018-12-12 16:26:49 +01:00
Thomas Krijnen
0c8e9e7040
Merge branch 'master' into v0.6.0
...
# Conflicts:
# src/ifcgeom/IfcGeomIteratorImplementation.h
2018-12-12 16:20:50 +01:00
Thomas Krijnen
a0f37cf9ea
Fix some warnings
2018-12-12 16:12:38 +01:00
Thomas Krijnen
49c6346af7
Travis: fix shell syntax
2018-12-12 15:57:38 +01:00
Thomas Krijnen
eb166da930
Travis: pin py version
2018-12-12 15:53:48 +01:00
Thomas Krijnen
d5216c8201
Travis: Build succeeds regardless of conversion result
2018-12-12 15:43:04 +01:00
Thomas Krijnen
027226fb96
Travis: compile on two cores
2018-12-12 14:43:25 +01:00
Thomas Krijnen
5dbd0249b4
Travis: newer gcc for c++11 compat with package manager
2018-12-12 14:40:14 +01:00
Thomas Krijnen
4821226ec2
Travis: xenial, occt 7.3, run IfcConvert
2018-12-12 14:07:13 +01:00
Thomas Krijnen
72c96905b9
Option to validate created geometries based on explicit quantities
2018-12-12 12:33:09 +01:00
Thomas Krijnen
a8f4f0270a
Don't double quote boost dependency dir #515
2018-12-11 13:01:28 +01:00
Thomas Krijnen
336601a7ae
Missing FindFromKey() overload on older versions of occt
2018-12-11 10:55:03 +01:00
Thomas Krijnen
d39c7bd641
Postfix integers
2018-12-10 17:26:41 +01:00
Thomas Krijnen
d3092090df
Substitute tiny trimmed curves with linear approximation when deflection within tolerance
2018-12-10 17:15:39 +01:00
Thomas Krijnen
b88c5ee930
Missing include for older occt versions
2018-12-10 12:12:23 +01:00
Thomas Krijnen
645f88a313
Calculate quantities more defensively
2018-12-10 11:51:54 +01:00
Thomas Krijnen
a7c7a684ee
Emit surface genus for representation items
2018-12-10 11:33:54 +01:00
Thomas Krijnen
20b3a8af3e
Faceset_helper: no recursive clustering, epsilon relative to bounds
2018-12-10 10:45:58 +01:00
Thomas Krijnen
0fcf1f14c8
Merge branch 'master' into v0.6.0
2018-12-10 10:41:58 +01:00
Stinkfist0
327be7030f
ColladaSerializer minor tweaks and to-dos.
2018-12-09 12:23:44 +01:00
Michael Sundqvist
06589ca1c6
Refactor ColladaSerializer.cpp, encode material names only once, decode them before passing to OpenCollada functions that take URI parameters
2018-12-09 12:23:44 +01:00
Michael Sundqvist
1c83b2db53
Remove object name from no material log message, raise level to warning
2018-12-09 12:23:44 +01:00
Michael Sundqvist
6f3eb84f66
Fix instance_material missing material names as well.
2018-12-09 12:23:44 +01:00
Michael Sundqvist
e7a8a97639
If material name is empty when writing collada file, name it as a missing material. Logger::Notice() objects that do not have a material assigned.
2018-12-09 12:23:44 +01:00
Otso Alho
fe1cb9e92b
default to blank material with IfcMaterial name
2018-12-09 12:23:44 +01:00
Thomas Krijnen
f849434f24
More defensive IfcCurveBoundedPlane processing
2018-12-09 11:59:49 +01:00
Thomas Krijnen
8c0c216a1d
Check boolean result manifoldness for shells individually. Fixes #516 .
2018-12-08 10:37:54 +01:00
Thomas Krijnen
7ed47dee67
Faceset helper: check whether edge has been created
2018-12-03 12:36:30 +01:00
Thomas Krijnen
4f8b430040
Improvements to faceset_helper in case of nearby verts
2018-11-30 11:08:19 +01:00
Thomas Krijnen
b48d17c690
Merge branch 'master' into v0.6.0
...
# Conflicts:
# src/ifcgeom/IfcGeomFunctions.cpp
# src/ifcparse/IfcCharacterDecoder.cpp
2018-11-28 14:18:58 +01:00
Thomas Krijnen
3d240deed1
Extended data backwards compatibility
2018-11-28 10:50:09 +01:00
Thomas Krijnen
747ddeb20c
Apply openings in batches sorted by increasing detail
2018-11-23 11:45:23 +01:00
Thomas Krijnen
4afd104f3d
fit_halfspace() correct padding
2018-11-21 11:28:22 +01:00
Thomas Krijnen
4ed9166e8a
Check for null pointers returned by find_representation()
2018-11-20 12:10:44 +01:00
Bernd Hahnebach
64eb5b4d1d
namespace fix for debian buster, fixes issue #506
2018-11-20 11:59:08 +01:00
Thomas Krijnen
116de5daec
Test powershell v5 or higher
2018-11-20 11:53:11 +01:00
Thomas Krijnen
0016256f57
Merge branch 'master' into v0.6.0
2018-11-19 17:13:28 +01:00
Thomas Krijnen
0018224da7
Handle python positional arguments in case of derived fields more explicitly
2018-11-19 16:38:52 +01:00
Thomas Krijnen
334d867873
Fix #498
2018-11-19 14:56:21 +01:00
Thomas Krijnen
9caa753d27
Fix geom server quantities
2018-11-14 12:14:00 +01:00
Thomas Krijnen
ba274bb164
Merge branch 'master' into v0.6.0
2018-11-13 14:46:41 +01:00
Thomas Krijnen
50e5d5f4d5
Sort instances before emitting to file
2018-11-13 14:46:15 +01:00
Thomas Krijnen
e7daf871b8
Disallow adding instances from different schema
2018-11-04 15:16:08 +01:00
Thomas Krijnen
f7e66d1e7f
make_unique<>() is C++14
2018-11-03 16:55:41 +01:00
Thomas Krijnen
6cf214d2e0
Missing header on Travis
2018-11-03 11:34:12 +01:00
Thomas Krijnen
1590ffd6ec
Missing header on Travis
2018-11-03 09:59:37 +01:00
Thomas Krijnen
752bda71af
Missing header on Travis
2018-11-02 17:01:15 +01:00
Thomas Krijnen
e463dca0df
Absolute value for dot product in projected areas
2018-11-02 16:37:54 +01:00
Thomas Krijnen
66859c7140
Missing option
2018-11-02 16:24:32 +01:00
Thomas Krijnen
3ff619c7ed
Quantities in convert and geomserver. Faceset helper for creating edge pairs.
2018-11-02 16:10:06 +01:00
Thomas Krijnen
ad41f04f11
Merge branch 'master' into v0.6.0
...
# Conflicts:
# src/ifcconvert/IfcConvert.cpp
# src/ifcgeom/IfcGeomRenderStyles.cpp
# src/ifcparse/IfcParse.cpp
2018-10-30 14:32:28 +01:00
Thomas Krijnen
e64d8750e1
Use all representations if no representations found through context check
2018-10-30 12:15:35 +01:00
Thomas Krijnen
342cce89d7
#487 perform fix after sewing if not valid
2018-10-30 09:05:18 +01:00
Stinkfist0
ffa282af9d
IfcGeomIterator: check the filtered products, not unfiltered ones, for reusability. Speeds up things significantly and also fixes geometry reusability in many cases.
2018-10-15 15:22:44 +02:00
Stinkfist0
fbc0215ef1
IfcGeomIterator: optimize filtering by performing it prior to geometry reuse inspections.
...
Improves the iteration speed immensely, especially on very large files when only a fraction of the content is wanted to be converted.
2018-10-15 15:22:44 +02:00
Stinkfist0
58759cf365
IfcConvert: prevent memory leaks and clean up code by utilizing shared_ptr.
2018-10-15 14:02:17 +02:00
Stinkfist0
2024a24e31
IfcConvert: proper "exit routine" if initialization of input fails when trying to create geometry files.
2018-10-15 14:02:17 +02:00
Stinkfist0
c420cc1abb
IfcFile::Init: return false if unexpected schema encountered.
2018-10-15 14:02:17 +02:00
Jean Niklas L'orange
e39835d25e
Make API more consistent
2018-10-15 11:25:17 +02:00
Jean Niklas L'orange
9c1660a84b
Catch and inform about errors
...
The changes in how specular roughness and transparency is read in was
done to ensure type safety. If you added
"transparency": "0.8"
to the file, then that would be silently ignored. In the new style, it
instead errors out if the type cannot be converted to a double.
2018-10-15 11:25:17 +02:00
Jean Niklas L'orange
7e9e56cd2c
Support setting default "fallback" material style
...
Specifying a fallback default material style is added by specifying a
style for "*" in the --default-material-file.
2018-10-15 11:25:17 +02:00
Jean Niklas L'orange
a6d3619449
Fix bug where default material was not initialised
...
We kind-of sort-of do double work here, but I think it is better to
always assume that InitDefaultMaterials when setting the defaults, to
avoid too many code paths.
2018-10-15 11:25:17 +02:00
Jean Niklas L'orange
dab3382b29
Implement support for custom default materials
...
The support for custom default materials is implemented as a JSON
file passed via the command line. The default material specification
will override the defaults, except the toplevel default value.
2018-10-15 11:25:17 +02:00
Stinkfist0
882d27fe25
Use /permissive- introduced in VS 2017 to enforce standards-conformance.
...
https://docs.microsoft.com/en-us/cpp/build/reference/permissive-standards-conformance?view=vs-2017
2018-10-01 10:30:04 +02:00
paul
81a9d0e747
Changing opencollada version to "v1.6.63"
...
Discussion:
https://github.com/IfcOpenShell/IfcOpenShell/issues/480
Summary:
"... Compiling OpenCOLLADA fail on fedora 27... changing opencollada version to "v1.6.63" (since some time now they do proper tagging over there, the commit we track now is from 19 Dec 2013, probably worth updating as newer compilers might rightfully complain)...
Probably best to rm -rf ... IfcOpenShell/build/Linux/x86_64/build/OpenCOLLADA before restarting."
2018-10-01 10:29:01 +02:00
Thomas Krijnen
cb535b4ba8
Merge branch 'master' into v0.6.0
2018-09-25 12:47:31 +02:00
Thomas Krijnen
3102a1c179
Check for empty bounding boxes in boolean op filter
2018-09-25 12:47:06 +02:00
Thomas Krijnen
a8effa8289
No need to cast to TopoDS_Face anymore
2018-09-25 12:46:20 +02:00
Thomas Krijnen
bf3ec5e507
Add comment
2018-09-24 12:56:07 +02:00
Thomas Krijnen
5526f421f0
Merge branch 'master' into v0.6.0
2018-09-21 14:55:20 +02:00
Thomas Krijnen
e24ddae064
Forgot to update code generator
2018-09-21 14:55:10 +02:00
Thomas Krijnen
92f4d76c81
Check for empty list of boolean operands
2018-09-21 14:53:39 +02:00
Thomas Krijnen
59be8f742d
Merge branch 'master' into v0.6.0
2018-09-21 12:06:32 +02:00
Thomas Krijnen
d2337dc692
Missing FindFromKey() overload on older versions of occt
2018-09-21 12:06:10 +02:00
Thomas Krijnen
2b501a93c9
Merge branch 'master' into v0.6.0
...
# Conflicts:
# src/ifcgeom/IfcGeomFunctions.cpp
# src/ifcgeom/IfcGeomWires.cpp
2018-09-21 12:02:22 +02:00
Thomas Krijnen
6b8681b74a
That was bad
2018-09-21 11:45:36 +02:00
Thomas Krijnen
297812d4e2
Better handling of consecutive circular arc segments
2018-09-21 11:43:06 +02:00
Thomas Krijnen
7205f0165e
Work around private copy constructor on older versions of occt
2018-09-21 11:21:51 +02:00
Thomas Krijnen
bf4b5928dd
Fail on empty face early
2018-09-21 10:22:37 +02:00
Thomas Krijnen
3840bd1154
Limit tolerance on wire self-intersection to edge segment length
2018-09-21 10:22:24 +02:00
Thomas Krijnen
47ec4e2240
Merge branch 'master' into v0.6.0
2018-09-19 20:27:03 +02:00
Thomas Krijnen
622853d73d
Filter boolean subtraction operands by intial bounding box test
2018-09-19 16:42:34 +02:00
Thomas Krijnen
e8b28a099f
Some fixes for clang
2018-09-19 14:05:19 +02:00
Thomas Krijnen
9a3039765f
Merge remote-tracking branch 'origin/master' into v0.6.0
2018-09-19 10:09:48 +02:00
Unknown
bef9bd25f7
Fix dll export on Windows
...
Fix dll export on Windows
2018-09-19 10:09:05 +02:00
Thomas Krijnen
53577d9da9
Fix ifcopenshell-python build on nix build script
2018-09-18 19:42:01 +02:00
Thomas Krijnen
55d07f8bba
Merge branch 'master' into v0.6.0
...
# Conflicts:
# nix/build-all.py
2018-09-18 13:42:06 +02:00
Thomas Krijnen
34b3ca307f
Enable exception handling on occt release builds Fix #462
2018-09-18 13:39:44 +02:00
Thomas Krijnen
028e8fb926
Merge branch 'master' into v0.6.0
...
# Conflicts:
# nix/build-all.py
# src/ifcgeom/IfcGeomFunctions.cpp
# src/ifcparse/IfcLogger.cpp
2018-09-17 17:46:13 +02:00
Thomas Krijnen
08557c2664
Don't fail on empty bounding box during halfspace processing
2018-09-17 15:21:12 +02:00
Thomas Krijnen
a54b7863cd
Fail early on duplicate (non consecutive) points in face loops
2018-09-17 14:59:15 +02:00
Thomas Krijnen
3101ccb83a
Fixes for degenerate polylines
2018-09-17 14:42:22 +02:00
Thomas Krijnen
394a7f14ad
Emit unopened shapes in case of exceptions during subtraction
2018-09-17 14:11:03 +02:00
Thomas Krijnen
983745b508
More careful face orientation check
2018-09-17 12:05:30 +02:00
Thomas Krijnen
b05b62f440
Perform additional check on boolean result output for small edges or distances
2018-09-17 12:02:41 +02:00
Thomas Krijnen
51a9bb0ac1
Retry boolean operations if output is non-manifold on manifold input
2018-09-17 12:00:49 +02:00
Thomas Krijnen
452ab6e5bc
Fix flaw in vertex-edge distance used to limit tolerance in boolean ops
2018-09-17 11:33:40 +02:00
Thomas Krijnen
0df2bfadef
Don't sew overly complex geometries even as part of boolean operations #455
2018-09-12 16:44:30 +02:00
Thomas Krijnen
12623dd1e5
Only install/strip on Release build
2018-09-12 13:57:41 +02:00
Thomas Krijnen
2eaae2bda8
Use BVH tree for wire intersections
2018-09-12 13:26:11 +02:00
Thomas Krijnen
a3141b2acc
Make nix build script more granular
2018-09-08 13:23:36 +02:00
Thomas Krijnen
3a4fa2e6dd
Merge commit '58ce86d538971fc1815d56368d7077aa85e0592c' into v0.6.0
2018-09-08 13:07:09 +02:00
Thomas Krijnen
472c3478e0
Emit error messages on missing units
2018-09-08 08:27:45 +02:00
Thomas Krijnen
54d96fe167
Merge branch 'master' into v0.6.0
...
# Conflicts:
# src/ifcconvert/IfcConvert.cpp
# src/ifcgeom/IfcGeom.h
2018-09-07 14:42:15 +02:00
Thomas Krijnen
229a708fc3
Emit error messages on missing units
2018-09-07 14:25:46 +02:00
Thomas Krijnen
0df4edff01
Revive some temporarily disabled features in de 0.6 branch
2018-09-07 14:08:56 +02:00
luz.paz
d78c9171db
Misc. typos
...
Found via `codespell -q 3`
2018-09-07 11:52:01 +02:00
Thomas Krijnen
03da7bc6e4
Fix missing schema identifier in geometry function
2018-09-05 14:43:25 +02:00
Thomas Krijnen
34d28e8b3a
Prefix Kernel factory struct as well
2018-09-05 14:42:59 +02:00
Thomas Krijnen
6e8f5c84e6
Still no working submodule
2018-09-04 15:52:51 +02:00
Thomas Krijnen
08d003ddcd
Something went wrong merging submodule
2018-09-04 15:07:14 +02:00
Thomas Krijnen
bdf22856e4
Add explicit cast to attribute value
2018-09-04 13:59:57 +02:00
Thomas Krijnen
4d33ed5cb8
Merge branch 'master' into v0.6.0
...
# Conflicts:
# src/ifcconvert/IfcConvert.cpp
# src/ifcgeom/IfcGeomShapes.cpp
# src/serializers/ColladaSerializer.cpp
# src/serializers/schema_dependent/XmlSerializer.cpp
2018-09-04 13:23:11 +02:00
Thomas Krijnen
4babe84941
Force decltype using for boost::resulf_of
2018-09-02 13:55:36 +02:00
Thomas Krijnen
4138103541
Fix libxml2 directives on travis
2018-09-02 11:59:54 +02:00
Thomas Krijnen
a3894cdcda
Fix libxml2 directives on travis
2018-09-02 11:59:54 +02:00
Thomas Krijnen
840f1463e5
Fix libxml2 directives on travis
2018-09-02 11:59:54 +02:00
Thomas Krijnen
ad5444b974
Inverse attributes with 0-1 cardinality not as ifcXML aggregates
2018-09-02 11:59:54 +02:00
Thomas Krijnen
c0d41103fa
add missing file
2018-09-02 11:59:54 +02:00
Thomas Krijnen
3e80d3646c
Work on ifcxml parsere
2018-09-02 11:59:54 +02:00
Thomas Krijnen
c2f4c2cf74
Add missing patch files. Fix #448
2018-09-02 10:51:16 +02:00
Thomas Krijnen
45be79443f
Prefix typename for iteratorimplementation factory function struct
2018-08-29 12:55:27 +02:00
Thomas Krijnen
dbc3577497
Test files in submodule
2018-08-26 17:09:01 +02:00
Thomas Krijnen
0a45a82109
Move test files to separate repo
2018-08-26 12:30:18 +02:00
Stinkfist0
07f5ac6994
IfcGeomIterator: compute model's bounding box only if needed (IfcConvert --center-model used).
2018-08-26 12:17:24 +02:00
johanrd
0eb6c597f0
Create 443--segfault-beam.ifc
2018-08-26 12:12:48 +02:00
Thomas Krijnen
b13c912c47
Work on #426
2018-08-20 11:46:26 +02:00
Thomas Krijnen
683cadeb76
occt 7.3
2018-08-19 10:29:01 +02:00
Thomas Krijnen
b023f6a31d
Fix sillyness preventing install of IfcGeomServer
2018-08-16 13:58:50 +02:00
Thomas Krijnen
891448e902
Fix #343
2018-08-15 17:10:29 +02:00
Michael Sundqvist
82718fad30
Catch some ifc file header exceptions to prevent crashing during xml serialization
2018-08-15 16:15:25 +02:00
Stinkfist0
9f03a78652
ColladaSerializer::differentiateSlabTypes: IfcSlab.PredefinedType is optional so check for its existence.
...
https://github.com/Tridify/IfcOpenShell/commit/c4f426392cfc021b8a9c617f21d258759b289d6a#diff-cca49440331fb4c1363204028192c459
2018-08-15 16:09:15 +02:00
Stinkfist0
505d234ea2
Unify GeometrySerializers' object ID logic. Fixes #397 .
2018-08-15 16:09:15 +02:00
Robbe Derks
bd5e25889a
Added command-line option to output progress to stderr stream
2018-08-15 14:45:43 +02:00
Thomas Krijnen
5609cbdde9
Fix missing symbols for boost 1.67 and BOOST_ALL_NO_LIB
2018-08-15 09:07:40 +02:00
Thomas Krijnen
caa6056f01
Conda bld.bat python version
2018-08-14 17:09:00 +02:00
Thomas Krijnen
3ea3627639
Conda bld.bat python version
2018-08-14 16:15:32 +02:00
Thomas Krijnen
175387bd88
Fix IfcOpenHouse
2018-08-13 11:43:28 +02:00
Thomas Krijnen
ba5049a7eb
Break out of loop in case of attribute count mismatch
2018-08-10 14:57:33 +02:00
Felipe Mesquita
40b70b1815
Workaround wrong argument count. Fix #419
2018-08-10 14:55:47 +02:00
Thomas Krijnen
54d9edfee5
Fix build on gcc
2018-07-12 12:33:35 +02:00
Thomas Krijnen
1c2587ba19
Fix for inverse update on delete
2018-07-12 11:37:23 +02:00
Thomas Krijnen
d09abbd260
Merge pull request #409 from IfcOpenShell/master
...
Additional potential occt lib location
2018-07-08 15:08:32 +02:00
Thomas Krijnen
5359e88f0e
Additional potential occt lib location
2018-07-08 15:07:30 +02:00
Thomas Krijnen
2dc01aec2d
Update conda meta
2018-07-08 15:06:12 +02:00
Thomas Krijnen
20b35ec4ea
Preprocessor stuff for stp and igs serializers
2018-07-08 11:08:07 +02:00
Thomas Krijnen
5245341cdc
Correct previous commit
2018-07-08 11:06:45 +02:00
Thomas Krijnen
49932ba5c0
Python wrapper precision updates
2018-07-08 10:32:26 +02:00
Thomas Krijnen
7a7aab01bb
IfcGeomServer matrices in double precision
2018-07-07 21:14:27 +02:00
Thomas Krijnen
d105292817
Merge branch 'master' into v0.6.0
...
# Conflicts:
# src/ifcconvert/IfcConvert.cpp
# src/ifcgeom/IfcGeomFilter.h
# src/ifcgeom/IfcGeomIteratorImplementation.h
# src/ifcgeom/IfcGeomWires.cpp
# src/ifcparse/IfcFile.h
# src/ifcparse/IfcLogger.cpp
# src/ifcparse/IfcLogger.h
# src/ifcparse/IfcParse.cpp
# src/serializers/SvgSerializer.cpp
# src/serializers/schema_dependent/XmlSerializer.cpp
2018-07-07 17:15:54 +02:00
Thomas Krijnen
6fdd2049a2
Restore previous boost version on nix
2018-07-01 11:37:36 +02:00
Thomas Krijnen
8428b93451
nix cmake download url
2018-07-01 09:16:34 +02:00
Thomas Krijnen
8e2a074d70
Correct accidentally committed lines
2018-06-30 18:53:16 +02:00
Thomas Krijnen
1b809ed849
Update boost version
2018-06-30 15:36:51 +02:00
Thomas Krijnen
8c0bcc4ce7
Silent extraction in build-deps.cmd
2018-06-30 10:21:11 +02:00
Victor Haefner
11d0c6ef56
compiles under ubuntu 18.04
2018-06-22 17:16:11 +02:00
Stefan Boeykens
58ce86d538
Pushing cmake to enforce C++ 11
...
To be able to compile with a recent ICU version (for Unicode) C++11 is required. This enforces this in the main CMakeLists.txt
2018-06-19 09:45:16 +02:00
Stefan Boeykens
0ba1ac7df3
Add ICU header and namespace in IfcCharacterDecoder
...
To compile on macOS with a recent ICU, we have to add the correct header and refer to the right namespace in IfcCharacterDecoder
2018-06-17 15:15:52 +02:00
Thomas Krijnen
4cfb2f1027
SetNonDestructive does not exist prior to OCCT 7.0
2018-06-15 12:39:29 +02:00
Thomas Krijnen
6d25047c6b
higher fuzz on half spaces
2018-06-12 16:15:28 +02:00
Thomas Krijnen
136ec5b224
'nondestructive' boolean ops
2018-06-12 16:15:12 +02:00
Thomas Krijnen
3ac8379187
Set precision on fix after boolean op
2018-06-08 14:12:01 +02:00
Thomas Krijnen
6c1ad47481
Additional improvements for comp curve wire building
2018-06-01 15:38:08 +02:00
thorade
20cd383504
triple double-quoted docstring
...
and do not use builtin names for variables
2018-05-30 11:32:47 +02:00
Thomas Krijnen
5aebfe9f22
Fix for setting type decl instances
2018-05-29 10:34:38 +02:00
Thomas Krijnen
fd821d08cd
Dont fail on missing AIS_MultipleConnectedShape in earlier versions of pyocc
2018-05-17 15:54:12 +02:00
Thomas Krijnen
6b772d18b8
Fixes to qt5 port of viewer app
2018-05-17 15:53:40 +02:00
civilx64
33635c2c40
Port viewer app to PyQt5
2018-05-17 00:11:09 -04:00
civilx64
7e6b758450
Add instructions for install via conda.
2018-05-16 23:05:07 -04:00
Yorik van Havre
127bcaf96e
adding exception for OCCT 7.3
2018-05-16 16:10:40 +02:00
Yorik van Havre
2d59f9d53a
Removed one last remaining BOPCol_ListOfShapes
...
Replaced one last remaining BOPCol_ListOfShapes with TopTools_ListOfShapes (deprecated in OCC7.3)
2018-05-16 16:10:40 +02:00
Otso Alho
1014049b05
use unordered map for entity by id
2018-05-14 13:36:38 +02:00
Otso Alho
37460d3df9
do not calculate reuse_ok multiple times for mapped representations
2018-05-14 13:36:38 +02:00
Thomas Krijnen
637d3e2eb6
Optimize generation of faces with large (n > 128) number of edges.
2018-05-14 11:06:07 +02:00
Thomas Krijnen
2ed2e9cf86
Add include, missing depending on occt version
2018-05-13 18:52:53 +02:00
Thomas Krijnen
c1635d65eb
Add include, missing depending on occt version
2018-05-13 16:04:15 +02:00
Thomas Krijnen
495ad75b14
Proper scope around goto labels
2018-05-13 15:30:20 +02:00
Thomas Krijnen
966e57e94a
#332
2018-05-13 14:41:39 +02:00
Thomas Krijnen
ef7a1ab421
Limit boolean fuzz to edge length
2018-05-13 09:15:06 +02:00
Thomas Krijnen
089bb95c9f
Fix previous commit on gcc
2018-05-13 08:45:33 +02:00
Thomas Krijnen
7786b89269
Machine readable progress with -q and --log-format json
2018-05-12 20:12:25 +02:00
Thomas Krijnen
589f4bda2e
... but keep close point removal at 10 times precision
2018-05-08 16:19:47 +02:00
Thomas Krijnen
8ffc12e6cd
Reduce radius on wire intersections
2018-05-08 09:41:19 +02:00
thorade
bd9875fae5
set TLS to 1.2
2018-05-07 10:53:03 +02:00
thorade
7994bcbb80
https plus original URL
2018-05-07 10:53:03 +02:00
thorade
baa0211562
append download to the URL
...
https://sourceforge.net/p/forge/documentation/Downloading%20files%20via%20the%20command%20line/
2018-05-07 10:53:03 +02:00
thorade
a24333486a
use SF instead of mirror
2018-05-07 10:53:03 +02:00
thorade
452ba651d0
update SF.net download URL
2018-05-07 10:53:03 +02:00
Thomas Krijnen
161f24d804
Copy operands prior to boolean operation
2018-05-05 16:09:12 +02:00
Thomas Krijnen
6ee283dbae
Don't fail on parse errors while resolving inverse attributes
2018-05-04 10:25:57 +02:00
Thomas Krijnen
c748c8dcea
Better instance not found error messages
2018-04-23 10:51:59 +02:00
Thomas Krijnen
1f68d9d5bc
TColgp_SequenceOfPnt::Upper() does not exist on all versions of occt
2018-04-18 11:57:38 +02:00
Thomas Krijnen
120ff2f629
Fix download of occt in nix build
2018-04-18 11:50:59 +02:00
Thomas Krijnen
656346741e
#288 #297
2018-04-18 11:33:57 +02:00
Thomas Krijnen
e21277e80a
nix: use and patch occt 7.2
2018-04-15 14:01:37 +02:00
Thomas Krijnen
9f55444d2e
win: apply patch for HLR
2018-04-15 09:27:16 +02:00
Thomas Krijnen
05fd266a65
gcc compatibility
2018-04-14 20:06:25 +02:00
Thomas Krijnen
42c09deb8c
#354 loose faces in SewedShape
2018-04-11 12:26:01 +02:00
Thomas Krijnen
cb61873179
conda osx build
2018-04-10 19:55:56 +02:00
Thomas Krijnen
dbf9f213fd
Dont fail on adding length measure instances to empty files
2018-04-04 14:40:10 +02:00
Thomas Krijnen
77e0d9cca7
Freeing of lazily loaded inst attrs
2018-03-21 17:29:37 +01:00
Thomas Krijnen
0cbe984c71
Default to 2x3 for older schemas
2018-03-21 17:18:38 +01:00
Thomas Krijnen
93cca8f7b7
Update README.md
2018-03-16 16:36:36 +01:00
Thomas Krijnen
5082fe8be4
Revive XML serializer
2018-03-16 16:04:48 +01:00
Thomas Krijnen
834780b726
Schema dependent serializers
2018-03-16 13:49:11 +01:00
Thomas Krijnen
d374fd3778
More changes to conda build
2018-03-16 12:17:49 +01:00
Thomas Krijnen
b86b359563
Schema independent layer and transformation conv functions
2018-03-16 12:10:05 +01:00
Thomas Krijnen
6685ea6d7a
Schema dependent serializers
2018-03-16 12:10:05 +01:00
Thomas Krijnen
0a809ba127
Schema dependent serializers
2018-03-16 12:10:05 +01:00
Thomas Krijnen
14be6b49fe
#348
2018-03-16 11:03:02 +01:00
Thomas Krijnen
e87a1a0b32
#329 Only auto close IfcCompositeCurve when used for profile
2018-03-09 10:41:22 +01:00
Thomas Krijnen
768f49dcc7
Update meta.yaml
2018-03-04 10:50:17 +01:00
Thomas Krijnen
27e335343e
Win build script occt7.2
2018-03-04 10:45:44 +01:00
Thomas Krijnen
0920116178
Fix prompt
2018-03-04 10:45:05 +01:00
Thomas Krijnen
1a7a4bdc3e
Update boost download path
2018-02-27 18:09:43 +01:00
Thomas Krijnen
5d0c04a077
Fix geometry reuse in case of IfcTypeProducts with maps
2018-02-21 14:54:38 +01:00
Anders Granskogen Bjørnstad
8a316e45ed
IfcConvert: Add --building-local-placement argument
...
Similar to --site-local-placement. Motivated by dealing with at least
two examples where IFC files for the same construction site have
inconsistent ObjectPlacement hierarchy:
- MEP models exported from MagiCAD for Revit:
ObjectPlacement.PlacementRelTo of IfcBuilding is empty
- Regular construction models exported from Revit:
ObjectPlacement.PlacementRelTo of IfcBuilding is pointing to
IfcSite's placement
2018-02-19 16:17:12 +01:00
Thomas Krijnen
ef97ea0593
Properly toposort type decl instantiation
2018-01-29 15:03:12 +01:00
Thomas Krijnen
19d834b19e
Fix python wrapper
2018-01-29 15:02:36 +01:00
Thomas Krijnen
bc64b339a7
Bump version identifier
2018-01-29 15:02:16 +01:00
Thomas Krijnen
af93f2a64d
Use naked pointer for attribute list and derive size from schema type to reduce mem usage
2018-01-29 12:11:50 +01:00
Thomas Krijnen
a3b7a25866
conda yaml: add space before version spec
2018-01-26 14:36:51 +01:00
Thomas Krijnen
25bae21a42
Merge pull request #322 from 3drepo/Convert_Server_Optional
...
Make IFCConvert and IFCGeomServer optional
2018-01-25 12:50:18 +01:00
Thomas Krijnen
d9679d6905
Merge branch 'v0.6.0' into Convert_Server_Optional
2018-01-25 12:49:55 +01:00
carmenfan
7a4059fbfd
Adding ifcgeom_schema_agnostic headers in include directory
2018-01-25 12:46:52 +01:00
carmenfan
623e95cefe
Add Options on Cmake to selectively compile IFCConvert and IFCGeomServer
2018-01-24 15:55:44 +00:00
Thomas Krijnen
9f91109e66
Update conda
2018-01-21 15:58:36 +01:00
Thomas Krijnen
162b665d07
Update blender addon for str geometry.id
2018-01-15 11:00:25 +01:00
Thomas Krijnen
7b728b9e6d
Fix ambiguous call to overloaded function
...
(`std::exception` has a `char*` constructor?)
2018-01-08 12:33:27 +01:00
Thomas Krijnen
6240191980
Conda build script
2018-01-08 12:19:36 +01:00
Thomas Krijnen
c7329497a6
Don't use static boost libs with conda build
2018-01-08 12:02:34 +01:00
Thomas Krijnen
4bed639d9c
Python wrapper geometry handling
2018-01-01 11:22:12 +01:00
Thomas Krijnen
5739fa7239
Single threaded compilation on travis
2017-12-31 13:06:18 +01:00
Thomas Krijnen
e2f79ec1ba
Work on python wrapper
2017-12-31 12:20:13 +01:00
Thomas Krijnen
05e6f56911
Linker errors, geom server, warnings
2017-12-29 13:48:08 +01:00
Thomas Krijnen
19aebacbd8
Initialize kernel base class
2017-12-29 12:25:29 +01:00
Thomas Krijnen
aeabe87779
Disable optimization for schema instantiation on gcc as well
2017-12-29 12:21:20 +01:00
Thomas Krijnen
7b3d334472
Warnings and errors
2017-12-29 12:09:07 +01:00
Thomas Krijnen
93c3afa1ae
Schema dependent names for serialization functions
2017-12-29 11:23:46 +01:00
Thomas Krijnen
21e53d24e0
Fixes to examples
2017-12-28 18:44:50 +01:00
Thomas Krijnen
f5d6f4f7f9
No anonymous structs to work around gcc 5 issue
2017-12-28 16:33:07 +01:00
Thomas Krijnen
24b46c1f43
Work on serialization
2017-12-22 17:37:58 +01:00
Thomas Krijnen
ddde7bc367
Fix hierarchy helper
2017-12-22 17:34:13 +01:00
Thomas Krijnen
5f6a18c212
Fixes for hierarchy helper
2017-12-22 17:04:19 +01:00
Thomas Krijnen
5e23086947
Sprinkle with template and typename keywords
2017-12-22 16:45:02 +01:00
Thomas Krijnen
472fde5599
Fixes
2017-12-22 15:19:09 +01:00
Thomas Krijnen
b3458c872f
Work on python wrapper
2017-12-22 13:51:11 +01:00
stefkeB
5bf7f53fd8
BaseQuantities support in IfcConvert XmlSerializer
...
Added the export of BaseQuantities in the XML export of IfcConvert.
Very similar to the export of properties.
2017-12-22 11:33:28 +01:00
Thomas Krijnen
4d325e026e
Fix compilation and execution of IfcConvert
2017-12-21 14:14:04 +01:00
Thomas Krijnen
6622afd93a
Rename
2017-12-20 17:09:42 +01:00
Thomas Krijnen
8b4650b169
Fix compilation on msvc
2017-12-20 16:38:55 +01:00
Thomas Krijnen
6e525662c3
Disable XML serializer for the time being
2017-12-20 12:41:39 +01:00
Thomas Krijnen
d46dfb6061
Work on serializers
2017-12-20 12:40:15 +01:00
Thomas Krijnen
830a03ffcd
Schema agnostic iterator
2017-12-20 11:10:27 +01:00
Thomas Krijnen
f4463d2935
Crazy factory implementation
2017-12-19 20:24:00 +01:00
Thomas Krijnen
e3a7e6137d
Update SvgSerializer.cpp
2017-12-19 14:58:56 +01:00
Xsoiou
01d261e168
SVG storey elevation ( #315 )
...
IfcConvert SVG does not generate <path d=""> for IfcSpace. #313
2017-12-19 12:10:19 +01:00
Thomas Krijnen
a792a7e2c7
Two simultaneous IfcGeom implementations
2017-12-18 15:25:09 +01:00
civilx64
c4e56f670d
Corrected name of *nix build script.
2017-12-18 15:17:21 +01:00
civilx64
4e28caaf8d
Corrected name of *nix build script.
2017-12-18 15:17:21 +01:00
Xsoiou
b7992d6a12
This closes #309 and it also fixes #310
2017-12-16 09:25:08 +01:00
Xsoiou
efe765f71f
Changed from http to https on ICU download
2017-12-16 09:25:08 +01:00
Thomas Krijnen
5eba7af791
Use struct instead of namespace to represent schema
2017-12-13 18:05:10 +01:00
Thomas Krijnen
761e9d7248
Continuing.
2017-12-13 13:58:58 +01:00
Thomas Krijnen
85515e904e
Begin phasing out type enumeration in favour of declaration pointers
2017-12-13 13:16:49 +01:00
Thomas Krijnen
33fc2080df
Runtime schema by name
2017-12-12 11:00:42 +01:00
Thomas Krijnen
33e1fa6a14
Update python wrapper
2017-12-11 17:20:22 +01:00
Thomas Krijnen
e7ccf7269a
Remove limited latebound schema representation in favour of full runtime schema representation
2017-12-11 15:46:57 +01:00
Thomas Krijnen
322dec6fd0
Update ifcconvert
2017-12-11 15:46:17 +01:00
Thomas Krijnen
c099234796
Update ifcgeom
2017-12-11 15:07:40 +01:00
Thomas Krijnen
0468f12051
Address conflicts in ifcparse
2017-12-11 14:47:30 +01:00
Thomas Krijnen
988094b796
Resolving merge conflicts
2017-12-11 14:20:30 +01:00
Thomas Krijnen
f36d27f7af
Run codegen
2017-12-11 13:44:01 +01:00
Thomas Krijnen
3763ae18b2
Rough merge of schema runtime representation
2017-12-11 13:43:06 +01:00
Thomas Krijnen
be5bd2e735
optional building storey argument added to setSectionHeight()
2017-12-11 11:19:15 +01:00
Thomas Krijnen
ce782cc784
2d edges in svg serializer
2017-12-11 11:18:37 +01:00
tymokvo
39b0d11746
fixed missing bracket
2017-12-06 12:20:22 +01:00
tymokvo
e06105e878
added some documentation/examples
2017-12-06 12:20:22 +01:00
Anders Granskogen Bjørnstad
34e2ff31bb
SvgSerializer: Fix bug in ellipse writeout
...
Add a missing "=" to create a valid SVG for ellipses.
I accidentally stumbled upon a way to actually get an ellipse in SVG by
tilting a cylinder. If I tilt the cylinder via the `ObjectPlacement` of
the `IfcProduct` I get an ellipse. If I set the `ExtrudedDirection` of
the `IfcExtrudedAreasolid`, however, I get a sampled path.
2017-12-04 17:23:32 +01:00
Thomas Krijnen
c0a2e3395f
Triangulate non-planar wires when invoked with --sew-shells
2017-11-27 16:27:36 +01:00
Thomas Krijnen
7cd354ee7d
Eliminate warning
2017-11-27 16:24:29 +01:00
Thomas Krijnen
95be422d4f
Grep for command line arg name in ld stderr output
2017-11-25 19:15:25 +01:00
Thomas Krijnen
111569ec1b
Approx other curve types in SVG, hollow circles
2017-11-25 13:08:34 +01:00
Anders Granskogen Bjørnstad
9c88a35173
SvgSerializer: Support full circles and ellipses
...
Use <circle> and <ellipse> to create a valid SVG for these geometries.
Limit to only the *first* edge. I am not sure whether there are
scenarios with multiple edges like this:
1. One or more straight line pieces or arc segments
2. A full closed circle
3. More straight lines or arc segments
If there is, we are keeping the original behavior here.
2017-11-25 13:06:03 +01:00
Anders Granskogen Bjørnstad
2647eacb74
test: Add {cylinders,ellipses}.ifc samples
...
A bare-bones IFC with four cylinders/ellipses. Used for SVG conversion
testing.
2017-11-25 13:06:03 +01:00
Anders Granskogen Bjørnstad
df942f6460
SvgSerializer: Fix bounding box for arc segments
...
Not necessarily minimal, but better to be conservative w.r.t. getting
all geometry inside bounds.
2017-11-25 13:06:03 +01:00
Anders Granskogen Bjørnstad
7de877823b
SvgSerializer: Add closed circle warning
...
Only refactoring, adding a warning.
2017-11-25 13:06:03 +01:00
Thomas Krijnen
ea3318ae2e
Don't rely on man for ld feature detection
2017-11-18 16:51:59 +01:00
Thomas Krijnen
fb37899b26
Don't pass empty arguments to boost build
2017-11-18 16:50:38 +01:00
Thomas Krijnen
6463690a8b
Fix typo
2017-11-13 13:01:59 +01:00
Thomas Krijnen
148432c011
Fixes for boolean ops on recent OCCT versions
2017-11-13 12:41:37 +01:00
Anders Granskogen Bjørnstad
478da8f658
IfcConvert: Add section-height argument for SVG
...
Enabling user specified overriding the default (zmin + 1 meter) value.
2017-11-11 10:02:41 +01:00
Anders Granskogen Bjørnstad
9be413a308
SvgSerializer: Use storey elevation if available
...
For the scenario where we a building storey and it has an elevation:
Instead taking the cross section of every product 1 meter above it's
lowest, take the cross section at storey elevation + 1 meter.
2017-11-11 10:02:41 +01:00
Anders Granskogen Bjørnstad
a9606b3044
SvgSerializer: Name storeys properly too
...
- Fix correct "storey-" prefix for stories
- Follow user settings on names/guids/notset
2017-11-11 10:02:41 +01:00
Anders Granskogen Bjørnstad
c419885329
SvgSerializer: Fix error message logic
...
If we have no storeys *and* we didn't find any suitable fall-back, then
the error message makes sense.
2017-11-11 10:02:41 +01:00
civilx64
b6b41e920f
Create docstrings for generated python code.
2017-11-08 13:29:09 +01:00
Thomas Krijnen
b7ce547a0c
Fill holes in composite curves, fixes #282
2017-11-08 13:27:45 +01:00
thorade
6cd59aa121
autopep8 aggressive
...
autopep8 --in-place --recursive --max-line-length=200 --aggressive --aggressive --aggressive ifcopenshell
2017-11-07 15:28:45 +01:00
thorade
8439e5b46d
autopep8
...
autopep8 --in-place --recursive --max-line-length=200 ifcopenshell
2017-11-07 15:28:45 +01:00
Stinkfist0
403f64a0d0
build-deps.cmd: fix boost build configuration for VS 2015. Fixes #279 . [ci skip]
2017-11-05 16:18:00 +01:00
thorade
6bffee83fe
identical from __future__ import in ALL py files
2017-11-05 16:17:27 +01:00
Anders Granskogen Bjørnstad
f3e20ae450
geom/app.py: ConfigParser py2/py3 fix
...
When running the viewer app in python3, I got the following crash:
Traceback (most recent call last):
File "geom_app.py", line 2, in <module>
ifcopenshell.geom.app.application().start()
File "/usr/lib/python3/dist-packages/ifcopenshell/geom/app.py", line 534, in __init__
self.editor = code_edit(self.canvas, configuration().options('snippets'))
File "/usr/lib/python3/dist-packages/ifcopenshell/geom/app.py", line 68, in __init__
config = Cfg()
TypeError: 'ConfigParser' object is not callable
Unify configparser usage for py2 and py3 by making sure the py3 path
also gives a callable Cfg
2017-11-05 16:16:49 +01:00
thorade
352b14f07d
ignore *.py.bak files
2017-11-03 11:05:02 +01:00
thorade
d7bcd00904
also ignoe files generated by PyCharm
2017-11-03 11:05:02 +01:00
Matthis Thorade
afce8b37c4
py 2 and 3
...
http://python3porting.com/noconv.html#handling-exceptions
this is the first error i get when i try to start th eviewer from python 3
using the two-line from https://github.com/IfcOpenShell/IfcOpenShell/commit/1d1fb6d27a5bb1f221aed4dc290c1dc99a324e0f#commitcomment-17161165
2017-10-30 10:31:35 +01:00
Thomas Krijnen
a2b575eec8
update SWIG to latest release
...
#277
2017-10-30 10:26:27 +01:00
Matthis Thorade
eb87d50548
update SWIG to latest release
...
because SWIG 3.0.7 is two years old and the intermediate releases all mention minor Python fixes.
http://www.swig.org/
I have used this for the last couple of builds and did not notice any negative effects.
2017-10-30 10:23:53 +01:00
Thomas Krijnen
f64246f7c5
Use building or site placement for SVG section height if file has no storeys
2017-10-23 14:17:54 +02:00
Thomas Krijnen
c5495d83e4
Invalid empty SVG file
2017-10-23 13:58:07 +02:00
Thomas Krijnen
095801faa1
Fix warning
2017-10-23 13:47:37 +02:00
Thomas Krijnen
07954122fb
Fix #275
2017-10-23 13:32:57 +02:00
Stinkfist0
b347a488af
build-deps.cmd: update Boost to latest 1.65.1. Fixes #249 .
2017-10-18 13:58:32 +02: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
33220fa78c
Update python module install script
2017-10-06 16:37:22 +02:00
Thomas Krijnen
effcecc75f
ifcopenshell.template.create()
2017-10-06 16:05:55 +02:00
Thomas Krijnen
85f872d3b8
ifcopenshell.guid.new()
2017-10-06 16:03:04 +02:00
Thomas Krijnen
f3b3e2a441
More meaningful error message setting attributes in python
2017-10-06 16:02:34 +02:00
Thomas Krijnen
25d68d320d
Remove auto keyword
2017-10-06 16:01:18 +02:00
Matthis Thorade
c38ac108cc
basestring for py3
...
this closes #262
2017-10-06 15:49:19 +02:00
Anders Granskogen Bjørnstad
d14d63dd5c
IfcConvert: Fix bug with --bounds for SVG
...
`if(bounding_width)` evaluates to true as long as `bounding_width` is
non-zero (including negative values). Since `bounding_width` and
`bounding_height` are default initialized to -1.0, we were erroneously
setting a bounding rectangle of (-1.0, -1.0) here. This means the SVG
output has been broken/malformed if we didn't specify --bounds.
2017-10-06 15:49:07 +02:00
Thomas Krijnen
34d04c0da7
Add test case
2017-10-06 15:41:39 +02:00
Thomas Krijnen
6c4fee1028
Color elements by material association. Reimplement reuse detection. Fix #265
2017-10-06 15:36:51 +02:00
Thomas Krijnen
ada503dbf1
Fix #266
2017-10-02 10:22:57 +02:00
Thomas Krijnen
8d0c95a939
Fix typo
2017-09-26 21:16:44 +02:00
Thomas Krijnen
7ba0b04031
Set mmacosx-version-min to 10.9 for OCCT
...
See https://github.com/openMVG/openMVG/issues/316#issuecomment-332142824
2017-09-26 11:43:03 +02:00
Thomas Krijnen
688a652bc1
Fix #261
2017-09-25 14:57:49 +02:00
Thomas Krijnen
d839238949
Yet another repetition for cyclic symbol references
2017-09-24 22:15:33 +02:00
Thomas Krijnen
f91ac2b375
Add py 3.6.2 to build-all.py
2017-09-24 13:37:14 +02:00
thomas.guenet
8792a8d750
CMakeLists.txt: add icui18n library for linux compilation
2017-09-22 11:56:10 +02:00
Thomas Krijnen
f981c43042
More robust file download
2017-09-18 14:51:58 +02:00
Thomas Krijnen
8c26037f84
Fix null dereference
2017-09-17 20:22:29 +02:00
Thomas Krijnen
96ec925f31
Spatial Querying: Implementation of BVH tree for IFC files using NCollection_UBTree ( #130 )
...
* Implementation of BVH tree for IFC files using NCollection_UBTree
* Fixes for gcc and OCCT < v6.8
* Enable BVH selection by TopoDS_Shape
* Small fixes to tree
* Merge conflicted files and other changes
* Eliminate one warning (some remain) + add tree test
2017-09-13 13:16:58 +02:00
Thomas Krijnen
ee16deabe5
Fix #38
2017-09-10 17:15:04 +02:00
Thomas Krijnen
4f31b9467a
Fix #248
2017-09-10 16:59:05 +02:00
elmir
f6645b19ef
don't assign ID to Simple types
...
When adding entities, don't assign ID to Simple types.
Otherwise that type will be serialized incorrectly.
This fixes the issue with IFCPLANEANGLEMEASURE being serilzed
incorrectly when used as attribute to IFCMEASUREWITHUNIT.
With ID assigned, it will look like this:
#10=IFCMEASUREWITHUNIT(#9=IFCPLANEANGLEMEASURE(0.017453293),#8);
The correct way to serialze is:
#10=IFCMEASUREWITHUNIT(IFCPLANEANGLEMEASURE(0.017453293),#8);
2017-09-09 14:00:57 +02:00
Thomas Krijnen
f2dbf7d063
Improve composite curve error message
2017-09-09 13:29:39 +02:00
Thomas Krijnen
49e5f2944c
Rebuild generated source files
2017-09-08 17:26:24 +02:00
youaresoomean
fae9661efd
Update IfcParse.h ( #256 )
2017-09-08 17:18:11 +02:00
youaresoomean
b90b39a894
Update templates.py
2017-09-08 17:17:50 +02:00
Stinkfist0
c7c5e692d3
IfcConvert --version: print also OCC version.
2017-08-27 16:11:54 +02:00
Stinkfist0
93c2ca6267
CMakeLists.txt: Add ws2_32.lib to OPENCASCADE_LIBRARIES on Win32 as OCCT might require this depending on the used version and build configuration. Closes #250 .
2017-08-27 16:11:54 +02:00
Thomas Krijnen
430ab54602
ifcopenshell.file.from_string()
2017-08-22 10:16:07 +02:00
Luke Brooks
08522c9fd7
ifcopenshell.file.from_string() ( #246 )
2017-08-22 10:15:02 +02:00
Anders Granskogen Bjørnstad
475b8554a8
Site local placement ( #240 )
...
* ifcgeom: Add placement_rel_to for convert()
Change geometry conversion in `convert()` for `ObjectPlacement` such
that we can stop the `PlacementRelTo()` recursion when we hit an
`ObjectPlacement` that places a certain type, e.g. a `IfcSite'.
Introduce a new IteratorSetting `SITE_LOCAL_PLACEMENT` which will be
exposed in `IfcConvert`.
* IfcConvert: Add --site-local-placement
Some IFC authoring tools may put the global origo at a large distance
away from the actual building geometry. Also, the global X- and Y-axes
may be at arbitrary angles with natural building axes. Using
--center-model or --model-offset may place the converted geometry closer
to origo, but will still use the global IFC definition of axis
directions. Also, in a scenario with multiple IFC files for one
construction site, using --center-model on each of them would not
generate consistent geometry across OBJ or DAE files.
Solve this by introducing --site-local-placement which will disregard
the ObjectPlacement at the IfcSite level.
2017-08-19 17:21:10 +02:00
Thomas Krijnen
7bea054c1e
get_log in python
2017-08-19 16:54:06 +02:00
Thomas Krijnen
490c35bf60
Fix #244 and provide instances by entity type without subtypes
2017-08-16 21:46:39 +02:00
Stinkfist0
b019ff6aed
build-deps.cmd: fix URL for Git download (TortoiseGit doesn't contain Git)
2017-08-16 14:12:12 +02:00
Thomas Krijnen
4c6ca83528
Add option to build with OCCT 7.1 in nix build script
2017-08-13 13:13:26 +02:00
Thomas Krijnen
9ba5e8fd88
Add win build script occt patches
2017-08-12 10:53:28 +02:00
Thomas Krijnen
2e36793af2
win build script OCCT 7.1.0
2017-08-12 10:29:23 +02:00
Thomas Krijnen
e3d2621ea9
Alternative for CTRL+C in win build script
2017-08-12 10:28:05 +02:00
Thomas Krijnen
ebfe8f9c54
Take into account Position is optional in IFC4 when processing layersets on slabs
2017-08-09 17:01:10 +02:00
Thomas Krijnen
132e5d5f6e
Disable log_notice message on exceeding tolerance values
2017-08-09 17:00:41 +02:00
Thomas Krijnen
62794d4b07
Unused variable warning
2017-08-09 12:55:03 +02:00
Thomas Krijnen
fd7f6e1f26
IfcIndexedPolyCurve
2017-08-05 12:39:15 +02:00
Thomas Krijnen
b00acd3f67
only convert length unit if units are present in both files
2017-08-04 16:31:34 +02:00
Thomas Krijnen
f12d8eeaa6
by_guid() and unicode in py2
2017-08-04 16:31:10 +02:00
Thomas Krijnen
85524170dd
More advanced entity_instance.get_info()
2017-08-04 16:30:43 +02:00
Thomas Krijnen
c67de4bbb3
Mark attributes as 'derived in supertype' also in getArgumentType()
2017-08-04 16:29:26 +02:00
Thomas Krijnen
36c52b3bea
Update tests
2017-08-02 16:09:20 +02:00
Thomas Krijnen
ceff8a8822
Fixes for IfcEntityInstanceData copy construction
2017-08-02 16:09:01 +02:00
Thomas Krijnen
a58f23fae2
Missing introspection methods in Python
2017-08-02 16:08:07 +02:00
Thomas Krijnen
b696df0da1
Missing semicolons in header
2017-08-02 16:07:30 +02:00
Thomas Krijnen
94224411a9
Recursive get_info()
2017-08-02 16:06:27 +02:00
Thomas Krijnen
5c7e7cab1a
Raise IndexError
2017-08-02 16:05:56 +02:00
Thomas Krijnen
29323e4f74
Fix recursion in traverse()
2017-08-01 19:07:46 +02:00
Thomas Krijnen
aa0a6aa5d1
Fix #178
2017-08-01 16:45:11 +02:00
Thomas Krijnen
d10efe69cd
Fix typo in test
2017-07-27 15:53:06 +02:00
Thomas Krijnen
fb1fed247e
Fix #243
2017-07-27 10:21:37 +02:00
Thomas Krijnen
59d7e0cad3
nix build script: fix compilation of boost.iostreams, disable USE_MMAP
2017-07-25 16:27:13 +02:00
Thomas Krijnen
ae0afe2c0a
mmap #22
2017-07-25 16:27:13 +02:00
Thomas Krijnen
3edb057178
Bring back id() to python wrapper. Fixes #241
2017-07-17 18:10:28 +02:00
Thomas Krijnen
04e3018f3c
Use default logger
2017-07-17 18:09:49 +02:00
Thomas Krijnen
f81616a6fb
Narrow and wide unicode builds in nix build script
2017-07-03 20:42:18 +02:00
Thomas Krijnen
f58539d6d8
Construct not only allocate token buffer
2017-07-03 20:39:40 +02:00
Thomas Krijnen
90bdf03f54
Disable exception
2017-07-03 16:38:04 +02:00
Thomas Krijnen
6e87a21806
Ignore some methods in wrapper to fix build
2017-07-03 15:43:56 +02:00
Thomas Krijnen
d94eb9a96e
IfcMaterialList in XML output
2017-07-03 15:18:07 +02:00
Thomas Krijnen
ac5800326b
Fix compilation on gcc
2017-07-03 14:42:08 +02:00
Thomas Krijnen
901ef57d60
Fix #180
2017-07-03 14:18:56 +02:00
Thomas Krijnen
b604e5cf99
Fix #204
2017-07-02 19:57:10 +02:00
Thomas Krijnen
1e79eb535a
Build comprehensive representation id. Fix #225
2017-06-28 15:59:03 +02:00
Thomas Krijnen
6f7afd4b2a
Build comprehensive representation id. Fix #225
2017-06-28 15:24:49 +02:00
Thomas Krijnen
a90936a7de
Properly initialize parsed simple types
2017-06-24 21:35:38 +02:00
Thomas Krijnen
7c1cf6ebd0
Fix #233
2017-06-24 13:36:26 +02:00
Stinkfist0
7eb1346407
IfcConvert: prevent doing IfcFile::Init() "prematurely", e.g. before some additional program option parsing that might fail.
2017-06-23 14:12:07 +02:00
Stinkfist0
771b1f3d3c
IfcConvert: consistent style for user error prints.
2017-06-23 14:12:07 +02:00
Stinkfist0
3fb96cad0b
IfcConvert: make sure to delete temp file if no actual conversion occurs. Also fixes serializer memory leaks. Closes #199 .
...
C
2017-06-23 14:12:07 +02:00
Thomas Krijnen
23beb096a0
Remove auto keywords
2017-06-20 19:47:53 +02:00
Thomas Krijnen
101ef69ae9
Fail serialize() if one of the faces cannot be mapped to IFC (2x3)
2017-06-20 18:55:52 +02:00
Thomas Krijnen
e60202b738
Unique filter on IfcEntityList
2017-06-20 18:54:55 +02:00
Thomas Krijnen
1e8b1d9c9c
traverse() as a global function rather than method on IfcFile
2017-06-20 18:54:30 +02:00
Thomas Krijnen
a27e516011
Elided argument in ifcopenshell.file constructor
2017-06-20 18:53:39 +02:00
Thomas Krijnen
69c8b7c1c8
One more boost::blank() refactoring
2017-06-20 18:52:56 +02:00
Thomas Krijnen
c25cff6bad
Correct setting attributes on lazily loaded instances
2017-06-15 14:12:03 +02:00
Thomas Krijnen
48a61219f7
Fix #228
2017-06-14 12:42:38 +02:00
Stinkfist0
84813084d0
Fix/suppress signed-unsigned integer conversion warnings.
2017-06-05 19:53:10 +02:00
Thomas Krijnen
5e0da9725a
ifcparse refactoring ( #190 )
...
Unify attribute containers, provide latebound attribute access on IfcBaseEntity, more basic tests on Travis
2017-06-05 17:26:58 +02:00
Thomas Krijnen
9a43658716
Correct verbosity check
2017-06-05 13:08:07 +02:00
Stinkfist0
f3f4c41f8d
IfcConvert: add --no-progress option to suppress possible progress bar type of prints that use carriage return.
2017-06-05 11:41:55 +02:00
Stinkfist0
273c977f66
Remove extraneous spaces in geom filter description prints.
2017-06-05 11:41:55 +02:00
Stinkfist0
0adcb9ae20
IfcConvert --filter-file: Specifies a filter file that describes the used filtering criteria.
2017-06-05 11:41:55 +02:00
Thomas Krijnen
1751cf1c95
Generate example models on Travis
2017-06-05 11:29:23 +02:00
Thomas Krijnen
1704862d0d
Correct test for when to reuse representation in iterator
2017-06-05 11:08:07 +02:00
Janus Troelsen
d7c275e941
use boost's blank instead of none_t
2017-05-23 12:48:17 +02:00
Stinkfist0
1b9a28d799
CMakeLists.txt: fix Windows/MSVC lib search when only Debug versions of libs are found.
2017-05-20 20:19:15 +02:00
Stinkfist0
68b432f6c0
CMakeLists.txt: fix add_debug_variants() to work on Debug build. Re: #201 [ci skip]
2017-05-20 20:19:15 +02:00
Thomas Krijnen
af2799acd4
Matrix multiplication in OCC rather than boost::ublas (re #211 )
2017-05-20 19:50:10 +02:00
Thomas Krijnen
c093dc0335
Merge pull request #211 from mitmadness/feature/hierarchy
...
Represent hierarchy in Collada files
2017-05-20 19:46:56 +02:00
Balleux Benjamin
834e05a01c
Feature : For each parent element, include the type in the name if --use-element-types if used
2017-05-18 11:26:19 +02:00
Balleux Benjamin
4680298bee
Clean : Remove debug logs
2017-05-16 16:34:50 +02:00
Balleux Benjamin
be39f30029
Fix : fix build error
2017-05-16 15:54:26 +02:00
Balleux Benjamin
3919c1f32e
Feature : Retrieve the full hierarchy
...
(merged from hierarchyDevelop branch)
2017-05-16 15:30:57 +02:00
Balleux Benjamin
e02bbefa68
Clean : Removed debug logs
2017-05-16 15:20:30 +02:00
Balleux Benjamin
5c497c8f6c
Fix : Handle the case where the first representation element has 0 parent
2017-05-16 15:01:55 +02:00
Balleux Benjamin
942d34ee39
Feature : Retrieve the full hierarchy. Fix the placement of the objects.
...
Check slab->HasObjectType before using slab->ObjectType
2017-05-16 14:27:36 +02:00
Balleux Benjamin
45ec08f840
feature (WIP) : retrieve the full hierarchy. The placement of several objects still be incorect
2017-05-16 11:27:45 +02:00
Balleux Benjamin
be3dbce9f4
feature (WIP) : retrieve full hierarchy
...
Bug : the element are not at the right location
2017-05-15 17:45:05 +02:00
Stinkfist0
20c189c321
set-python-to-path.bat: fix for command for quoted filename
2017-05-13 14:03:15 +02:00
arzezniczak
97c5126a77
Authenticated proxy support for DownloadFile
...
DownloadFile subroutine gets credentials from system settings.
2017-05-13 14:02:42 +02:00
Balleux Benjamin
ff64ce1e0e
Fix : change wrong namespace
2017-05-11 14:02:34 +02:00
Balleux Benjamin
4f6e8a7d56
Fix : Change wrong namespace
2017-05-11 13:27:00 +02:00
Balleux Benjamin
93ece6b3ea
Fix : Add missing include
2017-05-11 11:49:25 +02:00
Balleux Benjamin
ced9d8c917
Merge branch 'feature/hierarchyDevelop' into feature/hierarchy
2017-05-11 11:22:11 +02:00
Balleux Benjamin
ef0e9d9eb4
Feature : Handle every IfcSlabTypeEnum (3 were missing) and sort the floors by elevation
2017-05-09 15:55:37 +02:00
Balleux Benjamin
3c2fbcc4e1
Feature : Handle every IfcSlabTypeEnum (3 were missing) and sort the floors by elevation
2017-05-09 15:54:21 +02:00
Balleux Benjamin
a6ffa7fc42
Fix : fill the storey property of an Element with NULL when we don't find any IfcBuildingStorey parent
2017-05-09 14:40:23 +02:00
Thomas Krijnen
0f825b7050
Fix missing import
2017-05-03 15:10:20 +02:00
Stinkfist0
845dd13870
Windows/MSVC: Fix OCCT deployment on VS 2017.
2017-05-03 14:13:24 +02:00
Thomas Krijnen
d713b7e06a
Limit retries for boolean op on OCCT 6.9 and higher
2017-05-03 12:07:10 +02:00
Tristan Zimpfer
e3e4fba63a
Clean of the double declaration of IfcSlabTypeEnum.
2017-04-26 10:59:07 +02:00
Tristan Zimpfer
78b904dfeb
Differentiate slab types when option --use-element-types is used.
2017-04-26 10:28:38 +02:00
Thomas Krijnen
00c70fa8fb
IfcOpenHouse fixes for IFC4
2017-04-25 17:38:59 +02:00
Thomas Krijnen
d34c3b4b20
Example for #209
2017-04-25 16:53:35 +02:00
Thomas Krijnen
033075f809
Fix #208
2017-04-25 16:37:50 +02:00
Balleux Benjamin
1d8f6addf8
Get the information on the IfcSlab (floor or roof..) and put it in the element name.
...
To be cleaned
2017-04-25 16:27:14 +02:00
Balleux Benjamin
26a9167eea
Add coments
2017-04-25 11:55:09 +02:00
Balleux Benjamin
5fae7a5992
Merge branch 'feature/hierarchy' of https://github.com/mitmadness/IfcOpenShell into feature/hierarchy
2017-04-25 10:13:37 +02:00
Balleux Benjamin
7edca081bf
Raise an error when the option --use-element-hierarchy is used with a file different of .dae
2017-04-25 10:13:18 +02:00
Tristan Zimpfer
08e4d16f28
Modified the condition checking if the parent had changed so an object without parent isn't placed in a storey.
2017-04-21 18:05:35 +02:00
Tristan Zimpfer
470e8e772e
Comments + conditions for sorting the deferred objects added.
2017-04-21 16:15:41 +02:00
Balleux Benjamin
ea609af394
comments added
2017-04-21 16:02:13 +02:00
Balleux Benjamin
8ac18752b2
Remove temp file
2017-04-21 15:59:54 +02:00
Balleux Benjamin
95acd4c517
Clean : remove debug lines
...
Find the floor of an element in the IfcGeomIterator class
2017-04-21 15:49:34 +02:00
Balleux Benjamin
7ce795def3
clean WIP
2017-04-20 15:06:49 +02:00
Balleux Benjamin
8e4febecc0
clean : Remove the debug print
...
debug : don't display the name of the element in unity anymore
2017-04-19 16:38:35 +02:00
Balleux Benjamin
195979d4f0
Merge branch 'feature/hierarchy' of https://github.com/mitmadness/IfcOpenShell into feature/hierarchy
...
# Conflicts:
# src/ifcconvert/ColladaSerializer.cpp
2017-04-19 15:09:59 +02:00
Balleux Benjamin
ab0e47c55f
Options added : --use-element-types and --use-element-hierarchy
2017-04-19 12:07:03 +02:00
Tristan Zimpfer
9f362853d6
Added a matrix for the parent node and a better id.
2017-04-19 11:48:52 +02:00
Tristan Zimpfer
79e1e0ec04
Hierarchy v1
2017-04-13 16:39:36 +02:00
Tristan Zimpfer
f446f25cee
Sort DeferredObject.
2017-04-12 17:28:29 +02:00
Balleux Benjamin
a02b189f69
Bug Fix : the previous commit made the program crash when an object has no parent
2017-04-12 16:11:37 +02:00
Balleux Benjamin
8312853b99
add parent property to deffered objects
2017-04-12 15:49:05 +02:00
Balleux Benjamin
be326e13ed
Send Hierarchy data to the serializer
2017-04-12 14:56:00 +02:00
Balleux Benjamin
a2aa2bf9eb
Send hierarchy data to the serializer WIP
2017-04-12 14:38:54 +02:00
Balleux Benjamin
b9e9bfeceb
Handle errors : when an object has no parent
2017-04-12 13:36:12 +02:00
Stinkfist0
dd8ee915c3
ifcwrap/CMakeLists.txt: as PYTHONLIBS_FOUND and PYTHONINTERP_FOUND cannot seem to be trusted, perform further checks to see whether the packages were actually found or not.
...
E.g. one can doo set PYTHONHOME=C:/NoPythonHere
and when running CMake it will happily report:
-- Found PythonLibs: C:/NoPythonHere/libs/python34.lib
2017-04-12 10:39:41 +02:00
Stinkfist0
7fdbc9811d
src/ifcwrap/CMakeLists.txt: use PYTHON_INCLUDE_DIRS instead of the deprecated PYTHON_INCLUDE_PATH
2017-04-12 10:39:41 +02:00
Stinkfist0
2edf867818
Use boost functions for string manipulation instead of std ones in order to silence char-int conversion warnings on VS 2017.
2017-04-12 10:39:41 +02:00
Stinkfist0
e4a7d2a149
Windows/MSVC build scripts: support for VS 2017 CMake generators, update Boost to 1.63.0, update ICU download to 58.2 in order to have VS 2107 download available, configure Boost using generic MSVC instead of specific version, make sure to 'git fetch' before 'git checkout <revision>'.
2017-04-12 10:39:41 +02:00
Balleux Benjamin
37f7fbecca
Retrieve the type and the hierarchy of the IFC and write it in the .dae files
2017-04-11 17:26:30 +02:00
Alexandre Lemire
0f993b32f4
Fix generation of IfcOpenHouse.ifc which doesn't have its ground representation. See #200
2017-04-07 12:29:38 +02:00
Thomas Krijnen
f71ee35f57
More 'tolerant' to tolerances higher than the modeling precision
2017-04-03 14:55:34 +02:00
Thomas Krijnen
1856c499b7
Fix misalignment between enum and boost::variant. See #200
2017-04-03 11:41:14 +02:00
Thomas Krijnen
06cad59fa2
Fix missing python module installation
2017-03-24 10:11:44 +01:00
Thomas Krijnen
8e69f84430
Trigger license redetection
2017-03-19 09:47:28 +01:00
Thomas Krijnen
9e3fe84c66
Trigger license redetection
2017-03-19 09:46:07 +01:00
Thomas Krijnen
9ad68db0dc
set OCE_VERSION, executable flags in win build script
2017-03-12 11:38:23 +01:00
Thomas Krijnen
40f3447ad1
Update dependency versions in nix build script
2017-03-09 14:36:00 +01:00
Thomas Krijnen
c8cc8ab1c8
Resolve python library linking issues on OSX
2017-03-09 13:59:54 +01:00
Thomas Krijnen
4faa66f9b8
Fix for python 2.7
2017-03-09 12:04:07 +01:00
Thomas Krijnen
5705f24f3e
python: make logging import conditional in case time is not built
2017-03-09 11:47:54 +01:00
Thomas Krijnen
52d035d09a
python: don't import platform module as it may depend on select which might be unavailable
2017-03-09 10:16:22 +01:00
Stinkfist0
921e343187
Fix assertion. Closes #192
2017-03-08 09:31:51 +01:00
Thomas Krijnen
50ea73a28f
Update IfcConvert help text
2017-03-04 14:16:54 +01:00
Stinkfist0
3275119d1d
TokenFunc::asStringRef: protect against null token.
2017-03-04 13:54:19 +01:00
Stinkfist0
026b4853a2
IfcConvert: single point for IFC file parsing and potential parsing error reporting.
2017-03-04 13:54:19 +01:00
Stinkfist0
cd132473f5
IfcConvert: instead of global --traverse option provide --include+ and --exclude+ options that control traversal on per filter basis.
2017-03-04 13:54:19 +01:00
Stinkfist0
06c1ea9d2c
Doc tweaks [ci skip]
2017-03-04 13:54:19 +01:00
Stinkfist0
b058647d46
IfcLogger: convenience shorthands Notice(), Warnings() and Error()
2017-03-04 13:54:19 +01:00
Stinkfist0
8e44290341
string_arg_filter: make sure the argument type is string
2017-03-04 13:54:19 +01:00
Stinkfist0
5d7b392415
IfcGeomIterator: use fully qualified symbol for filter_t to fix SWIT code generation + fix getObject()
2017-03-04 13:54:19 +01:00
Stinkfist0
0383221d00
IfcConvert: print information about the used filters.
2017-03-04 13:54:19 +01:00
Stinkfist0
678d422ec8
Fix errors in rebase merge.
2017-03-04 13:54:19 +01:00
Stinkfist0
eade74c919
Fix --traverse --exlucde=<entities|layers> + clean up duplicate code. filter::traverse_match: dynamic_cast instead of static_cast as the decomposing entity is not guaranteed to be IfcProduct
2017-03-04 13:54:19 +01:00
Stinkfist0
9074f25e93
Fix --exclude=arg when --traverse used also.
2017-03-04 13:54:19 +01:00
Stinkfist0
4b5790e83a
IfcConvert: minor cleanup + fix guid exclusion filter's value population.
2017-03-04 13:54:19 +01:00
Stinkfist0
470b08cd04
IfcConvert: output regular prints to cout instead of cerr.
2017-03-04 13:54:19 +01:00
Stinkfist0
d88c93a150
Cleaning up geom filters.
2017-03-04 13:54:19 +01:00
Stinkfist0
7101ac22c8
Refactor template class arg_filter into string_arg_filter instead, support for IfcProxy.Tag (untested, did not find suitable test input yet).
2017-03-04 13:54:19 +01:00
Stinkfist0
1b7d38a56d
support for IfcConvert -include=arg <Description|Tag> (for IfcElement.Tag, not yet for IfcProxy.Tag).
2017-03-04 13:54:19 +01:00
Stinkfist0
de5864fc72
IfcConvert: change syntax of --<include|exclude>=<names|guids> to --<include|exclude>=arg <Name|GlobalId>. The plan is to support arbitrary arguments in the future.
2017-03-04 13:54:19 +01:00
Stinkfist0
195d68cd0a
Generalize IfcGeom::Iterator filtering and move make the filter specification external to the Iterator.
2017-03-04 13:54:19 +01:00
Stinkfist0
d8a11dd096
Refactoring and cleaning up geom iterator filtering.
2017-03-04 13:54:19 +01:00
Stinkfist0
63b0488909
Implement filtering created geometry by layer assignments.
2017-03-04 13:54:19 +01:00
Stinkfist0
3abee03b9b
Filtering by entity GUID and layer name w.i.p.
2017-03-04 13:54:19 +01:00
Stinkfist0
f1709dc71a
IfcConvert/IfcGeom: Possibility to include and exclude simultaneously by type and name, w.i.p.
2017-03-04 13:54:19 +01:00
Carles
6b2c8ad23e
Update vs-cfg.cmd
...
prepend win/utils path instead of append it.
It should force the build-deps.cmd to call 7za.exe within utils and not any other old-version that users might already have.
Discussed in https://sourceforge.net/p/ifcopenshell/discussion/1782717/thread/53803197/
2017-02-23 15:48:37 +01:00
Thomas Krijnen
8ce4bbdf61
Adaptive tolerance boolean ops
2017-02-16 15:54:34 +01:00
Thomas Krijnen
e2cf5f4826
Typo in build script
2017-02-16 15:53:58 +01:00
Thomas Krijnen
332a9a571f
Special case the normal at the poles of a spherical surface
2017-01-24 14:56:28 +01:00
Thomas Krijnen
ac9505506c
Extend IfcGeomServer with calculated quantities
2017-01-22 16:09:14 +01:00
Thomas Krijnen
257c28d450
Take into account IfcTrimmedCurves with unspecified preference
2017-01-22 11:06:36 +01:00
Thomas Krijnen
f95ad29c7a
Extra check for single-face IfcConnectedFaceSets. Fixes #181 .
2017-01-19 10:42:03 +01:00
Thomas Krijnen
93c2f93c44
Download PCRE from sourcefore in nix build script. Fixes #182
2017-01-19 10:24:09 +01:00
Stinkfist0
77d53429e3
Make sure to link ifcwrap to Boost libs + fix integer conversion warning.
2017-01-14 20:13:46 +01:00
Stinkfist0
fa76aa9bb0
IfcConvert: add --unicode=utf8|escape when UNICODE_SUPPORT enabled.
2017-01-14 20:13:46 +01:00
Stinkfist0
f0e07f3447
Add status prints for writing XML output. Re: #122
2017-01-14 20:13:46 +01:00
Stinkfist0
80f0ff688d
IfcConvert: add --model-ofset x;y;z option. Remove SerializerSettings::CENTER_MODEL as unneeded.
2017-01-14 20:13:46 +01:00
Stinkfist0
222cbe73d3
Use unnamed enum instead of static const member variable for SerializerSettings::DEFAULT_PRECISION in order to fix compilation on GCC & Clang.
2017-01-14 20:13:46 +01:00
Stinkfist0
ecff54c480
IfcConvert --precision option.
...
Sets the decimal precision to be used to format floating-point values, 15 by default.
Use a negative value to use the system's default precision (should be 6 typically).
Applicable for OBJ and DAE output. For DAE output, value >= 15 means that up to 16 decimals are used,
and any other value means that 6 or 7 decimals are used.
2017-01-14 20:13:46 +01:00
Stinkfist0
2d58a1bc7c
Separate serialization-specific settings from IteratorSettings into its own class, SerializerSettings.
2017-01-14 20:13:46 +01:00
Thomas Krijnen
5667f3f94a
build script changes for boost
2017-01-09 13:10:01 +01:00
Jelle Feringa
5d6160b47a
log exceptions on get_info method
...
these exceptions currently are actively being hidden, which is
intransparent / could make debugging challenging
improved formatting tot pep8
2017-01-04 10:26:04 +01:00
Stinkfist0
37905c6725
Windows/MSVC: support spaces in the IfcOpenShell build directory's path. re: #171
2017-01-01 18:16:56 +01:00
aahoo
99bde93af5
adds get_info method for class #resolves #175
2017-01-01 18:15:55 +01:00
Thomas Krijnen
e6ff78fa29
Size() -> Length()
2016-12-10 15:39:20 +01:00
Thomas Krijnen
c08aa3216d
Fix #163 Disallow narrow IfcPolygonalBoundedHalfSpace
2016-12-10 14:11:01 +01:00
Thomas Krijnen
da0b350378
Fix #140
2016-12-09 16:51:03 +01:00
Thomas Krijnen
4354361a13
More elaborate wire ordering check and shell sewing code ( #147 )
2016-12-09 16:40:14 +01:00
Thomas Krijnen
51409aff8f
Fix #87
2016-12-09 16:33:06 +01:00
Thomas Krijnen
c94ed73b8d
Incorporate console into main app, fallback to QPlainTextEdit, some styling
2016-11-28 17:46:57 +01:00
jakob-beetz
90e4f21f29
Interactive scripting pane added to pyQt viewer geom.app
2016-11-28 17:46:57 +01:00
jakob-beetz
3ba2f781d8
added a property panel tab to the PyQt geom.app viewer that shows all properties from IfcPropertySets attached to the currently selected object
2016-11-28 17:46:57 +01:00
Ali Kämäräinen
aec20057c7
Fix build when USE_IFC4=1 ( #160 )
2016-11-18 12:43:14 +01:00
Thomas Krijnen
5c107eb165
Merge pull request #161 from IfcOpenShell/aothms-travis-2x3-4
...
Build Ifc2x3 and Ifc4 on travis
2016-11-18 12:42:50 +01:00
Thomas Krijnen
3d1ea31098
Build Ifc2x3 and Ifc4 on travis
2016-11-18 12:22:02 +01:00
Thomas Krijnen
3d24b67146
Fix #157
2016-11-17 16:05:28 +01:00
Thomas Krijnen
18c87b515b
Install ifcopenshell binaries in nix build script
2016-11-13 20:27:22 +01:00
Thomas Krijnen
11a95e7045
Merge pull request #156 from aothms/nix_python_build_script
...
Nix python build script
2016-11-13 13:45:12 +01:00
Ali Kämäräinen
714a365942
IfcConvert/IfcGeom --traverse option ( #159 )
...
geometry filtering option for including/excluding decomposition and containment of filtered entities.
Usage example: IfcConvert Duplex_A_20110907.ifc Level1.dae --include --traverse --names "Level 1"
2016-11-13 13:44:38 +01:00
Thomas Krijnen
739bbcc744
Don't run build script on travis, doesn't complete in under 50m0s
2016-11-11 14:55:07 +01:00
Thomas Krijnen
6a275d04b9
Don't export TARGET_ARCH in nix build script
2016-11-09 11:12:29 +01:00
Thomas Krijnen
e8ae491dc3
Type hint from schema when encountering empty aggregate. Fixes #127
2016-11-08 17:24:08 +01:00
Thomas Krijnen
8e2f528a99
Fix python build script
2016-11-06 19:07:25 +01:00
Carmen Fan
00215867c0
Fix matrix multiplication ordering for nested mapped items ( #144 )
2016-11-06 16:18:30 +01:00
Thomas Krijnen
1e86a31b81
Add nested_mapped_item.ifc test case, based on acad2010_objects.ifc
2016-11-06 16:15:52 +01:00
Ali Kämäräinen
f0c4ce5753
Add layer information (IfcPresentationLayerAssignment) to IfcConvert's XML output. Closes #141 ( #149 )
...
Add layer information (IfcPresentationLayerAssignment) to IfcConvert's XML output. Closes #141
2016-10-31 18:21:25 +01:00
Thomas Krijnen
ea514e9528
Fix #148 catch errors when computing model bounding box from product placements.
2016-10-25 10:11:14 +02:00
Thomas Krijnen
229b123798
Fix potential segfault in hierarchy helper
2016-10-09 12:45:17 +02:00
Thomas Krijnen
86c9d7074b
Fix traversal of type relationships in IFC4 XML output
2016-10-09 12:44:37 +02:00
Thomas Krijnen
bc000fcbab
Fix additional warnings identified in #139
2016-10-09 12:42:39 +02:00
Ali Kämäräinen
a171b2b9b0
Couple warning fixes ( #139 )
...
* Use -Wno-tautological-constant-out-of-range-compare for Clang (these warnings come from the sanity checks in generated IfcXXX files).
* Remove unused variable and typedefs + suppress uint->bool conversion warnings (MSVC) + add note about Clang in README
* MSVC uint->bool convesion warning fixes when IFC4 is defined
2016-10-09 12:39:47 +02:00
Thomas Krijnen
8a92e1a766
Speed up geometry generation in ifcopenshell.geom.application by using iterator pt2.
2016-09-22 13:45:32 +02:00
Thomas Krijnen
efd6eb7f97
Speed up geometry generation in ifcopenshell.geom.application by using iterator
2016-09-22 13:40:39 +02:00
Thomas Krijnen
7ed98869d2
Update ifcopenshell.geom.app for pyocc-0.16.5
...
https://github.com/tpaviot/pythonocc-core/commit/3d7b9745359b436b4144105f7e17aa0040acb8c6
2016-09-13 14:05:28 +02:00
Karl-Philipp Richter
72d8b5377c
ported nix/build-all.sh to python in order to be able to provide any feedback
...
for the user at all (shell scripts systematically are working against providing
any useful user feedback, so the port is the only option)
2016-09-12 15:50:39 +02:00
Thomas Krijnen
8efd9757b7
Check for null shapes among layer set slicing results
2016-09-01 15:13:48 +02:00
Thomas Krijnen
a0f5a422e2
Fix #128 . XML serializer. HasPropertySets is an optional attribute.
2016-09-01 14:47:27 +02:00
Thomas Krijnen
8a950b1475
Fix compilation of ifcopenshell-python in nix build script
2016-09-01 12:53:32 +02:00
Thomas Krijnen
d2ce8d70b1
Add template disambiguation to make g++ happy
2016-09-01 12:42:12 +02:00
Thomas Krijnen
ac1a8f6d16
Add types and placement to XML output
2016-09-01 11:59:43 +02:00
Thomas Krijnen
7883953290
Do not find PCRE in default paths on Windows
2016-09-01 11:40:49 +02:00
Ali Kämäräinen
64dc2ea95c
Windows/MSVC + OCCT 7.0.0 ( #124 )
...
* Windows/MSVC build scripts: option to build and use official Open CASCADE instead of the community edition.
* Fix C4800 warnings ("'Standard_Boolean': forcing value to bool 'true' or 'false' (performance warning)") + unnecessary integer cast.
* build-deps.cmd: fix OCCT download
* Fix MSVC linking against OCCT 7.0.0. Example executables fail still, needs research.
* occt-V7_0_0-9059ca1_CMakeLists.txt: add_definitions(-DHAVE_NO_DLL) in order to fix static linking to OCCT. Mark IfcOpenShell patches in the OCCT patch files for clarity.
* Patch OCCT in order to fix compliaction when HAVE_NO_DLL is defind. Clean up IfcOpenSHell's linker warnings by defining HAVE_NO_DLL.
* CMakeLists.txt: remove linking to the newly added OCCT libs, these are not needed when HAVE_NO_DLL is defined.
* cmake/CMakeLists.txt: make add_debug_variants() function to handle filenames/paths also. Apply the coding conventions while at it. Fixes #123 .
* Patch OCCT's OpenGl_PrimitiveArray.cxx and XCAFDoc_GeomTolerance.cxx in order to fix Debug build. Do not trigger OCCT rebuild each time build-deps.cmd is ran.
* build-deps.cmd: fix OCCT file patch copy.
* Non-MSVC compiler: use -Wextra, suppress/fix -Wignored-qualifiers warnings.
* build-deps.cmd: do not check return values of copy commands as they seem not to be fully reliable.
2016-09-01 11:28:17 +02:00
Ali Kämäräinen
e064098f84
Build instructions and PCRE lib dir ( #120 )
...
* CMakeLists.txt: show fatal error if PCRE not found if COLLADA_SUPPORT is on.
* Compiling on *nix instruction tweaks.
2016-08-22 11:45:37 +02:00
Bernd Hahnebach
8dadb71648
Add OpenCollada to travis and fix cmake ( #119 )
...
* travis: collada support
* travis: opencollada, specify pcre library
2016-08-15 13:14:15 +02:00
Thomas Krijnen
9d757e1b3c
Correct typo https://github.com/IfcOpenShell/IfcOpenShell/pull/114/files#r74275264
2016-08-13 10:51:04 +02:00
Thomas Krijnen
92032b6e3b
Add travis status
2016-08-09 14:12:12 +02:00
Thomas Krijnen
202b226ea0
Silence compiler warning when without ICU
2016-08-09 14:09:44 +02:00
Bernd Hahnebach
1e8c7ef7f0
Travis
2016-08-09 14:03:26 +02:00
Thomas Krijnen
59035e7ce2
Merge pull request #114 from aothms/cmake_improvements
...
Cmake improvements: LINK_DIRECTORIES and OCCT 7
2016-08-08 13:40:38 +02:00
Thomas Krijnen
2c332199b1
Merge pull request #115 from aothms/tridify_ifcgeom_dll
...
Dllimport/export for IfcGeom. Closes #77
2016-08-08 13:40:09 +02:00
Thomas Krijnen
ecf67fe939
IFC_PARSE_API for IfcInvalidTokenException after merge
2016-08-08 13:39:43 +02:00
Thomas Krijnen
f1099fc3b1
Merge branch 'master' into tridify_ifcgeom_dll
...
# Conflicts:
# cmake/CMakeLists.txt
2016-08-08 10:56:06 +02:00
Thomas Krijnen
16e8fff9ca
virtual dtor
2016-08-08 10:41:51 +02:00
Stinkfist0
0f857283e8
CMakeLists.txt: append possible extra libraries to OPENCASCADE_LIBRARIES before the variable is used for any target.
2016-08-08 01:40:26 +03:00
Thomas Krijnen
1def5db7e4
Detect OCCT7 and set -std=c++11 accordingly.
2016-08-07 10:38:18 +02:00
Thomas Krijnen
e9bd18fd4b
Don't search default directories. Use absolute paths to specify libraries.
2016-08-07 10:37:29 +02:00
Stinkfist0
fb98275f50
Typo fix.
2016-08-06 19:08:13 +03:00
Stinkfist0
97a62f45d0
Fix IfcGeomWrapper.i and IfcParseWrapper.i
2016-08-06 18:19:27 +03:00
Stinkfist0
4ebee68736
Ifc2x3enum.h: fix header inclusion.
2016-08-06 13:44:35 +03:00
Ali Kämäräinen
a26253321f
Bash on Ubuntu on Windows instructions, readme and cmake improvements ( #113 )
...
* README.md: add note about Visual C++ Build Tools and Bash on Ubuntu on Windows. Enhance the Compiling on *nix instructions.
* Fix newline.
* README.md tweak
* CMakeLists.txt: remove CHECK_ADD_OCE_OCC_DEF INCLUDE() for good as these are not needed any more at all (OCE codebase also checked and no signs of these).
2016-08-06 10:45:29 +02:00
Thomas Krijnen
4b90e618b0
Add warning #109
2016-08-04 11:47:14 +02:00
Thomas Krijnen
21b35767ba
Fix #109
2016-08-02 15:53:41 +02:00
Thomas Krijnen
e6fbfee766
Check for existence of representation identifier in python wrapper create_shape
2016-08-02 15:44:42 +02:00
Stinkfist0
3cba5e6e94
Rename BUILD_SHARED_LIBS project-wide precompiler definition to IFC_SHARED_BUILD
2016-07-20 22:59:19 +03:00
Stinkfist0
6d6e7c2982
Unify IfcParse's dllimport/export macros with IfcGeom.
2016-07-20 22:49:32 +03:00
Thomas Krijnen
fd4086aa8d
Report errors in string escape sequences more verbosely
2016-07-19 16:41:36 +02:00
Ivano Ras
cd2b0c3a05
fix #106 . ( #107 )
2016-07-19 16:31:37 +02:00
Ivano Ras
42067de44c
use union to remove warning (issue 105). ( #108 )
2016-07-19 16:29:01 +02:00
Thomas Krijnen
240133515a
Unify usage of spaces in Python library code
2016-07-18 15:53:20 +02:00
Thomas Krijnen
b7f23ee701
Implement option to get generic inverses from Python
2016-07-18 14:47:32 +02:00
Ali Kämäräinen
4a85e5e7a5
MSYS build scripts and instructions ( #99 ) and warning fixes
...
* Preliminary MSYS2 + MinGW build scripts and instructions.
* CMakeLists.txt: MinGW tweaks, enforce C++03, suppress warnings for now.
* Fix some GCC warnings.
* Fix unused parameter warnings coming from Ifc*.h.
* Fix warning regarding unreachable code (++jt) on MSVC.
* Add IfcParse_EXPORT for IfcInvalidTokenException
* Fix potentially uninitialized pointer variables.
* Note about OpenCASCADE cyclic dependencies fix.
* GCC warning fix: don't generate 'current_enum' variable that is only set and not used for anything ever
* Work around -Wmaybe-uninitialized warnings about boost::optional constructs. Also prevent passing of negative values for --bounds.
* Remove unused variable.
* CMakeLists.txt: ENABLE_BUILD_OPTIMIZATIONS for GCC (simply enforce -03)
2016-07-15 05:49:32 +02:00
Stinkfist0
3a507ca061
Code doc tweak
2016-07-11 22:41:18 +03:00
Stinkfist0
6bcabfd567
Dllimport/export for IfcGeom. Closes #77
2016-07-11 22:37:50 +03:00
Thomas Krijnen
435eb7ae10
Update python module install script
2016-06-28 15:48:58 +02:00
Thomas Krijnen
17e153d0c5
Fix rename conflict after merge
2016-06-22 15:52:31 +02:00
Thomas Krijnen
aebb9e324b
Geometry serialization ( #71 )
...
Serialize geometry to IFC instances directly from a TopoDS_Shape
2016-06-22 15:03:18 +02:00
Thomas Krijnen
90ad3a4a93
Merge pull request #97 from aothms/dynamic_lib_fixes_2
...
Dynamic lib fixes
2016-06-22 14:57:16 +02:00
Thomas Krijnen
478bda30bc
Install both libraries. Force IfcGeom to static on Windows. Correct IfcParse linkage. Update IfcMax
2016-06-22 14:54:55 +02:00
Thomas Krijnen
69535800b5
Do no silently drop invalid faces from IfcConnectedFaceSets
2016-06-21 11:27:59 +02:00
Thomas Krijnen
ee2303d965
Support for IfcExtrudedAreaSolidTapered
2016-06-21 11:25:10 +02:00
Thomas Krijnen
b792aba95f
Support for *BrepWithVoids
2016-06-21 11:19:51 +02:00
Thomas Krijnen
8f55aa732d
IfcParameterizedProfileDef.Position and IfcSweptAreaSolid.Position optional in IFC4
2016-06-21 11:18:16 +02:00
Thomas Krijnen
2c2be389fb
Fix header parsing
2016-06-21 11:11:16 +02:00
Thomas Krijnen
62a0f21a57
Fix #94
2016-06-20 11:34:13 +02:00
Ali Kämäräinen
3c418e8e0a
Windows batch script enhancements ( #88 )
...
* Make possible to invoke run-cmake.bat, build-ifcopenshell.cmd (now bat), install-ifcopenshell.cmd (now bat) directly from File Explorer or command prompt without VS env vars set, if BuildDepsCache file exists, by utilizing CMake's --build functionality. Do not delete CMakeCache.txt always now in order to keep the build options consistent.
* win/readme.md tweaks + make the line width smaller
* Windows batch files: use the last modified BuildDepsCache. Show an error if GEN_SHORTHAND does not exist.
2016-06-17 22:30:33 +02:00
Johannes Obermayr
ea6fbc77dd
Bring back logic for BUILD_SHARED_LIBS.
...
Also remove C++11 code.
2016-06-14 20:30:02 +02:00
Thomas Krijnen
be10bc46ca
More elaborate error reporting
2016-06-12 11:22:08 +02:00
Thomas Krijnen
f4fd3a5ca1
Compiler warnings
2016-06-12 10:43:28 +02:00
Ali Kämäräinen
685717b8b8
Fix build of IfcWrap ( #90 )
2016-06-09 22:49:00 +02:00
stgatilov
8725c66306
Performance improvement of IfcParse tokenizer ( #82 )
...
* Applied MSVC tabify to IfcParse.cpp/h.
* Now Argument base class has throwing implementation for each conversion operator (removed those from derived classes).
* Added NullArgument class for the case when null arguments appear after setting elements.
* Now operator tokens are handled just like any other token.
* Refactoring: Token is now a struct with good fields, not a nameless pair.
* Now end position of token is set at its construction.
* Now type of token is determined on construction, as* function simply check stored type.
* Now int-s, float-s and some etc are parsed when token is created.
* Implemented simple way to remove spaces in parsing.
* Tokens are now created without allocations.
* Call RemoveTokenSeparators once for every token.
* Added temporary std::string object in lexer (for optimization purposes).
* Reimplemented asString without allocations.
* Parsing keywords without allocations.
* Added checks for type to tokenFunc::as*** functions.
2016-06-09 18:25:50 +02:00
Thomas Krijnen
cbbdb61a0c
Merge pull request #89 from aothms/dynamic_lib_fixes
...
Dynamic lib fixes (#79 )
2016-06-09 10:51:05 +02:00
Thomas Krijnen
b3167cf1e6
build script simplification
2016-06-09 10:48:43 +02:00
Thomas Krijnen
44f785cce0
Merge branch 'master' into dynamic_lib_fixes
...
# Conflicts:
# cmake/CMakeLists.txt
2016-06-09 10:46:58 +02:00
Thomas Krijnen
8e998ec7db
MSYS2 Mingw64 compilation ( #84 )
2016-06-09 10:39:27 +02:00
Thomas Krijnen
fc50e6ac23
Revert change adding additional argument to ColladaSW::Scene constructor
2016-06-05 14:41:17 +02:00
Thomas Krijnen
815ed07192
MinGW fixes and warnings
2016-06-05 14:03:03 +02:00
Thomas Krijnen
009870135f
Merge branch 'pr/78' into mingw
2016-06-05 14:01:55 +02:00
Stinkfist0
dbc59fe346
Add .vscode to ignored files
2016-06-03 10:03:58 +03:00
Stinkfist0
08aeb80f58
Make set-python-to-path.bat callable from outside locations
2016-06-02 14:39:29 +03:00
Stinkfist0
7f2729c956
.gitignore: ignore __pycache__ in general
2016-06-02 14:36:55 +03:00
Stinkfist0
4d6e25fb69
Also mark the full URL source for Ifc2x3* files
2016-06-02 14:36:09 +03:00
Stinkfist0
37aadcbfbf
Update the source information for Ifc4* files
2016-06-02 14:20:12 +03:00
Stinkfist0
74a3f131be
Make IfcException's dtor and what() virtual
2016-05-31 17:08:39 +03:00
Stinkfist0
77b72a9dde
IfcException.h: suppress C4275 warnings
2016-05-31 14:45:22 +03:00
Stinkfist0
c644ffbe5e
Move wildcard_string_to_regex() from IfcParse to IfcGeom as it's not really related to parsing IFC at all.
2016-05-31 14:04:44 +03:00
Stinkfist0
aa03da20a8
Bump up non-MSVC compiler's warning level to a level somewhat similar to MSVC.
2016-05-30 17:44:36 +03:00
Stinkfist0
42acc7224c
Add couple missing IfcParse_EXPORTs + add a missing license information
2016-05-30 17:12:53 +03:00
Stinkfist0
53fadd9808
CMakeLists.txt: document usage of IFCDIRS.
2016-05-30 15:29:45 +03:00
Thomas Krijnen
4afc568a41
Remove unsupported feature from IfcGeomServer
2016-05-30 14:14:45 +02:00
Stinkfist0
906fefaf35
Fix installation of IfcParse DLL.
2016-05-30 15:12:07 +03:00
Stinkfist0
90a2c445ea
Fix broken build of the project when BUILD_SHARED_LIBS=1
2016-05-30 13:54:24 +03:00
Stinkfist0
cae24a9492
Fix warnings regarding unused variables.
2016-05-30 13:44:03 +03:00
Stinkfist0
8b3d581131
README: IFC4 -> IFC4 Add1
2016-05-30 13:20:03 +03:00
Stinkfist0
c13eb9e131
The usual way of doing MSVC dllimport/export. Add a warning print if building as DLL against the static VC-runtime.
2016-05-30 01:09:39 +03:00
Fredounet
3b169219af
MSYS2 Mingw64 compilation. Compilation successful considering everything but the following:
...
- IFC4 (only IFC2x3 tried; should work)
- VLD
- IfcMax
- shared libraries
2016-05-29 17:58:03 +01:00
Thomas Krijnen
83243ec514
IFCPARSE_STATIC_DEFINE only when BUILD_SHARED_LIBS is not set
2016-05-29 14:18:18 +02:00
stgatilov
b5c4eb3b6f
IfcParse dynamic linking, IFCPARSE_NO_REGEX, fixes for three memory leaks ( #76 )
...
* CMake: moved setting link directories before all the projects.
* Added IfcParse_Export header for declaring export macro.
* Added IFCPARSE_STATIC_DEFINE macro to all projects.
* Added include for export macro to swig file.
* Added IfcParse_EXPORT macro for all classes in headers generated by express parser.
* Allow removing boost.regex dependency by defining macro IFCPARSE_NO_REGEX.
* Fixed bug in deletion of ICU converter.
* Added export macro to most of the classes across headers
* Fixed memory leak: delete nested IfcAbstractEntity in EntityArgument.
* Fixed memory leak in destructor of IfcWritableEntity (args values).
2016-05-29 14:12:57 +02:00
Thomas Krijnen
a298903fdd
IfcGeomServer settings
2016-05-28 16:08:31 +02:00
Fredounet
ccb24948df
Merge pull request #1 from IfcOpenShell/master
...
Fresh-Upgrade-1
2016-05-28 09:43:59 +01:00
iNEHCi
5bdb4ce668
Add IfcReinforcingBar/IfcSweptDiskSolid generation example
2016-05-27 10:18:39 +02:00
Thomas Krijnen
9909e2f7e2
Don't emit OBJ vertex normal if absent (e.g --weld-vertices)
2016-05-24 15:01:34 +02:00
Thomas Krijnen
38d1ec7a78
#28
2016-05-24 13:50:50 +02:00
Thomas Krijnen
85ddae1228
Do not set wire tolerance prior to creating face
2016-05-24 12:51:00 +02:00
Thomas Krijnen
06c3f8d6a9
Record conversion status on IfcFaceBasedSurfaceModel
2016-05-24 12:50:32 +02:00
Thomas Krijnen
b04ca74308
Derive minimal face area from modeling precision
2016-05-24 12:50:05 +02:00
Thomas Krijnen
7c0944e43b
Defer pythonOCC imports in order not to break if unavailable
2016-05-19 13:31:54 +02:00
Thomas Krijnen
a1c660f4ab
Fix static linking
2016-05-19 11:34:04 +02:00
Thomas Krijnen
2a5974fde1
Remove superfluous error message
2016-05-18 17:28:58 +02:00
Thomas Krijnen
e2ffd0b6d6
Fix IFC4 compilation
2016-05-18 17:15:44 +02:00
Thomas Krijnen
9bff4876c5
Don't apply rpaths on windows due to possible path separator conflicts
2016-05-15 15:51:12 +02:00
Johannes Obermayr
42188904af
Fixes to build on openSUSE/Packman. ( #67 )
...
- Support different BINDIR, INCLUDEDIR and LIBDIR on install
- Take right python dir on x86_64 arch
- Fix build against Boost >= 1.58
- Make it possible to build libIfcGeom shared to reduce size of dependent binaries
- Fix INSTALL_RPATH
- Fix some more compiler warnings
2016-05-15 15:47:21 +02:00
Lars Moastuen
414d7bb810
OBJ precision and log messages
...
* Fixes #68 : Increase precision in OBJ files (regression in commit 43f5d44 )
* Add some verbose logging of a few geometry errors
2016-05-13 12:59:00 +02:00
Thomas Krijnen
01269e5dd5
Fix missing include for debug build
2016-05-11 14:01:38 +02:00
Ivano Ras
0253c1ddbe
Extended error logging
...
Fixes #33
2016-05-11 10:56:40 +02:00
Thomas Krijnen
3f5d30f497
Merge pull request #65 from iras/nested_argument_list_bug
...
separated nested argument lists to avoid an error when compiling with…
2016-05-05 11:03:38 +02:00
iras
3d2ab25175
separated nested argument lists to avoid an error when compiling with gcc.
2016-05-05 08:09:45 +01:00
Thomas Krijnen
d4dc933b99
Qualify auto keyword
2016-05-04 17:30:31 +02:00
Thomas Krijnen
d54c1cdc9c
Remove compiler warning
2016-05-03 16:32:36 +02:00
Thomas Krijnen
c848a7dbe0
remove redundant type attribute on latebound entity instance
2016-05-03 11:24:26 +02:00
Thomas Krijnen
60cf4ab757
Additional check pertaining to face surfaces
2016-05-03 11:22:15 +02:00
Thomas Krijnen
2c3fa89dd0
Preprocessor consistency
2016-05-03 11:21:39 +02:00
Thomas Krijnen
e9c7cf235b
Fix compiler warning
2016-05-03 11:19:46 +02:00
Thomas Krijnen
fefa8a0563
option to pass settings to pyqt4 app
2016-05-03 11:05:46 +02:00
Thomas Krijnen
04acfe1169
Fix #63
2016-05-03 11:01:47 +02:00
Thomas Krijnen
0e25787df3
Merge pull request #64 from aothms/layerset_slicing
...
Layerset slicing
2016-05-02 16:14:14 +02:00
Thomas Krijnen
3c3bee71d1
Don't process mapped items in case of material layer associations
2016-05-02 16:11:06 +02:00
Thomas Krijnen
37f0e09947
Fix compiler warnings
2016-05-02 15:56:08 +02:00
Thomas Krijnen
39e26dff46
Merge branch 'master' into layerset_slicing
...
# Conflicts:
# src/ifcconvert/IfcConvert.cpp
# src/ifcgeom/IfcGeom.h
# src/ifcgeom/IfcGeomFunctions.cpp
# src/ifcgeom/IfcGeomIteratorSettings.h
2016-05-02 15:13:30 +02:00
Thomas Krijnen
2f129556fd
Merge pull request #47 from aothms/performance_improvements
...
Performance improvements
2016-05-01 20:43:37 +02:00
Thomas Krijnen
a1d584796a
Set reasonable defaults for caching behavior
2016-05-01 20:38:10 +02:00
Thomas Krijnen
c6d5adfa42
Merge branch 'master' into performance_improvements
...
# Conflicts:
# src/ifcexpressparser/implementation.py
# src/ifcgeom/IfcGeomFunctions.cpp
# src/ifcparse/Ifc4.cpp
2016-04-24 15:22:10 +02:00
Thomas Krijnen
1e262c8768
Update build script to install pyqt app
2016-04-23 11:42:11 +02:00
Thomas Krijnen
d8919c50ab
Fix serialization of list of list of entity instance
2016-04-19 16:44:08 +02:00
Thomas Krijnen
416b163050
Correct display_shape on TopoDS_Shape
2016-04-19 15:42:59 +02:00
Thomas Krijnen
1d1fb6d27a
First steps towards a PyQt4 application
2016-04-17 15:27:05 +02:00
Thomas Krijnen
9fedbbff6d
Only convert faces once if sewing shell fails pt.2
2016-04-17 15:12:02 +02:00
Thomas Krijnen
1c1097c8a4
Only convert faces once if sewing shell fails
2016-04-16 14:47:34 +02:00
Thomas Krijnen
884b3fe850
Project wires onto a plane if non-planar. Fixes #57 .
2016-04-16 14:47:09 +02:00
Thomas Krijnen
81ee60079e
Enable per-item styles in the pythonOCC viewer
2016-04-11 11:50:43 +02:00
Thomas Krijnen
426b1279e3
Implement __hash__ and __eq__ functions on entity_instance
2016-04-09 20:20:08 +02:00
Thomas Krijnen
1142db3265
remove msvc specific leniencies
2016-04-09 17:54:23 +02:00
Thomas Krijnen
191c029546
Correctly allow rule labels to be optional
2016-04-09 13:29:35 +02:00
Thomas Krijnen
9bcfe2f50e
Generate code for IFC4_ADD1
2016-04-08 23:24:35 +02:00
Thomas Krijnen
fa585e60ee
Update EXPRESS code generator to work on ancient IFC schemas
2016-04-08 23:23:45 +02:00
Thomas Krijnen
0ff9de3cd9
Update EXPRESS code generator to work on ancient IFC schemas
2016-04-08 23:23:29 +02:00
Thomas Krijnen
63c3b54762
Merge pull request #56 from Tridify/obj_mtl_fix
...
Fix temp name usage of .mtl file
2016-03-28 11:17:20 +02:00
Stinkfist0
d7f990d8bd
IfcConvert: Do not use temp file for MTL as it's such a small file. Fixes #55 .
2016-03-28 11:47:21 +03:00
Stinkfist0
b59e8e22a7
IfcConvert: Show an error msg if renaming from temp to final file fails.
2016-03-28 11:47:02 +03:00
Thomas Krijnen
25a5135e8d
Disable geometry re-use with world coords
2016-03-27 21:18:28 +02:00
Thomas Krijnen
4c574df1a4
Immediately emit to serializer and remove option to obtain ownership of objects
2016-03-27 21:17:51 +02:00
Thomas Krijnen
f3d5954aee
Merge pull request #53 from shsteven/fix_build_script_osx_boost
...
Fix build script under os x
2016-03-24 10:42:03 +01:00
Steven Zhang
7d145a5f69
fix build script under os x
2016-03-24 15:07:52 +08:00
Thomas Krijnen
5b30dfc580
Set required boost components again after merge
2016-03-23 10:27:34 +01:00
Thomas Krijnen
e1bb6c95c3
Merge pull request #51 from shsteven/osx_build_fix
...
Fix build script under os x
2016-03-23 10:15:56 +01:00
Steven Zhang
edc6f8ebd4
fix build script under os x
2016-03-23 15:27:03 +08:00
Thomas Krijnen
ee56aad90d
Merge branch 'master' into performance_improvements
...
# Conflicts:
# src/ifcconvert/ColladaSerializer.cpp
# src/ifcconvert/ColladaSerializer.h
# src/ifcgeom/IfcGeomIterator.h
# src/ifcgeom/IfcGeomRenderStyles.h
2016-03-22 16:15:28 +01:00
Thomas Krijnen
5c1ac39f19
Merge pull request #42 from Tridify/ifcconvert_enhancements
...
IfcConvert enhancements
2016-03-22 13:28:15 +01:00
Stinkfist0
0fd2f04f08
Utilise Collada stream's double precision feature
2016-03-21 11:42:40 +02:00
Stinkfist0
b171bd4a14
Add note/todo regarding Collada stream's double precision feature.
2016-03-20 13:13:15 +02:00
Stinkfist0
54a9d72e25
IfcConvert: use temp file when writing output.
2016-03-20 12:48:20 +02:00
Stinkfist0
798597d5d9
IfcConvert: check that input file exist early, print filenames in error prints
2016-03-18 22:33:03 +02:00
Stinkfist0
f7453c033a
IfcConvert: check if output file already exists and ask user for confirmation for overwriting. Overwriting can be forced with -y/--yes
2016-03-18 22:14:05 +02:00
Stinkfist0
bf76bd17b2
Add large_offset.ifc (wallwindow.ifc, courtesy of @klokoy) as test input case.
2016-03-18 14:45:00 +02:00
Thomas Krijnen
59d2d227d9
Directly re-use IfcMappedItem triangulated elements when not using world coordinates
2016-03-18 11:23:25 +01:00
Thomas Krijnen
4a3a0bff71
Cleanup triangulations after use
2016-03-18 11:21:23 +01:00
Thomas Krijnen
8ecc1269d7
Compile-time options to manipulate caching behaviour
2016-03-18 11:21:04 +01:00
Thomas Krijnen
614148e5e4
Don't iterate past material indices in collada serializer
2016-03-18 11:18:02 +01:00
Thomas Krijnen
74e495cec0
python2.7 compatibility on code generator
2016-03-18 11:17:26 +01:00
Thomas Krijnen
0ceef8fe67
Use constant time parent enumeration lookup
2016-03-18 11:14:14 +01:00
Stinkfist0
562f38756f
Calculate and store min. and max. placements IfcGeom::Iterator. Implement --center-model for OBJ.
2016-03-17 23:25:53 +02:00
Stinkfist0
76d3823bd4
Make UVs a property of IfcGeom::Representation::Triangulation. Implement writing of UVs for OBJ output.
2016-03-17 00:25:33 +02:00
Thomas Krijnen
28560d164c
Add IfcGeomServer description
2016-03-12 16:54:21 +01:00
Stinkfist0
923f1212f5
Clean up program_options printings
2016-03-11 10:05:33 +02:00
Stinkfist0
e9f551ea71
--names for filtering included or excluded entities by name, e.g. --include --names "Wall Compound*"
2016-03-10 21:15:50 +02:00
Stinkfist0
b9c5b0e6c8
Add IFCCONVERT_DOUBLE_PRECISION build option
2016-03-10 17:00:06 +02:00
Stinkfist0
4953b35849
--generate-uvs, applicable for DAE only currently
2016-03-10 16:46:20 +02:00
Stinkfist0
83e5096570
Support for --deflection-tolerance
2016-03-10 16:09:39 +02:00
Stinkfist0
5008c3503d
--center-model for DAE output, fixes #8 (TODO: implement also for OBJ)
2016-03-10 14:39:42 +02:00
Stinkfist0
ce38854cff
Add --no-normals
2016-03-10 13:29:22 +02:00
Stinkfist0
24e2aece0b
Rename --use-guids and --use-names to --use-element-guids and --use-element-names. Add explicit --use-material-names for controlling material naming.
2016-03-10 12:01:04 +02:00
Stinkfist0
43f5d446ec
Implement --use-names and --use-guids for DAE, OBJ, and SVG output.
2016-03-10 11:35:32 +02:00
Stinkfist0
50a467fda5
Fix IfcUtil::wildcard_string_to_regex()
2016-03-07 23:15:29 +02:00
Stinkfist0
0da0e63687
Begin to implement IfcConvert enhancements discussed in #20 . Remove C++-specific getters and setters and use the same set() and get() functions in in both C++ and Python. Enhance output of IfcConvert, especially in error situations (spamming a hundred lines of options always hides the original error message), utilize Boost's foreach macro to provide cleaner iteration code.
2016-03-07 22:37:36 +02:00
Stinkfist0
e35cefac52
Fix crash (deleting garbage ptr) when nonexisting file passed to IfcSpfStream ctor. Bug surfaced due to recent memory leak fix.
2016-03-07 22:37:04 +02:00
Stinkfist0
84e7a86e77
XmlSerializer: handle openings. Original author of the commit/idea @otsoa.
2016-03-07 22:37:03 +02:00
Thomas Krijnen
82a1e33386
Merge pull request #39 from Tridify/fixed_opencollada_revision
...
Use a fixed revision of OpenCOLLADA...
2016-03-05 13:50:41 +01:00
Thomas Krijnen
827c6fd407
Build script fixes and compatibility with OSX / bash 3.2
2016-03-03 20:36:16 +01:00
Stinkfist0
851fadb4ec
build-deps.cmd: GitCloneAndCheckoutRevision - always checkout the revision, so that users don't have the nuke their existing clones before running the script.
2016-02-27 17:44:45 +02:00
Thomas Krijnen
90f72c4b2c
Merge pull request #35 from Tridify/ifcmax
...
Create CMake file for building IfcMax
2016-02-27 15:52:10 +01:00
Stinkfist0
7ed219af70
Use a fixed revision of OpenCOLLADA in order to prevent introducing breaking changes. Closes #36 , related to #38
2016-02-25 17:34:41 +02:00
Stinkfist0
d1a1759016
Use a fixed revision of OpenCOLLADA in order to prevent introducing breaking changes. Closes #36 , related to #38
2016-02-25 17:23:04 +02:00
Thomas Krijnen
acc4af87d6
Merge pull request #34 from yilativs/master
...
Set cmake search paths to ubuntu 16.04 package manager defaults
2016-02-24 09:03:06 +01:00
Stinkfist0
ee75545ecd
README tweaks
2016-02-21 16:52:00 +02:00
Stinkfist0
58b5838da9
README.md tweaks
2016-02-20 00:43:35 +02:00
Stinkfist0
e171e308d0
Enable solution folders
2016-02-20 00:13:04 +02:00
Stinkfist0
645315a8f4
remove win/sln as these are not needed anymore
2016-02-19 23:02:09 +02:00
Stinkfist0
5ee9bed590
CMakeLists.txt for IfcMax. Tested with VS 2015 and 3ds Max + SDK 2016
2016-02-19 22:53:09 +02:00
yilativs
0f88520e75
[fix] CmakeLists.txt now works on ubuntu 16.04 without the need to compile oce
...
instead you can
apt-get install git swig cmake gcc g++ libftgl-dev libtbb2 libtbb-dev libboost-all-dev libgl1-mesa-dev libfreetype6-dev liboce-modeling-dev opencollada-dev liboce-foundation-dev
2016-02-19 20:28:46 +03:00
aothms
481515f5ae
Add missing include
2016-02-18 16:57:22 +01:00
Thomas Krijnen
a33f5b6e17
Merge pull request #31 from aothms/cmake_compile_schema
...
Add option to compile (external) schema by cmake + general improvements
2016-02-18 15:43:52 +01:00
aothms
10bec3eee0
Replace PYTHONPATH with PYTHONHOME
2016-02-18 14:57:57 +01:00
aothms
da0af77570
Compatibility for older versions of cmake, python, open cascade, boost
2016-02-18 13:17:15 +01:00
aothms
a6094f50b9
Let CMake find python interpreter for schema compilation and installation dir
...
Remove unused compiled schema in cpp installation target
2016-02-17 12:03:38 +01:00
aothms
c3f1b41860
Fix https://github.com/IfcOpenShell/IfcOpenShell/issues/30
2016-02-15 17:59:31 +01:00
aothms
4122759f1a
Add option to compile (external) schema by cmake
2016-02-15 16:59:47 +01:00
Thomas Krijnen
a583339492
Merge pull request #29 from Tridify/win_build_script_improvements
...
Windows build script improvements
2016-02-15 16:14:51 +01:00
Stinkfist0
f12e980bfe
build-all.cmd: simplify "yes" trick
2016-02-15 15:08:13 +02:00
Stinkfist0
4979deb111
CMakeLists.txt: Remove sources specific to an IFC release we are not using from the project
2016-02-09 15:51:18 +02:00
Stinkfist0
c575352d20
~IfcCharacterDecoder: call ucnv_flushCache() to fix two ICU mem leaks.
2016-02-07 23:01:34 +02:00
Stinkfist0
2f8fa3282b
Fix mem leak in IfcSpfStream (not closed upon destruction), make Entity's dtor virtual.
2016-02-07 22:45:42 +02:00
Stinkfist0
993e322a8e
Fix memory leakage from IfcSpfHeader
2016-02-07 13:14:14 +02:00
Stinkfist0
61ccd8a7cf
VLD, not VLC...
2016-02-07 12:28:05 +02:00
Stinkfist0
450baf224f
Remove accidentally committed lines
2016-02-07 00:51:10 +02:00
Stinkfist0
7b2197fa37
add /test/__pycache__ to ignore list
2016-02-07 00:31:29 +02:00
Stinkfist0
cde1c5f2ee
Add build option for using Visual Leak Detector for debugging memory leaks. Initial report:
...
- IfcConvert (no arguments): 2 leaks (140 bytes) (from OCE)
- IfcConvert (acad2010_objects.ifc): 47 memory leaks (6,158 bytes)
- IfcGeomServer: 2 leaks (from OCE)
- IfcOpenHouse: 11,952 leaks (1,169,658 bytes)!
- IfcParseExamples (acad2010_objects.ifc): 40 memory leaks (4,564 bytes)
2016-02-07 00:30:08 +02:00
Stinkfist0
33772a4710
run-cmake.bat & build-all.cmd: fix cmake arguments parsing when arguments passed for the batch scripts
2016-02-06 18:48:18 +02:00
Stinkfist0
178c34fb22
README.md: document the supported IFC releases with links
2016-02-05 14:48:51 +02:00
Stinkfist0
17ecc43f78
vs-cfg.cmd: remove if-clause, an erroneous syntax print comes if this script is called when VS env vars not set but that's OK.
2016-02-04 11:46:53 +02:00
Stinkfist0
72999e04d9
vs-cfg.cmd: clean up output when used wrongly (VS tools not in path and empty/no generator argument passed).
2016-02-04 00:43:52 +02:00
Stinkfist0
f191b1fdd2
Fix warning regarding shadowing variable names.
2016-02-03 22:34:50 +02:00
Stinkfist0
d095bfecde
Fix command-line argument parsing in run-cmake.bat and build-all.cmd
2016-02-03 22:16:50 +02:00
Stinkfist0
2e1699beea
build-all.cmd: support for passing arguments, e.g. build-all.cmd vs2015-x64 RelWithDebInfo -DUSE_IFC4=1 -DENABLE_BUILD_OPTIMIZATIONS=1
2016-02-03 16:36:07 +02:00
Stinkfist0
5c07c8dc95
run-cmake.bat print tweak
2016-02-03 16:15:40 +02:00
Stinkfist0
0fa05faee8
Simplify run-cmake.bat, the script can now be used e.g. run-cmake.bat vs2015-x64 -UDUSE_IFC4=1 -DCMAKE_INSTALL_PREFIX=C:/IfcOpenShell/Ifc4
2016-02-03 16:12:52 +02:00
Stinkfist0
21e8a1e8e6
vs-cfg.cmd: provide support for user-friendly VS generators, e.g. vs2013-x86, and converted them to the appropriate CMake ones.
2016-02-03 16:10:55 +02:00
Stinkfist0
2e6601b3e7
build-deps.cmd: do not print build times if build did not even start properly.
2016-02-03 16:10:55 +02:00
Stinkfist0
634932e6e7
run-cmake.bat: set CMAKE_INSTALL_PREFIX also when passing extra parameters for the script
2016-02-03 16:10:55 +02:00
Stinkfist0
a041d289c6
Add build-all.cmd script for convenience.
2016-02-03 16:10:55 +02:00
Stinkfist0
01f8882311
adjust build-ifcopenshell & install-ifcopenshell to the build cfg batch file change
2016-02-03 16:10:54 +02:00
Stinkfist0
f2bdfbd049
Windows build scripts: move build configuration type to a separate file.
2016-02-03 16:10:32 +02:00
Stinkfist0
c7bf03e8f8
Add set-python-to-path.bat helper, add instructions for using preinstalled Python.
2016-02-03 16:10:32 +02:00
Stinkfist0
18e451b874
Windows build scripts: detect case where user installed Visual Studio but not the C++ toolset. Also detect case where user's CMake version is too old for the desired generator.
2016-02-03 16:10:32 +02:00
aothms
f4d58b3969
Fix for IfcAdvancedFace when compiling for 2x3
2016-02-01 14:58:42 +01:00
aothms
76a3146b70
Fix one statement deleted too much in https://github.com/IfcOpenShell/IfcOpenShell/commit/f3af39546be9ecd485737ff0954cfb92807fca1d
2016-01-29 15:25:18 +01:00
aothms
fe70acb541
Fix https://github.com/IfcOpenShell/IfcOpenShell/issues/26
2016-01-26 16:45:39 +01:00
Stinkfist0
a52901344c
build-deps.cmd: print start, end, and elapsed time + .gitignore doc tweak
2016-01-26 13:41:19 +02:00
Thomas Krijnen
d0e26f07fc
Merge pull request #25 from aothms/master
...
Refactoring shared_ptr and array usage
2016-01-25 16:00:49 +01:00
aothms
5270710fc2
Use vanilla C arrays instead of std::tr::array
...
Fixes https://github.com/IfcOpenShell/IfcOpenShell/issues/17
2016-01-25 14:44:35 +01:00
aothms
ed8cc620ea
Use boost::shared_ptr
...
Fixes https://github.com/IfcOpenShell/IfcOpenShell/issues/17
2016-01-25 14:42:41 +01:00
aothms
9b13ed3f38
Emit more debug information when failing to join curve segments
2016-01-25 14:25:24 +01:00
aothms
801c7da40f
Use multiple argument boolean operands for IfcOpeningElement subtractions
2016-01-25 13:30:33 +01:00
aothms
4be7da1a43
Use fuzzy boolean subtraction if available
...
Remove collinear points from polygonal halfspace boundary
Lookup styled items on boolean operation operands
Fixes https://github.com/IfcOpenShell/IfcOpenShell/issues/6
Fixes https://sourceforge.net/p/ifcopenshell/discussion/1782717/thread/a7f99e41/?limit=25#5c36
2016-01-22 17:27:28 +01:00
aothms
a0db3a3406
chmod +x on *nix build script
2016-01-09 06:42:35 +01:00
aothms
18f8d7b3a3
Add *nix build script
...
Set paths by CMake cache entries or env vars
Windows build script: Don't fail on non-zero exit code returned by `git fetch`
2016-01-09 06:38:33 +01:00
Thomas Krijnen
010e05308d
Merge pull request #19 from aothms/master
...
Fixes for sequences of extended control directives
2016-01-08 09:20:50 +01:00
aothms
973fa9ccb5
Fixes for sequences of extended control directives
2016-01-08 09:17:49 +01:00
aothms
0d42a293ad
Add license header to occ_utils
2016-01-08 08:38:21 +01:00
Thomas Krijnen
a02a06a0e3
Merge pull request #16 from Tridify/win_oce_update
...
Windows build scripts: OCE & OpenCOLLADA updates
2016-01-06 07:29:06 +01:00
Stinkfist0
d3438335a2
Work around https://github.com/KhronosGroup/OpenCOLLADA/issues/377
2015-12-30 16:26:16 +02:00
Stinkfist0
a0bb589ed3
build-deps.cmd: use OCE and oce-win-bundle from the official repos.
2015-12-30 13:32:22 +02:00
Thomas Krijnen
056bcd12d0
Merge pull request #14 from aothms/master
...
Various fixes
2015-12-21 11:51:45 +01:00
aothms
fe699e0a81
Fix python module import
2015-12-21 11:47:38 +01:00
aothms
4eee9a1936
Merge remote-tracking branch 'official/master'
...
Conflicts:
src/ifcconvert/IfcConvert.cpp
src/ifcgeom/IfcGeomIterator.h
2015-12-21 11:36:23 +01:00
Thomas Krijnen
8c1710cae1
Merge pull request #11 from Tridify/windows_build_scripts
...
build-ifcopenshell & install-ifcopenshell batch files
2015-12-07 19:21:24 +01:00
Stinkfist0
e2d3b3734f
Use IFCOS_NUM_BUILD_PROCS also in build-ifcopenshell.cmd and install-ifcopenshell.cmd.
2015-12-07 16:30:08 +02:00
aothms
b243572d23
Don't fail on opening elements lacking representation or placement
2015-12-05 17:14:10 +01:00
Stinkfist0
3224a2cf83
build-ifcopenshell & install-ifcopenshell batch files
2015-12-04 17:33:13 +02:00
aothms
a2d91f9331
Fix compilation error reported by bezumenez
2015-12-04 11:56:54 +01:00
aothms
0301e2fb1b
Emit an error message on extrusions with negative height or under model precision
2015-12-02 10:17:59 +01:00
Thomas Krijnen
0036bd2dc2
Merge pull request #9 from Tridify/windows_build_scripts
...
Windows & Visual Studio build scripts continued
2015-12-01 14:27:34 +01:00
Stinkfist0
0877bb0ac3
Windows build scripts: if CMake generator not passed, deduce the generator from VS env vars.
2015-12-01 14:53:16 +02:00
aothms
e62ce005dc
Work on unit issues with step and iges files
2015-12-01 11:14:50 +01:00
aothms
b6e2d78bfa
Catch syntax errors during iterator initialization
2015-11-30 23:41:27 +01:00
aothms
bf292cccd0
Precision fixes
2015-11-30 22:59:21 +01:00
aothms
9d730054dd
Merge branch 'master' into layerset_slicing
2015-11-24 17:19:05 +01:00
Stinkfist0
2dc5cd44b7
Enable warning C4100 ("'identifier' : unreferenced formal parameter") and fix warnings.
2015-11-23 15:52:12 +02:00
Stinkfist0
fcbe93c4c2
vs-cfg.cmd: support CMake pre-3.0 Visual Studio generator strings.
2015-11-23 15:27:58 +02:00
Stinkfist0
89b3b96f1e
.gitignore: add /src/ifcexpressparser/__pycache__ & /src/ifcexpressparser/express_parser.py
2015-11-22 02:39:45 +02:00
Stinkfist0
16a82f035f
templates.py: disable C4100 warnings for headers created by this file + move <map> inclusion to .cpp as it's not needed in .h + use spaces instead of tabs consistently for these files as seems to be the convention.
2015-11-22 02:26:28 +02:00
Stinkfist0
b562508f5b
win/readme.md tweak
2015-11-22 00:04:21 +02:00
Stinkfist0
a13042f227
Fix warnings: unused variables, shadowing variable names, constant conditional expressions, integer conversions, inability to generate copy-ctor and/or assignment operator, etc.
2015-11-21 23:05:28 +02:00
Stinkfist0
3cbb47a831
Bump up MSVC warning level.
2015-11-21 23:01:29 +02:00
Stinkfist0
7d806296c1
vs-cfg.cmd: use the longer generator names for all generator so that VS version can be identified in generic fashion
2015-11-21 13:16:47 +02:00
Stinkfist0
d6bd0c861b
README.md formatting fix
2015-11-21 13:15:31 +02:00
Thomas Krijnen
8164c90ba0
Merge pull request #5 from Tridify/windows_build_scripts
...
Windows & Visual Studio build scripts
2015-11-20 13:38:45 +01:00
Stinkfist0
fff6f97651
build-deps: when building OpenCOLLADA, enforce that the embedded LibXml2 and PCRE are used as there might be problems with arbitrary versions of the libraries.
2015-11-20 12:45:56 +02:00
Stinkfist0
6a5d5dcb12
Further cleanup for the batch scripts.
2015-11-20 12:34:31 +02:00
Stinkfist0
bb3dc351b8
Batch file tweaks, fix printing of the used generator
2015-11-20 11:44:17 +02:00
Stinkfist0
90946e0877
Windows build scripts: TODO & indentation tweaks.
2015-11-20 00:45:01 +02:00
Stinkfist0
7895835ca3
build-deps.cmd: check that powershell, git and cmake are in path using where.exe. Print instructions upon missing VS env vars or tools in PATH.
2015-11-19 18:01:03 +02:00
Stinkfist0
7caa4e3e1d
Replace cecho.exe with PowerShell snippet, fix exit bug in vs-cfg.cmd, fix Visual Studio download URL, rename IFCOS_NUM_BUILD_PROCESSES -> IFCOS_NUM_BUILD_PROCS
2015-11-19 17:30:55 +02:00
Stinkfist0
d721dabf3b
Replace wget usage with PowerShell.
2015-11-17 16:02:06 +02:00
Stinkfist0
9087bc65a7
win/readme.md tweaks
2015-11-14 20:18:29 +02:00
Stinkfist0
ccf4e84e18
CMakeLists.txt: Clean up addition of debug lib variants on MSVC.
2015-11-14 19:19:55 +02:00
Stinkfist0
0f1db1267b
Rename readme.txt to readme.md, link to the Windows readme.md from the main README.md.
2015-11-11 17:41:38 +02:00
Stinkfist0
431e993ba3
CMake biz: Instead of providing elusive prints of missing dependencies for required features and continuing the build configuration, fail fast instead; user can easily disable the feature or fix the paths for the dependency.
2015-11-11 13:30:30 +02:00
Stinkfist0
d912e73282
Allow both debug and release variants of dependencies to co-exist allowing effortless switching between IfcOpenShell debug and release builds.
2015-11-10 23:18:02 +02:00
Stinkfist0
106da12444
build-deps.cmd: make debug libs of OpenCOLADA and ICU to have "d" postfix so that release and debug variants can co-exist in the same dir as is the default with OCE.
2015-11-10 20:05:11 +02:00
Stinkfist0
89a015724b
CMake biz: rename OCE_LIBRARIES to OPENCASCADE_LIBRARIES, use this variable also in examples & qtviewer CMakeLists.txt
2015-11-09 17:42:46 +02:00
Stinkfist0
8b63959509
Use separate BuildDepsCache.txt for x86 and x64 builds.
2015-11-09 16:04:06 +02:00
Stinkfist0
0a8791e04e
Clean up CMake biz by using OCE_LIBRARIES variable for defining OCE libs + fix setting of PYTHON_INCLUDE_DIR + PYTHON_LIBRARY vars + small README.md cleanup.
2015-11-09 15:36:57 +02:00
Stinkfist0
318779196b
Use BuildDepsCache.txt to store information about used Python version so that it's available for "autonomic" run-cmake.bat runs.
2015-11-05 18:05:20 +02:00
aothms
d076fa588b
Work on runtime representation of schema
2015-11-05 11:55:19 +01:00
Stinkfist0
6190771817
Fix/suppress signed-unsigned int conversion warnings on Windows x64.
2015-11-04 18:27:46 +02:00
Stinkfist0
206a9cf5d0
Work around https://github.com/swig/swig/issues/325
2015-11-04 16:25:13 +02:00
Stinkfist0
d4b51a82e7
Fix/suppress plethora of integer conversion warnings on x64 Visual Studio build.
2015-11-03 17:58:08 +02:00
Stinkfist0
a749775045
build-deps.cmd: use OpenCOLLADA from the official repo now that it has the static MSVC run-time option.
2015-11-03 16:55:33 +02:00
Stinkfist0
26ed16ba52
Make possible to switch between Python 2 & 3 easily. Fixes also possible confusion when having both 32-bit and 64-bit Python installations side by side.
2015-11-03 16:28:30 +02:00
Stinkfist0
7b4d8734ed
run-cmake.bat: ensure Python packages are installed to the right direction.
2015-10-30 22:49:52 +02:00
Stinkfist0
455d382a9e
build-deps.cmd: add option to use Python 2 instead of 3, fix Boost build variant (for some reason error did not manifest itself until clean build)
2015-10-30 21:12:08 +02:00
Stinkfist0
c9313c8e02
build-deps.cmd: update SWIG, build Boost as debug or release, not both, each run.
2015-10-29 00:23:19 +02:00
Stinkfist0
b44a88d203
CMakeLists.txt: install IfcGeomServer executable.
2015-10-28 21:25:48 +02:00
Stinkfist0
921c3eb2d3
SvgSerializer.cpp: add missing #include <Standard_Version.hxx>
2015-10-28 21:25:23 +02:00
Stinkfist0
d5efe45b0b
Update READMEs.
2015-10-28 21:21:23 +02:00
Stinkfist0
b8a7b5426d
build-deps.cmd: fix Python installation. Also uninstall Python if build type is Clean or Rebuild.
2015-10-28 21:08:08 +02:00
Stinkfist0
89bea19b75
Enhanced CMakeLists.txt for Windows build scripts.
2015-10-28 19:45:45 +02:00
Stinkfist0
5c0eb05482
Add Windows build scripts from https://github.com/Tridify/IfcOpenShell-SourceForge
2015-10-28 19:43:10 +02:00
Stinkfist0
c9ff455812
Move Visual Studio solution files from win\ to win\sln
2015-10-28 19:41:59 +02:00
aothms
fdf1b29682
Return shape for arbitrary representation items in ifcopenshell.geom.create_shape()
2015-10-22 12:04:49 +02:00
aothms
f3af39546b
Don't construct transformation from matrix, but use original data.
2015-10-13 11:15:45 +02:00
aothms
44ddc5e6dc
Don't use IfcMappedItems for IfcOpenHouse walls, as suggested by Ian Clévy in https://sourceforge.net/p/ifcopenshell/discussion/1782716/thread/f9b586ca/?limit=25#ab87
2015-10-09 14:23:38 +02:00
aothms
c9db70c7c3
Initial implementation of layerset slicing
2015-10-07 17:33:30 +02:00
aothms
c7ddc0643e
Fixes to flatten_shape_list()
2015-10-07 16:14:34 +02:00
aothms
3a9e90f94f
Mark IfcGeom::Kernel::getValue as const
2015-10-07 16:13:25 +02:00
aothms
db6630c1f8
Use boost::to_lower()
2015-10-05 13:34:43 +02:00
aothms
c20afd24a5
Remove unnecessary precision cast
2015-10-05 13:09:16 +02:00
aothms
7b82bfb477
Update log messages in parser
2015-10-05 13:08:24 +02:00
aothms
3e00139a87
Add const pointer cast to IfcBaseClass
2015-10-05 13:07:40 +02:00
Thomas Krijnen
23beb5691c
Detect abstract entities in schema parser
2015-09-17 10:33:19 +02:00
Thomas Krijnen
c6a265adf8
Merge pull request #2 from aothms/master
...
Assorted fixes
2015-09-13 15:05:46 +02:00
aothms
94d214808e
Use boost::to_upper() and -::to_upper_copy() for string manipulation throughout codebase
2015-09-13 15:00:21 +02:00
aothms
a58b2ede63
Fixes for unicode handling in Python
2015-09-13 14:43:42 +02:00
aothms
e5c20a009d
Add convenience method for relating objects to types. As suggested by Cadline St2.
2015-09-12 14:27:58 +02:00
aothms
b590747db9
Add version information and schema identifier to Python wrapper
2015-09-10 15:53:59 +02:00
aothms
2532ba30e4
Fix addRelatedObject, fix by Cadline St2
2015-09-10 13:58:27 +02:00
aothms
9096895bdb
Support for schemas using TYPE definitions to redeclare BINARY types
2015-09-08 15:27:05 +02:00
aothms
82143f226e
Small changes to SVG serialization
2015-09-06 14:50:07 +02:00
aothms
22a8d9a17b
Don't leave MakeFace in an invalid state when one of the face boundaries cannot be processed or is not planar
2015-09-04 11:48:53 +02:00
aothms
4385f3b14d
Revert some of the typemap work in b96cf38e17 and rely on a general mapping from const vector to tuple
2015-09-04 11:46:52 +02:00
aothms
3cba242295
When built without ICU filter characters outside of unencoded range
2015-08-14 22:11:32 +02:00
aothms
822fa91f4d
Work on a C++ representation of the parsed EXPRESS schema
2015-08-13 14:28:50 +02:00
aothms
266d6f4c97
Cache the output of the parsed express schema as a Python pickle stream for speedier code generation
2015-08-13 14:26:14 +02:00
Thomas Krijnen
8406c5243c
Merge pull request #1 from aothms/master
...
Ignore tail remarks in the express schema parser
2015-08-13 14:20:12 +02:00
aothms
810d3eab1e
Ignore tail remarks in the express schema parser
2015-08-13 14:18:59 +02:00
aothms
17f6e67706
Update README
2015-08-10 11:38:43 +02:00
Thomas Krijnen
f5c32adff1
Be sure to flush fstream when finalizing SVG export
2015-07-26 17:59:52 +00:00
Thomas Krijnen
bb43dec90f
Fix typos
2015-07-26 17:58:08 +00:00
Thomas Krijnen
0e5edbcd84
Reverse preprocessor statement to work without definition, defaulting to 2x3
2015-07-26 15:26:34 +00:00
Thomas Krijnen
68fc361d96
Add SvgSerializer developed in collaboration with ROOT B.V.
2015-07-26 14:26:13 +00:00
Thomas Krijnen
06b4fcb066
Remove orphaned file. Thanks Stinkfist
2015-07-26 14:22:50 +00:00
Thomas Krijnen
85d5d86c84
Update code examples for recent changes
2015-07-09 13:52:55 +00:00
Thomas Krijnen
78f4d7d592
Fix build with Boost 1.58.0. Patch by stinkfist0. Thanks.
2015-07-09 13:23:40 +00:00
Thomas Krijnen
92bc7b13cb
Use custom typemaps for geometry related classes as well
2015-06-26 13:06:28 +00:00
Thomas Krijnen
e518146bd6
Fix IfcCurveBoundedPlane implementation
2015-06-21 16:15:15 +00:00
Thomas Krijnen
e9eb7db620
Fix ensure_fit_for_subtraction() function when input shape is a solid
2015-06-21 16:14:37 +00:00
Thomas Krijnen
1068070037
Do not free the IFC file if it has not been constructed by the iterator
2015-06-20 14:23:59 +00:00
Thomas Krijnen
3d302619c5
Check for numbers.Integral instead of int, to catch py2.7's long type as well
2015-06-20 14:22:54 +00:00
Thomas Krijnen
48febb7eff
Check for null values when setting attributes in IfcOpenShell-Python, also return value being set
2015-06-18 13:15:33 +00:00
Thomas Krijnen
feaa13a809
gcc compatibility
2015-06-18 08:55:29 +00:00
Thomas Krijnen
76cbb79c75
Correctly wrap arbitrarily nested aggregates of entity instance attributes in IfcOpenShell-Python
2015-06-17 19:46:11 +00:00
Thomas Krijnen
6aabbd4a55
Correctly interpret SWIG return code of type check
2015-06-17 19:44:15 +00:00
Thomas Krijnen
48676a733f
Rework SWIG python binding not to rely on polymorhpic functions. Use hand-written typemaps that map vectors to tuples and iterables to vectors. Add support for multidimensional aggregates in Python.
2015-06-17 11:27:02 +00:00
Thomas Krijnen
f8c45b2a99
Fix serialization of binary values
2015-06-17 11:22:43 +00:00
Thomas Krijnen
1ec14118fe
Introduce specific exception for out of range attribute indexing
2015-06-17 11:04:28 +00:00
Thomas Krijnen
381f711103
Update string representation of ArgumentTypeToString
2015-06-16 14:47:03 +00:00
Thomas Krijnen
b748c0a573
Add source code for generation of IfcTriangulatedFaceSet test case
2015-06-16 13:00:19 +00:00
Thomas Krijnen
c4e8a409de
Add another IfcTriangulatedFaceSet test case
2015-06-16 12:59:49 +00:00
Thomas Krijnen
28863f90b9
Add support for IFC4.IfcTriangulatedFaceSet
2015-06-16 12:58:51 +00:00
Thomas Krijnen
4f60c7d48c
Provide concrete C++ implementations for all multidimensional aggregate types in IFC4
2015-06-16 12:58:07 +00:00
Thomas Krijnen
f70b37137d
Emit an error message rather than exception for GlobalId parsing inconsistencies to accomodate files with invalid GlobalIds.
2015-06-04 14:33:13 +00:00
Thomas Krijnen
49d491704e
Add support for IfcBSplineCurveWithKnots
2015-06-02 15:56:09 +00:00
Thomas Krijnen
a3f17cd4e7
Enable passing explicit IfcRepresentation in IfcOpenShell-Python create_shape()
2015-06-02 13:30:02 +00:00
Thomas Krijnen
b96cf38e17
Minimize passing STL objects past dynamic library boundaries to improve stability of IfcOpenShell-Python
2015-06-02 13:29:08 +00:00
Thomas Krijnen
5a994ebe28
vc9 compatibility
2015-05-26 12:56:00 +00:00
Thomas Krijnen
ffc008228d
gcc compatibility
2015-05-26 12:55:00 +00:00
Thomas Krijnen
77ba3f5a80
Perform shape healing after opening subtraction
2015-05-22 15:41:56 +00:00
Thomas Krijnen
04d4095ffe
Correctly mark face boundary edges in case of vertex welding
2015-05-22 13:13:48 +00:00
Thomas Krijnen
569fa49796
Prevent an issue with obtaining precision from sub contexts
2015-05-22 13:13:16 +00:00
Thomas Krijnen
7abe2df066
Update implementation of IfcBSplineSurfaceWithKnots for IfcAdvancedFace in IFC4
2015-05-21 13:02:10 +00:00
Thomas Krijnen
9b64c6f4b9
Check for orientation of wires when creating outer boundary of face
2015-05-21 13:01:01 +00:00
Thomas Krijnen
771f78a671
Fix surface style association when compiling with IFC4
2015-05-21 12:55:54 +00:00
Thomas Krijnen
3d6b330366
Reintroduce binary type in express parser
2015-05-21 12:53:17 +00:00
Thomas Krijnen
37d4e9bcbd
Fix express parser for simple types that redefine aggregates of entities
2015-05-21 12:09:57 +00:00
Thomas Krijnen
7390faa654
Adapt XML serializer for changes in IFC4 decomposition and property set types
2015-05-21 12:06:38 +00:00
Thomas Krijnen
b7d4eb62d5
Add IfcFaceSurface example
2015-05-21 12:05:23 +00:00
Thomas Krijnen
40a60386c8
Brand new implementation of IfcFace(Surface)
2015-05-20 08:55:02 +00:00
Thomas Krijnen
9bf9f82b3b
Format obj and dae output predictably based on rfc notation of GlobalId. As discussed in https://sourceforge.net/p/ifcopenshell/discussion/1782717/thread/cbb0c8ca/
2015-05-13 14:30:21 +00:00
Thomas Krijnen
b37a684eb9
Append line segment indices in the IfcGeomServer
2015-04-25 09:13:14 +00: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
53f625346f
Fix compilation with gcc
2015-04-07 19:26:01 +00:00
Thomas Krijnen
608c7d9841
Don't rely on exceptions for testing whether a Python attribute names a valid (inverse) IFC attribute
2015-04-07 15:49:38 +00:00
Thomas Krijnen
955190b517
Add support for reading and writing BINARY attributes. Rename members of the IfcUtil::ArgumentType enumeration.
2015-04-07 15:06:56 +00:00
Thomas Krijnen
462425f61d
Update README
2015-03-22 20:06:04 +00:00
Thomas Krijnen
0a0f44b674
Reduce link time for MSVC release builds. Patch by ch0kee.
2015-03-22 19:52:29 +00:00
Thomas Krijnen
9f9a0ea3dc
Update generated code for IFC4
2015-03-20 20:58:05 +00:00