Thomas Krijnen
b3218ced3f
Mistake in parse examples include macro
2026-06-24 08:46:21 +02:00
Thomas Krijnen
9396340b13
parse examples: Include -definitions.h header as well so that preprocessor switches works
2026-06-19 20:38:37 +02:00
Thomas Krijnen
22707fa534
Bring back multiple schema includes in IfcParseExamples.cpp
2026-06-14 21:02:35 +02:00
Thomas Krijnen
671217d494
Commit remainder of fixes to IfcParseExamples
2026-06-12 12:13:35 +02:00
Thomas Krijnen
4d22a3fdb9
Enable retargeting of example schema
2026-06-12 11:04:18 +02:00
Thomas Krijnen
a7738eeb64
Pass around non-static logger instances and programmatic access to messages in-memory
2026-06-10 18:40:17 +02:00
Andrej730
d9e488d518
cmake format
2026-02-26 17:01:54 +05:00
Richard Brice
c6257a4b3a
Fixes errors in ifc_curve_rebar.cpp
...
M_PI was not defined,. Replaced it with boost::math::constants::pi<double>
Calculation of area was incorrect. Area of a circle = PI*r*r = PI*dia*dia/4
2026-01-31 05:30:36 -08:00
Esteban DUGUEPEROUX
8f3715c0f1
review: Take into account remarks
2026-01-24 12:09:29 +01:00
Esteban DUGUEPEROUX
a86c333a99
make: Try to build and run others examples
2026-01-23 20:49:16 +01:00
Andrej730
d41985f23a
format cmake files
2025-12-22 18:44:42 +05:00
Andrej730
4d52480cbe
cmake - find dependencies from exported config file
2025-12-18 18:46:04 +05:00
Andrej730
bf2c27528c
cmake - fix issue with using cmake occt packages <7.7.0
2025-12-15 19:02:06 +05:00
Andrej730
c7b75d2863
ci.yml - add packages to use occt cmake config
2025-12-15 19:02:05 +05:00
Andrej730
31740784de
examples - disable ifcopenhouse build temporarily to fix CI
2025-12-12 20:41:22 +05:00
Andrej730
dd683d1115
examples - further simplify linking
2025-12-12 20:19:42 +05:00
Andrej730
b237fac4b8
examples - don't provide cxx_std_17 to targets explicitly
...
As it's already defined for the entire project.
2025-12-12 20:19:42 +05:00
Andrej730
20812ecd80
examples - don't provide boost components explicitly
...
Since they're already included to `IfcParse`.
2025-12-12 20:19:42 +05:00
Andrej730
1d7d0f6d05
cmake export - export some variables to inspect installation
2025-12-12 20:16:14 +05:00
Andrej730
d5210e0d75
cmake export - propagate HAS_SCHEMA definitions to exported IfcParse target
2025-12-12 20:16:14 +05:00
Andrej730
d303acd660
cmake export - propagate IFOPSH_WITH_ROCKSDB to cmake config
...
Apparently, cmake isn't exporting definitions defined globally `add_definitions`, so creating interface target to combine rocksdb and our definitions.
2025-12-12 20:16:13 +05:00
Andrej730
01f97a5860
IfcParse - export include path
2025-12-12 19:30:23 +05:00
Andrej730
4d34e4296c
examples - build IfcAlignment using cmake package
2025-12-12 19:30:22 +05:00
Andrej730
43533706a4
examples - build IfcOpenHouse/IfcAdvancedHouse using cmake package
2025-12-12 19:30:22 +05:00
Andrej730
99835fcab3
IfcParseExamples not to rely on includes
2025-12-12 19:30:21 +05:00
Andrej730
a62a4bb158
cmake - install examples too
2025-12-12 18:33:48 +05:00
Andrej730
084992ddcc
Make IfcParseExamples buildable outside of the main build tree
...
It's a very verbose version of consuming IfcOpenShell cmake package, but we'll be able to use it as a start point to build upon.
2025-12-12 18:33:48 +05:00
Esteban DUGUEPEROUX
30184a3f6d
cmake: Externalize geometry_serializer cmake config files to their own directory
2025-11-30 12:29:26 +01:00
Esteban Dugueperoux
613015e37e
cmake: Externalize OpenCascade config ( #7365 )
...
Co-authored-by: Andrej <azhilenkov@gmail.com >
2025-11-19 18:02:07 +05:00
Andrej730
8a03a1379e
cmake - match ifc4x3 for examples more precisely
2025-09-19 18:56:15 +05:00
Andrej730
8bb7ef5e25
cmake - only build examples if 2x3 is present in SCHEMA_VERSIONS
...
As examples currently require ifc2x3
2025-09-19 18:56:15 +05:00
Thomas Krijnen
5a06715843
Update examples
2025-08-27 10:21:45 +02:00
Thomas Krijnen
4011666162
Fixes to header writing
2025-08-26 10:18:13 +02:00
Thomas Krijnen
d80bcd1a94
Unify variant storage ( #5118 )
2024-08-23 20:29:07 +02:00
Thomas Krijnen
19933e0102
Reintroduce schema def for early bound example part
2024-06-10 20:24:26 +02:00
Andrej730
8067d0c4f6
IfcParseExample to support IFC4 after 2948d08
2024-06-10 17:43:07 +05:00
Andrej730
a70b7e319b
cmake - build alignment examples only if 4x3 schema is available
...
As they doesn't support other schemas.
2024-06-10 17:43:07 +05:00
Richard Brice
e0a9f44c13
Fixes transition code of last segment of vertical alignment
2024-05-06 12:27:32 -07:00
Richard Brice
a130601969
A few more tweaks to the alignment examples
2024-05-05 13:17:55 -07:00
Richard Brice
e4625bd71e
Fixes parabolic curves in IfcAlignment examples and helper functions
2024-05-05 11:40:02 -07:00
Richard Brice
c93704f097
Fixes problem with IfcCurveSegment.Placement direction for parabolic vertical curves
2024-05-02 16:00:59 -07:00
Thomas Krijnen
dafc321ea1
template and typename keywords to keep gcc happy
2024-04-19 21:44:54 +02:00
Andrej730
1e4693346a
fix project name for IfcAdvancedHouse
2024-04-16 11:38:20 +02:00
Andrej730
8c707f3b48
Fix issue building IfcOpenHouse for IFC4
2024-04-16 11:35:31 +02:00
Andrej730
9560e0b3b2
Fix bug in IfcHierarchyHelper.addRelatedObject
...
Noticed that `file.addRelatedObject<IfcSchema::IfcRelDefinesByType>(door_style, door);` was resulting in list with `door` assigned as RelatingObject and `door_style` assigned as RelatedObjects.
2024-04-16 11:35:26 +02:00
Thomas Krijnen
658095ea29
#4222 template kw
2024-04-16 11:26:45 +02:00
Thomas Krijnen
a5f3f8c465
IfcParseExamples requires C++17 now
2024-04-16 11:25:27 +02:00
Thomas Krijnen
2948d08c1d
C++ get_psets() with extensive preprocessor trickery
2024-04-16 11:25:24 +02:00
Richard Brice
420eed1828
Adds new simplified alignment example that makes us of the alignment helper functions
2024-04-11 11:26:42 -07:00
Dirk Olbrich
28c7da2336
examples: fix missing includes
2024-03-06 09:25:02 +01:00