Commit Graph

13368 Commits

Author SHA1 Message Date
Thomas Krijnen b2db755879 nix build --lto flag 2024-05-12 20:32:38 +00:00
Thomas Krijnen 3bb651fbd5 No longer disable optimizations in schema_class, not so relevant anymore 2024-05-12 21:19:32 +02:00
Thomas Krijnen 3df46abbc3 Rerun codegen 2024-05-12 19:36:01 +02:00
Thomas Krijnen 1e60454951 centralize attribute setting templates for size object reduction 2024-05-12 19:36:01 +02:00
Thomas Krijnen 6a62bf8493 Use latebound enum definition for resolving early bound enum names 2024-05-12 19:36:01 +02:00
Thomas Krijnen fb72fdca9c String pooling and modern initialization in schema 2024-05-12 19:36:01 +02:00
Thomas Krijnen 69afcce8e5 Rerun codegen 2024-05-12 19:36:00 +02:00
Thomas Krijnen e9b69b4b26 Reduce number of externs 2024-05-12 19:36:00 +02:00
Richard Brice 507e4a8211 Fixes problem with constant cant 2024-05-08 10:28:01 -07:00
Richard Brice a0b4c24224 Updates taxonomy::piecewise_function so it's immutable and implements internal caching. Adds new evaluate2 method that returns loop and vector of distance along for each loop point. 2024-05-07 10:24:46 -07:00
Richard Brice e0a9f44c13 Fixes transition code of last segment of vertical alignment 2024-05-06 12:27:32 -07:00
Thomas Krijnen 9de173dd3b #4605 fix segfault in absence of profile placement 2024-05-06 12:00:00 +02: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 648ca4d477 Resolves IfcSegmentCurve parent curve parameterization for line and clothoid 2024-05-04 18:07:09 -07:00
Richard Brice 6cb511b681 Removed IfcPolyLine as a parent curve for IfcCurveSegment. 2024-05-04 16:14:15 -07:00
Richard Brice 4dec319333 Re-write of IfcCurveSegment to eliminate recursion problem and provides a more standardized approach for all parent curve types 2024-05-04 16:03:36 -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 7af9944c27 find_openings() on representation as a hint for hybrid kernel 2024-04-29 21:29:34 +02:00
Thomas Krijnen 405fe4097d Preliminary attempt at hybrid kernel 2024-04-29 21:03:33 +02:00
Thomas Krijnen 6f540e61ac Remove outdated todo note 2024-04-29 21:03:09 +02:00
Thomas Krijnen 710f19af08 Prevent stackoverflow on long alignments in adjustments 2024-04-29 21:02:31 +02:00
Thomas Krijnen e6cc500227 Some basic code to lookup lengths for pre ADD2 schemas 2024-04-29 21:00:59 +02:00
Thomas Krijnen 4e35e7455f Also lookup style association on solids 2024-04-29 20:57:09 +02:00
Thomas Krijnen 6fdf46f151 Add back support for IfcSphere 2024-04-29 20:56:37 +02:00
Thomas Krijnen ae2600afb9 Set style name 2024-04-29 20:51:17 +02:00
Thomas Krijnen d382cf7e23 Fix WeldVertices default in IfcConvert 2024-04-29 20:49:11 +02:00
Thomas Krijnen aef2d05364 Add back IFC4X3 sec schema to default in cmake 2024-04-29 20:48:43 +02:00
Andrej730 82a0c6396c BBIM support importing IfcRelAdheresToElement #4565 2024-04-26 11:44:52 +05:00
Andrej730 fabebb4ff6 use IFC4X3_ADD2 for ifcopenshell.schema_by_name
as it is the main IFC4X3 schema
2024-04-22 17:31:49 +05:00
Andrej730 aeb64acc07 util.doc - use release schema version for IFC4X3
As it will be more like to be available in the ifcopenshell package. Related to #4565
2024-04-22 17:31:49 +05:00
Andrej730 f94aecbbff typing 2024-04-22 17:31:49 +05:00
Andrej730 d33fdbba69 small optimization 2024-04-22 17:31:49 +05:00
Andrej730 0ddbcd98ea use column-major reshape for matrices #4565 2024-04-22 17:31:16 +05:00
Thomas Krijnen 133b420a54 Preliminary changes to blenderbim for v0.8 #4565 2024-04-21 13:35:18 +02:00
Thomas Krijnen 4f9f3d1856 Work around for obtaining instance id that blenderbim expects for materials 2024-04-21 13:34:25 +02:00
Thomas Krijnen 71c9066dc7 Fallback to C++ impl of IfcAxis2PlacementLinear #4565 2024-04-21 11:27:22 +02:00
Thomas Krijnen 0793ae539e Merge remote-tracking branch 'origin/v0.7.0' into v08attempt1 2024-04-21 11:26:06 +02:00
Thomas Krijnen 595ef3f009 Allow passing setting enums as naked int 2024-04-21 10:19:17 +02:00
Thomas Krijnen 889ed3bb07 Change 'template template' to param pack to make clang happy 2024-04-20 13:22:13 +02:00
Thomas Krijnen 053c80a577 Uncomment debugging code 2024-04-20 13:21:50 +02:00
Bruno Postle 3ef823db23 Regenerate missing sheets #4462
BlenderBIM will regenerate missing SVG drawings from the IFC on demand,
now it attempts to regenerate missing SVG sheets too. ie. you can open a
bare IFC file with configured drawings and sheets and continue working.

Only drawings are recognised, spreadsheet and other SVG refs are not
regenerated, all drawings are placed at the 30,30 pixel location.
blenderbim-240420
2024-04-20 11:56:22 +01:00
Thomas Krijnen dafc321ea1 template and typename keywords to keep gcc happy 2024-04-19 21:44:54 +02:00
Thomas Krijnen 9272a9ed1f Missing template keyword 2024-04-19 20:40:59 +02:00
Thomas Krijnen 29998e3f57 Option to convert placements via convert_shape() #4565 2024-04-19 20:23:59 +02:00
Andrej730 60a70f5236 support IfcAxis1Placement and warn on IfcAxis2PlacementLinear #4565 2024-04-19 17:11:56 +05:00
Andrej730 757a010172 typing 2024-04-19 16:18:57 +05:00
Andrej730 447625bffd fix failing test in util.selector.format with imperial_length
the error is below, not sure how I haven't noticed it before 🤔

assert subject.format('imperial_length(1, 1)') == "1'"

>               raise VisitError(tree.data, tree, e)
E               lark.exceptions.VisitError: Error trying to process rule "imperial_length":
E
E               cannot access local variable 'output_unit' where it is not associated with a value
2024-04-19 16:18:46 +05:00
Andrej730 25edaa9b89 update broken url for ladybug tools
temporarily use fork repo
2024-04-19 16:07:29 +05:00
Andrej730 9da4215bac ifcopenshell.util.selector.filter_elements - inherited predefined types
mentioned by @theoryshaw on osarch - https://community.osarch.org/discussion/comment/20126/#Comment_20126
2024-04-19 16:05:33 +05:00