Andrej730
fccf56d5fd
fix issue removing currently active representation
...
previously it would remove the object, now it's going to switch to some other representation
2024-07-03 18:12:20 +05:00
Andrej730
6e9309aefc
common method for iterating over element's representations
2024-07-03 18:12:20 +05:00
Andrej730
fbe60c85a1
use common method to generate mesh name
2024-07-03 18:12:20 +05:00
Andrej730
8f92877fb4
typing
2024-07-03 18:12:20 +05:00
Andrej730
5d1b2e4651
black format
2024-07-03 18:12:19 +05:00
Thomas Krijnen
10c3893b79
Missing file
2024-07-03 15:07:28 +02:00
Thomas Krijnen
e2198c3ba7
Advanced brep: closed underlying nurbs curve handling #4895
2024-07-03 15:03:49 +02:00
ay-ex
752a64bf3e
choco release fix ( #4971 )
...
* add release script choco_release.py
* fix simplify action yaml
2024-07-03 22:52:32 +10:00
Thomas Krijnen
71ef1bf056
Advanced brep, sweeps and various fixes #4848 #4895
2024-07-03 14:42:51 +02:00
Thomas Krijnen
d4efcd40f9
Advanced brep, sweeps and various fixes #4848 #4895
2024-07-03 14:36:35 +02:00
Andrej730
9485190604
ifcopenshell.draw - omit sys.argv + help message
...
To make sure user will get an error if files are not provided - if we use sys.argv then we always have __file__ in it and if user won't provide fiels they'll get a less readable error
Before:
sr.setFile(files[0])
~~~~~^^^
IndexError: list index out of range
Now:
usage: draw.py files [files ...]
draw.py: error: the following arguments are required: files
2024-07-02 15:32:48 +05:00
Andrej730
d1523eaeac
ifcopenshell.draw - update to v0.8
2024-07-02 15:32:48 +05:00
Andrej730
1af8e7d0ef
ifcopenshell.geom.serializers - avoid wrappers for svg/obj
...
To keep the signatures
2024-07-02 15:32:48 +05:00
Thomas Krijnen
19b89a3b1f
Workarounds for unstyled elements in tree and wrapper #4924
2024-07-02 11:44:00 +02:00
Dion Moult
b73da046ee
See #4964 . Forgot to commit qto function.
blenderbim-0.7.9.240702
2024-07-02 18:59:13 +10:00
Thomas Krijnen
675e1982ee
Move macro logic into template function; mark failures as intended #4915
2024-07-01 20:34:51 +02:00
Thomas Krijnen
0357d15ce4
Exhaustive USD Format extensions
2024-07-01 20:30:34 +02:00
Thomas Krijnen
22cd1e8b9e
Another case of mutability causing havoc
2024-07-01 19:55:14 +02:00
Andrej730
0f8f6419e9
Indicate in UI if object's ifc placement/representation is not synced
...
Example - https://imgur.com/a/lixOxeN
Ideally users shouldn't need those as syncing should work seamlessly but since we do have syncing it can be useful if you can check sync status from the UI.
2024-07-01 18:26:04 +05:00
Andrej730
bd7ee0a1c6
Recent IFC projects - add tests
2024-07-01 18:26:04 +05:00
Andrej730
4463548740
move recent IFC projects tools from Blender to Project module
...
as Project is probably more appropriate for this
2024-07-01 18:26:03 +05:00
Andrej730
5655df2081
Recent IFC projects - show schema in the tooltip
...
Example - https://i.imgur.com/0op89zh.png
2024-07-01 18:26:03 +05:00
Andrej730
deb0b3482b
IfcHeaderExtractor tests
2024-07-01 18:26:03 +05:00
Andrej730
ae2a299616
move IfcHeaderExtractor to util.file
...
edited pyproject.toml as `disableBytesTypePromotions` is disabled by default in non-strict mode and type checker intrerprets `bytes` as `bytes | memoryview | bytearray` which is deprecated in https://peps.python.org/pep-0688/#no-special-meaning-for-bytes
2024-07-01 18:26:03 +05:00
Andrej730
375deaad1e
Add description to "Upgrade to IFC4/IFC4X3)" operator
...
To emphasize that it won't overwrite the current file.
Example - https://i.imgur.com/CKIQJwn.png
2024-07-01 18:26:03 +05:00
Andrej730
f692e943c9
typing
2024-07-01 18:26:03 +05:00
Andrej730
8538a916a3
ifcopenshell.file docs
2024-07-01 18:26:02 +05:00
ay-ex
a8b2997e58
fix choco.yml ( #4959 )
2024-07-01 17:12:58 +10:00
Dion Moult
5c151c6b57
Bump bot build
2024-07-01 11:44:17 +10:00
shungeer
8c12da13e6
Update README.md about extend express usage ( #4841 )
...
1. C++ code generation by extend express.
2. python rule code generation by extend express.
2024-07-01 11:20:30 +10:00
DimitriosThe
20f8181ac3
Update csv4d2ifc.py ( #4935 )
...
Please correct me if I am wrong:
while trying to create relationships I saw that in def create_rel_sequence (line 194) there is a parameter missing which should reflect the "rel_type", otherwise and according to "assign_sequence.py" the sequence_type remains
def assign_sequence(
file: ifcopenshell.file,
relating_process: ifcopenshell.entity_instance,
related_process: ifcopenshell.entity_instance,
sequence_type: str = "FINISH_START",
2024-07-01 11:18:13 +10:00
John Yani
656a519126
[docs] Starting Project 0 tutorial ( #4953 )
2024-07-01 11:17:24 +10:00
Dion Moult
71869b65f3
Minor fix to warn users closing an error that their model could be in a bad state (future sync errors etc)
blenderbim-0.7.9.240701
2024-07-01 10:43:07 +10:00
Dion Moult
fe8d42c27c
Minor fix for missing flip button for doors
2024-07-01 10:30:16 +10:00
Dion Moult
688c841a8e
Fix #4946 . Refactor model wall join operators into core for better error reporting
...
The operator is no longer needed and all the variations can be called exactly at the workspace hotkey level now (and thus nested operator errors won't cause runtime exceptions)
2024-07-01 10:15:48 +10:00
Dion Moult
989219e1e2
See #4946 . Slowly start refactoring out model module into core for better error handling.
2024-07-01 00:10:51 +10:00
Dion Moult
f2c3e62ba1
Minor signature clean up to tool.Model.load_openings (unused arg)
2024-06-30 21:46:21 +10:00
Dion Moult
73f546aab1
Don't attempt to manipulate type visibility when selecting a type.
2024-06-30 21:46:03 +10:00
Dion Moult
c4b3e57677
Fix bug where using the alignment tool broke on flipped non-LAYER2 objects
...
The alignment tool was initially designed specifically for LAYER2 objects. It doesn't have to be, so now LAYER2 is a special case where it may have its baselines and sidelines aligned whereas non-LAYER2 objects simply align based on bbox.
2024-06-30 21:40:21 +10:00
Dion Moult
4e9f2ea4b2
Add georeferencing integration tests
blenderbim-0.7.9.240630
2024-06-30 17:01:39 +10:00
Dion Moult
2efeb6edb3
Fix bug where context has no active_object when creating a new project from File > New with a preset
2024-06-29 22:20:08 +10:00
Thomas Krijnen
c68dcba087
Implement element-hierarchy setting in USD
2024-06-29 14:16:07 +02:00
Thomas Krijnen
a92d51aeb1
Merge branch 'v0.8.0' of https://github.com/IfcOpenShell/IfcOpenShell into v0.8.0
2024-06-29 14:14:59 +02:00
Dion Moult
0544bbc886
Temporarily disable material listeners as they need to be rewritten anyway (ideally without listeners) with the new style system
...
At least now we can create types for testing
2024-06-29 21:39:38 +10:00
Dion Moult
9a871f1459
Merging projects can now handle projects with different false origins
...
Warning: I haven't yet looked at rotations. Yikes. No CRS reprojection either.
blenderbim-0.7.9.240629
2024-06-29 17:05:06 +10:00
Dion Moult
0d401c9272
Fix bug where migrating length units didn't change properties. Unit utility for checking attribute types now considers select types too
...
Changing properties is very critical for IFC2X3 georeferencing which is stored in a pset.
2024-06-29 17:04:27 +10:00
Dion Moult
2129350ab7
Fix bug where MergeProject didn't clean up duplicate CRS and coordinate operations
2024-06-29 17:03:26 +10:00
Dion Moult
43bc979114
The MergeProject recipe now accepts a file object, not always a filepath
2024-06-29 17:01:58 +10:00
Thomas Krijnen
a0458eeb91
Fix USD transformations after v0.8 migration
2024-06-28 20:26:11 +02:00
Thomas Krijnen
c7232a780a
Remove debug print
2024-06-28 16:21:33 +02:00