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
Krzysztof Trzciński
42307972a8
Fix reusing meshes and mesh naming
2019-09-04 21:02:47 +01: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
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
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
Otso Alho
a851a25ddc
catch Standard_ConstructionError when serialising xml attributes
2019-06-21 11:21:33 +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
7e089ab8b5
Fix cleanup of temp files in case of failed initialization
2019-06-04 17:06:13 +02:00
Thomas Krijnen
77e02ddae4
Remove all references to _newclass from wrapper code
2019-05-31 14:31:31 +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
9a85fbc225
Fix static/const declaration
2019-05-24 15:38:35 +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
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
241c95e6df
Some fixes for Blender 2.8?
2019-05-24 10:34:54 +02:00
Daniel Smith
c61bc29f06
Relocate random header include
2019-05-21 13:12:27 +02:00
Thomas Krijnen
a98ab72f67
Update version number
2019-05-18 11:06:27 +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
8c1924084a
Don't consider openings as children in geom filters
2019-03-24 12:36:33 +01:00
Thomas Krijnen
e4fdfd2eb3
Apply length unit to IfcCylindricalSurface Radius. Fixes #553
2019-03-04 17:23:15 +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
David Leverton
d12cacbd2e
Fix Position handling for IfcSurfaceCurveSweptAreaSolid
2019-02-13 15:34:50 +00:00
Thomas Krijnen
5db91e52da
Fixes to logger templates
2019-02-12 14:55:03 +01:00
Thomas Krijnen
a4c2aa8f42
IfcConvert Windows unicode support ( #258 )
2019-02-08 15:18:55 +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
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
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
ef7eee411b
Update to IFC4Add2TC1
2019-01-20 13:47:12 +01:00
Thomas Krijnen
944813146e
Close polylines on closed profile def. Fixes #538
2019-01-16 12:28:58 +01:00
Thomas Krijnen
b1754f7b26
Remove debug prints
2019-01-05 13:45:54 +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
dec0c646cc
Only round corners on discontinuous spines. Fixes #358 .
2018-12-31 11:39:35 +01:00