Commit Graph

8936 Commits

Author SHA1 Message Date
Dion Moult 539cd047a2 Minor fix to allow edit_work_time to work seamlessly for IFC4X3. 2024-04-16 10:24:58 +02:00
Andrej730 b021103a99 Refactored svg angle decorator code, solves #3602, more constistency between viewport and svg
Now it should be more consistent and more stable since svg and viewport are now using much more similar approach.
2024-04-16 10:24:58 +02:00
Dion Moult 130355f915 See #3603. Base64 encode gantt chart JSON data to prevent JSON parsing problems. 2024-04-16 10:24:57 +02:00
Andrej730 8464fc86a4 set_objects_selection to set selection only if active_object is not None
It was creating errors if you'd try to add angle annotation without having any objects active.
2024-04-16 10:24:57 +02:00
Sigma Dimensions (Yass) 5c22faebe6 Start improving UI for clash detection and management 2024-04-16 10:24:57 +02:00
Gorgious56 5e25e4670d Active profil users count is now dynamically fetched when the profile is clicked in the UI list 2024-04-16 10:24:57 +02:00
Andrej730 e1db448bad Fixed clearing scales (after 3345d7e)
It was producing a bug with text rotation in elevation view
Added fix to make matrix normalization work for the cases when matrix is rotated and I've just found that mathutils.Matrix.normalize(d) is very conveniently ignoring 4th column (translation) (same for mathutils.Vector)
2024-04-16 10:24:57 +02:00
Andrej730 42316f9591 Fill-bg for template tags #3594
Also simplified create_text_tag a bit - now it adds fill_bg by just by copying text tags and adding fill_bg filter to them instead of going through the entire logic again.
2024-04-16 10:24:57 +02:00
Dion Moult 53f0f7c390 Support arbitrary element selection for manual groups in search / IfcCSV, with support for huge element selections. 2024-04-16 10:24:57 +02:00
Dion Moult 1f84457ac9 IfcCSV can now use the graphical filter query builder too. 2024-04-16 10:24:57 +02:00
Dion Moult fa3c8b43f6 Add support for converting IFC spaces, systems, and feed / location / part relationships into Brick. Brick utilities can now get downstream equipment, and system util can now take into account port flow direction. 2024-04-16 10:24:57 +02:00
rileywong311 13b783feb5 Support displaying Brick Bnode relations
- Important for Ifc External References and other data.
- Set predicate_uri of predicates of the Bnode to None, which is used to remove the ability to delete the relationship in the UI.
- Also added try/excepts to difficult edge cases such as the object_uri not having a "#" character in it (such as "<http://qudt.org/vocab/unit/>") and the object_uri not being a brick class, which breaks "view_brick_item".
- Removing a Bnode type from the entity's relation removes all relations of the Bnode also
2024-04-16 10:24:57 +02:00
rileywong311 85c0ecba13 HIde Brick "Create Relation:" when not toggled 2024-04-16 10:24:57 +02:00
rileywong311 acb3d42245 Refresh Brick split screen on ConvertIfcToBrick 2024-04-16 10:24:57 +02:00
rileywong311 0dfdfb6463 Rework "view brick item" conditional access
Change from never show the operator if the relation is "type" to not showing it only if the "type" is the current class being viewed.

This may come in handy if other list views other than hierarchy are implemented.

It also implies why we don't want to show "view brick item" here: because we already viewing it.
2024-04-16 10:24:57 +02:00
rileywong311 4066cfc7ff Support Add Brick with IfcEntity selected (part 2 aka references)
Can now assign references again.
See https://github.com/BrickSchema/Brick/tree/master/examples/ifc for examples.
2024-04-16 10:24:57 +02:00
rileywong311 edb8d636d0 Support Add Brick with IfcEntity selected (part 1)
Next is to add the reference
2024-04-16 10:24:57 +02:00
Dion Moult ff9903b6a2 Fix #3589. Users can now configure how the null values are represented in IfcCSV. 2024-04-16 10:24:57 +02:00
Massimo Fabbro a8422717fd Clone opening initial draft 2024-04-16 10:24:57 +02:00
Gorgious 595f6a15a2 Move profile data and inverse check in data class 2024-04-16 10:24:57 +02:00
Gorgious56 a3aaa9eeba simplify ifc class suggestions json file and operator 2024-04-16 10:24:57 +02:00
Gorgious56 abc052b667 Scene properties : Highlight buttons to make them stand out more (#3598) 2024-04-16 10:24:57 +02:00
Gorgious56 4c221b41ad You can now purge unused profiles 2024-04-16 10:24:57 +02:00
Dion Moult f9ee96c47e Fix #3596. Fix bug where objects marked as edited were not unmarked after saving when toggling mode. Also fix bug where updating representation didn't check whether or not the meshlike representation has openings applied (which would bake the openings, instead of leaving them dynamic). 2024-04-16 10:24:57 +02:00
Gorgious56 b331623464 Active Profile's inverse relationships count is now displayed in the profiles editor 2024-04-16 10:24:57 +02:00
Dion Moult 54eda1a81c Fix #3591. Fix bug where IfcCSV import was not symmetric capability wise. Now you can set all sorts of complex values with the exact same keys you are using to query. 2024-04-16 10:24:57 +02:00
Thomas Krijnen d9e9013e38 #3429 Fix b operand non-planar face check 2024-04-16 10:24:57 +02:00
Andrej730 6f17846a87 Fix tests errors after 8689164
Error was AttributeError: module 'blenderbim.bim.handler' has no attribute 'setDefaultProperties'
2024-04-16 10:24:57 +02:00
Andrej730 c2013a172f geometry.edit_object_placement was producing orphaned placements
It was producing orphaned IfcLocalPlacement if placement was parent to some other one. During edit_object_placement we were replacing all parent references with the new placement but wasn't removing the old one.
2024-04-16 10:24:57 +02:00
Andrej730 69daaff3e1 misspelling 😅 2024-04-16 10:24:57 +02:00
Dion Moult b53c0d551c Fix #3590. Update dev instructions to symlink other utility libraries in BBIM. 2024-04-16 10:24:57 +02:00
Dion Moult 8260469c9b Fix #2626. New IFC overrides for setting object origins. 2024-04-16 10:24:57 +02:00
Massimo Fabbro 14bffda53c fix #3213 Problem related with sheet created on windows and opened on Linux 2024-04-16 10:24:56 +02:00
rileywong311 26b6bc2b3c Merge Brick classification
https://github.com/rileywong311/BrickIfcClassification
2024-04-16 10:24:56 +02:00
rileywong311 0e685f6fb2 Merge IfcClassification
https://github.com/Moult/IfcClassification/tree/master
2024-04-16 10:24:56 +02:00
Sigma Dimensions (Yass) 6d1b468166 enable an object to take part in an object type decomposition #3592 2024-04-16 10:24:56 +02:00
Dion Moult 93031f0fc0 Don't strictly require guids / class filters that exist in new facet selector. 2024-04-16 10:24:56 +02:00
Andrej730 b2868aa7f7 Calculate/guess quantity descriptions to avoid confusion 2024-04-16 10:24:56 +02:00
Dion Moult b4e46da97f See #3582. Fix bug where switching representations didn't handle curves in a body / model_view.
This means that if you created a curve body, you couldn't switch to it, or if you deleted everything, you ended up with an empty object. If you then tried to switch to that, it would "sync" the empty object and leave you with an empty cartesian point list. E.g:

 1. Create cube and assign IFC element.
 2. Remove all faces only (leaving edges and verts). Save changes.
 3. Switch to representation (bug!)
 4. Delete everything (no verts, edges, or faces). Attempt to save.
 5. "Revert" switch will fail, leading to empty mesh.
 6. Manually try to switch. Empty mesh will sync, creating an empty point list.
2024-04-16 10:24:55 +02:00
Andrej730 4fe03230c5 root.copy_class to remove connections from previously connected ports 2024-04-16 10:24:55 +02:00
Dion Moult 7038eb887f Fix #3584. Support matching enumerated properties in new facet selector. 2024-04-16 10:24:55 +02:00
Sigma Dimensions (Yass) 39d1bc36c6 experimental import plot coordinates 2024-04-16 10:24:55 +02:00
Andrej730 520e0cd0b4 Handle ods schedules without column styles #3573
Turned out there are ODS files (and turned out we're producing them ourselves from ifccsv) where column styles are not defined and therefore no width/style assigned to each column which was resulting in errors on building schedule.
2024-04-16 10:24:55 +02:00
Dion Moult 62678ac491 New simplified IfcFM parser for basic object data. 2024-04-16 10:24:55 +02:00
Andrej730 2cfb10df30 Small info message on using validate 2024-04-16 10:24:55 +02:00
Andrej730 ce91e04166 Remove empty IfcDocumentInformationRelationship #3581 2024-04-16 10:24:55 +02:00
Dion Moult faa5a78b39 Fix #3578. Support querying surface styles in tools like IfcCSV. 2024-04-16 10:24:55 +02:00
Dion Moult 48cd3b4a11 See #3561. Misc annotation decorator now only highlights non-internal edges. 2024-04-16 10:24:55 +02:00
Dion Moult 9d42df8315 Fix #3562. Non-manifold geometry is no longer considered in join criteria as there is no such thing as a closed polygon. 2024-04-16 10:24:55 +02:00
Sigma Dimensions (Yass) 89826deeb9 Improve Cost Schedule Layout 2024-04-16 10:24:55 +02:00