Dion Moult
013b138e5c
Default to adding EPSG:3857 when adding georeferencing and let users choose an EPSG when adding.
2024-06-23 23:17:44 +10:00
Dion Moult
95d2d0af83
You can now see and edit WCS in the Blender UI (new API for it too)
blenderbim-0.7.9.240623
2024-06-23 22:23:48 +10:00
Dion Moult
03ee826e67
Add tests for xaxis and yaxis angle conversions
...
This tricked me today, the "XAxis" and "YAxis" vectors are from different perspectives (yikes!). XAxis is from the perspective of grid north, and YAxis is from the perspective of project north. I'm following this convention because that's what buildingSMART docs do but just FYI they serve two different purposes!
2024-06-23 22:23:48 +10:00
Kristoffer Andersen
9f31815d9e
add conda cron daily cleaner ( #4910 )
2024-06-23 09:11:17 +02:00
Ryan Schultz
1e9bfec655
Fix #4493 - Save drawing boundaries on bim.activate_drawing as well.
2024-06-22 11:44:42 -05:00
Dion Moult
fd8cb7e8ed
Implement Blender UI for handling new coordinate operations in IFC4X3
2024-06-22 23:32:25 +10:00
Dion Moult
4ef237e0f7
Implement purge map unit when removing georeferencing and removing 2X3 and 4X3 georeferencing in API
2024-06-22 22:13:20 +10:00
Dion Moult
3c48cfbc19
Add support for IfcRigidOperation and IfcMapConversionScaled in API
2024-06-22 21:59:09 +10:00
Dion Moult
177d43c30e
Redesign georeference calculator UI to show units and be explicit about local vs map (instead of input vs output)
2024-06-22 16:29:36 +10:00
Dion Moult
a6c3ae8446
Typing and update geolocation conversion utils to follow IFC4X3 rules about unit scaling
2024-06-22 15:52:00 +10:00
Dion Moult
d0373da0ad
Update XYZ <-> ENH geolocation conversion after the clarifications made on how to handle scale in IFC4X3
2024-06-22 14:47:42 +10:00
John Yani
7bb3de8371
Add documentation for toolbar ( #4907 )
blenderbim-0.7.9.240622
2024-06-22 13:36:21 +10:00
Dion Moult
45e0045820
Fix bug where merge duplicate types would trigger listeners in an active Blender session. Stop using listeners, I guess?
2024-06-21 23:32:53 +10:00
Dion Moult
347b2b783d
Minor doc fix to SetFalseOrigin code example
2024-06-21 23:32:53 +10:00
Dion Moult
2fc7cc7de2
Show georeferencing unit symbols to make it clearer what units things are in
2024-06-21 23:32:53 +10:00
Andrej730
4d39804045
docs code block formatting
...
`console` type code-block is designed mainly for examples of the console commands with the output.
If it's just a shell script with comments, then `console` only gets in the way - e.g. if you try to select a console code block manually, you won't be able to select comment symbol `#` at the beginning of the command making code unrunnable if you try to copy and run it. I've replaced it with `bash` or `bat` (for Windows) code blocks where `console` wasn't necessary.
I've also removed `$` symbols at the beginning of the commands if it's not a `console` code-block - since otherwise it just breaks "Copy Code Block" because you copy unrunnable code.
2024-06-21 18:28:59 +05:00
Andrej730
746051815d
TesselateElement ifcpatch recipe to support product types
...
Previously it would just fail if you provide some IfcTypeProduct in the patch query
2024-06-21 17:50:22 +05:00
Andrej730
4385bf0bcc
create_shape - note about IfcTypeProducts
2024-06-21 17:50:22 +05:00
Andrej730
1e092c140f
add ifc2x3 support for 301cdf650
2024-06-21 17:50:22 +05:00
Andrej730
c4ae9578e9
fix styles update on material assignment/unassignment #4843
2024-06-21 17:50:22 +05:00
Andrej730
a834e5b4cd
element.get_type doc note
2024-06-21 17:50:22 +05:00
Andrej730
e329b18e33
simplify process of loading blender materials #4843
...
We no longer traverse through representations searching for IfcSurfaceStyles and just rely on geometry.materials.
Possible after #4886 since:
- create_shape is now considering inherited materials
- material.instance_id is not returning IfcMaterial's style id instead of IfcMaterial id.
2024-06-21 17:50:22 +05:00
Andrej730
5731c4036a
unresolve_type_representation - typing and small optimization
2024-06-21 17:49:02 +05:00
Andrej730
a594a6cfe2
typing
2024-06-21 17:49:02 +05:00
Andrej730
8b6235f42f
fix TessellateElements ifcpatch recipe
...
TessellateElements patch was failing because it was relying on optionality of `edges` argument. Though argument itself is currently useless and not used in the code.
2024-06-21 17:49:02 +05:00
Andrej730
d443c5e2a6
element.get_type - check schema explicitly for a small optimization
...
Previously if product had no types it would still run through all element.IsDefinedBy and check if they are IfcRelDefinesByType even if it's not IFC2X3.
2024-06-21 17:49:02 +05:00
Andrej730
68d3539a86
mapping binding - never overwrite already set item->instance
...
1) this way code should be more straightforward
2) this allows us not to reimplement mapping.get_surface_style logic in IfcGeomWrapper as it will be already handled in map_impl(const IfcSchema::IfcStyledItem* inst) and the resulting item->instance is not overridden by IfcStyledItem.
2024-06-21 14:52:37 +05:00
Andrej730
301cdf6504
Fix creating representation with inherited materials
...
It should be considered as inherited material can also have a style.
Though occurrence's material is still prioritized.
2024-06-21 14:52:37 +05:00
Andrej730
882e0a4ae9
Fix instance_id in geometry.materials returning material id instead of style id
2024-06-21 14:52:37 +05:00
John Yani
f921b65953
Major documentation refactoring ( #4905 )
2024-06-21 17:54:05 +10:00
Andrej730
1e26587bd3
geometry.import_representation to disable apply-default-materials #4832
...
as material creator is not designed for this option
2024-06-21 12:11:47 +05:00
Dion Moult
bce6485b91
Support adding / editing georeferencing for IFC2X3 fallback psets
blenderbim-0.7.9.240621
2024-06-21 11:21:41 +10:00
Dion Moult
a0cb980a8f
See #4896 . Bump to IDS v1.0.
2024-06-20 17:37:14 +10:00
Dion Moult
fc0e9e900f
Fix #3970 . Show passing elements in IDS test report.
2024-06-20 16:36:18 +10:00
Dion Moult
d700262e7f
Support IDS tests for nest relationships in IFC2X3
2024-06-20 15:53:28 +10:00
Dion Moult
d92679223e
Fix #4879 . Include metadata about original requirement in JSON reports.
2024-06-20 15:29:10 +10:00
Dion Moult
7ac117cd8d
Use a json encoder for IfcTester JSON reports to ensure everything is stringable
2024-06-20 15:00:55 +10:00
Dion Moult
b87a6bc15c
Fix #4874 . Checking restrictions of the wrong data type will now returned a failed result instead of an exception.
2024-06-20 13:22:16 +10:00
Dion Moult
fbefe8c555
PartOf facet tests now give more granular reports on failing predefined type requirements
2024-06-20 12:58:42 +10:00
Dion Moult
030119fd0e
Fix #4893 . IfcTester now requires lowercase booleans or 0/1.
...
This changed on May 5: https://github.com/buildingSMART/IDS/issues/290
2024-06-20 09:52:45 +10:00
Dion Moult
fcf2c37432
New SetFalseOrigin patch recipe to make it easy to "Just Fix It!"
...
This combines the best practices of a few other patch recipes to make it easy to say "this point here is this world coordinate".
2024-06-19 23:41:46 +10:00
Dion Moult
fab3ee70dd
Fix bug where 2D angles weren't correctly parsed in OffsetObjectPlacements recipe
2024-06-19 23:37:01 +10:00
Dion Moult
4738528e69
We now can do cartesian point offsets regardless if there is a false session origin or not.
...
For example, it doesn't matter if you have a false origin set or not, there can still be scenarios where local verts are far away.
2024-06-19 23:33:16 +10:00
Thomas Krijnen
88c8bcf119
Pin OCCT serialization version to v2 #4393
2024-06-19 14:44:52 +02:00
Ziad-I
3c3e4dd047
add pip install python-socketio and aiohttp in makefile
2024-06-19 13:17:29 +03:00
Thomas Krijnen
b44b1cb8b0
Fix segfault on gcc #4832
2024-06-19 11:56:56 +02:00
Ziad-I
6ad2bef05c
add webui server and static files
2024-06-19 12:27:03 +03:00
Andrej730
8e0c92d5eb
Fix issue using IfcImporter after 8246d2c
...
E.g. there was an error on creating a project using demo template
blenderbim-0.7.9.240619
2024-06-19 10:57:34 +05:00
Andrej730
6bafbd92f3
fix ui bug after 114fca8be
2024-06-19 10:57:34 +05:00
Andrej730
03663eec3f
include socketio to fix starting bbim after 65a1fbe
2024-06-19 10:57:34 +05:00