Andrej730
ca286f8d19
Migrating shaders to builtins to support M1 #2897
...
Migrated all shaders from geometry shaders to builtins (all geometry data now calculated in python before passing to shader) to make them more reliable and support Metal backend on Mac M1 (tested that it works - both annotations and gizmo).
The current downside is that there is no more custom frag shaders too - meaning we do not support dashed lines in the annotations (currently Hidden and Grid just use a bit less bright annotation color).
2023-05-10 18:19:00 +05:00
Bruno Perdigão
73a3cc2cc5
changed custom scale input
2023-05-10 09:11:09 +10:00
Bruno Postle
169709ed04
Selecting a git revision updates info box
2023-05-09 22:15:57 +01:00
Sigma Dimensions
2e746242ce
Fix task json issue due to "Bad control character in string literal in JSON at position XXXX"
2023-05-09 15:43:12 +01:00
Sigma Dimensions
951b8e2b15
Convenient Pie Menu shortcut to aggregate selected objects to active object
2023-05-09 14:24:31 +01:00
Sigma Dimensions
ede3edcf1e
fix toggle_cost_item_parent
2023-05-09 13:25:21 +01:00
Sigma Dimensions
184c9f87b2
Fix baseline gantt chart bug when new tasks are added to the planned schedule
2023-05-09 13:03:57 +01:00
Dion Moult
0793a4602d
Minor improvements to shape utility.
2023-05-09 20:51:08 +10:00
Dion Moult
bb285c47dc
See #2673 . Bundle IfcTester for PyPI.
2023-05-09 20:49:08 +10:00
arun
4cb6fc05d6
corrected get_extrusions function
2023-05-08 20:18:57 +02:00
Kristoffer Andersen
a302e5db64
add zlib to conda build dependency
...
zlib is now longer indirectly included from the vtk package now that we have a new occt variant novtk that does not depend on vtk
2023-05-08 14:12:03 +02:00
Bruno Postle
ff21749da4
Merge branch 'v0.7.0' of github.com:IfcOpenShell/IfcOpenShell into v0.7.0
2023-05-07 13:12:22 +01:00
Bruno Postle
23b5da7670
BlenderBIM ifc file association (linux only) #2399
2023-05-07 13:08:28 +01:00
Bruno Postle
c31e479f47
Rename blenderbim.sh, better initialisation #2399
2023-05-07 09:46:15 +01:00
Dion Moult
260eb31a69
Add shape utility to easily get profiles and extrusions
2023-05-07 17:32:46 +10:00
Dion Moult
1fb6dac6fb
Fix failing tests in preparation for release.
2023-05-06 11:05:13 +10:00
Dion Moult
34d947c51f
Fix #3084 . Issue where drawings with no elements couldn't be generated.
2023-05-06 11:02:41 +10:00
Sigma Dimensions
23f7a6d5a6
fix test-related sequence bug
...
Fix baseline gantt chart bug
2023-05-06 00:21:57 +01:00
Sigma Dimensions
b15926c20a
Fix baseline gantt chart bug when new tasks are added to the planned schedule
2023-05-05 23:43:27 +01:00
Sigma Dimensions
0a7ef80ca7
BBIM4D: Enable filtering by active work schedule when retrieve tasks related to objects
2023-05-05 18:26:32 +01:00
Sigma Dimensions
be08406cc1
Auto-refresh task sorting
2023-05-05 17:11:24 +01:00
Bruno Postle
cc9777b1e8
Basic user documentation for BlenderBIM Git functionality ( #3096 )
2023-05-04 23:53:37 +01:00
Dion Moult
539b3a243b
Fix fundamental bug where area and volume units were ignored on new projects.
2023-05-04 21:43:48 +10:00
Andrej730
41e58a3d46
Small addition to 8c302ed85
2023-05-04 16:00:12 +05:00
Andrej730
8c302ed85c
Changed x_angle subtype to degrees
...
Now BIMModelProperties.x_angle stores data in radians internally but for user it still appears as degrees
2023-05-04 15:53:29 +05:00
Dion Moult
dc4dc46b62
See #1676 . Fix space boundary generation for IFC4 RV where openings are already subtracted from the body.
2023-05-04 20:22:29 +10:00
Dion Moult
a07fa5a2c2
Accommodate invalid named units when loading IFCs.
2023-05-04 19:55:54 +10:00
Dion Moult
ad9dbce003
See #3085 . Don't bundle numpy as Blender already has it and it causes conflicts.
2023-05-04 19:45:04 +10:00
Andrej730
d0526d0ae5
Updating BIM Tools props on active object change #3102
...
Updating extrusion_depth, length and x_angle on active object change. Shouldn't be too expensive and that way it'll be more consistent with Blender UI.
2023-05-04 12:55:40 +05:00
Andrej730
75e9c3265d
Fallback to abs path adding schedule rel path is not available #3106
2023-05-04 11:32:05 +05:00
Andrej730
b37705ab6e
Updating drawing's size on sheet to match it's scale #2965
2023-05-04 11:25:16 +05:00
Massimo Fabbro
d9d5f86a6e
Now it's possible to regenerate a space that it was created automatically from walls
2023-05-04 11:37:42 +10:00
Sigma Dimensions
1f3ad95c00
remove annoying print statement, run black on cost
2023-05-03 19:46:15 +01:00
Sigma Dimensions
9e360f7efa
remove annoying print statement, run black on cost
2023-05-03 19:45:01 +01:00
Sigma Dimensions
64fd6a1f52
fix copying relationships when duplicating tasks
2023-05-03 19:43:05 +01:00
Sigma Dimensions
ba04df4ce3
BBIM 4D: implement human readable duration to read/edit durations.
...
new IOS Fuzzy Duration Parsing utility
2023-05-03 16:09:27 +01:00
Sigma Dimensions
cd27a026fd
fix editing null task duration values #3091
2023-05-03 16:01:58 +01:00
Dion Moult
baedf71106
Minor documentation update to describe how add-ons with conflicting deps / hotkeys are incompatible.
2023-05-04 00:31:44 +10:00
Dion Moult
4f6c95b119
See #1676 . Space boundary generation now accounts for voids and fills.
2023-05-04 00:31:24 +10:00
Dion Moult
b1761ac393
See #1676 . Space boundaries default to physical internal boundaries.
2023-05-03 21:21:55 +10:00
Dion Moult
fcdf3e583f
See #1676 . You can now set the type of boundary class prior to generating boundaries.
2023-05-03 21:03:54 +10:00
Andrej730
2001119dff
A bit more intuitive adding drawing/schedule to the sheet
...
Now it will detect currently active sheet even if you have sheet's drawing/titleblock/schedule selected.
2023-05-03 15:39:53 +05:00
Dion Moult
60a9d96ac8
See #1676 . You can now duplicate space boundaries.
2023-05-03 20:38:09 +10:00
Andrej730
6bd177d250
Annotation Tool - always show "Add type" button
...
It wasn't showing if you had some objects selected which seems a bit counterintuitive - the need to deselect everything to create a new type.
2023-05-03 15:00:58 +05:00
Andrej730
1ece84e31d
Fixed error during building schedule from ods
...
We were discarding some styles that didn't have any style properties and then we always needed to keep it in mind later on, now we just create empty dict for those.
2023-05-03 14:55:45 +05:00
Andrej730
40ea9457a8
Apply scale and rotation to ifc text symbols #3094
...
Before symbols attached to ifc text were not rotated / scaled if they didn't have "text-template" fields in them.
2023-05-03 14:39:43 +05:00
Andrej730
e95d91a91e
Support multiline text in the schedule #3010
...
Before - https://i.imgur.com/gff5jo3.png
After - https://i.imgur.com/meyXBYb.png
2023-05-03 12:33:07 +05:00
Andrej730
c8fb92175f
Added some (naive) text wrapping in the schedule #3010
...
Before - https://i.imgur.com/dJPQ788.png
After - https://i.imgur.com/T1FtI8H.png
For it to work make sure you have word wrapping in ods.
It's still very naive since it's taking constant font width which could vary depending on font type, font size, font lettering. The proper way would be is to either find some svg way to do it (couldn't find any stable one) or to render text to identify it's width (could be done with PIL but seems overkill, atleast for now).
2023-05-03 12:25:08 +05:00
Sigma Dimensions
a6fb4cbfbf
BBIM 4D: Enable displaying task tooltip in the gantt chart & add resource columns
2023-05-03 04:34:55 +01:00
Sigma Dimensions
30bb6d05c5
BBIM 4D: You can now visualize & print work schedule baselines with Gantt Charts
2023-05-03 04:33:16 +01:00
Sigma Dimensions
9422f804fb
minor fix
2023-05-03 04:22:02 +01:00
Sigma Dimensions
415a7746be
BBIM 4D Gantt: Support multiple languages, human readable durations, add convenient Print Function with different Sheet Formats,
...
start improving overall page style; refactor code to split js and css code away from mustache file
2023-05-02 17:27:47 +01:00
Andrej730
ee903208dc
Small fix for text alignment in scheduler
2023-05-02 17:41:56 +05:00
Dion Moult
f89e834fea
Fix #3085 . Prioritise shipped BlenderBIM Add-on packages instead of system packages to avoid dependency clashes.
2023-05-02 22:20:34 +10:00
Dion Moult
e8b4335741
Minor UI cleanup. Remove align buttons from architectural tool panel.
2023-05-02 22:20:34 +10:00
Dion Moult
83010f0542
See #1676 . You can now add basic space boundaries with the BIM Tool with Shift-B, either by selecting both a space and an element (e.g. wall) or selecting a space and placing the 3D cursor on a face.
2023-05-02 22:20:34 +10:00
Dion Moult
04e5f5036c
See #1676 . Deleting space boundaries now also removes connection geometry.
2023-05-02 22:20:34 +10:00
Andrej730
5d86d38a14
Support cells text alignment building schedule from ods #2885
...
Before - https://i.imgur.com/9QZ2YW2.png
After - https://i.imgur.com/M7ZHSJq.png
2023-05-02 17:04:48 +05:00
Andrej730
a82db1f622
Support merged columns building schedule from ods #2885
...
Before - https://i.imgur.com/p1l6ugn.png
After - https://i.imgur.com/9QZ2YW2.png
2023-05-02 16:24:30 +05:00
Andrej730
fb618d536b
Keep rows height building svg schedule from ods #2885
...
Before - https://i.imgur.com/erMH4Ku.png
After - https://i.imgur.com/p1l6ugn.png
2023-05-02 14:56:05 +05:00
Andrej730
23f96779fa
More safe adding roof modifier #3080
2023-05-02 10:38:25 +05:00
Dion Moult
7b67854654
Fix #3088 . Prioritise body curves to be loaded before trying to load 2D annotations.
2023-05-02 13:11:01 +10:00
Sigma Dimensions
2e7f941465
BBIM 4D: Auto Update Resource Usage from resource tree
2023-05-02 02:47:22 +01:00
Sigma Dimensions
1c1706fde3
BBIM feature to create & view work schedule baselines
2023-05-02 02:43:54 +01:00
Sigma Dimensions
ca77a895e0
IOS.API consider removing baseline tasks when deleting tasks
2023-05-02 02:31:48 +01:00
Sigma Dimensions
0f447f964e
IOS.API usecase to create a work schedule baseline
2023-05-02 02:30:38 +01:00
Sigma Dimensions
2c31fc6b25
run black
2023-05-02 02:27:32 +01:00
Dion Moult
0ba79dc105
Accommodate space boundaries with no connection geometry, fetch spatial structure for IFC2X3, and fix scale bug when editing boundary profiles.
2023-05-02 10:23:54 +10:00
dependabot[bot]
52c686b656
Bump flask from 2.0.1 to 2.3.2 in /src/opencdeserver
...
Bumps [flask](https://github.com/pallets/flask ) from 2.0.1 to 2.3.2.
- [Release notes](https://github.com/pallets/flask/releases )
- [Changelog](https://github.com/pallets/flask/blob/main/CHANGES.rst )
- [Commits](https://github.com/pallets/flask/compare/2.0.1...2.3.2 )
---
updated-dependencies:
- dependency-name: flask
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-05-02 10:06:31 +10:00
Thomas Krijnen
64d98f1295
#2676
2023-05-01 20:16:39 +02:00
Andrej730
ceb2c4075c
Option to scale symbol from ifc tag by scaling ifc text object #2946
...
Also added some text scaling in viewport if there is some symbol associated with text annotation to roughly visually indicate how big this thing is going to be in the svg.
Example - https://user-images.githubusercontent.com/9417531/235445393-447f3aba-8425-4da6-81d0-6bf9004fcf2b.mp4
2023-05-01 16:25:04 +05:00
Andrej730
166e7d52ec
Keep text rotation for text annotation with symbols #2946
2023-05-01 16:25:04 +05:00
Dion Moult
644c2652ea
See #1676 . You can now toggle boundaries on or off in the BIM tool via Alt-B, with a special boundary decorator.
2023-05-01 21:19:29 +10:00
Andrej730
63b201fd95
Test command to load blend file during test scenario for debugging
2023-05-01 15:35:27 +05:00
Andrej730
d70616056c
Moving decorators colors from scene to addon props #3033
2023-05-01 14:54:47 +05:00
Dion Moult
a65e376886
See #1676 . Tab now toggles space boundary surface profile editing.
2023-05-01 19:40:49 +10:00
Andrej730
a985c70f0c
Fixed error on adding Roof modifier to non-footprint objects #3080
2023-05-01 14:03:28 +05:00
Andrej730
0d09e02e7e
Fixed bug with double conversion of height/extrusion length #3073
...
Also fixed some tests
2023-05-01 13:46:24 +05:00
Thomas Krijnen
23e3551f27
Fix regex escape in rule_executor.py
2023-04-30 19:09:43 +02:00
Shohei Kunimatsu
885bca0865
Fix wrong attribute name usage (ValueComponent -> UnitComponent) in IfcFile::getUnit
2023-04-30 19:06:58 +02:00
Sigma Dimensions
0f874dad51
BBIM 4D features & fixes:
...
- feature to re-order tasks
- fixes for task sorting
- further workSchedule UI/UX improvements
- forgotten bits and bobs
2023-04-30 15:44:13 +01:00
Sigma Dimensions
107873cf6e
- refactor IOS.API resource calculation to re-use shared utilities
...
- run black
2023-04-30 15:35:17 +01:00
Sigma Dimensions
4a8f5af7ba
- BBIM 4D: features to review and edit Resource productivity data on the fly
...
- IOS: new resource utilitiy functions
2023-04-30 15:31:36 +01:00
Dion Moult
83084aeb7b
Add profile-style (like slab editing) enable editing, edit, and disable editing operators for energy boundary surface geometry.
2023-04-30 20:57:51 +10:00
Dion Moult
51640ccc28
Fix #3030 . Don't bother layerset slicing walls with a single layer.
2023-04-30 13:43:43 +10:00
Dion Moult
aefbc134ea
Cut merging now only applies to particular elements for the majority of cases. Drawing generation can be twice as fast due to this.
2023-04-30 13:43:43 +10:00
Massimo Fabbro
29e1d70334
Generate space from walls refactor and cleaning around
2023-04-29 22:33:19 +02:00
Massimo Fabbro
9118e529e6
Add generate space button in UI in N-Panel -> BlenderBim -> Architectural
2023-04-29 22:33:19 +02:00
Massimo Fabbro
8ee0a1611d
Now it's possible to create spaces automatically from selected walls
2023-04-29 22:33:19 +02:00
Sigma Dimensions
2af4388f40
Fix duplicate task logic in IOS.API
2023-04-29 13:53:04 +01:00
Dion Moult
93a2d18ea6
Filter elements visible in the camera view. Drawing generation is now significantly faster on larger projects (e.g. 24s down to 10s for a portion of the Revit sample project)
2023-04-29 16:33:44 +10:00
Dion Moult
fc49859ea4
Fallback to unmerged polygons if merging fails. More investigation needed.
2023-04-29 16:30:40 +10:00
Dion Moult
c0ac9cb380
Viewport layerset slicing now uses a cache for speed.
2023-04-28 22:46:49 +10:00
Andrej730
d5cc6c3c8e
Fixed double conversion in bim tool props after b4b6404
...
No more 1000000 and 3000000 mm values
2023-04-28 17:32:19 +05:00
Andrej730
9b22b5000f
Added support for different railing cap types
...
Very similar to this - https://i.imgur.com/SNyvfgh.png
2023-04-28 17:24:41 +05:00
Dion Moult
3b69a4cc78
Fix bug where numerical tolerance caused certain objects to be unnecessarily updated.
2023-04-28 22:15:09 +10:00
Dion Moult
adf54efcc5
Fix bug in cut decorator layersets where walls could be joined to odd non-layered things.
2023-04-28 22:14:26 +10:00
Dion Moult
f6962eb58e
Fix #3053 . Bug where very thin meshes (<1mm) couldn't be reverse engineered into extrusions.
2023-04-28 21:05:13 +10:00
Andrej730
11601d6532
Fixed bug with wrong position of support in wall mounted railing
...
The problem was that that support's disk was not rotated according to the railing path.
2023-04-28 11:43:15 +05:00
Sigma Dimensions
be2131d62c
BBIM 4D: Auto-refresh task re-ordering
2023-04-27 13:58:08 +01:00
Dion Moult
3ffbf46ac2
Fix #3066 . Regression crash when deleting openings.
2023-04-27 22:24:12 +10:00
Sigma Dimensions
3943107eec
forgotten core functions & run black
2023-04-27 13:05:51 +01:00
Sigma Dimensions
94e3f75341
Sequence Tools clean-up
2023-04-27 13:03:32 +01:00
Sigma Dimensions
8bc8b950e7
BBIM 4D: Features to select a Work Schedule's assigned / unassigned products
2023-04-27 12:55:31 +01:00
Sigma Dimensions
05a95ac666
Work Schedule Panel UX improvement
2023-04-27 12:53:27 +01:00
Sigma Dimensions
f016c803e4
Fix schedule task sorting
2023-04-27 12:49:27 +01:00
Dion Moult
bac0dd37fa
Fix #3052 . Deep deletion of large geometries is now thousands of times faster.
2023-04-27 20:15:17 +10:00
Bruno Postle
75a37cf737
Fix crash when switching between git revisions
2023-04-26 23:50:36 +01:00
Bruno Postle
bb7e9c4610
Fix check for invalid Git branch name
2023-04-26 22:25:27 +01:00
Andrej730
ee2f18349f
WALL_MOUNTED_HANDRAIL type for Railing modifier
...
Added WALL_MOUNTED_HANDRAIL type for railing modifier. It's still a bit work in progress - still need to add support for different railing termination types.
Here's the short demonstration - https://user-images.githubusercontent.com/9417531/234582621-6c6f948b-9cdc-4be6-b380-17ddbf5803bf.mp4
2023-04-26 18:04:39 +05:00
Dion Moult
8829a3cbe9
See #1227 . Minor fix.
2023-04-26 22:24:37 +10:00
Dion Moult
b210e39c7e
See #1227 . Experimental viewport layerset visualisation.
2023-04-26 22:10:34 +10:00
Bruno Postle
4d4500f061
Fix some refresh glitches in IFC Git panel
2023-04-26 00:07:22 +01:00
Thomas Krijnen
79860a0c04
Fix iterator::get() invalid cast on nullptr
2023-04-25 21:00:01 +02:00
Bruno Postle
d53fcdc616
Format ifcgit code with black
2023-04-25 07:30:35 +01:00
Dion Moult
5e6a094ac6
Fix #3046 . Renaming drawings now updates all drawing references on sheets.
2023-04-24 22:41:38 +10:00
Andrej730
757bf4e916
Fixing error on using bim.override_mode_set_edit with no active object
...
Error was:
File "\addons\blenderbim\bim\module\geometry\operator.py", line 775, in _execute
obj.select_set(True)
AttributeError: 'NoneType' object has no attribute 'select_set'
2023-04-24 11:17:08 +05:00
Andrej730
7bb57b3ab9
Fixed blurred text with background after bfbced3
...
before commit - https://user-images.githubusercontent.com/9417531/233907917-f86ad10b-0227-4180-9488-a8b71a00f099.png
after commit https://user-images.githubusercontent.com/9417531/233907920-d100c73a-e206-42fd-bb41-f7257ea6f98c.png
Tested it on firefox too
2023-04-24 10:33:38 +05:00
Dion Moult
cb22b5804d
Fix #3055 . Get paths using forward slashes for platform compatibility.
2023-04-24 13:11:42 +10:00
Dion Moult
bfbced3859
Fix #3051 . Text background filter now applied on <text> element to make it work on Firefox.
2023-04-24 12:58:36 +10:00
Dion Moult
c090ee9b83
Fix #3040 . View title template variables now have access to sheet attributes prefixed with "Sheet".
2023-04-23 22:04:49 +10:00
Dion Moult
b6caf069d0
Fix #3001 . User can now specify join criteria in drawings. Only elements where all the criteria have the same values are merged.
2023-04-23 21:32:00 +10:00
Dion Moult
5b4449eea0
Fix #3054 . Edit sheet is now implemented for drawings, schedules, and titleblocks.
2023-04-23 17:49:51 +10:00
Bruno Postle
7dc17a3653
Include git, gitdb and smmp libs in blenderbim zip
2023-04-23 08:35:39 +01:00
Bruno Postle
598bf799de
Install GitPython *before* removing the working folder
2023-04-23 08:12:49 +01:00
Bruno Postle
4774a37d48
Add GitPython dependency
2023-04-23 08:03:19 +01:00
Dion Moult
d9a1e6f4b1
New default patterns for stack and stretcher bond tiles and floorboards.
2023-04-23 12:44:35 +10:00
Bruno Perdigão
72dae8e9ad
applyed the patch by Bruno Postle
2023-04-23 12:05:57 +10:00
Bruno Perdigão
b2d7fb9443
changed imports to integrate with blenderbim
2023-04-23 12:05:57 +10:00
Bruno Perdigão
bf945e36bd
initial commit
2023-04-23 12:05:57 +10:00
Dion Moult
2bcfe93dd2
See #3002 . Spaces are now managed separately so that they don't conflict with projection polygon merging and raycasting.
2023-04-22 23:59:33 +10:00
Dion Moult
195ef743c6
See #3002 . Experimental SVGFill approach to polygon merging.
2023-04-22 13:05:42 +10:00
Thomas Krijnen
8478eb9aa0
Update draw.py
2023-04-21 16:29:04 +02:00
Andrej730
47f57d20cd
Fixed couple bugs in furniture library
...
1) last polyline point was failing on Consecutive rule causing validation errors
2) Fixed wrong ifc class for dishwasher (was used occurence class instead of type)
2023-04-21 18:24:32 +05:00
Dion Moult
8f8eb06d6b
See #3002 . Experimental shapely approach to polygon merging for semantic projection elements.
2023-04-21 22:33:08 +10:00
Andrej730
7d6803f325
Roof modifier - remove redundant context fill causing visual artifacts
2023-04-21 16:49:44 +05:00
Andrej730
f9b7a8b92b
Roof modifier - removing bottom chord if angle = 90 degrees
...
This - https://i.imgur.com/75AmYGI.png
instead of https://community.osarch.org/uploads/editor/yp/zcaqxx9b33wu.png
2023-04-21 16:49:44 +05:00
Andrej730
7ee0c047e5
Roof Modifier - separating vertices on defining gable roof angle
...
Added option (which is activated by default) - when you set gable roof angle for some edge it will duplicate the top vertex instead of just moving which allows you to do shape like this - https://imgur.com/a/OEFZ4pw
Previously you would get something like this in that case - https://community.osarch.org/uploads/editor/ap/hlt70rbw5r1l.png
2023-04-21 16:49:44 +05:00
Andrej730
bfbfe17644
OverrideDelete - remove objects with X if they are not related to ifc
...
It was a bit frustraiting when you added a cube and can't just get rid of it with X hotkey 😅
2023-04-20 17:15:17 +05:00
Andrej730
046940f949
Fixed error in disabling text exiting after deleting text literal
2023-04-20 14:27:37 +05:00
Dion Moult
2950ddcf4f
Fix validation error where IfcURIReference cannot be used as a property data type :(
2023-04-20 18:06:35 +10:00
Dion Moult
3d441b4ad3
Fix #3038 . Fix #3039 . Selector should default to none instead for throwing errors if the query doesn't have a result.
2023-04-20 17:41:52 +10:00
Dion Moult
caa5e8983b
Fix #3021 . IfcSpatialElements are included in drawings by default.
2023-04-20 17:34:24 +10:00
Andrej
59b7944d8e
Merge pull request #3032 from IfcOpenShell/quantities_project_units
...
Converting quantities to project units to fix #3025
2023-04-20 11:03:12 +05:00
Andrej730
648eb8fdd1
Converting to project units inside QtoCalculator.guess_quantity
...
Also added some error message if `calculate_quantity` failed to calculate a quantity
2023-04-20 11:01:38 +05:00
Andrej730
f160516772
tool.Qto.convert_to_project_units
2023-04-20 10:32:36 +05:00
Andrej730
4beb7780f8
bim.calculate_quantity - remove convertion part
...
now the convertion already happens in QtoCalculator.calculate_quantity
2023-04-20 10:32:24 +05:00
Kristoffer Andersen
d44b6d40e9
pin lief version for conda build
2023-04-20 06:48:44 +02:00
Kristoffer Andersen
8fd9f5a8cb
Add conda to conda daily build trigger path
2023-04-20 06:43:31 +02:00
Kristoffer Andersen
414af2f55e
Change conda lief version
2023-04-20 06:40:44 +02:00
Kristoffer Andersen
8624be6bcf
Fix conda env
2023-04-20 06:36:10 +02:00
Andrej730
4aa26b613b
test_qto.py black format
2023-04-19 19:05:11 +05:00
Andrej730
57cb062d48
Tests for calculating quantities for prefix and imperial project units
2023-04-19 19:04:05 +05:00
Andrej730
b4b6404b65
Added DISTANCE subtype to BIM Tool Extrusion Depth and Length
...
In BIM Tool it looks like this right now - https://i.imgur.com/JWVPssg.png (note the units)
Previously it was displaying value like this - https://i.imgur.com/244aYTN.png
The benefit is that you can specify other units in that kind of property and it will automatically convert to current project's unit.
For example if you have millimeters as project's unit you can still type "10m" instead of "5000" and it will automatically convert it to 5000mm.
Or type in inches like 5" 11'.
2023-04-19 18:03:26 +05:00
Andrej730
989dd2be50
qto_calculator.py black format
2023-04-19 17:04:15 +05:00
Andrej730
50b8baddec
Update QtoCalculator to convert to project units at the end
...
Before this commit it was calculating all values in meters not taking into account actual project units.
2023-04-19 17:03:32 +05:00
Andrej730
2e00c3db0b
Update viewport on bim.activate_model
...
To see the changed context right away in the viewport
2023-04-19 12:12:11 +05:00
Andrej730
232260787e
Fixed bug with wrong text value in viewport on canceling text editing
...
Actual text was replacing with "TEXT" default value if you cancel text editing instead of applying changes
2023-04-19 11:37:10 +05:00
Andrej730
54054c4aee
Fixed bug in get_object_bounding_box #3023
2023-04-19 11:27:45 +05:00
arun
1a7843a6b5
Nesting added to util.get_decomposition function
2023-04-19 15:46:51 +10:00
Sigma Dimensions
ed4ba4d0d3
fix "cost_item quantity updates" bug when editing a QTO
2023-04-19 01:01:44 +00:00
htlcnn
849d6118d0
fix EditBcfTopic and EditBcfTopicName
2023-04-19 09:23:50 +10:00
Andrej730
364138d408
CutDecorator color connected to preferences too #2987
2023-04-18 18:13:04 +05:00
Dion Moult
32c8da06ca
New default triangle, hexagon, capsule, circle, and space tag symbols
2023-04-18 22:32:09 +10:00
Andrej730
2df4c5825f
Added some decorator colors to addon preferences #2987
...
For ProfileDecorator (editing profiles, roof preview) and DecorationsHandler (openings).
Still need to add CutDecorator colors to preferences
2023-04-18 17:29:07 +05:00
Andrej730
527cbc3ae0
Some descriptions for EPset_Drawing
2023-04-18 16:59:07 +05:00
Andrej730
4fee8744d6
Fixed text annotation rotation in viewport #3017
...
Fixed text annotation rotation in viewport for the views rotated by multipel axis.
Changed text direction calculation to be the same in both viewport and svg.
2023-04-18 16:59:07 +05:00
Thomas Krijnen
8f8862d23d
get_mappeditem_transformation()
2023-04-18 13:17:20 +02:00
Thomas Krijnen
836f36fd8e
Add util.placement.get_cartesiantransformationoperator3d()
2023-04-18 13:15:13 +02:00
Thomas Krijnen
a1326cb5ed
Normalize vectors in a2p()
2023-04-18 13:13:29 +02:00
Vukas Pajic
4bfda8851c
Update failure reason #3018
2023-04-18 13:12:24 +02:00
Andrej730
f02f15cbfb
unsuppress zero inches in formatting distance #3011
...
Added option to suppress zero inches in the dimension annotation text through SuppressZeroInches property of BBIM_Dimension property set.
Previously by default suppressing zero inches was enabled. Now by default it is disabled.
SupressZeroInches On - https://i.imgur.com/nrhELnA.png
SupprezZeroInches Off - https://i.imgur.com/gIuO2GW.png
2023-04-18 14:17:40 +05:00
Dion Moult
30182684d5
Fix bug where you could save geometry with no data (no vertices / splines) which is invalid.
2023-04-18 18:10:01 +10:00
Dion Moult
7df80af30b
Fix #2913 . Bug where properties with multiple inverses were not correctly purged.
2023-04-18 18:08:24 +10:00
Dion Moult
6b2e867107
Fix #2916 . Bug where joining swept solids didn't merge styles correctly.
2023-04-18 18:07:44 +10:00
Vukas Pajic
d333090b09
cleanup
2023-04-18 09:17:23 +10:00
Vukas Pajic
8ae7763ac5
added new tests for case where spec has no requirements
2023-04-18 09:17:23 +10:00
Andrej730
51ac86be79
Fixed bug in bim.select_assigned_product
...
It was trying to call method `Drawingcls.get_active_object()` that didn't exist
2023-04-17 14:47:11 +05:00
Andrej730
552078c8a2
TEXT_LEADERS BoxAlignment, FontSize, multiline in viewport preview #3008
...
Moved code for drawing text in viewport to a separate reusable method `draw_text` in BaseDecorator.
2023-04-17 11:21:07 +05:00
Dion Moult
4b4ede733f
Add support for loading IfcProxy
2023-04-17 10:37:30 +10:00
Dion Moult
d07e8bc747
Add support for editing ref latitude/longitude
2023-04-17 10:14:22 +10:00
Massimo Fabbro
8850d78e5a
Small fix
2023-04-17 09:25:21 +10:00
Massimo Fabbro
4fbf4e7d42
Now it's possible to specify the digits number in a drawing. Fix #2993
2023-04-17 09:25:21 +10:00
Ryan Schultz
d6e1a670b9
Library - changed to correct class
2023-04-17 09:24:35 +10:00
Dion Moult
1a32c8827e
Fix #3003 .
2023-04-17 09:11:33 +10:00
Dion Moult
784b5156df
Fix #2975 . Fix bug where imperial projects still created drawings with metric scales by default.
2023-04-16 23:18:22 +10:00
Dion Moult
6e3336afb1
See #2975 . Fix bug where custom scales were not loaded correctly.
2023-04-16 23:17:56 +10:00
Dion Moult
d0ddee3623
Fix bug where changing object visibility didn't first check for view layer existence.
2023-04-16 21:50:58 +10:00
Ryan Schultz
9cf55033d4
Fix #2989
2023-04-16 08:05:05 +10:00
Dion Moult
7371efde17
Fix #2980 . Minor cleanup to polish array panel UI.
2023-04-15 16:01:50 +10:00
Dion Moult
156269a53f
Fix #2988 . Imperial dimensions in viewport are now split between feet and inches.
2023-04-15 15:33:01 +10:00
Ryan Schultz
ed7e5fb482
Fix #2990
2023-04-14 15:57:36 -05:00
Andrej730
2e973a4591
Fixed bugs with furniture library toilets and basins #2976
...
Bug was introduced in cf6acd5 when `shape_builder.get_rectangle_coords` started returning coords in counter-clockwise order instead of clockwise.
2023-04-14 19:07:38 +05:00
Andrej730
f1bd82d301
Dimension description in viewport/option to hide the measurements #2918
...
same thing for diameter annotations since they are just reusing dimension annotations
+ some refactor along the way
2023-04-14 17:52:54 +05:00
Dion Moult
f51bfa314d
Fix #2986 . Reimplement Metadata property of EPset_Drawing to include arbitrary metadata as CSS classes.
2023-04-14 20:24:02 +10:00
Dion Moult
7b3410c7b1
Fix #2985 . Purge obsolete vector style feature.
2023-04-14 20:04:33 +10:00
Dion Moult
6b0e7d51b1
Fix #2979 . Batch drawling unselected and selected cut lines.
2023-04-14 18:24:01 +10:00
Andrej730
4e5659efad
Annotation Tool
...
Added Annotation Tool that allows you create annotation types and their occurences. It will also allow us to get rid of "Annotation" panel in N-panel.
I've recorded bunch of short videos to demonstrate the features:
- bulk tagging - currently works only for "Text" and "Stair arrow" type of annotations, adds annotations to all selected objects, automatically assigns products to the annotations
https://user-images.githubusercontent.com/9417531/231968358-28cbb762-3349-470a-beef-d1ab21882769.mp4
- creating annotation type with representation - all occurences will share the same representation which makes bulk tagging really powerful if you use variables like {{PredefinedType}}, {{GlobalId}}, {{Name}}, {{Description}}, {{ObjectType}}, {{Tag}}
https://user-images.githubusercontent.com/9417531/231970500-333514c6-6406-4ef5-a9e7-fddfcc9a2436.mp4
- creating annotation type without representation - it allows occurences to have unique text or line geometry but still share the same classes from inherited property set
Examples:
creating text type without representation to create title case annotations
https://user-images.githubusercontent.com/9417531/231969361-bda5f924-a8c8-4f5a-ba61-461aa7101f73.mp4
creating type for oblique dimension annotations
https://user-images.githubusercontent.com/9417531/231969902-38e8c3f4-45a6-4c98-bba4-2956288ce10a.mp4
- readjusting - if you created some annotations using bulk tagging but the products were changed / moved afterwards now you can select those annotations and "readjust" them according to new product's position / measurements
https://user-images.githubusercontent.com/9417531/231968975-ee8d6589-60ee-4575-9be2-b0ce68d43ffa.mp4
PS In this commit I've also moved all icons to 1 .blend file and added instructions how to regenerate them.
2023-04-14 12:40:53 +05:00
Dion Moult
66f10adde8
Fix #2980 . Array deletion now uses delete tool. Delete moved into tool so it can be used by other functions.
2023-04-14 09:56:55 +10:00
Dion Moult
459c4d7fcc
See #2978 . Fix crash upon drawing deletion.
2023-04-14 09:36:51 +10:00
Dion Moult
03d9efb790
Fix #2955 . Drawings can now set a precision.
2023-04-13 22:20:18 +10:00
Dion Moult
33bd6099ee
Fix #2971 . Only update placement if object actually moved.
2023-04-13 21:56:32 +10:00
Dion Moult
850a1d326b
Purge old code from timer-based type browser system
2023-04-13 21:39:54 +10:00
Thomas Krijnen
f0bb19d48d
Fixes to validation of selected simple type / enum
2023-04-13 13:16:48 +02:00
Dion Moult
a56eac0131
Minor fix
2023-04-13 18:48:20 +10:00
Dion Moult
d3201809ab
Fix #2968 . Deletions are no longer postponed. Should fix or reveal a lot of sync errors.
2023-04-13 18:38:28 +10:00
Dion Moult
3628a0e241
Fix bug where switching representations didn't update the material checksum, leading to unnecessary material syncs at export time.
2023-04-13 18:15:28 +10:00
Dion Moult
07badd3df5
Styles are applied per mesh data now (potentially dangerous). Fix crash when switching to representation which has styles from an unstyled mesh.
2023-04-13 16:10:00 +10:00
Dion Moult
f63091ce05
Fix #2974 . Type property sets are now properly copied.
2023-04-13 14:08:02 +10:00
Dion Moult
617b2978c0
New activate model operator to switch back to a MODEL_VIEW target view subcontext
2023-04-12 21:27:43 +10:00
Dion Moult
364e96ad1e
Activating a drawing now automatically switches to the preferred target view representation of all elements
2023-04-12 21:27:43 +10:00
Dion Moult
9170e5ca65
New "cut decorator" that draws cut lines in drawings.
2023-04-12 21:27:43 +10:00
Dion Moult
cbe71f221c
Only activate drawing styles if underlay enabled, and default to default Blender styles to prevent confusion
2023-04-12 21:27:43 +10:00
Dion Moult
c039c01407
Regenerating fills now maintains the active representation
2023-04-12 21:27:43 +10:00
Dion Moult
629ba41f5f
Only allow drawing / sheet / schedule creation once the IFC is saved to enforce correct relative paths.
2023-04-12 21:27:43 +10:00
Andrej730
198fa67cc1
Focus on text field on edit Ifc Text with BIM Tool hotkey (once again)
...
This option was here before but it was accidentally discarded after f7181aa
2023-04-12 11:51:50 +05:00
CyrilWaechter
e7830e3d55
Fix #2964
2023-04-11 22:03:26 +02:00
Andrej730
90bfb25f41
restoring selection on bim.override_mode_set_edit if nothing worked
...
it was a bit confusing when you're trying to edit some object, you get error message but you also lose object selection
2023-04-11 19:17:03 +05:00
Andrej730
037cb00caa
Fixed bug with roof created in projects with milimeters units
...
the problem was that operators were converting angle using SI and angle was set to 10000
2023-04-11 19:17:03 +05:00
Andrej730
f002124c38
Fixed error in PLAN_LEVEL elevation value in printed svgs #2961
...
Also added more precision to inPerFoot in helper.format_distance to avoid this a bit annoying precision problem where format function keeps adding 1/256"
Without precision - https://i.imgur.com/D9WYjvJ.png
With precision - https://i.imgur.com/3XgOFSH.png
2023-04-11 19:06:59 +05:00
Andrej730
ac42f9f599
Changed roof preview colors and it's now transparent
...
Changed roof preview colors to the same as openings
2023-04-11 19:06:58 +05:00
Andrej730
88d4640d3f
fixed mistake in tool.Blender.apply_bmesh
...
was resulting in error when you apply roof path
2023-04-11 17:30:29 +05:00
Andrej730
d2da01041c
Added checkboxes to drawing list to mark multiple selected drawings
...
Checkboxes affect the drawings that will be used when you shift click "Create drawing", "Open Drawing", "Remove Drawing". Previously those opeartors were always applying the action to all drawings.
Also added option to remove selected drawings with shift+click to "Remove Drawing" and added new operator "Select all drawings" to select drawings in one click (you can shift click it to delsect all drawings).
Example - https://i.imgur.com/GAGghu5.png
2023-04-11 17:14:10 +05:00
Dion Moult
75c17b820f
Fix bug where invalidly mapped representations shouldn't be edited.
2023-04-11 21:50:28 +10:00
Thomas Krijnen
2dc4bbf8cd
Support rule compilation and execution on latebound schema
2023-04-11 13:24:32 +02:00
Thomas Krijnen
c9a5abc3be
Some small fixes for rule compliance in template.py
2023-04-11 09:46:50 +02:00
Thomas Krijnen
7ea468a9a6
Update build-all.py
2023-04-11 08:47:46 +02:00
Dion Moult
c6223520e0
Fix #2947 . Embarrassing bug where slabs didn't consider the total thickness.
2023-04-11 16:24:39 +10:00
Dion Moult
176cbf9861
Fix #2948 . Bug where IFC array tool didn't track undo properly causing crashes.
2023-04-11 15:21:04 +10:00
Dion Moult
00315a6f2d
See #2516 . Titleblocks dropdown now also shows project titleblocks.
2023-04-11 14:08:48 +10:00
Dion Moult
2145b2f8e2
Fix #2955 . You can now store default paths in a project pset.
2023-04-11 14:06:31 +10:00
Dion Moult
31155e7bc9
See #2516 . Fix issue where getting sheet layout URIs were not explicit.
2023-04-11 12:26:05 +10:00
Trashman247
2d07208d0f
Reformat parametrized "Save" in IFC project (again)
2023-04-11 10:26:48 +10:00
Trashman247
35ad7e16c6
Reformat parametrized "Save" in IFC project
2023-04-11 10:26:48 +10:00
Trashman247
27c52fe6d5
Add dynamic tool tip for parametrized "Save" in IFC project
2023-04-11 10:26:48 +10:00
Andrej
e153f63a23
Merge pull request #2962 from maxfb87/fix_bug
...
Fix minor bug
2023-04-11 01:23:58 +05:00
Andrej
2cbbc360c0
Merge branch 'v0.7.0' into fix_bug
2023-04-11 01:23:27 +05:00
Thomas Krijnen
8a4a42777f
Property transfer ownership of schema from py to c++ upon register_schema()
2023-04-10 22:01:53 +02:00
Thomas Krijnen
352d6b5ef9
Attempt load schema from cwd (IS THIS DANGEROUS?)
2023-04-10 20:31:56 +02:00
Thomas Krijnen
cc49b0efdc
Don't fail on unmapped attribute types (IFC4.4)
2023-04-10 20:17:26 +02:00
Andrej730
e71ee988bf
Fixed error on disabling BlenderBIM addon
...
Error was occuring because macros doesn't have `is_registered` attribute.
Error: Traceback (most recent call last):
File "C:\Software\Steam\steamapps\common\Blender\3.5\scripts\modules\addon_utils.py", line 421, in disable
mod.unregister()
File "\scripts\addons\blenderbim\__init__.py", line 45, in unregister
blenderbim.bim.unregister()
File "\scripts\addons\blenderbim\bim\__init__.py", line 192, in unregister
if cls.is_registered is not False:
AttributeError: type object 'OverrideDuplicateMoveMacro' has no attribute 'is_registered'
Still getting some other error on disabling the addon, seems to happen due ongoing drawing system restructure.
Error: Traceback (most recent call last):
File "C:\Software\Steam\steamapps\common\Blender\3.5\scripts\modules\addon_utils.py", line 421, in disable
mod.unregister()
File "\addons\blenderbim\__init__.py", line 45, in unregister
blenderbim.bim.unregister()
File "\addons\blenderbim\bim\__init__.py", line 177, in unregister
if bpy.data.scenes['Scene'].BIMProperties.module_visibility['drawing'].is_visible:
KeyError: 'bpy_prop_collection[key]: key "drawing" not found'
2023-04-10 18:05:40 +05:00
Dion Moult
937a5b2c2d
Fix #2516 . Add/build/remove/view/rename/copy sheet/drawing/schedule now all references and updates user configurable relative paths.
2023-04-10 22:30:33 +10:00
Dion Moult
92221e19c3
Fix bug where unassigning a document was too aggressive and deleted relationships where it shouldn't.
2023-04-10 22:30:33 +10:00
CyrilWaechter
e5c920864c
Add ifczip and ifcxml to x-ifc mime-type
2023-04-10 11:43:26 +02:00
Nathan Hild
6f63682bdf
Correct tooltip messages for enabling and disabling edit buttons
2023-04-10 10:28:10 +02:00
Andrej730
7623eddcd7
Including/Excluding IfcAnnotations from drawing #2903
...
Including or excluding elements from the drawing using EPset_Drawing.Include/Exclude now also works for IfcAnnotation elements. Both in viewport (on "activate view") and on svg print.
Related change - annotation decorations are now hidden in viewport if their object is hidden.
2023-04-10 12:37:39 +05:00
Andrej730
d1dee1e908
Fixed errors from 9bca705
2023-04-10 12:30:51 +05:00
Andrej730
8b302f8d21
Make BIM Tool alignment buttons clickable and some hotkeys code cleanup
2023-04-10 11:22:17 +05:00
Dion Moult
dfeebd6b6b
Fix #2960 .
2023-04-10 09:01:34 +10:00
Massimo Fabbro
df53ce9f6e
Better fix about cls without is_registered method
2023-04-09 22:33:37 +02:00
Massimo Fabbro
9bb2c00b6d
Fix bug related to operators without is_registered method
2023-04-09 21:58:11 +02:00
Dion Moult
641253c4c6
Document list now shows description and locations instead of names as names are inherited.
2023-04-09 23:03:10 +10:00
Dion Moult
6ce49b7130
See #2516 . References to titleblocks, layouts, and published sheets are now explicitly stored. Titleblock paths are now configurable. Generated filenames are sanitised.
2023-04-09 23:03:10 +10:00
Andrej730
804ad0cece
Prevent flickering for SectionLevel and Grid decorators
2023-04-09 18:03:08 +05:00
Dion Moult
6c60d14c05
Fix #2959 . Oversight when disabling mesh edit mode. Edit grid axes should be allowed.
2023-04-09 12:52:10 +10:00
Dion Moult
def2d2bcc9
See #2516 . WARNING: breaking changes! Restructure drawing system to use relative paths based on IfcDocumentReference Locations.
2023-04-08 21:59:53 +10:00
Andrej730
9bca705dc3
Solved producing orphan objects data on drawing deletion
2023-04-08 11:37:35 +05:00
Andrej730
2dcc271dff
Updating sheet name from UI #2950
2023-04-07 19:06:41 +05:00
Thomas Krijnen
33415fa1af
#2685 Fix AttributeError
2023-04-07 16:02:11 +02:00
Andrej730
10315e0e29
annotation and gizmo shaders rework for smoothed lines without bgl #2897
...
Reworked annotation and gizmo shaders to work without `bgl` and support smooth lines.
Moved LIB_GLSL and DEF_GLSL to shaders module since it's basically the same code and this way it'll be easier to keep track of it.
2023-04-07 17:36:58 +05:00
Dion Moult
f321cc81c8
Minor improvement to add error message when mirror elements called without a mirror axis.
2023-04-07 20:07:38 +10:00
Bruno Perdigão
68b685f580
minor fix, sets a minimum to 'count'
2023-04-07 19:58:33 +10:00
Bruno Perdigão
c87c79b937
Fix #2937 . IFC Array now have the option to sync children
2023-04-07 19:58:33 +10:00
Sigma Dimensions
de3dfcdc43
BBIM 4D Features to:
...
- Display nested task resources/task inputs of the active task
- Show list of tasks related to the current object selection
- Highlight, in the WorkSchedule panel, tasks related to the current object selection
2023-04-07 04:33:56 +02:00
Kristoffer Andersen
657ddc0fa1
conda daily pin occt version
2023-04-06 21:38:42 +02:00
Dion Moult
1da01489f1
Fix #2935 . Duplicating objects clear any parametric array relationships.
2023-04-06 21:18:36 +10:00
Massimo Fabbro
64a27614ff
Fix bug #2825
2023-04-06 21:12:18 +10:00
Dion Moult
6c5acfc8bb
Fix #2945 . Selector should expand enumerated list properties so that you can match any of them.
2023-04-06 19:21:22 +10:00
Andrej730
884ee5b587
Warning when user loading sheets and some svgs are missing
...
Added this warning because missing svgs can lead to errors later on.
2023-04-06 13:51:12 +05:00
Andrej730
c2320a3c1e
ChangeSheetTitleBlock operator
...
Added operator to change title block of currently selected sheet, it's located right after "Add sheet" button.
The way it works - you select the sheet, select the desired titleblock from dropdown menu and it overrides current titleblock from the sheet with the new one.
2023-04-06 13:51:07 +05:00
Bruno Perdigão
ab23030051
ifc array modifier: get cursor position in relation to the object local axes
2023-04-06 10:45:47 +10:00
Bruno Perdigão
699c692f6c
ifc array modifier: adds the option to get the dimensions from the 3d cursor
2023-04-06 10:45:47 +10:00
Bruno Perdigão
0c85e26950
ifc array modifier: bugfix, prevent divider from being zero.
2023-04-06 10:45:35 +10:00
Bruno Perdigão
2cd7e737cd
ifc array modifier: adds the option to choose between "total" and "increment" as dimension input
2023-04-06 10:45:35 +10:00
Gorgious56
a1adbe2b34
You can now change the section line decorator width in the UI
2023-04-06 09:37:01 +10:00
Gorgious56
a144c2b7ea
Add new shader to display the section as a thick line on the mesh
2023-04-06 09:37:01 +10:00
Gorgious56
201c056ffa
Add new decorator utility to the Compare node group
2023-04-06 09:37:01 +10:00
Andrej730
2e95168610
Title case naming for operators
2023-04-05 17:49:58 +05:00
Andrej730
b18c05cbb9
Open all drawings at once with shift+click (similar to print all)
...
Also added filepath check to make sure all drawings were printed first.
2023-04-05 17:47:27 +05:00
Andrej730
102a4c6110
Title case naming for operators
2023-04-05 17:47:27 +05:00
Dion Moult
b6c0ef3d19
Fix #2936 . Unassigning a type now also unmaps representations.
2023-04-05 22:33:11 +10:00
Andrej730
ea3065dbc2
Sync viewport visibility based on EPset_Drawing/Include Exclude #2613
...
It's not real time, it's triggered on using "Activate view" button in "Drawings" section.
2023-04-05 16:34:43 +05:00
Gorgious56
534c3ad329
Fix temporary section cutaway socket inputs/outputs not initializing properly
...
Related to #2547
2023-04-05 13:30:35 +02:00
Dion Moult
90a7d807a1
Fix #2938 . Unlinked objects should no longer synchronise edits after they've changed.
2023-04-05 21:07:44 +10:00
Dion Moult
4baafb5e2f
See #2938 . Fix issue where unlinking didn't consider other users of the object's data or material.
2023-04-05 20:58:24 +10:00
Andrej730
f911765cdb
Support for SECTION_LEVEL annotations description in viewport
...
Example - https://i.imgur.com/ATF9Fp6.png
(similar to svg)
2023-04-05 14:44:27 +05:00
Andrej730
d0a36c79d5
Small fix
2023-04-05 13:10:41 +05:00
Andrej730
ffea5320a0
Background for Ifc Text annotations in SVG
...
Added option to fill background of Ifc Text annotation with white color.
To make it work need to add "fill-bg" class to EPset_Annotation - https://i.imgur.com/ig2EhkQ.png .
Result - https://i.imgur.com/mq4hzAM.png
2023-04-05 12:38:36 +05:00
Andrej730
0b54e41a40
Small editing assigned product UI fix
...
Previously checkmark didn't worked at all if the existing and new product were the same.
2023-04-04 19:02:07 +05:00
Andrej730
26c67f770a
Sliding doors - more consistent 2d repr between door types #2919
2023-04-04 18:53:59 +05:00
Andrej730
f6623db0e6
Sliding doors - moved annotation arrow to Annotation/PLAN_VIEW #2919
2023-04-04 18:38:44 +05:00
Dion Moult
d7844ee8e8
Fix #2114 . Duplicate overrides are now defined as macros which means that repeating last function now works.
2023-04-04 22:01:45 +10:00
Andrej730
1c8970bbf2
removed redundant parts from generate_steel_profiles_library.py
...
removed never used methods and contexts
2023-04-04 14:23:21 +05:00
Dion Moult
eb70849a30
Fix #2898 . Explicitly check for changed active material in material UI panels.
2023-04-04 17:04:32 +10:00
Andrej730
77ce3c9067
Fixed ifc validation errors for generated openings #2925
...
Now ELEVATION_VIEW 3d curves converted to 2d to be extruded later on to create opening representation.
2023-04-04 11:18:29 +05:00
Dion Moult
56cd226a27
Deprecate mode subscriptiosn of profiles and walls
2023-04-04 13:59:10 +10:00
Dion Moult
a1acdc0977
See #2881 . Allow indices in the selector instead of relying on external evaluations.
2023-04-04 09:58:23 +10:00
Dion Moult
1a624c957b
See #2916 . Minor fix.
2023-04-04 09:43:58 +10:00
Andrej730
1c9eeb2aca
Revert "Fixed ifc validation errors for generated openings #2925 "
...
This reverts commit 66a53b486a .
2023-04-03 23:04:27 +05:00
Gorgious56
45f06eeea7
Interface now displays a hint when trying to edit a non-mesh-like object
...
& Fix case where the active object would go into edit mode even if not mesh-like when multiple objects were selected
2023-04-03 17:55:44 +02:00
Andrej730
66a53b486a
Fixed ifc validation errors for generated openings #2925
2023-04-03 19:53:43 +05:00
Andrej730
fc45f5b48f
Fixed ifc validation errors for furniture library #2925
...
Fixed bunch of validation errors with furniture library:
- IfcSpaceType PredefinedType wasn't optional
`<attribute PredefinedType: <enumeration IfcSpaceTypeEnum: (EXTERNAL, GFA, INTERNAL, NOTDEFINED, PARKING, SPACE, USERDEFINED)>> Not optional`
- some object had 0.0 depth extrusion
```
Rule IfcPositiveLengthMeasure_WR1:
(self > 0.)
Violated by:
(0.0 > 0.0)
```
- some orphan representations violating:
```
Rule IfcShapeModel_WR11:
((sizeof(self.OfProductRepresentation) == 1) ^ (sizeof(self.RepresentationMap) == 1) ^ (sizeof(ofshapeaspect) == 1))
Violated by:
((0 == 1 ^ 0 == 1) ^ 0 == 1)
+ where 0 = sizeof(())
+ where () = #9091=IfcShapeRepresentation(#15,'Body','SweptSolid',(#9090 )).OfProductRepresentation
+ and 0 = sizeof(())
+ where () = #9091=IfcShapeRepresentation(#15,'Body','SweptSolid',(#9090 )).RepresentationMap
+ and 0 = sizeof(())
```
2023-04-03 19:53:43 +05:00
Andrej730
c7105a22e6
Fixed validation error for ELEVATION_VIEW curves #2925
...
Error occured because ShapeBuilder was assigning "Curve2D" representation type for elevation view curves when the correct type is "Curve3D".
It use to occur for both doors and windows created with ifc modifier.
```
Validation error text:
2023-04-03:18:21:28,879 ERROR [rule_executor.py:154] On instance:
#135=IfcShapeRepresentation(#21,'Profile','Curve2D',(#134 ))
Rule IfcShapeRepresentation_CorrectItemsForType:
(IfcShapeRepresentationTypes(self.RepresentationType,self.Items))
Violated by:
False
+ where False = IfcShapeRepresentationTypes('Curve2D', (#134=IfcIndexedPolyCurve(#133,(IfcLineIndex((1,2)),IfcLineIndex((2,3)),IfcLineIndex((3,4)),IfcLineIndex((4,1))),$),))
+ where 'Curve2D' = #135=IfcShapeRepresentation(#21,'Profile','Curve2D',(#134 )).RepresentationType
+ and (#134=IfcIndexedPolyCurve(#133,(IfcLineIndex((1,2)),IfcLineIndex((2,3)),IfcLineIndex((3,4)),IfcLineIndex((4,1))),$),) = #135=IfcShapeRepresentation(#21,'Profile','Curve2D',(#134 )).Items
```
2023-04-03 19:53:43 +05:00
Andrej730
e1fc7cad44
Fixed all unit.add_si_unit uses after fd87747
...
Now they were causing `TypeError: Usecase.__init__() got an unexpected keyword argument 'name'`
2023-04-03 19:53:42 +05:00
Andrej730
afeeaeb984
Fixed some validation errors for doors and windows #2925
...
Fixed the ones caused by using 3d curves as inner/outer curves in profiles.
2023-04-03 19:53:42 +05:00
Andrej730
2bc60b87f2
Fixed issue with tool.Blender.apply_bmesh
2023-04-03 19:53:42 +05:00
Dion Moult
4ad9ecb7db
FixRevitTINs patch recipe now also purges non up-facing polygons as Revit doesn't handle them very well.
2023-04-03 21:28:34 +10:00
Dion Moult
3ec7b82b85
Fix #2930 . Do not require entity applicability in IfcTester.
2023-04-03 21:28:00 +10:00
Dion Moult
48666def6b
Fix #2910 . Bug where style colours were not synced prior to duplication.
2023-04-03 20:16:43 +10:00
Chun
5732921fb6
a simplifier workflow and a more consistent coding style
2023-04-03 19:50:53 +10:00
Chun
b86c11e1dc
Unify variable
2023-04-03 19:50:53 +10:00
Chun
1bae4b219a
Update functions of get_connected_to and get_connected_from compatible with IFC4 and IFC2X3
2023-04-03 19:50:53 +10:00
Chun
70ff73f805
Add IFC4 support for functions get_connected_to and get_connected_from in util.system
2023-04-03 19:50:53 +10:00
Chun
a9636c5038
Add IFC4 support to get_connected_to and get_connected_from functions
2023-04-03 19:50:53 +10:00
Dion Moult
a406b9f7ef
Fix #2928 .
2023-04-03 18:12:32 +10:00
Dion Moult
f291345111
Fix #2924 . IfcElements default to a null predefined type so they can inherit where possible.
2023-04-03 13:54:25 +10:00
Dion Moult
c947ccb8be
Fix #2926 . Connections removed when rotating 90 deg to prevent unintuitive behaviour. Layer2 are also now recalculated.
2023-04-03 13:43:42 +10:00
Dion Moult
28c6b0d4bb
Link to IfcArchitect tutorial series for quickstart video tutorials
2023-04-03 12:35:10 +10:00
Dion Moult
19317a9cc2
See #2881 . Add support for evaluated commands in smart text literals
2023-04-02 21:25:06 +10:00
Dion Moult
d67da6425e
Fix #2927 . Continuing to make mesh editing stricter.
2023-04-02 15:02:43 +10:00
Dion Moult
901f41358f
Shortlist which IFC geometries may be treated as a meshlike object.
2023-04-02 13:45:05 +10:00
Dion Moult
061922aea2
Minor fix
2023-04-01 22:19:29 +11:00
Massimo Fabbro
5f7b6a5498
fix qto ui bug where objects with no assigned base qto doesn't allow to show the qto panel
2023-04-01 21:59:53 +11:00
Dion Moult
2ef9d5eed9
Fix #2922 . You can now edit extrusion profiles of swept solids.
2023-04-01 21:27:20 +11:00
Dion Moult
9fba57d5db
Disable edit mode on non mesh-like representations as well to prevent risk of invalid geometry.
2023-04-01 21:25:45 +11:00
Dion Moult
e9074e3b3f
Fix bug where generated openings invalidly used 3 dimensions instead of 2
2023-04-01 18:14:54 +11:00
Andrej730
f053ba714f
Fixed bug in tool.Blender.get_bmesh_for_mesh
...
It caused errors because it was expecting mesh object to be selected - when it's not necessary that active_object is the one that mesh belongs to and sometimes no objects can be selected at all.
2023-04-01 12:12:34 +05:00
Andrej730
b6598f09a3
Fixed error with switching from EDIT mode for annotation meshes
...
Error occured when you were editing annotation mesh and tried to switched from EDIT mode
Error: Python: Traceback (most recent call last):
File "\blenderbim\bim\module\geometry\operator.py", line 838, in invoke
elif element.HasOpenings:
File "\blenderbim\libs\site\packages\ifcopenshell\entity_instance.py", line 153, in __getattr__
raise AttributeError(
AttributeError: entity instance of type 'IFC4.IfcAnnotation' has no attribute 'HasOpenings'
2023-04-01 12:00:07 +05:00
Andrej730
b9d7b95304
Revert part of 3a3d96be0 #2897
...
Reverted part of the bgl to gpu transition (to not scare away people with annotations without antialiasing🙂 ) until I work out the complete solution.
2023-03-31 19:56:26 +05:00
Andrej730
3db540f786
Fixed another typo related to #2889...
2023-03-31 19:50:22 +05:00
Andrej730
071b99c6c6
Fixed crash in Blender 3.5 on creating fill area annotation
...
Crash was caused by some change in Blender Python API in 3.5.
The code below resulted in `ValueError: bpy_struct: item.attr = val: MeshPolygon.vertices: array length cannot be changed to 4 (expected 0)`
```
obj.data.polygons.add(1)
p1 = obj.data.polygons[-1]
p1.vertices = (v1.index, v2.index, v3.index, v4.index)
```
2023-03-31 17:52:07 +05:00
Andrej730
3a3d96be0a
bgl to gpu: profiles and openings decorations #2897
...
Still need to fix shaders.py and decoration.py
2023-03-31 16:38:24 +05:00
Andrej730
a03fbab4d5
Added description to some annotation operators
2023-03-31 11:06:21 +05:00
Andrej730
cc3b119288
Automatically adjusted STAIR_ARROWs now stop at the top thread
...
Previously they were ending at the end of the stair object and problem was that the end of the object could be at the slab underneath the stair.
Example - https://i.imgur.com/Y43v0GM.png
Before - https://i.imgur.com/Ze9DoK2.png
2023-03-31 10:59:39 +05:00
Andrej730
1a750d1b85
STAIR_ARROW annotations attached to IfcStairFlight object now readjusted after changes in IFC Stair modifier
...
Later probably will also need some other way to readjust annotations - so they can be readjusted for custom stairs, not created with modifier.
2023-03-31 10:59:39 +05:00
Andrej730
5b3ae9b9fd
Clever STAIR_ARROW annotation
...
Now adding STAIR_ARROW annotation is a bit more clever - if you have IfcStairFlight selected when adding this type of annotation it will automatically:
1) define stair as it's parent;
2) add the stair as it's product;
3) place itself along the stair (it's assumed that stair direction is X+)
Example - https://i.imgur.com/Ze9DoK2.png
2023-03-30 18:41:55 +05:00
Andrej730
81471d80cd
Fixed bug causing errors in IFC4X3 projects
...
It was causing an error below on opening BIM Tool and probably in some other places.
```
Traceback (most recent call last):
File "C:\software\Steam\steamapps\common\Blender\3.5\scripts\startup\bl_ui\space_view3d.py", line 35, in draw
self.draw_tool_settings(context)
File "C:\software\Steam\steamapps\common\Blender\3.5\scripts\startup\bl_ui\space_view3d.py", line 48, in draw_tool_settings
tool = ToolSelectPanelHelper.draw_active_tool_header(
File "C:\software\Steam\steamapps\common\Blender\3.5\scripts\startup\bl_ui\space_toolsystem_common.py", line 809, in draw_active_tool_header
draw_settings(context, layout, tool)
File "\Blender\3.5\scripts\addons\blenderbim\bim\module\model\workspace.py", line 67, in draw_settings
BimToolUI.draw(context, layout)
File "\Blender\3.5\scripts\addons\blenderbim\bim\module\model\workspace.py", line 89, in draw
AuthoringData.load()
File "\Blender\3.5\scripts\addons\blenderbim\bim\module\model\data.py", line 52, in load
cls.load_ifc_classes()
File "\Blender\3.5\scripts\addons\blenderbim\bim\module\model\data.py", line 109, in load_ifc_classes
cls.data["ifc_classes"] = cls.ifc_classes()
File "\Blender\3.5\scripts\addons\blenderbim\bim\module\model\data.py", line 196, in ifc_classes
+ tool.Ifc.get().by_type("IfcDoorStyle")
File "\Blender\3.5\scripts\addons\blenderbim\libs\site\packages\ifcopenshell\file.py", line 364, in by_type
return [entity_instance(e, self) for e in self.wrapped_data.by_type(type)]
File "\Blender\3.5\scripts\addons\blenderbim\libs\site\packages\ifcopenshell\ifcopenshell_wrapper.py", line 4499, in by_type
return _ifcopenshell_wrapper.file_by_type(self, *args)
RuntimeError: Entity with name 'IfcDoorStyle' not found in schema 'IFC4X3'
Traceback (most recent call last):
File "C:\software\Steam\steamapps\common\Blender\3.5\scripts\startup\bl_ui\space_view3d.py", line 35, in draw
self.draw_tool_settings(context)
File "C:\software\Steam\steamapps\common\Blender\3.5\scripts\startup\bl_ui\space_view3d.py", line 48, in draw_tool_settings
tool = ToolSelectPanelHelper.draw_active_tool_header(
File "C:\software\Steam\steamapps\common\Blender\3.5\scripts\startup\bl_ui\space_toolsystem_common.py", line 809, in draw_active_tool_header
draw_settings(context, layout, tool)
File "\Blender\3.5\scripts\addons\blenderbim\bim\module\model\workspace.py", line 67, in draw_settings
BimToolUI.draw(context, layout)
File "\Blender\3.5\scripts\addons\blenderbim\bim\module\model\workspace.py", line 92, in draw
cls.draw_header_interface()
File "\Blender\3.5\scripts\addons\blenderbim\bim\module\model\workspace.py", line 351, in draw_header_interface
cls.draw_type_selection_interface()
File "\Blender\3.5\scripts\addons\blenderbim\bim\module\model\workspace.py", line 367, in draw_type_selection_interface
if AuthoringData.data["ifc_classes"]:
KeyError: 'ifc_classes'
```
2023-03-30 17:12:00 +05:00
Andrej730
eb14db4deb
Fixed typo in ifcopenshell.util.type
2023-03-30 16:42:25 +05:00
Andrej730
50d989363a
Added arrow to 2d repr of sliding doors ( #2919 )
...
Example - https://i.imgur.com/eJnhDXU.png
2023-03-30 16:36:55 +05:00
Dion Moult
e52a99bd71
Load all type products by default (in preparation for IfcAnnotationType support)
2023-03-30 21:26:16 +11:00
Andrej730
a7a7c86657
IFC Door Modifier - sliding doors
...
Added support for sliding doors in IFC Door Modifier.
The main differences are 2d representation (https://i.imgur.com/VyEH569.png ) and the door panel being placed before the lining, not after
2023-03-30 12:41:34 +05:00
Andrej730
59b8347082
Added option for oblique style for viewport dimension annotations
...
It's available after adding "oblique" to EPset_Annotation classes of the annotaiton.
Examples with and without it:
- https://i.imgur.com/JtgSeUK.png
- https://i.imgur.com/H7TPnfo.png
2023-03-29 16:37:00 +05:00
Andrej730
86883770b8
Fixed wrong text direction for plan level annotation
...
It occured when plan level spline direction was right-to-left.
2023-03-29 15:02:39 +05:00
Andrej730
d19c7d27a8
Cleaned up meshes produced during slab / arbitrary profile edit
...
Previously it was producing orphan meshes
2023-03-29 14:30:35 +05:00
Andrej730
eb35aad6e3
Added warning to bim.set_arc_index
2023-03-29 14:30:35 +05:00
Thomas Krijnen
5f952ecd00
Update ci.yml
2023-03-29 11:14:51 +02:00
Thomas Krijnen
74cd28d761
Update ci-py-only.yml
2023-03-29 11:14:41 +02:00
Thomas Krijnen
6e8049c43b
Update ci.yml
2023-03-29 10:46:18 +02:00
Thomas Krijnen
bbc61483ad
Update ci-py-only.yml
2023-03-29 10:45:54 +02:00
Andrej730
db5315249c
Fixed bug with slab editing decorator breaking on undo
...
Because of jumping between modes "bim.set_arc_index" doesn't remove newly created vertex groups on undo which resulted in error in decorator.
File "\blenderbim\bim\module\model\decorator.py", line 134, in __call__
if group_index in vertex[deform_layer]:
AttributeError: BMElem[key]: invalid key, must be a BMLayerItem
2023-03-29 10:34:11 +05:00
Sigma Dimensions
4d34404e47
code clean up
2023-03-29 01:59:42 +00:00
Sigma Dimensions
fa261b3281
Features to re-order cost items in a tree (changing parent & changing nesting order)
2023-03-29 01:49:55 +00:00
Sigma Dimensions
73feadcd66
Improved UI for adding cost item values
2023-03-29 01:38:21 +00:00
Sigma Dimensions
da84165e13
Enable object selection from Cost item related products' list
2023-03-29 01:35:21 +00:00
Sigma Dimensions
cc550c413b
fix UI issue for loading product cost items
2023-03-29 01:31:09 +00:00
Sigma Dimensions
5b8b68457f
ios utility to transform a human readable date or duration from string into objects
2023-03-29 00:47:05 +00:00
Sigma Dimensions
7850f8c718
You can now view & and highlight cost items assigned to an object, from Viewport Selection
2023-03-29 00:41:59 +00:00
Sigma Dimensions
3502b560f0
You can now select unassigned cost schedule products
2023-03-29 00:32:08 +00:00
Sigma Dimensions
53aa5e5fe0
You can now clear all cost assignements at once
2023-03-29 00:23:32 +00:00
Sigma Dimensions
674526d2df
Show total elements/tasks/resources assigned to a cost item
2023-03-29 00:06:31 +00:00
Sigma Dimensions
384c9c9872
Refactor BBIM costing code, and re-use shared IOS utilies code
2023-03-28 23:28:00 +00:00
Sigma Dimensions
1170448cd0
New ifcopenshell cost utilities
2023-03-28 23:11:07 +00:00
Sigma Dimensions
a7ec9c097a
Enable displaying assigned nested resources for Cost Items
2023-03-28 23:09:07 +00:00
Sigma Dimensions
9b3b29a91c
Enable displaying assigned nested tasks for Cost Items
2023-03-28 23:05:26 +00:00
Sigma Dimensions
16c4b212fd
Enable displaying nested elements for Cost Item assigned Elements
2023-03-28 22:53:03 +00:00
Andrej730
50ba0815f7
Fixed UI for box alignment
...
Replaced checkboxes with icons and removed vertical and horizontal space between them, now looks neat.
2023-03-28 19:34:32 +05:00
Thomas Krijnen
8d3347c02b
Update Dockerfile
2023-03-28 15:49:27 +02:00
Andrej730
fbd57a2bd7
Fixed array operator bug after 75f56462b (related to #2905 )
2023-03-28 18:16:42 +05:00
Andrej730
75c98e5b00
Exiting current editing decorator if user switches from EDIT mode
...
Switching from EDIT mode acts like canceling editing which seems intuitive.
Now it's also possible to add similar thing to other use of decorators - beware of the possible Blender bug - mentioned it in `ProfileDecorator.install description`
Added this change to editing of profiles, extrusion axis, roof and railing paths, extrusion profiles.
2023-03-28 17:28:59 +05:00
Andrej730
c725eeb5db
IFC Roof - small fix
2023-03-28 16:45:46 +05:00
Andrej730
75f56462b5
IFC Array - option to use local space instead of global ( #2905 )
2023-03-28 15:40:25 +05:00
Andrej730
f6ca12d3b8
IFC Text Multiple literals now displayed in viewport separated by newline
2023-03-28 14:58:12 +05:00
Andrej730
f6b7201bc4
Added default blender selection behaviour to CAD Tool
...
Similarly to BIM Tool (85bba9d )
Now it works exactly as default blender selection - supports box selection etc
2023-03-28 14:52:23 +05:00
Andrej730
ab618be49f
Gable Roof support for roof modifier
...
How it works:
1) You add Roof Modifier to some object that represents roof footprint.
2) Start editing path (Shift-E in BIM Tool).
3) Then you can select any edge and specify roof angles manually for each edge (Shift-R in BIM Tool)
to make side gabled you just need to set angle to 90 degrees. Preview will update automatically. You can set it back to 0 for angle to be defined automatically.
Some other changes:
- refactored decorator.py, in decorator now it's possible to supply some custom bmesh function that will be called on redraw, decorator now also can draw faces;
- changed colors for selected verts / edges to less bright, now it in more contrast to selected verts / edges color and seems much more readable;
2023-03-28 12:43:06 +05:00
Sigma Dimensions
5943e7e62e
api usecase to re order related objects in a nest
2023-03-28 04:29:08 +00:00
Sigma Dimensions
fde654aee7
api usecase to change nest
2023-03-28 04:27:47 +00:00
Sigma Dimensions
4880e1f9eb
You can now select individual Task Inputs & Task Ouputs directly from the task quantity assignments.
2023-03-28 04:13:18 +00:00
Sigma Dimensions
8083a635a8
You can now import work schedules from csv
2023-03-28 04:04:48 +00:00
Dion Moult
fab76bbcde
Fixed bug where enumeration values in psets could be empty lists.
2023-03-27 23:08:47 +11:00
krande
7f78df595f
minor clarification in comment
2023-03-27 13:35:24 +02:00
krande
03ff34f89f
update ci-restart script with code that works and is testable locally
2023-03-27 13:35:24 +02:00
krande
8820a1dcc3
switch to a python implementation of the same procedure
2023-03-27 13:35:24 +02:00
krande
514975d123
add a workflow to catches and restarts failed conda builds due to 143 errors. And minor cleanup of unused variables in conda meta.yaml
2023-03-27 13:35:24 +02:00
Dion Moult
c87911f00e
IFC selector now uses "class" as a keyword to get the IFC class to disambiguate between "type" and "class".
2023-03-27 21:47:11 +11:00
Dion Moult
1e77562f0f
Fix #2847 . You can now join meshes and extrusions together.
2023-03-27 21:46:26 +11:00
Dion Moult
b1843ce781
Fix IfcTester bug which did not consider null enumeration values
2023-03-27 17:36:06 +11:00
Dion Moult
02fb09ff7e
Implement faux-mirroring.
2023-03-27 14:21:59 +11:00
Dion Moult
bdb193f500
Minor fix
2023-03-27 13:38:14 +11:00
Dion Moult
e9a3630595
Fix #2898 . You can now copy materials from the materials tab.
2023-03-26 19:04:32 +11:00
Dion Moult
fb3e4016ec
See #2898 . Fix bug where UI data was not refreshed when you switched active materials.
2023-03-26 18:07:10 +11:00
Trashman247
15a1aa5355
Move bl_descriptions
...
Moved bl_descriptions under bl_options when bl_options exists, copying the syntax of already existing operators with descriptions.
2023-03-26 17:46:33 +11:00
Trashman247
f1d6e95e51
Add tooltips to IFC Project Info and Clash Sets Panels
2023-03-26 17:46:33 +11:00
Dion Moult
b9c99b35a5
Fix #2881 . Support added for referencing nested relationships and material set items.
2023-03-25 22:07:18 +11:00
Dion Moult
df0a503b89
Improve implementation of is_moved so that anywhere we check movement, types and projects are not considered
2023-03-24 21:59:09 +11:00
Dion Moult
346071185f
Fix bug where appending a product from a library which had relationships to types caused a bunch of types to be pulled in unintentionally
2023-03-24 20:53:55 +11:00
Dion Moult
f3f90e0ad5
Fix bug where mesh analysis during updating meshes as solids (i.e. extrusions) did not remove doubles, causing it to fail on sloppy meshes (and meshes are often sloppy)
2023-03-24 20:53:18 +11:00
Dion Moult
8aa2c1eea7
Fix critical bug where types would think they moved and cause long syncs at export time.
2023-03-24 20:52:20 +11:00
Dion Moult
57c32e55c2
Fix #2698 . Bug where clash sets couldn't be visualised if you had one of the models open (i.e. not linked) in the active session.
2023-03-24 18:25:33 +11:00
Dion Moult
de080a668f
Fix #2901 . Silly typo.
2023-03-24 17:48:27 +11:00
Dion Moult
00fc71dcbe
Fix #2837 . Shared subelements mistakenly caused the subelement append loop to break early. The solution is to traverse one level at a time.
2023-03-24 17:36:46 +11:00
Andrej730
808cb6ec14
Fixed outdated code issue
2023-03-24 11:00:08 +05:00
Andrej730
8899776106
Fixed #2900
...
1) Leaders text decorator wasn't changed after adding support for multiple literals
2) added drawing data update on toggling viewport annotations - so user would see correct values right away; also fixed similar thing on updating product
2023-03-24 11:00:08 +05:00
Andrej730
ae674b00c2
Fixed bugs after adding aggregated text annotations ( #2899 )
2023-03-24 10:09:23 +05:00
Dion Moult
73b6d23d4f
Minor fix
2023-03-24 16:05:27 +11:00
Dion Moult
6d1cabe534
Fix #2887 . Fix bug where you could create multiple opening objects.
2023-03-24 15:03:39 +11:00
Dion Moult
ab34fda42c
See #2887 . Save mesh dialog now only shown when mesh is edited.
2023-03-24 14:33:13 +11:00
Dion Moult
fab4133df6
Minor fix
2023-03-24 13:22:10 +11:00
Dion Moult
301e368a2c
Minor fix
2023-03-23 22:09:31 +11:00
Dion Moult
0a22714fb8
See #2887 . Experimental edit mode toggle override to ensure mesh changes stay in sync and so that you can edit meshes without openings applied.
2023-03-23 21:51:06 +11:00
Thomas Krijnen
ef2cec7435
#2884 depends python3-pytest
2023-03-23 09:05:39 +01:00
Dion Moult
b4f486e9aa
Minor fix
2023-03-23 16:54:15 +11:00
Andrej730
297303063e
Small changes in default names for saving ifc projects
...
1) changed first ifc saving handler from save_pre to save_post so that in the situation when you just created with .blend file and started ifc project on save dialog would suggest the same name for the .ifc file and for .blend file (previously it was always suggesting ".ifc" and you had to type it in manually).
2) suggested default ifc project named changed from `<blend_filename>.blend.ifc` to `<blend_filename>.ifc` for simplicity.
PS save_pre didn't really work anyway - by the time "save ifc dialog" file was invoked and appeared .blend file was already saved anyway.
2023-03-23 09:54:16 +05:00
Andrej730
df95bdb48e
Fixing tests after 2003bfe4f
2023-03-23 09:53:02 +05:00
Dion Moult
95ac021623
Improve UI to indicate active representation.
2023-03-23 15:37:52 +11:00
Dion Moult
416efa4f14
See #2887 . Fix bad UI design that could lead to objects created with the unintended context.
2023-03-23 10:44:57 +11:00
Ryan Schultz
2003bfe4fe
Added_MODEL_VIEW_context
...
added...
context_type="Model", context_identifier="Annotation", target_view="MODEL_VIEW", parent=model
from: https://github.com/IfcOpenShell/IfcOpenShell/issues/2890
2023-03-23 08:00:39 +11:00
Andrej730
fc55a48c11
Automated adjustment of annotations scale if either camera orthographic scale or drawing scale changed
2023-03-22 15:56:55 +05:00
Andrej730
37a6be1e2b
Ifc text viewport rotation for text with box alignment
2023-03-22 15:47:07 +05:00
Andrej730
e551bf531c
Optimized ifc text viewport rotation algorithm
2023-03-22 14:37:48 +05:00
Andrej730
e173ea7f80
Ifc Text rotation in viewport preview
2023-03-22 14:05:03 +05:00
Andrej730
f8dc421f03
Fixed bug with multiline text in svg
...
Insertion position at <text> instead of <tspan> creates unnecessary x offsets between tspans
2023-03-22 11:04:43 +05:00
Andrej730
e2afb34e0d
Fixed typo causing #2889
2023-03-22 10:09:38 +05:00
Andrej730
f7181aae8a
Multiple literals in 1 Ifc Text + aggregated text annotations
...
Added option to store multiple literals inside 1 Ifc text object.
If multiple literals share the same `BoxAlignment` then only the first one will be displayed in viewport
to prevent visual clutter (although added small asterisk symbol to indicate that there are still multiple literals).
Added option for aggregated text annotations. Example - "door-tag" symbol.
If you create text, specify "door-tag" symbol in EPset_Annotation.Symbol
\and add two literals to it then they'll automatically will fit to that door-tag in the svg drawing
(https://i.imgur.com/OXaIlWe.png ).
The way it works - you define symbol in symbols.svg (or in your own symbols svg file)
and then add the `<text>` fields where text from literals will fit right in.
The imporant note: `<text>` tag must have attribute `data-type="text-template"` for it to work.
For example: `<text text-anchor="middle" dominant-baseline="middle" data-type="text-template"></text>`
2023-03-21 17:37:28 +05:00
ArturTomczak
2a0fdd214c
update the namespaces to current IDS schema
2023-03-21 20:37:37 +11:00
Dion Moult
45209be0ff
You can now easily get a list of FMHEM classes and subtypes to list explicitly in IDS requirements
2023-03-21 17:15:59 +11:00
Dion Moult
fcb3640bee
IfcTester webapp can now render simple PartOf requirements
2023-03-21 17:13:34 +11:00
Dion Moult
d503a4b50b
Fix #2883 . Regression in text in drawings.
2023-03-21 12:31:32 +11:00
Dion Moult
8bae2984e1
Fix #2886 . Typo.
2023-03-21 09:11:30 +11:00
Andrej730
78499cc55d
Fixed bugs related to "print all" ( #2882 )
2023-03-20 15:15:54 +05:00
Dion Moult
b6aa5c57c0
Fix bug where copying types with parametric materials could lead to invalidly reused material set items.
2023-03-20 20:40:11 +11:00
Dion Moult
d71e34f073
Fix bug where 2D types were not loaded as a fallback from the body representation.
2023-03-20 19:42:54 +11:00
Dion Moult
a38d06d7e7
Remove dead code that manually synced drawing references. Now we have an automatic sync_references function instead.
2023-03-20 17:05:43 +11:00
Dion Moult
72b5cc8a44
Minor fix
2023-03-20 17:03:39 +11:00
Dion Moult
c97e1079e8
See #2866 . Fix issue where annotation should be able to use 3D coordinates (i.e. Model context type) for elevations and sections where it makes more sense.
2023-03-20 16:36:50 +11:00
Carlos Villagrasa
65caa7906d
Merge remote-tracking branch 'upstream/v0.7.0' into pset_custom_units_test
2023-03-19 22:33:01 +01:00
Carlos Villagrasa
d89a8520a9
Added a test for pset custom IfcUnits
2023-03-19 22:23:36 +01:00
Andres
d68356c3a7
Rename class causing unregistering error
2023-03-20 08:21:11 +11:00
Andres
cb0e8b6bf2
Add own sublogger for IfcSverchok
2023-03-20 08:21:11 +11:00
Andres
b20b99669d
Chore: add newline at end of file
2023-03-20 08:21:11 +11:00
Andres
d41a277b71
Fix runtime error when unregistering add-on
2023-03-20 08:21:11 +11:00
Andres
33e6a0fdae
Update logger to match Sverchok latest
2023-03-20 08:21:11 +11:00
Massimo Fabbro
d911d8579d
Add qto data file
2023-03-20 08:12:24 +11:00
Massimo Fabbro
05bdc962a3
Now it's possible to see the selected object related cost items and related quantities in qto n-panel
2023-03-20 08:12:24 +11:00
Sigma Dimensions
0e03a01f61
fixing previous commit #ff806dc
2023-03-19 14:11:32 +00:00
Sigma Dimensions
ff806dc6e4
improve covering qto calculation
2023-03-19 13:30:35 +00:00
Thomas Krijnen
5fcfbac4a3
Update validate.py
2023-03-19 13:24:27 +01:00
Thomas Krijnen
00b18f67cf
#2685 indeterminate upper bound formatting
2023-03-19 12:46:15 +01:00
Dion Moult
088354a96b
Fix critical bug where copied representations would be inefficiently or incorrectly replicated.
2023-03-19 22:03:45 +11:00
Dion Moult
cfd857233c
Fix #2864 . Fix bug where element containment was invalidly prioritised over voids and fills in relative placement.
2023-03-19 18:46:34 +11:00
Dion Moult
2816d7f522
Fix bug where deleting the drawing object could lead to orphaned relationships
2023-03-19 18:15:09 +11:00
Dion Moult
3da718a6d1
Fix bug where removing objects could leave orphaned annotation relationships
2023-03-19 15:17:26 +11:00
Dion Moult
558aff72a0
Psets and qtos are now only created when properties exist to prevent invalid IFCs.
2023-03-19 14:49:31 +11:00
Dion Moult
bcc399b842
Empty psets are purged to discourage invalid psets with no properties
2023-03-19 13:13:15 +11:00
Andrej730
32e47d03d4
IFC text - box alignment in viewport
2023-03-18 11:56:29 +05:00
Carlos Villagrasa
a669c194cf
Merge pull request #2869 from cvillagrasa/api_material_fix
...
Api material fix
2023-03-17 17:04:22 +01:00
Carlos Villagrasa
91f4687eac
Revert "Add more parameters to material.add_layer"
...
This reverts commit 9946117de1 .
2023-03-17 17:02:35 +01:00
Andrej730
31f6baaf67
small refactor for Ifc.edit and tool.Ifc
...
1) replaced IfcStore.edited_objs.add with tool.Ifc.edit
2) updated interface in tool.py
3) removed unlink from tool.Ifc - it was declared there twice
2023-03-17 17:50:56 +05:00
Andrej730
a83c4b2896
Stair, roof, railing - auto updating representation when creating one or update it
...
So basically there should be no need to manually update representation after you created one of the objects from ifc modifiers.
2023-03-17 17:32:36 +05:00
Andrej730
c685425667
Fixed bugs with text annotations after
...
1) Bug when new text added without specifying it's font size in class appeared empty;
2) Bug when leader text appeared weirdly bold.
2023-03-17 17:02:42 +05:00
ay-ex
553334d50e
add imports to snippet
...
added imports and syntax highlighting so it is easier to run for newcomers
2023-03-17 20:33:15 +11:00
Andrej730
0b7b0a29a9
Solved redundant spaces in multiline svg text annotations ( #2833 )
...
The issue occurs because of svg pretty formatting - indent spaces <text> tag treats as actual spaces. Because of that use some css magic to remove those spaces from <text> tag and assign class to it's children <tspan> tags.
Altough trying to solve this issue I've tried to disable svg pretty format and got empty svg as a result (only templates, styles, no annotations) for some reason.
2023-03-17 11:05:27 +05:00
Andrej730
ae7f834a0f
draw_text_annotation refactor
...
Refactored a code a bit and replaced literal parsing with `text_obj.BIMTextProperties.text` since it's already done beforehand in `tool.Drawing.update_text_value()`.
2023-03-17 11:05:26 +05:00
Andrej730
fe0a98a44f
black format
2023-03-16 16:08:58 +05:00
Andrej730
35e748089b
Prevent pyrna_enum_to_py warnings on using BIM Tool hotkeys
...
Type of warning fixed:
WARN (bpy.rna): pyrna_enum_to_py: current value '0' matches no enum in 'BIMModelProperties', '', 'ifc_class'
2023-03-16 16:08:58 +05:00
Andrej730
ff2cda7d18
Small refactor + allowing to preview text in viewport while editing
2023-03-16 16:08:58 +05:00
Andrej730
0d473fa9ac
Fixing BoxAlignment value in tests (similar to 9f7db386a)
2023-03-16 16:08:58 +05:00
Andrej730
d8eb765906
BIM Tool - hotkey for editing text annotation
...
Added hotkey in BIM Tool for editing active text annotation (It's binded on Shift + E).
2023-03-16 16:08:58 +05:00
Carlos Villagrasa
fab7b590f7
Allow for custom IfcUnits when editing psets
2023-03-16 20:39:32 +11:00
Andrej730
c9f52d2f8e
Option to print all svg drawings #2794
...
It's working either if you shift click the printing button or supply `print_all = True` argument to `bim.create_drawing operator`.
2023-03-16 11:35:31 +05:00
Andrej730
821993d289
Fixed accidentally removed line in ee1e40171
2023-03-16 10:11:26 +05:00
Andrej730
2d32bc609a
Figured a new way to update viewport to preview changes in ifc text
2023-03-16 10:11:26 +05:00
Andrej730
296cec02e8
Removed outdated code from BIMTextProperties
2023-03-16 10:11:26 +05:00
Andrej730
b55ac88c9d
Fixing tests after 9f7db386a
...
TestExportTextLiteralAttributes and TestImportTextAttributes was failing because now we're assuming that BoxAlignment will have 1 of values from the list below and not "BoxAlignment"
"top-left", "top-middle", "top-right", "middle-left", "center", "middle-right", "bottom-left", "bottom-middle", "bottom-right"
2023-03-15 19:43:17 +05:00
Andrej730
c6d3598c52
Fixing tests after e9fdc979d
2023-03-15 19:43:17 +05:00
Andrej730
c4d2b30017
black format
2023-03-15 19:43:17 +05:00
Andrej730
ee1e401719
Ifc Text - drop down menu to switch font size
...
Added drop down menu to Ifc Text section in object properties where you can change text's size and it will automatically change it in `EPset_Annotation.Classes`. You can also preview it in viewport and it will write in IFC only after you finish editing.
Still need to investigate `annotation.Annotator.resize_text(context.active_object)` in `refreshFontSize`.
2023-03-15 19:43:16 +05:00
Andrej730
3c2ef518e8
IfcText - box alignment interface instead of manually typing text position
...
realigning box widget
2023-03-15 19:43:16 +05:00
Andrej730
f3e327e088
Added classes description for EPset_Annotation
2023-03-15 19:43:16 +05:00
Andrej730
be1d4e06de
IfcText - different text sizes in viewport
2023-03-15 19:43:16 +05:00
Dion Moult
32f5a77d07
New shape utilities for getting top / bottom elevations and bbox.
2023-03-15 18:51:31 +11:00
Dion Moult
9121a6b864
Revert "Fix #2418 . Object materials are now found in the materials tab."
...
This reverts commit 7666463751 .
2023-03-15 18:30:11 +11:00
Carlos Villagrasa
9946117de1
Add more parameters to material.add_layer
2023-03-15 08:27:46 +01:00
Carlos Villagrasa
ee85055d45
Fix bug in which layer.Material was erased
2023-03-15 08:27:27 +01:00
Andrej730
cce0867f63
IfcText - spacing in multiline text now depends on text size #2833
2023-03-14 19:38:15 +05:00
Andrej730
021321eb65
IfcText - support multiline text in viewport preview
2023-03-14 19:38:15 +05:00
Andrej730
6bd1b84b2b
IfcText to appear on top of object properties stack
...
1) Puts IFC Text only on top of ifc panels to make it easier to change it's text
2) I guess it could be a good practive to set `bl_order = 1` by default so it will be possible later to prioritize something since by default blender sets `bl_order = 0` and then even `bl_order = -1` wouldn't help.
3) May not work in previously created files
2023-03-14 19:38:15 +05:00
Massimo Fabbro
f5281a0895
Delete unuseful function
2023-03-14 11:24:37 +11:00
Massimo Fabbro
08fdf6014d
weight calculator improvement (see #2859 )
2023-03-14 11:24:37 +11:00
Andrej730
94f06d9e18
Another fix for dissolve limit in hiped roof generator...
2023-03-13 17:05:08 +05:00
Andrej730
8405ee4926
Fixed bug dissolve limit in generate hipped roof ( e69452883)
...
Now it will work fine in both edit and object mode
2023-03-13 11:28:36 +05:00
Massimo Fabbro
154c4295df
Finish mapping mappable quantities with get_weight
2023-03-13 13:18:02 +11:00
Massimo Fabbro
93519c1c63
Now is possible to calculate an object gross weight
2023-03-13 13:18:02 +11:00
Dion Moult
1250a20e35
Fix #2858 . Fix #2856 . BlenderBIM Add-on drawings and IfcCSV now support the new quoted and escaped selector capabilities.
2023-03-13 11:09:56 +11:00
Thomas Krijnen
9ec54228f8
Update ci-py-only.yml
2023-03-12 12:01:12 +01:00
Dion Moult
3f94184ace
Fix bug where IfcURIReference properties wouldn't display
2023-03-12 21:55:07 +11:00
Thomas Krijnen
88c06f5450
Try different way of invoking ccache
2023-03-12 11:46:25 +01:00
Thomas Krijnen
e50045bbed
Update ci.yml
2023-03-12 10:06:32 +01:00
Thomas Krijnen
41417a77b9
Update ci-py-only.yml
2023-03-12 10:06:29 +01:00
Thomas Krijnen
a5774bd02a
Update ci-py-only.yml
2023-03-12 09:40:30 +01:00
Thomas Krijnen
c38f48ee62
Try to let pip not install outdated ifopsh
2023-03-12 09:04:33 +01:00
Dion Moult
30c850e37d
Fix #2140 . Voids and fills can now be added, removed, and edited for non-geometric aggregates.
2023-03-12 12:52:30 +11:00
Dion Moult
b6fdbd979e
Adding existing objects as openings no longer move to cursor which is more intuitive
2023-03-12 12:52:30 +11:00
Thomas Krijnen
7a8bcbee33
#2685 poly curve test cases
2023-03-11 20:44:59 +01:00
Thomas Krijnen
42d7c7d32c
#2685 Recompile rule
2023-03-11 20:44:11 +01:00
Thomas Krijnen
c71a5a4d65
#2685 Indexing of simple type aggregates; fix index codegen bug; sizeof of indeterminate; repeat over indeterminate
2023-03-11 20:43:00 +01:00
Andrej730
e69452883f
Temporarily commented out dissolve_limited in generate_hipped_roof
...
Currently it causes an error if you run it in object mode and doesn't really work in edit mode either because you may have no vertices selected. Will fix soon.
2023-03-11 20:47:41 +05:00
Sigma Dimensions
8624888bfc
You can now specify custom names for types instead of relying on the default "TYPEX" naming
2023-03-11 14:13:56 +01:00
Andrej730
fad5c7c921
Section annotation - custom markers / toggle displaying the markers
...
Now it's possible to set custom markers in section annotation.
To do so you need to add BBIM_Section pset to the annotation and then you can either toggle displaying some marker with ShowStartArrow/ShowEndArrow or you can write the id of some custom symbol in StartArrowSymbol/EndArrowSymbol (need to make sure the symbol is included in symbols.svg).
Other changes:
- removed vertex sorting in decoration.py so that start and end points will be the same thing both in svg and in viewport representation (previously the sorting was needed of the direction the arrow in shader wasn't inverted));
- fixed bug when in svg section arrow symbols wouldn't rotate if you move individual verts of the annotation, not the entire object (I guess this bug sneaked in after adapting elevation annotation)
2023-03-11 18:02:16 +05:00
Dion Moult
0dad93bf00
See #2140 . You can now bulk unassign aggregates, and they are auto directly contained in any previous indirect containers.
2023-03-11 16:31:23 +11:00
Dion Moult
c51aa910cb
See #2140 . You can now select multiple objects and bulk add them to a single aggregate, and customise the aggregate class.
2023-03-11 16:31:23 +11:00
Andrej730
6d486aeb4d
Removed debug print
2023-03-11 10:30:24 +05:00
Dion Moult
7041a4a4a9
Fix #2850 . Splitting walls now reassigns voids and fills to the appropriate split portion.
2023-03-11 15:08:26 +11:00
Andrej730
381570cd9e
Decorators - a bit more consistent geometry parsing between edit/object modes
2023-03-10 19:26:08 +05:00
Andrej730
c9f93b2316
Section annotation option not to draw full line between the markers
...
Here's the example - https://i.imgur.com/db09OVF.png
To make it work need to add BBIM_Section property set to the annotation and set "HasConnectedSectionLine" to False (by default it's True).
Also added preview for this feature in viewport.
2023-03-10 19:26:08 +05:00
Dion Moult
3706ecc5f2
Fix #2689 . Fully disable wall sketches until we come up with a proper UX for it.
2023-03-10 21:21:03 +11:00
Dion Moult
51ad51036e
Generated spaces now remember height and origin represents recalculation point.
2023-03-10 19:48:49 +11:00
Dion Moult
3edbcb9ff8
Fix #2849 . Brick.ttl is now bundled.
2023-03-10 17:49:11 +11:00
Dion Moult
3e3c1699da
Fix #1047 . You can now set offsets to the iterator via Python.
2023-03-10 15:49:45 +11:00
Dion Moult
7666463751
Fix #2418 . Object materials are now found in the materials tab.
2023-03-10 15:37:21 +11:00
Dion Moult
c532b90c92
Minor fix.
2023-03-10 08:50:25 +11:00
Andrej730
7677733850
small fix for tool.Drawing.get_drawing_metadata
...
Otherwise it always returned a list with 1 empty string like `[ "" ]` which resulted in messy class names in svg like "-87IfcAnnotation0LtaLiEpzAOxEqmIvCV27EFALLSLOPEANGLE".
2023-03-09 18:50:05 +05:00
Andrej730
972d701801
Fall annotations
...
Added fall annotation - they appear both in viewport and svg.
There are three types of annotations (SLOPE_ANGLE, SLOPE_FRACTION, SLOPE_PERCENT) you can switch them by changing annotation's ObjectType to one of those values.
By default it uses angle representation.
2023-03-09 18:50:05 +05:00
Dion Moult
cdee5532b6
Fix #2838 . Bug where invalid 3D entity was used for 2D coordinates.
2023-03-09 21:01:54 +11:00
Dion Moult
38019288de
Fix #2839 . Bug where undo system could store edits of IFC primitives.
2023-03-09 18:18:56 +11:00
Dion Moult
3e2ca328d2
Get side area lets you choose the side axis now in util.shape.
2023-03-09 17:48:42 +11:00
Dion Moult
93b44b43a5
You can now get all materials including materials in sets via the util module.
2023-03-09 17:48:10 +11:00
Dion Moult
4ebcf8133c
Fix #2435 . The selector now supports regex filtering.
2023-03-09 11:07:28 +11:00
kzfile
13f8b183cb
fix IfcSpace default style
2023-03-08 20:58:49 +01:00
Andrej730
8e5154e65e
Minor fix for 6d524b632
...
Added get_viewport_context to interface too
2023-03-08 19:53:22 +05:00
Andrej730
6d524b632c
Small fix for warnings " 'bim.cad_tool' not found for space"
...
Small fix to allow setting cad_tool even if operators were called not from viewport and to avoid warnings like "Warning: Tool 'bim.cad_tool' not found for space 'PROPERTIES'"
2023-03-08 18:42:36 +05:00
Andrej730
4ad3d65628
UI fixes for railing and roof modifiers
...
Changes:
1) Added editing railing / roof path as hotkey to bim / cad tools.
2) Added profile decorator
3) Some switching modes and tools for convenience
4) Fixed nasty bug in tool.Blender.apply_bmesh - method wasn't updating current mesh if it was in edit mode.
2023-03-08 18:22:28 +05:00
Dion Moult
4282014bfa
Fix #2843 . You can now get the bounding box centroid of geometry.
2023-03-08 20:58:21 +11:00
Andrej730
daee666735
Ifc Roof modifier
...
Added Ifc Roof modifier (also added it to shift-a menu and type manager). It works similar way to railing modifier - you define roof profile and then roof is generated.
Currently it has only 1 type of roof - HIP_ROOF (it utilizes bim.generate_hipped_roof operator).
2023-03-07 18:05:49 +05:00
Andrej730
5a6ae57833
Added ifc operators to some model operators
2023-03-07 09:43:05 +05:00
Andrej730
da8e5dced1
Added test to check #2839
2023-03-06 18:36:29 +05:00
Andrej730
fb38c68c7d
Black format after adding railing modifier
2023-03-06 16:01:17 +05:00
Andrej730
2dc3c9b027
Railing - added to type manager
2023-03-06 15:47:55 +05:00
Andrej730
b057312ebf
Ifc Railing modifier
...
Added Ifc Railing modifier (similarly to stair, window, door modifiers...).
You can start working with it either creating some edge based path and adding this modifier or by creating Railing for Shift+A menu (it will create some simple path to start with).
In railing modifier you can switch two edit modes - editing main railing properties and editing path. Editing path will show only the railing path, you can edit it and save it. You cannot edit the railing pass if you're not in this mode.
2023-03-06 15:47:55 +05:00
Thomas Krijnen
d1217e61c4
#2822 svg: begin group lazily when data is actually being appended
2023-03-06 09:16:27 +01:00
Thomas Krijnen
b521b68fd8
svg: compiler warnings
2023-03-06 09:15:27 +01:00
Thomas Krijnen
c9302cde7c
svg: prevent garbage data on empty path
2023-03-06 09:14:40 +01:00
Dion Moult
823e3c76eb
Fix #2699 . Bools and numeric filters are now handled in the selection UI.
2023-03-06 18:10:51 +11:00
Dion Moult
30d6289942
New utility to quickly get the grid north or true north angles.
2023-03-06 17:47:22 +11:00
Dion Moult
a43a3d1ecd
Fix #2745 . You can now quote and escape complex pset names in the selector.
2023-03-06 17:47:03 +11:00
Dion Moult
9e0c5e9244
Fix #2835 . Bug where in certain scenarios the decorator would crash due to prematurely freed bmesh.
2023-03-06 15:06:12 +11:00
Dion Moult
a8f1df8a50
Fix #2836 . Bug where very small lines could accidentally be seen as closed loops due to paperspace rounding.
2023-03-06 12:07:28 +11:00
Dion Moult
fba84ecd3c
Fix bug where invalid svg embedding was done when building sheets.
2023-03-06 11:52:55 +11:00
Dion Moult
8cc4edf60f
Titleblocks now contain north symbol with dynamic angles.
2023-03-06 11:52:39 +11:00
Dion Moult
e6eb455d71
Bump
2023-03-04 23:04:05 +11:00
Thomas Krijnen
b84782e07f
#2810 catch bad positioning warning and empty result
2023-03-03 14:32:02 +01:00
Dion Moult
2e3e0bef12
Minor fix
2023-03-03 22:27:47 +11:00
Dion Moult
51ff2f05bf
Fix #2823 . Only update colours if you actually change them.
2023-03-03 22:22:47 +11:00
Andrej730
42110e7f63
Added IfcPropertySingleValue to EnablePsetEditing to fix bug
...
Noticed bug trying to edit "Data" in psets from ifc modifiers and fixed it.
Traceback:
Error: Python: Traceback (most recent call last):
File "\blenderbim\bim\module\pset\operator.py", line 94, in execute
self.load_from_pset_data(pset)
File "\blenderbim\bim\module\pset\operator.py", line 206, in load_from_pset_data
metadata.set_value(value)
UnboundLocalError: local variable 'value' referenced before assignment
2023-03-03 15:36:14 +05:00
Dion Moult
f0733cb148
Minor hotfix
2023-03-03 20:53:10 +11:00
Dion Moult
7383f44f8f
See #2645 . Update tests to use overridden built-ins.
2023-03-03 18:22:47 +11:00
Dion Moult
311a80955d
Fix #2828 . Bug where existing "TOP" connections were not removed if you tried to extend to a new slab / roof. Allow generic "top" connections to any LAYER3 element.
2023-03-03 17:59:20 +11:00
Dion Moult
08561b11c3
Fix #2077 . You can now edit profiles via their axis line.
2023-03-03 17:47:16 +11:00
Andrej730
47192cc834
Fixed typo in generate_pset_templates.py
2023-03-03 11:08:56 +05:00
Dion Moult
860a0bfc8e
Fix #2828 . Extending walls to roofs / slabs is now more intuitive as you select the target slab last.
2023-03-03 14:42:08 +11:00
Dion Moult
5677768e99
Fix #2818 . Alignment functions now considers layer set usage offsets.
2023-03-03 11:55:49 +11:00
Andrej730
4c58ca28e5
Synchronizing batting viewport and svg dimensions
...
Also switched to even more simple pattern to indicate insulation because of the vertex limit
2023-03-02 19:00:23 +05:00
Dion Moult
588d6ccaaa
Attempt 2.
2023-03-02 21:51:09 +11:00
Dion Moult
21f583800a
Ensure Python 3.10 is used to fetch BlenderBIM Add-on dependencies
2023-03-02 21:43:22 +11:00
Andrej730
4ea08a087c
Minor array refactor
2023-03-02 14:39:36 +05:00
Dion Moult
e5885db187
Get batting thickness from decorator data
2023-03-02 19:02:00 +11:00
Andrej730
1fca38625f
A last bit of cleaning up temp files after tests
2023-03-02 10:45:00 +05:00
Sigma Dimensions
cf2ad43ed7
refactor pset operator
2023-03-01 15:37:19 +01:00
Andrej730
fb3023bb79
Moved blenderbim tests temporary files to separate directory
...
Moved temporary test files to separate directory and added it to gitignore
Still have test.exp.cache.dat spawning from `test_feature`...
2023-03-01 18:46:13 +05:00
Andrej730
52f18fea85
Viewport preview for batting annotation
...
Currently it's always set to the same thickness and doesn't update from pset value.
It's currently using zigzag pattern to indicate batting because some techincal limitation of the shader (Error: C6033: Hardware limitation reached, can only emit 256 vertices of this size)
Also added batting to the annotation tool panel.
2023-03-01 17:37:17 +05:00
Dion Moult
d5ecb9b8ea
See #2820 . Fix issue where some hatches weren't merged when an object had multiple SVG paths.
2023-03-01 22:25:12 +11:00
Dion Moult
67d33001d5
See #2820 . Ensure only closed polygons are merged in drawings.
2023-03-01 21:57:33 +11:00
Dion Moult
4f571fa2fc
Attempt to fix pytest bundling.
2023-03-01 21:39:15 +11:00
Dion Moult
c5bd902dc6
See #2820 . See #2822 . Fix to accommodate empty element groups in drawings.
2023-03-01 21:08:34 +11:00
Dion Moult
68282c7a1e
Fix #2821 .
2023-03-01 20:54:07 +11:00
Sigma Dimensions
d40dcae212
fix 5d csv imports with funky characters and numbers, fix 5d export
2023-03-01 10:51:52 +01:00
Dion Moult
12151c40ff
Fix #2799 . Drawing polygon merging now is purely material based.
2023-03-01 17:52:57 +11:00
Dion Moult
9c8b15fa1a
Fix #2645 . No longer override built-in operators for critical features.
2023-03-01 14:30:56 +11:00
Dion Moult
3d49cc9d13
By default, the site is now cut with a nice thick line on drawings
2023-03-01 11:28:45 +11:00
Dion Moult
955c0d19a6
See #2799 . Cut walls with the same material in drawings are now merged by default.
2023-02-28 22:59:45 +11:00
Andrej730
3cf7a9e925
Renamed batting pset
2023-02-28 11:24:47 +05:00
Andrej730
8cbf719772
Replaced tool method from 17add48 with existing one
2023-02-28 10:04:18 +05:00
Dion Moult
2f614330c9
Fix #2781 . Usability bug where it wasn't clear references were only loaded from the active external classification library.
2023-02-28 12:39:15 +11:00
Dion Moult
5a40519114
Minor fix
2023-02-28 11:43:36 +11:00
Dion Moult
96271e8bd8
Users can no longer create orphaned opening elements, which are invalid.
2023-02-28 10:05:22 +11:00
Dion Moult
9b75a415d4
See #2812 . Resolve issue where obsolete link_to_scene argument was used.
2023-02-28 10:03:56 +11:00
Dion Moult
5f71abb5fa
Minor fix to insulation scale
2023-02-28 09:23:28 +11:00
Dion Moult
affb066b7b
Fix #2813 . Bug where the user could try to load thumbnails even though there were no types.
2023-02-28 08:44:36 +11:00
Andrej730
17add48254
Minor refactor for modifiers
2023-02-27 19:18:39 +05:00
Andrej730
f5b6fdcb5b
Batting Annotation pattern
...
Added batting pattern to line annotations.
The way to use it is:
1) Add "Line" Annotation;
2) Change object type to "BATTING"
3) Add object property set "Pset_BBIM_Bating" (also added in this commit) to specify the batting thickness.
Currently there is no preview for batting in viewport.
Other changes:
- EPset_Annotation.ifc -> Psets_BBIM_Annotation.ifc (more general psets ifc library for the future use)
2023-02-27 19:18:39 +05:00
Dion Moult
68bdbe4c4f
Bundle bpypolyskel so that users can start playing with the hipped roof generator
2023-02-27 21:49:04 +11:00
Dion Moult
363ddc2a9b
Minor fix
2023-02-27 20:49:45 +11:00
Dion Moult
20d44378d9
You can now generate type-based spaces and regenerate spaces when boundaries change.
2023-02-27 20:49:38 +11:00
Dion Moult
4fe321275a
Fix bug where space types were not loaded.
2023-02-27 20:47:20 +11:00
Dion Moult
60b1192703
Fix critical bug where a user might override and break existing objects if they reused an object name
2023-02-27 20:46:53 +11:00
Dion Moult
b25233a748
Fix critical bug where duplicate orphaned collections were created in the background.
2023-02-27 20:12:39 +11:00
Dion Moult
d9b54c923c
Fix bug where you couldn't manage spatial types in the type manager
2023-02-27 20:10:27 +11:00
Dion Moult
131ee8270b
Minor fix
2023-02-27 10:57:28 +11:00
Massimo Fabbro
e71bace6a8
update makefile with shapely 2.0.1
2023-02-27 09:10:46 +11:00
Dion Moult
2c4a0669ed
Fix bug where copying to container might get the wrong coordinates if containers weren't synced.
2023-02-26 22:31:21 +11:00
Dion Moult
ee451b6b29
Experimental operator to generate hipped roofs from a footprint.
2023-02-26 21:23:35 +11:00
Dion Moult
7b858fffb2
All generated drawing text now has classes so you can customise their style.
2023-02-26 21:22:43 +11:00
Dion Moult
6ce0deeb63
Fix #2808 . Bug where you couldn't assign element types in IFC4X3.
2023-02-26 11:26:13 +11:00
Dion Moult
96b2eaeae4
Experimental operator to generate spaces bounded by walls.
2023-02-25 21:40:02 +11:00
Andrej730
8fe8175a87
Monolithic stair variant generator
2023-02-25 10:40:27 +05:00
Andrej730
ee2bedfb64
Update openings position based on fillings position at wall regenarete
...
So basically now when you move windows or doors attached to the wall, their openings positions will also be updated if you hit "regenerate" for the wall.
2023-02-24 17:12:41 +05:00
Andrej730
aa8da74ed8
ifc2x3 pset library name fix + copyrights
2023-02-24 11:07:33 +05:00
Dion Moult
f2c03a508f
Fix #2600 . Link back to exact docs folder in repo.
2023-02-24 16:21:21 +11:00
Dion Moult
aa172488b0
Fix #2594 . Document potential lag in PyPI releases of C++ core.
2023-02-24 13:35:46 +11:00
Dion Moult
ae09adf854
Fix #2424 . Bug where indirect assets (e.g. importing a type using a material) with relationships had their relationships duplicated
2023-02-24 13:01:26 +11:00
Andrej730
5b5dd73684
get_inverse_attributes - added more correct recursive unpacking for aggregates and selections
...
Not affected the result schemas though
2023-02-23 18:56:24 +05:00
Andrej730
3849a87adc
Added simple tests for door and window modifier
...
This thing used to result in errors before we fixed `replace_object_ifc_representation`
2023-02-23 18:38:20 +05:00
Andrej730
708dc6aca2
IFC4X3/IFC2X3 pset templates library
...
Generated from xmls from the ISO release of IFC4X3.
Based on https://standards.buildingsmart.org/IFC/RELEASE/IFC4/ADD2_TC1/HTML/annex/annex-a/general-usage/IFC4_ADD2.ifc
Also generated pset templates library for IFC2X3 (also based on similar xmls) but IFC2X3 ifc pset library is using... IFC4X3 schema because IfcPropertySetTemplate and IfcRelDeclares are not available in IFC2X3. Which is okay for our purposes for now.
Will need to update IFC4X3 library if one of the issues will be resolved:
https://github.com/buildingSMART/IFC4.3.x-development/issues/587
https://github.com/buildingSMART/IFC4.3.x-development/issues/586
2023-02-23 18:17:14 +05:00
Dion Moult
2fe2c349fd
Fix #2743 . obj2ifc scripts updated to support multiple OBJ files.
2023-02-23 22:17:34 +11:00
Dion Moult
d396d32a8f
You can now extend beams to walls.
2023-02-23 18:33:31 +11:00
Dion Moult
1fd02755f8
Fix BCF module bugs where certain BCF entities were assumed to exist.
2023-02-23 18:32:44 +11:00
Dion Moult
79d92b511b
Fix #2442 . Fix bug where viewboxes were not clipped when compiling drawing sheets.
2023-02-23 13:16:33 +11:00
Andrej730
ff7d93e66c
Undo tests - proof of concept
...
Created some simple undo tests.
This "flip wall and ctrl-z" test actually is crashing blender if I do it manually - so I guess undo in background mode is still kind of different.
2023-02-22 20:24:43 +05:00
Dion Moult
68a8c7a235
Add basic integration tests for modeling slabs and beams
2023-02-22 21:50:12 +11:00
Dion Moult
5e744ff7d1
Add integration tests for basic wall modeling features
2023-02-22 20:38:02 +11:00
Dion Moult
921a185ffa
Fix bug where natively loaded faceted breps didn't respect false origins.
2023-02-22 16:32:32 +11:00
Dion Moult
855751f026
Fix #2767 . Removing representations now cleans up after orphaned Blender mesh data.
2023-02-22 16:24:24 +11:00
Sigma Dimensions
255c2efe98
Fix sequence data loading for unnamed items, ref #2783
2023-02-21 22:55:44 +01:00
Sigma Dimensions
892b282054
Fix loading task properties when calendar doesn't have a name, ref issue #2783
2023-02-21 20:23:07 +01:00
Dion Moult
26efc6b4e7
Fix bug where BIM tool hotkeys could activate operations without being in a correct state.
2023-02-21 21:54:53 +11:00
Dion Moult
a0618c5827
Fix #2769 . Bug where parametric UI was hardcoded to only work for walls. Now works on any generic parametric vertical layers.
2023-02-21 21:41:52 +11:00
Andrej730
d4bbb6e2c7
Added Model/Profile/Elevation_VIEW context as default for new projects #2784
...
Default Model/Profile/Elevation_VIEW context could be helpful to make openings created with BIM tool more correct.
2023-02-21 11:46:05 +05:00
Andrej730
66b7692227
Fixed windows/openings bugs
...
1) Window bug (#2792 ) - lining_offset wasn't converted from ifc units during window properties editing
2) Openings bug - OveallWidth/OverallHeight based openings was converted to ifc units even though their dimensions were already in ifc units.
2023-02-21 11:20:36 +05:00
Dion Moult
2429f507ad
Fix #2785 . Fix bug where invalid models from Revit that reused material usages could create invalid models.
2023-02-21 13:48:24 +11:00
Dion Moult
03a66d2806
Fix #2787 . Fix creating invalid orphaned property and group relationships when removing systems / groups / elements.
2023-02-21 10:59:47 +11:00
Dion Moult
9d8551cb48
Demo library now has profile names to follow native IFC best practices
2023-02-21 10:14:06 +11:00
Dion Moult
2ca0b52c6a
Fix failing test when editing a material profile with an unnamed profile
2023-02-21 09:51:30 +11:00
Massimo Fabbro
9cc754488b
calculate all quantities smoke test
2023-02-21 09:12:30 +11:00
Massimo Fabbro
f81ceb53cf
add qto feature test
2023-02-21 09:12:30 +11:00
Dion Moult
d1d0b5724d
Revert "Solving test fail - keeping unnamed profiles when updating profiles in MaterialsData"
...
This reverts commit 0e1689c2d9 .
2023-02-21 08:51:44 +11:00
Sigma Dimensions
40560b71c2
BBIM: fix material errors, and add smoke tests
2023-02-20 17:49:54 +01:00
Andrej730
378a25bbaa
Added some .feature convenience debug fixtures
2023-02-20 19:57:05 +05:00
Andrej730
1dfabe2591
Fixed issue with float vectors assertion during tests
...
`sequence.feature` - Added `[:]` to make errors more readable values in errors (for example, (0.20000000298023224, 0.20000000298023224, 0.20000000298023224, 1.0) instead of `<bpy_float[4], Object.color>`
`test_feature.py` - fixed `FAILED test/bim/test_feature.py::test_animate_the_consumption_of_a_wall - AssertionError: Value is <bpy_float[4], Object.color>`
Test was failing because of float garbage in object.color (the comparison was (0.20000000298023224, 0.20000000298023224, 0.20000000298023224, 1.0) <> [0.2, 0.2, 0.2, 1] )
After that fix all tests now are passed 🥲
2023-02-20 19:53:16 +05:00
Andrej730
0e1689c2d9
Solving test fail - keeping unnamed profiles when updating profiles in MaterialsData
...
Solves test_enable_editing_material_set_item test error
```
FAILED test/bim/test_feature.py::test_enable_editing_material_set_item - RuntimeError: Error: Python: Traceback (most recent call last).
RuntimeError: Error: Python: Traceback (most recent call last):
File "\blenderbim\bim\module\material\operator.py", line 587, in execute
self.mprops.profiles = str(material_set_item.Profile.id())
TypeError: bpy_struct: item.attr = val: enum "107" not found in ('79', '98')
Location: C:\software\Steam\steamapps\common\Blender\3.4\scripts\modules\bpy\ops.py:113
```
The problem was `bim.enable_editing_material_set_item"` was trying to set `MaterialsData` profiles and wasn't able to set unnamed profile because `MaterialsData.profiles()` was discarding unnamed profiles (which is seems contradictory because `profiles()` is also handling unnamed profiles anyway).
2023-02-20 18:00:48 +05:00
Sigma Dimensions
bd071cc472
Add smoke test for editing material profiles
2023-02-20 11:08:15 +01:00
Dion Moult
dde847cb5a
IfcTester can now output reports in BCF
2023-02-20 17:50:36 +11:00
Dion Moult
3c17718f70
Fix bug where adding a BCF viewpoint didn't take into account project units
2023-02-20 17:50:36 +11:00
Andrej730
0445119e77
Shifting dimensions defined openings by min_x and min_z to prevent #2784
2023-02-20 11:22:02 +05:00
Dion Moult
e82cb5c149
IfcTester can now create reports in ODS format
2023-02-20 17:05:07 +11:00
Dion Moult
984548f315
IfcTester can now output reports in plain text
2023-02-20 17:04:38 +11:00
Dion Moult
a0be4f58e6
Fix #2780 . Fix bug where validation couldn't be run. pytest is now bundled.
2023-02-20 11:26:09 +11:00
Dion Moult
147602e107
Fix bug where ifcopenshell express rule validator required a logger with set_state.
2023-02-20 11:26:09 +11:00
Andrea Ghensi
ac81169290
build(bcf): remove conda dependency
2023-02-20 07:26:34 +11:00
Dion Moult
1d78e05370
Fix #2774 . Bump IfcOpenShell.
2023-02-19 21:53:49 +11:00
Andrej730
4b15b02ac8
Fixed Door modifier initial opening problem #2784
...
- add check of OverallHeight and OverallWidth for creating openings for doors and windows;
- OverallHeight, OverallWidth update for all the occurences of the type for doors and windows;
- new tool.Ifc method - get_all_element_occurences
2023-02-18 17:11:04 +05:00
Thomas Krijnen
57d18a0644
Update IfcIShapeProfileDef.cpp
2023-02-18 13:00:45 +01:00
Dion Moult
2f73af7e6a
Fix bug where BlenderBIM Add-on BCF module was completely broken. Now works with latest BCF library for BCF-XML v2.
2023-02-18 21:12:36 +11:00
Dion Moult
e712ef344d
New feature in BCF to allow extracting specific files like header files, snippets, or bitmaps.
2023-02-18 21:11:05 +11:00
Dion Moult
f91e9a3119
Fix BCF bug where viewpoints were not created with a .bcfv suffix which is not compliant.
2023-02-18 21:10:27 +11:00
Dion Moult
9cf36f1d91
Fix BCF bug where BCFv2 files were unable to be loaded
2023-02-18 21:09:32 +11:00
Andrej730
ab9a4856ab
Update entity-types mapping for ifc4
...
Added IfcWindowStyle and IfcDoorStyle for suitable StandartCases since StandartCases inherit from IfcDoor and IfcWindow.
2023-02-17 17:57:17 +05:00
Andrej730
d52618277e
Ifc4x3 - entity-types mapping
...
- added mapping entity-types mapping based on iso release of ifc4x3
- added some manual corrections for `generate_util_type_json.py` if someone would regenerate the map for ifc4.
- manual correction in ifc4x3 mapping for IfcCivilElement. It could be removed in the future releases of IFC if https://github.com/buildingSMART/IFC4.3.x-development/issues/583 is resolved
If curious to look what were the changes for mapping between ifc4 and ifc4x3:
https://github.com/IfcOpenShell/IfcOpenShell/commit/da51253fb0a9d08aa93f5fe3c074d3592b3aa997#diff-98f525c91bb47b9820e603fba61cc015d3e6ae7261593d727c51114e3ff73aa7
2023-02-17 17:57:16 +05:00
CyrilWaechter
743bd2c48f
Add buttons to selected related boundaries
...
Related by a common:
- BuildingElement
- BuildingElementType
- Space
- SpaceType
2023-02-17 13:21:24 +01:00
CyrilWaechter
11894de455
Add button space to select its boundaries
2023-02-17 10:43:48 +01:00
Dion Moult
0c8122afc4
See #2762 . Final final attempt.
2023-02-17 13:28:02 +11:00
Dion Moult
f893503d0c
See #2762 . Final attempt.
2023-02-17 13:12:09 +11:00
Dion Moult
504782f156
See #2762 . Attempt 3.
2023-02-17 12:53:55 +11:00
Dion Moult
5d1f32bfc0
See #2762 .
2023-02-17 12:28:19 +11:00
Dion Moult
5bc315be92
See #2762 .
2023-02-17 12:27:31 +11:00
Dion Moult
e8f21c79b1
See #2762 .
2023-02-17 12:03:25 +11:00
Sigma Dimensions
ba24f9b491
- Improve ODS export
...
- Fix XLSX export bug
- Improve active cost item UI active cost item
- Fix missing tool cost function
2023-02-16 20:22:45 +01:00
Andrej730
937fa21cce
Fix to prevent pyrna_enum_to_py warnings using BIM Tool
...
Prevents couple `pyrna_enum_to_py` warnings that occured using BIM Tool
```
WARN (bpy.rna): C:\Users\blender\git\blender-v340\blender.git\source\blender\python\intern\bpy_rna.c:1341 pyrna_enum_to_py: current value '0' matches no enum in 'BIMModelProperties', '', 'ifc_class_browser'
WARN (bpy.rna): C:\Users\blender\git\blender-v340\blender.git\source\blender\python\intern\bpy_rna.c:1341 pyrna_enum_to_py: current value '0' matches no enum in 'BIMModelProperties', '', 'relating_type_id'
WARN (bpy.rna): C:\Users\blender\git\blender-v340\blender.git\source\blender\python\intern\bpy_rna.c:1341 pyrna_enum_to_py: current value '0' matches no enum in 'BIMModelProperties', '', 'ifc_class'
```
2023-02-16 17:43:34 +05:00
Andrej730
16cbab2de7
Commented how to regenerate BIM Tool keymap in case of errors
2023-02-16 16:40:07 +05:00
Andrej730
a85f81d8ca
Refactor - moved some helpers functions to tool
2023-02-16 15:16:42 +05:00
Andrej730
1617ede010
Simplified addings hotkeys descriptions in BIM Tool
...
Now it's more universal and doesn't require some single operator to be attached to hotkey description.
Also added description for some hotkeys
2023-02-16 14:36:24 +05:00
Dion Moult
d9f1d501aa
See #2762 . Try again.
2023-02-16 15:01:19 +11:00
Sigma Dimensions
8ee60db0df
Re-assigning a product type class should also reassign the class of its typed instances
2023-02-15 23:11:30 +01:00
Sigma Dimensions
d2e02c8ab3
complete cost schedule exports commit 9dc69f3
2023-02-15 23:09:15 +01:00
Sigma Dimensions
2d4e4d2445
forgotten commit for duplicating tasks
2023-02-15 23:00:43 +01:00
Sigma Dimensions
9dc69f3aa7
You can now export Cost Schedules as CSV, ODS, XSLX with BlenderBIM or using the cli app
2023-02-15 22:50:39 +01:00
Andrej730
476ab506d0
Added ifc4x3 json schema and it's parser
...
API for docs works the same way as it worked for ifc2x3 and ifc4.
Besides changing `doc.py` and adding `.json` schemas added `ifc4x3dev_scrape_data_for_docs.py` (it's kind of hacky now and relies on `server.py` code from the further mentioned repo) that's used to parse some entities descriptions from https://github.com/buildingSMART/IFC4.3.x-development for later use in `doc.py`.
2023-02-15 18:38:04 +05:00
CyrilWaechter
a6fa6201f7
Fix bugs introduced in cf87852
2023-02-15 10:34:25 +01:00
Dion Moult
26f7db0504
Fix #2698 . IfcClash results are now aware of multiple linked IFC models.
2023-02-15 20:32:50 +11:00
Dion Moult
77a0da2a17
See #2762 . Another attempt at fixing PyPI build.
2023-02-15 20:06:07 +11:00
Thomas Krijnen
785d2e601c
Fix after 31cf1127a6
2023-02-15 09:52:21 +01:00
Massimo Fabbro
3687e4ed91
finish mapping Qto_FootingBaseQuantities
2023-02-15 09:35:29 +11:00
Thomas Krijnen
31cf1127a6
Validation output enhancements
2023-02-14 20:55:14 +01:00
Thomas Krijnen
97385efbca
entity_instance.get_info(scalar_only=)
2023-02-14 20:11:24 +01:00
Andrej730
6a87b68c3b
Window Modifier - added 2d representation
...
+ fixed lining offset for door 2d representation
2023-02-14 16:54:43 +05:00
Andrej730
be06bd6369
Added note about core.geometry representations functions
2023-02-14 16:54:19 +05:00
Andrea Ghensi
a5b4ac863b
fix: ifc clash operator fixes
...
fixes #2698
2023-02-14 21:55:41 +11:00
Thomas Krijnen
e535f911d1
Update extrusion-dir cases for undeterminate handling
2023-02-14 10:04:46 +01:00
Thomas Krijnen
18670bcbd6
Recompile rules
2023-02-14 10:04:46 +01:00
Thomas Krijnen
27511d362e
Use inverse unpacking in rule execution
2023-02-14 10:04:45 +01:00
Thomas Krijnen
c634bffa10
Update reverse compilation to eliminate getattr() calls
2023-02-14 10:04:45 +01:00
Thomas Krijnen
dffa90bd5d
Better conformance wrt indeterminate with AST rewriting and dedicated type
2023-02-14 10:04:45 +01:00
Thomas Krijnen
6a47d33974
Add zone IsGroupedBy where rule test case
2023-02-14 10:04:45 +01:00
Thomas Krijnen
e87524ba11
ifcopenshell.settings.unpack_non_aggregate_inverses
2023-02-14 10:04:44 +01:00
CyrilWaechter
b1154ae377
Adapt to code changes introduced in ea91f43
2023-02-14 09:22:20 +01:00
Andrej730
cbc24c31a2
aud dependency fork fix
...
Solves #2759
2023-02-14 00:59:17 +05:00
Dion Moult
0a8a6e5825
Fix #2383 . Don't default text alignment via CSS, let attributes take precedence.
2023-02-13 22:28:53 +11:00
Andrej730
e088a10aa8
New openings size wasn't converted using unit_scale #2765
2023-02-13 15:29:32 +05:00
Dion Moult
007d984baf
Fix #2274 . You can now purge unused types.
2023-02-13 15:20:56 +11:00
Dion Moult
7d979e5a04
Fix #2575 . We are incompatible with add-ons using dictionary overrides for delete/duplicate macros.
2023-02-13 11:22:57 +11:00
CyrilWaechter
4134c709a8
Add fallback solution for invalid geometries
...
When an inner boundary cut an outer boundary in an IfcCurveBoundedPlane
which is invalid in IFC schema then ifcopenshell fails to create
geometry.
See #635
2023-02-12 18:29:24 +01:00
Thomas Krijnen
ff5e4991ab
Test files
2023-02-12 15:28:14 +01:00
Thomas Krijnen
0b4b45b7c8
Validate bounds of non-aggregate inverses
2023-02-12 15:28:14 +01:00
Massimo Fabbro
145ac1a0f4
Fix #2716 issue ( #2761 )
2023-02-12 14:09:33 +01:00
Dion Moult
74de7436b7
See #2762 . Fix pip build.
2023-02-12 20:32:30 +11:00
Dion Moult
60fa05a913
Fix #2521 . Fill areas have limited dissolve applied before rendering.
2023-02-12 18:58:49 +11:00
Dion Moult
303de61417
See #2760 . Fix bug where editing pset with null'ed enumeration fails.
2023-02-12 15:12:31 +11:00
Dion Moult
a9a4c6049f
Fix bug where you couldn't duplicate text annotations.
2023-02-12 15:02:41 +11:00
Dion Moult
82b201a14e
Fix #2352 . Text styling is now possible with custom classes.
2023-02-12 15:01:47 +11:00
Dion Moult
c9bd7adf8a
Fix bug where you couldn't create a drawing with no linework.
2023-02-12 13:31:49 +11:00
Dion Moult
0655d77210
See #2760 . Fix bug where groups UI had undefined variable.
2023-02-12 13:31:49 +11:00
Sigma Dimensions
515ec28fb3
Place text leader annotations horizontally
2023-02-12 01:07:41 +01:00
Sigma Dimensions
c28c2dd077
BIM tool hotkey to update base quantities
2023-02-12 00:47:54 +01:00
Sigma Dimensions
b04383bb64
Smoke test for duplicating tasks
2023-02-12 00:38:22 +01:00
Sigma Dimensions
f4b93ef243
You can now duplicate tasks
2023-02-12 00:37:37 +01:00
Sigma Dimensions
05cf00bef6
Add smoke test for task product selection & minor fix
2023-02-11 23:24:52 +01:00
Andrej730
e81346c339
Door openings updated on door parameters update
...
Based on 6d1e9f73a
2023-02-11 19:01:56 +05:00
Sigma Dimensions
ac911cefd6
minor fix for d4eb56e
2023-02-11 14:24:53 +01:00
Li1506
c4cea20849
add IfcConvert testing on sample files step to ci.yml
2023-02-11 13:25:50 +01:00
Sigma Dimensions
e30992b905
minor fix for commit d3b176e
2023-02-11 13:23:23 +01:00
Sigma Dimensions
5beea8640e
BBIM: rewrite Selector search filter to use core and tool functions
2023-02-11 13:19:08 +01:00
Sigma Dimensions
d3b176e5eb
complete costing module refactoring
2023-02-11 12:34:54 +01:00
Andrej730
0d0691a012
Door modifier - double doors type support
2023-02-11 16:09:13 +05:00
Sigma Dimensions
d4eb56e360
New Search and Spatial selection Tools
...
+ refactor sequence modules
2023-02-11 11:23:07 +01:00
Andrej730
5cfc122b79
Door modifier - double swing doors
...
still no dashed lines in 2d representation
2023-02-11 14:20:04 +05:00
Sigma Dimensions
fa0f484922
Inlcude audio library for BlenderBIM costing chaching sound
2023-02-11 10:05:54 +01:00
Dion Moult
ceaa930aad
Fix #2756 . Bug where reassigning classes with a enum didn't work.
2023-02-11 11:03:35 +11:00
Dion Moult
bbd2b67041
Add link to dev fund in add-on about section.
2023-02-11 09:54:43 +11:00
Sigma Dimensions
6c82e6f889
Fix assign cost value usecase
2023-02-10 21:28:49 +01:00
Thomas Krijnen
531e07767f
#2754 latebound schema handling
2023-02-10 21:08:20 +01:00
Thomas Krijnen
da39c903f3
Latebound schema handling: Improve error messages
2023-02-10 21:07:25 +01:00
Andrej730
f458aa9932
Door fixes
...
1) do not create new ifc representation if editing was canceled (similar to 25c650f4c )
2) plan and profile representations now are optional (similar to 50d71d5ea )
2023-02-10 18:00:43 +05:00
Andrej730
9e383959c8
door black formatting
2023-02-10 16:58:36 +05:00
Andrej730
3654e49f87
Door handles
2023-02-10 16:55:13 +05:00
Dion Moult
13f5767921
Minor fix
2023-02-10 19:01:54 +11:00
Dion Moult
6d1e9f73a6
Windows now regenerate openings when window parameters updated
2023-02-10 19:01:20 +11:00
Andrej730
d9ddf67afb
small fix for 50d71d5ea
...
The error was:
```
Error: Python: Traceback (most recent call last):
File "\blenderbim\bim\module\model\window.py", line 337, in execute
element = blenderbim.core.root.assign_class(
NameError: name 'blenderbim' is not defined
```
2023-02-10 12:49:33 +05:00
Dion Moult
47e6352350
Don't create temporary objs when updating filling openings.
2023-02-10 18:45:53 +11:00
Dion Moult
ae564d1b61
Fix #1040 . New utility for geometric shape analysis only requiring numpy.
2023-02-10 16:03:16 +11:00
Vukas Pajic
d9cee04769
Fix #2755
2023-02-09 11:00:25 +01:00
Dion Moult
50d71d5ea1
Black code and make profile representation optional for windows.
2023-02-09 20:13:14 +11:00
Dion Moult
25c650f4cd
Don't edit IFC when simply disabling window editing.
2023-02-09 19:33:08 +11:00
Andrej730
f0502c123e
Window modifier - fixed bugs related to ae5ea3857
...
1) now replacing actual representation instead of the map
2) removed `should_sync_changes_first` as unnecessary representation update
2023-02-08 18:17:47 +05:00
Sigma Dimensions
693960a4ab
start refactoring costing operators into core & tool
2023-02-08 13:39:46 +01:00
Vukas Pajic
5df0cf39a0
minor fix
2023-02-08 12:06:16 +01:00
Vukas Pajic
578220a1ab
(IfcPatch) allow user to specify output directory for "SplitByBuildingStorey"
2023-02-08 12:04:58 +01:00
Andrej730
ae5ea3857e
Fixing bug with updating window/door modifier with element types
...
The bug occured when you created a window/door type and some instance of it and then would try to update modifier.
There were two problems:
1) Because `remove_representation` removes all the meshes of the representation, representation has to be switched before removing the old one.
2) `switch_representation` parameter `is_global` was set to `False` and it wasn't affecting all instances of the type which led to errors during representation switch later on.
2023-02-08 15:56:57 +05:00
Dion Moult
93d0ffd459
Fix #2520 . You can now duplicate drawings with or without annotations.
2023-02-08 21:16:54 +11:00
Vukas Pajic
1b85928810
allow user to specify output directory for "SplitByBuildingStorey"
2023-02-08 10:42:05 +01:00
Dion Moult
f118c50d1d
Fix bug where removing a drawing didn't remove its references.
2023-02-08 19:08:45 +11:00
Sigma Dimensions
ac5ec72acf
BBIM: improve work schedule visualisation workflow & refactor visualise_work_schedule_date operator
2023-02-08 08:25:11 +01:00
Sigma Dimensions
7fe2634d32
Improve guess schedule date range ( including tasks with input assignements)
2023-02-08 08:18:08 +01:00
Dion Moult
1279b9848f
Fix regression with editing material psets
2023-02-08 17:43:50 +11:00
Dion Moult
ea91f4302c
Drawings now load on-demand instead of at project load. See #2520 .
2023-02-08 16:53:19 +11:00
Dion Moult
88bddb9531
See #2520 . You can now duplicate drawings.
2023-02-08 12:29:49 +11:00
Sigma Dimensions
4e308a6e31
fix api docstring description for nest.unassign_object usecase
2023-02-07 15:35:34 +01:00
Andrej730
4bd7fc5304
Simplified door ifc representation
2023-02-07 16:48:37 +05:00
Andrej730
0122fe4382
Fix #2742
2023-02-07 14:57:37 +05:00
Dion Moult
1730f25a5a
Fix #2584 . You can now edit any layered or profile material agnostic of class.
2023-02-07 19:13:22 +11:00
Dion Moult
3f8314bcf3
Minor fix.
2023-02-07 12:37:10 +11:00
Dion Moult
5879d14803
See #2737 . Fix bug where convert length unit patch did not work outside Blender session.
2023-02-07 09:05:20 +11:00
Andrej730
4c1a821922
Pset_StairFlightCommon update
...
Added Pset_StairFlightCommon update to stair modifier
2023-02-06 18:54:25 +05:00
Andrej730
e1456533f2
Doors - clean up + black format
2023-02-06 18:53:48 +05:00
Andrej730
7522a3a2ab
renamed "data" parameter in model/data.py
...
renamed "data" parameter in model/data.py to make it a bit more distinctive from neighbour "Data" parameter with json string
2023-02-06 18:45:48 +05:00
Andrej730
144d01a0ef
Added modifiers folding to prevent clutter
2023-02-06 18:45:48 +05:00
Andrej730
f6cb6c8b21
Accepting predefined type for windows/stairs/doors from type manager
...
Also assigned layout name property for windows/doors
2023-02-06 18:45:48 +05:00
Andrej730
0f5264af99
Door - added to type manager
...
Also added predefined type for door and bit of refactoring
2023-02-06 18:44:09 +05:00
Andrej730
e57ff19e16
Door - added 2d representation
2023-02-06 18:44:09 +05:00
Andrej730
b2bdbdd8c3
Door modifier - basic setup
...
Also:
- refactored window modifier code - part of it is now reused building a door and can be used by other module in the future
- fixed bug with window lining intersecting frame when lining_depth < panel_depth
- simplified the way lining is built in ifc - previously it was using 4-6 extrusions, now it's 1-2 which is also better for 2D drawings
2023-02-06 18:44:09 +05:00
Andrej730
a8400ec963
geonodes prototype copyright
2023-02-06 18:44:09 +05:00
Sigma Dimensions
d028b52d77
fix visualise_work_schedule_date - issue #2740
2023-02-06 12:35:42 +01:00
Sigma Dimensions
65990255e8
Fix issue #2740
2023-02-06 12:29:06 +01:00
Sigma Dimensions
3a71b03a9a
Fix sequence module test bugs
2023-02-06 12:04:03 +01:00
Dion Moult
99274c2d7a
Fix #1806 . Changing filling types now also updates the void representation.
2023-02-06 20:28:50 +11:00
Dion Moult
e40bbf2525
See #1806 . Typed fillings now share the same representation for their openings.
2023-02-06 17:01:29 +11:00
Dion Moult
38c6378315
See #1806 . New fillings inherit their voids from existing occurrences if possible.
2023-02-06 14:40:59 +11:00
Dion Moult
c050ca1037
Fix #2736 . Increase tolerance for HLR rendering to prevent "see through" objects in drawings.
2023-02-06 13:42:37 +11:00
Thomas Krijnen
9813dda778
Express rules: test case for instance comparison
2023-02-05 13:08:55 +01:00
Thomas Krijnen
6b7aeb90c7
Express rules: allow comparison of instances to instances and values
2023-02-05 13:08:55 +01:00
Dion Moult
3cb29e1344
Fix unintuitive UI where objects had to be visible for the operation to run.
2023-02-05 22:27:56 +11:00
Dion Moult
4d4961a490
Close #2622 . IfcCSV now supports ODS and XLSX formats for export.
2023-02-05 18:53:16 +11:00
Dion Moult
ccd7db06f8
Fix #2611 . Address multiple situations in the UI where the users could create invalid material data without an indication that it is invalid.
2023-02-05 17:10:25 +11:00
Dion Moult
77234706b0
Assigning a profile set auto creates profiles if none exist to prevent invalid data.
2023-02-05 15:29:54 +11:00
Einar Raknes
9f399b34fb
Rename panel from IFC Construction Type to IFC Type
...
As discussed here: https://community.osarch.org/discussion/1332/blenderbim-ifc-construction-type-ifcbuiltelementtype-confusion
2023-02-05 12:18:17 +11:00
Dion Moult
dc77a798b5
Assigning a layer set for the first time prefills with a layer to prevent invalid data.
2023-02-04 22:14:33 +11:00
Dion Moult
207093fe99
Fix regression where changing assigned types didn't update the materials.
2023-02-04 22:12:28 +11:00
Dion Moult
42c4a68108
Fix bug where unnamed profiles clogged up the material profile settings.
2023-02-04 16:20:52 +11:00
Dion Moult
a7cc58fb50
Update libraries to use Plan/Body/PLAN_VIEW instead of annotations.
2023-02-04 14:09:35 +11:00
Dion Moult
6bab10d2ac
Minor fix.
2023-02-04 12:51:01 +11:00
Thomas Krijnen
c4b77c2a07
Recompile rules
2023-02-03 22:22:40 +01:00
Thomas Krijnen
66d0627035
Property names test case
2023-02-03 21:18:06 +01:00
Thomas Krijnen
3f4417c9f2
Window lining test case
2023-02-03 21:17:48 +01:00
Thomas Krijnen
5526bed4c3
Express rules: allow indexing in sets
2023-02-03 21:17:08 +01:00
Thomas Krijnen
078bf8646a
Express rules: enclose rhs of not in parens when needed
2023-02-03 21:10:34 +01:00
Dion Moult
6adbcdd8e1
Fix #2472 . BREAKING CHANGE. Annotations are now drawn in addition to body views, not in lieu of.
2023-02-03 21:31:15 +11:00
Dion Moult
b4d633a34d
Fix #2735 .
2023-02-03 21:28:36 +11:00
Dion Moult
e1e4380fc7
Fix 3 bugs related to representations:
...
* Bug when switching representations when active object not selected.
* Bug when switching to a non MODEL_VIEW body representation would load the MODEL_VIEW one instead all the time.
* Add support for plan body representations.
2023-02-03 21:27:25 +11:00
Dion Moult
1ed7b21ab0
Fix #1496 . Mirrored elements have their placements correctly synced.
2023-02-03 15:53:21 +11:00
Dion Moult
158a4c5e75
Fix bug where IFC2X3 fallback styles couldn't be assigned.
2023-02-03 13:21:23 +11:00
Dion Moult
f72d48aab5
Fix bug where calendar caching meant invalid duration calculations if you edited your calendar after a date calculation.
2023-02-03 10:06:55 +11:00
Dion Moult
be26a77ecb
Support times specified as ISO strings too in date utils, not just datetimes.
2023-02-02 23:01:49 +11:00
Dion Moult
7c275a99a2
New utility functions for automatic local to global elevation conversions and easier unit conversions
2023-02-02 23:01:12 +11:00
Dion Moult
f77d2f449d
Close #2451 . Implement georeferenced elevations in drawings.
2023-02-02 22:55:45 +11:00
Dion Moult
18ba805a15
Fix silly bug.
2023-02-02 21:36:13 +11:00
Dion Moult
a5adf0021f
Fix #2599 . Unassigning materials now also removes the Blender material.
2023-02-02 18:41:07 +11:00
Dion Moult
7d944255d0
Fix bug where you could unassign a material usage and create an invalid parametric occurrence
2023-02-02 18:26:14 +11:00
Dion Moult
b984a77862
IfcFM parser and writer is now easier to override for custom FM requirements
2023-02-02 14:29:48 +11:00
Dion Moult
d69aa20802
Fix #2620 . You can now run patches from models in memory.
2023-02-01 19:29:35 +11:00
Dion Moult
7e16cb797f
See #1848 . Some straggling refactoring for resource data.
2023-02-01 17:37:59 +11:00
Dion Moult
b3c7971ea9
Purge all data classes from API.
2023-02-01 15:44:08 +11:00
Dion Moult
a778b98fdb
Fix #1848 . Purge remaining references to API data classes.
2023-02-01 15:41:21 +11:00
Dion Moult
4efb80efe4
See #1848 . Refactor structural data class.
2023-02-01 14:54:42 +11:00
Sigma Dimensions
cfaacf8650
Ifcopenshell api usecase to unassign object nesting
2023-01-31 18:59:33 +01:00
Sigma Dimensions
60da4cb87b
BBIM: Refactor activate drawing view
2023-01-31 18:42:18 +01:00
Andrej730
db6207db6c
prevent flickering in profile manager thumbnails
2023-01-31 14:48:26 +05:00
Dion Moult
9b4568c881
Minor fix
2023-01-31 20:40:32 +11:00
Dion Moult
cd132d4fe9
See #1848 . Refactor sequence data class.
2023-01-31 20:38:03 +11:00
Andrej730
f01900bdb1
Profile manager thumnails ( #2568 )
2023-01-31 13:55:50 +05:00
Dion Moult
0fddd243c2
See #1848 . Refactor resource data class.
2023-01-31 18:30:26 +11:00
Dion Moult
1066e5e0a7
See #1848 . Refactor layer data class.
2023-01-31 17:35:54 +11:00
Dion Moult
7e0b1b9cbd
See #1848 . Refactor group data class. Add support for multiple subgroup relationships.
2023-01-31 15:35:14 +11:00
Dion Moult
95e924a5bc
Fix #2206 . Bug where removing a cost item with active data created an error.
2023-01-31 14:33:29 +11:00
Dion Moult
f9cfd17303
Fix #2251 . Fix #2603 . Bug where annotations don't show because redeclaration of built-in glsl variables is not allowed.
2023-01-31 11:04:23 +11:00
Dion Moult
9f37f73e52
Fix #2585 . Bug where geometry could randomly get corrupted.
2023-01-31 10:54:07 +11:00
Andrej730
9acd2043d7
Window/Stair types added as presets in type manager
2023-01-30 15:31:50 +05:00
Dion Moult
ab6159f173
See #1848 . Refactor cost data class.
2023-01-30 20:53:17 +11:00
Andrej730
f9bff64f0d
ifc geonodes modifier prototype
2023-01-30 13:45:52 +05:00
Andrej730
978f362073
More consistent default and current units for stair and window modifiers
2023-01-30 12:44:11 +05:00
Dion Moult
7a185e7f7c
See #1848 . Refactor constraint data class.
2023-01-30 11:47:02 +11:00
Dion Moult
044cd6e97b
See #1848 . Refactor boundary data class.
2023-01-30 11:27:38 +11:00
Dion Moult
b939370f2b
See #1848 . Remove reliance on data class for material module.
2023-01-30 10:20:55 +11:00
Sigma Dimensions
4af0c1c98c
BBIM: Fix editing slab representation bug
2023-01-29 21:20:33 +01:00
Dion Moult
181531ada8
Fix bug where circle profiles didn't follow project units.
2023-01-29 21:30:11 +11:00
Thomas Krijnen
e92d908063
Delete ifcopenshell_wrapper.py
2023-01-29 10:26:05 +01:00
Dion Moult
686f4a023d
Fix #2356 . Handle cases where the annotation types get changed to an incompatible object type.
2023-01-29 20:10:23 +11:00
Thomas Krijnen
c0c6c23fca
Update schema.py
2023-01-29 09:47:46 +01:00
Dion Moult
396fd5520f
Fix #2349 . Be more defensive on invalid smart annotations.
2023-01-29 15:15:00 +11:00
Dion Moult
efc3a692cb
Fix #2726 .
2023-01-29 12:27:50 +11:00
Ryan Schultz
2902d96690
#2692 - bulk assign and unassign ifcmaterials
2023-01-29 10:05:03 +11:00
Massimo Fabbro
70f35095ff
Writing qto tests ( #2728 )
...
* Update qto tool tests and fix some bugs
* complete test_run qto tests
2023-01-29 10:03:07 +11:00
Ryan Schultz
87c67abac9
#2652 Removes all IFC data, and converts the file to a simple Blender file
2023-01-29 10:00:43 +11:00
Thomas Krijnen
7df9640807
#2704 properly propagate iterator destructor
2023-01-28 14:21:52 +01:00
Thomas Krijnen
25edc91976
#2704 retain kernel pool to free cache
2023-01-28 14:21:52 +01:00
Thomas Krijnen
2174fda88d
#2704 keep track of simple types by iden to free later
2023-01-28 14:21:52 +01:00
Thomas Krijnen
2fc5c6c110
#2704 newobject after decl does not work (duh)
2023-01-28 14:21:52 +01:00
Dion Moult
6a2307308c
Fix bug where copying objects with profiles should only share profiles if the profile is named.
2023-01-28 21:51:00 +11:00
Dion Moult
1a05fae826
Fix #2426 . bug where unrelated objects would get drawing properties by accident.
2023-01-28 14:27:47 +11:00
Andrej730
cce27d73fd
Fixed ifc window bugs
...
1) The bug occured if you would try to remove ifc window modifier and add it back again. Now adding new window checks if window was previously added
2) Second bug occured if you import .ifc project with window and some props were not used before (for example window was without transom), then newly added props would have incorrect units.
2023-01-27 17:44:52 +05:00
Andrej730
87515f3839
Added creating window to Shift+A menu
2023-01-27 16:30:35 +05:00
Dion Moult
24f3918769
Fix #2705 . Annotation draw error when splines are outside the zoom level of the screen.
2023-01-27 14:32:41 +11:00
Dion Moult
f7af38c863
Fix #2712 .
2023-01-27 12:09:17 +11:00
Dion Moult
6c2a4711da
Fix bug where annotations were assumed to only be part of one drawing group
2023-01-27 08:38:00 +11:00
Dion Moult
41fdd77bfa
Fix #2579 . Bug where measurements were considered to be greasepencil strokes when drawing walls.
2023-01-27 08:32:25 +11:00
Dion Moult
9185a51234
Fix #2363 . Bug when adding unbuilt schedule to sheet.
2023-01-27 08:22:10 +11:00
Ryan Schultz
c5ae86d10b
fix bug on Extend IfcBeam: https://community.osarch.org/discussion/1327/blenderbim-bug-on-extend-ifcbeam
2023-01-26 08:31:04 -06:00
Andrej730
74477d0051
Window modifier - removed hardcoded mm units
...
Related to #2724
2023-01-26 18:29:58 +05:00
Andrej730
cee0ff2074
BIM tool UI black format
2023-01-26 17:14:42 +05:00
Andrej730
85bba9d5f8
Added default blender selection behaviour to BIM Tool
...
Copied keymap templates from blender source and mentioned them
Related to #2568
2023-01-26 17:14:42 +05:00
Andrej730
8e696cbf02
Added description to some operators with hotkeys
2023-01-26 17:14:42 +05:00
Andrej730
c7d1f5efc0
Changed split hotkey to Shift-K ( #2568 )
...
to preserve useful default shift-s hotkey
2023-01-26 17:14:42 +05:00
Andrej730
68bbb4d7a1
Solving interface issues from #2568
...
1) Added type manager to N-panel. Actually made side-panel and header layout logic more similar.
2) Added interface from sidebar to properties too
2023-01-26 17:14:42 +05:00
Andrej730
b1dd20fef7
Fixed window units in bmesh ( #2724 )
2023-01-26 14:42:35 +05:00
Thomas Krijnen
a701624d7b
#2720 add gltf to CD yml
2023-01-26 09:07:53 +01:00
Thomas Krijnen
f912be7875
#2720 add gltf to CD yml
2023-01-26 08:59:38 +01:00
Andrej730
04bdb12e79
Window Modifier - added mullions/transoms, removed relative panel dimensions
2023-01-26 12:30:34 +05:00
Dion Moult
d69f6c02b6
See #1636 . Fix drawing caching when new voids are added or parametric objects updated.
2023-01-26 12:14:45 +11:00
Dion Moult
95c3a57a4d
Fix #2722 .
2023-01-26 11:11:04 +11:00
Dion Moult
0b6d321d83
Fix #2721 .
2023-01-26 11:09:51 +11:00
Dion Moult
e0fd3fd90e
See #1636 . Fix bug where moving an opening didn't update the drawing cache for it's element.
2023-01-26 09:18:08 +11:00
Dion Moult
7686e35858
Fix #2697 .
2023-01-25 20:52:43 +11:00
Dion Moult
8eeb8804d4
Handle corrupt geometry caches (e.g. due to crash) by creating a fresh cache.
2023-01-25 17:56:05 +11:00
Dion Moult
cb9a7cf5be
Fix #2712 . Handle deletion of rel services buildings.
2023-01-25 17:42:39 +11:00
Andrej730
54cec30a60
Window modifier - fixed bug in bmesh
2023-01-25 11:15:01 +05:00
Andrej730
9f0ad9be3c
Black formatting window modifier
2023-01-25 11:13:41 +05:00
Andrej730
a6271d0936
IFC Window modifier
...
Added IFC Window in object modifiers tab (works similar way to Ifc Stair)
2023-01-25 11:13:41 +05:00
Andrej730
cf6acd5dd6
ShapeBuilder - added 3d rectangles and polylines support
2023-01-25 11:10:20 +05:00
Andrej730
f8468e66e6
Fixed omitted ifc operators returns
2023-01-25 11:10:20 +05:00
Andrej730
d0cf5f9d0c
Fixed ShapeBuilder bug for mirroring IfcExtrudedAreaSolid
...
Also fixed typo in shape_builder_examples
2023-01-25 11:10:19 +05:00
Dion Moult
2c123fdbfb
Bump IfcOpenShell - mainly to fix geometry caching bug
2023-01-25 16:55:05 +11:00
Dion Moult
49b5bbd585
Fix PyPI IfcOpenShell action
2023-01-25 14:08:59 +11:00
Dion Moult
bf3063ec00
You can now convert ArchiCAD spaces across multiple stories to Revit rooms
2023-01-25 13:55:38 +11:00
Sigma Dimensions
1e2ac1fe24
Fix IFC Array bug
2023-01-23 22:51:41 +01:00
Sigma Dimensions
9d7145746f
Drawing feature tests
2023-01-23 22:06:29 +01:00
Sigma Dimensions
6e7fee5bc8
BBIM: Fix drawing elevation view bug
2023-01-21 12:00:07 +01:00
Sigma Dimensions
9638ae3e77
BBIM: Fix bug error when trying to open a drawing rather than a sheet/schedule
2023-01-21 01:26:26 +01:00
Sigma Dimensions
69cee56b7c
BBIM: fix profile joiner for beams & other products
2023-01-21 01:18:06 +01:00
Sigma Dimensions
2257942676
BBIM: When adding doors to a wall, maintain the wall as the active object.
...
This allows adding multiple doors smoothly.
2023-01-21 00:51:46 +01:00
Sigma Dimensions
a5ca7c540f
remove useless lines and run quality check black
2023-01-20 21:39:24 +01:00
Sigma Dimensions
c9b0a7c3de
Attempt to fix selector bug where retrieving material values gets caught in exception
2023-01-20 21:23:40 +01:00
Sigma Dimensions
358d19c883
BBIM: fix bug where task inputs could also be "USERDEFINED" or "NOTDEFINED"
2023-01-20 13:51:08 +01:00
Sigma Dimensions
e624d56516
BBIM: improve task bar visual creation
2023-01-20 13:48:14 +01:00
Sigma Dimensions
78a6532615
ifcopenshell: Improve purging for remove_task usecase
2023-01-20 12:58:11 +01:00
Sigma Dimensions
44bb4ac74d
BBIM: enable adding task bars visual when creating an animation
2023-01-20 11:34:38 +01:00
Sigma Dimensions
f782d784af
BBIM: improve task object selection
2023-01-20 11:31:06 +01:00
Sigma Dimensions
caf9034839
BBIM: refactor gantt generation operator
2023-01-20 11:26:32 +01:00
Sigma Dimensions
893fd50b85
BBIM: Attempt to fix 3D viewport decoration issue
2023-01-20 10:12:42 +01:00
Sigma Dimensions
7a3e53a9f8
update qto core and qto tools:
...
- when calculating quantities of an object, assign base qto to object if none exists.
- optimise core and tool functions so it's faster for many selected objects
2023-01-19 21:05:47 +01:00
Dion Moult
07ee62eb91
Add support for editing material set item psets.
2023-01-18 16:40:15 +11:00
Thomas Krijnen
b41878e960
#2697 take only a single inverse at a time
2023-01-16 21:29:59 +01:00
Vukas Pajic
d9f1cb5525
reassign_class now preserves original STEP ID and GLOBALID - #2701
2023-01-16 13:34:57 +01:00
Vukas Pajic
8110951987
Now support custom attributes in IfcSelector #2649
2023-01-16 08:58:14 +01:00
Vukas Pajic
6b63b5aae7
selector now correctly applies comparison operator. #2643
2023-01-16 08:08:26 +01:00
Martyna Jakubowska
e814736e68
Update README.md
2023-01-16 06:15:38 +11:00
Thomas Krijnen
802e3a0ea1
#2688 fix non-planar face triangulation
2023-01-15 14:42:24 +01:00
Massimo Fabbro
4e8a962f60
Minor fix
2023-01-15 11:34:54 +11:00
Massimo Fabbro
e20d4c93b7
Delete unuseful qto tool function
2023-01-15 11:34:54 +11:00
Massimo Fabbro
1be76c8aaa
Fix little bug
2023-01-15 11:34:18 +11:00
Andrea Ghensi
a4566797fe
fix: ifcclash bcfxml export
2023-01-15 07:23:42 +11:00
Kristoffer Andersen
4ee3458ff9
Run linux/osx builds with fewer cpus
2023-01-14 17:23:44 +01:00
Sigma Dimensions
f86de533f8
BBIM: Feature to select an annotation's assigned object
2023-01-13 16:13:57 +01:00
Sigma Dimensions
693831dca3
BBIM: replace "guess_all_quantities" operator in the UI
2023-01-13 15:00:17 +01:00
Kristoffer Andersen
7500919b5d
Set to fixed daily release
...
Remove association to every completed CI workflow. High frequency of releases makes it better to keep this at a fixed interval given it's so compute intensive
2023-01-13 14:59:06 +01:00
Sigma Dimensions
e37b6fa8a2
BBIM: Replace "GuessAllQuantities" with "CalculateQuantities in QTO subpanel, and also re-calculate for all selected objects
2023-01-13 14:57:36 +01:00
Thomas Krijnen
9de9645229
#2665 increase halfspace tolerance comparison
2023-01-13 13:56:38 +01:00
Thomas Krijnen
373d664251
#2361
2023-01-13 12:50:18 +01:00
Dion Moult
6ab912a049
Fix invalid IFC context dimensionality
2023-01-13 22:35:23 +11:00
Dion Moult
9b9c900340
You can now manage material set psets from the UI
2023-01-13 22:35:23 +11:00
Thomas Krijnen
a1ac820050
#2685 Recompile rules
2023-01-13 12:12:32 +01:00
Thomas Krijnen
e812a886dc
#2685 also implement __mul__ on express_set
2023-01-13 12:12:32 +01:00
Thomas Krijnen
b759e22875
#2685 assoc material test cases
2023-01-13 12:12:32 +01:00
Thomas Krijnen
93e0babe5a
#1785 disable hdf5 brep softlinking
2023-01-13 12:10:57 +01:00
Kristoffer Andersen
7d021fb7a4
reduce number of parallel tasks
2023-01-13 08:03:16 +01:00
Kristoffer Andersen
b2cb8ffd8f
Update ci-ifcopenshell-conda-daily.yml
2023-01-13 07:56:24 +01:00
Kristoffer Andersen
25a5651e50
Update ci-ifcopenshell-conda-daily.yml
2023-01-13 07:53:53 +01:00
Thomas Krijnen
b301eb6520
Update boolean_utils.cpp
2023-01-12 13:07:40 +01:00
Thomas Krijnen
9f90d37401
Delete .travis.yml
2023-01-12 12:41:28 +01:00
Dion Moult
ba7741fef5
Fix #2285 . You can now get all the elements in a presentation layer.
2023-01-12 12:28:09 +11:00
Thomas Krijnen
d1a40d129f
#2685 Recompile rules
2023-01-11 13:38:12 +01:00
Thomas Krijnen
791076df2d
invalid escape sequence
2023-01-11 13:20:44 +01:00
Thomas Krijnen
608952a4dd
#2685 WR test cases for local placement / indeterminate
2023-01-11 12:50:30 +01:00
Thomas Krijnen
e64047c511
WR test cases for rigid op / typeof() of simple types
2023-01-11 12:49:47 +01:00
Thomas Krijnen
fc3c6599c7
WR test cases for MLS / usedin()
2023-01-11 12:48:53 +01:00
Thomas Krijnen
2336f299f7
Implement typeof() on simple types
2023-01-11 12:47:40 +01:00
Thomas Krijnen
4a71ab9631
#2685 Don't raise issues on WR evaluating to indeterminate
2023-01-11 12:47:13 +01:00
Dion Moult
ac3c4cac89
Flange thickness is thickness at edge.
2023-01-11 09:33:20 +01:00
Dion Moult
2be1baab32
I-shape angle fix, fix incorrect flange thickness, and clean up ifdef.
2023-01-11 09:33:20 +01:00
Dion Moult
3e42fdb883
Minor fix
2023-01-11 09:33:20 +01:00
Dion Moult
ed37d11002
Fix #2631 . Add support for flange edge radius and flange slope for I-shapes.
2023-01-11 09:33:20 +01:00
Dion Moult
4cf896f564
Fix bug where half space booleans didn't show in the right spot due to units
2023-01-11 17:05:02 +11:00
Dion Moult
7e151799b0
Fix #2650 . IFC selector only operates on visible objects.
2023-01-11 15:20:58 +11:00
Dion Moult
597b2bb0a8
Fix #2596 . Bug with IFC4X3 UI errors as docs couldn't be fetched.
2023-01-10 12:14:10 +11:00
Dion Moult
ddc0f7e652
Theme improvements to IfcOpenShell docs
2023-01-10 11:43:20 +11:00
Jesusbill
4845d191f4
Minor fixes to docs
2023-01-10 01:06:49 +01:00
Dion Moult
da84cc5925
Add documentation for IfcPatch and all recipes
2023-01-10 10:18:13 +11:00
Dion Moult
c8ba96cde8
Make syntax highlighting explicit in docs
2023-01-10 10:16:28 +11:00
Dion Moult
66e067d1ce
Remove IfcMax from documentation as it's no longer relevant
2023-01-10 06:38:53 +11:00
Dion Moult
9d39760f6f
Add IfcClash to docs
2023-01-10 06:38:53 +11:00
Sigma Dimensions
8aa4934d92
BBIM: Move out Search/Selection sub-panels from "IFC Collaboration" to "IFC Selection"
2023-01-09 14:49:59 +01:00
Dion Moult
f848340124
Fix #2681 . Fix 90 degree rotation on walls.
2023-01-09 21:55:22 +11:00
Dion Moult
b699f55d9c
Deleting a spatial or aggregated element now also removes its collection
2023-01-09 16:46:51 +11:00
Dion Moult
745709c56a
Handle orphaned spatial elements when loading projects
2023-01-09 16:46:23 +11:00
Dion Moult
0c4c8ad9bc
Fix #1012 . Half complete example documentation for the IFC Project panel.
...
Incredibly incomplete, but serves as an example of how reference user-based documentation should be structured.
2023-01-09 15:24:50 +11:00
Ryan Schultz
3ce010de77
added IfcCivilElement to entity_to_type_map_4.json
2023-01-09 12:14:11 +11:00
Dion Moult
dd600dd20f
Fix #2024 . Boolean diagram included in IfcOpenShell docs.
2023-01-09 11:50:49 +11:00
Dion Moult
360b9956c0
Fix failing tests from refactor which I really should've done before the release
2023-01-09 11:00:46 +11:00
Andrej730
1888048d4d
Moved ShapeBuilder to separate module #2679
...
Moved ShapeBuilder to separate module - now `mathutils` will be only required if you're actually using ShapeBuilder (related to #2679 )
2023-01-08 19:47:18 +05:00
Andrej730
4ab6d648c9
sverchok_modifier - minor refactor
2023-01-08 19:47:18 +05:00
Andrej730
c29048ecfb
Furniture library bug fixes
2023-01-08 19:47:18 +05:00
Dion Moult
0294c4e02c
Fix #2678 . Critical typo bug meant that units were fixed to metric millimeters.
2023-01-08 12:58:53 +11:00
Dion Moult
3cfcd847cf
Fix #2677 . Docs now generate in a reasonable time and exclude generated IFC modules.
2023-01-08 11:12:54 +11:00
Massimo Fabbro
694b21a0e1
Delete unuseful functions and improve speed ( #2672 )
...
* Delete unuseful functions and improve speed
* Delete active object function, cleaning around and improve performance
* Better functions names and prevent user defined qto use
2023-01-07 18:11:46 +01:00
Dion Moult
73d43649a5
Link to latest IfcSverchok release
2023-01-07 17:08:46 +11:00
Dion Moult
55036653df
Update IfcSverchok loading based on latest Sverchok master
2023-01-07 13:04:30 +11:00
Dion Moult
66ecb92cc2
Minor UX improvements to library name and Sverchok UI
2023-01-07 12:00:22 +11:00
Andrej730
23c7bc3f56
Added ShapeBuilder class and library for non structural assets (
...
`ShapeBuilder` class is used to programmatically create 2d and 3d ifc shapes and representations. It's inspired by the way OpenSCAD language is designed - the goal was to create a readable and easy way to create new shapes. The class can be imported from `ifcopenshell.util.representation` module.
Examples of things created with `ShapeBuilder` can be found in `shape_builder_examples.py` or `generate_furniture_library.py` / `Non_structural_assets_library.ifc`.
Also added ifc library of non structual assets (furniture etc) - `Non_structural_assets_library.ifc`. All assets are using most common dimensions for them - it makes it good for prototyping. Related to https://community.osarch.org/discussion/1192
2023-01-06 16:35:55 +05:00
Andrej730
74fee24004
Update ifc geometry on sverchok update
2023-01-06 12:23:54 +05:00
Dion Moult
618ecccb7b
Fix #2428 . Document minimum system support.
2023-01-06 17:11:51 +11:00
Dion Moult
f818fc659a
Bundle ifcopenshell for Python 3.11 on PyPI. See #2551 .
2023-01-06 16:37:50 +11:00
Dion Moult
4afada48a6
Fix #2440 . Fix #2439 . Describe how to access advanced mode when dealing with large models.
2023-01-06 14:01:42 +11:00
Dion Moult
59451cb90c
Fix #2664 . Package with latest IfcOpenShell build. See #2670 .
2023-01-06 11:16:29 +11:00
Sigma Dimensions
53bf746227
BBIM: Fixes for:
...
- Task Time attributes
- Fix typo animation time calculation
2023-01-05 18:43:50 +01:00
Sigma Dimensions
cd6f995471
BBIM: Disable "Create animation" buttons when no start dates/end dates are given
2023-01-05 18:36:22 +01:00
Dion Moult
839a00c2a8
Run black on validation, lazy-load _pytest.assertion so that it isn't a hard dependency for non-express rule validation.
2023-01-05 20:54:17 +11:00
Dion Moult
9208781b8f
Bump IfcOpenShell version
2023-01-05 18:38:32 +11:00
Dion Moult
25af42f4cb
Fix circular import of json_logger when doing import ifcopenshell.validate
2023-01-05 18:37:14 +11:00
Dion Moult
d386a884aa
You can now purge properties explicitly instead of setting them to None
2023-01-05 17:37:40 +11:00
Dion Moult
cb92be2b08
No need to specify SI unit names as they can be derived from the unit type
2023-01-05 17:37:40 +11:00
Martyna Jakubowska
70b7f1424f
Resolved Code Review
2023-01-05 17:37:40 +11:00
Martyna Jakubowska
56858540b8
Update README.md
2023-01-05 17:37:40 +11:00
Martyna Jakubowska
0331a21280
Update README.md
2023-01-05 17:37:40 +11:00
Martyna Jakubowska
9f53d724d1
Update README.md
2023-01-05 17:37:40 +11:00
martinaCodes
c114f09f9a
Added example model and a corresponding description
2023-01-05 17:37:40 +11:00
martinaCodes
1a2183ef71
Bug fixes in create_entity
2023-01-05 17:37:40 +11:00
martinaCodes
0ab0213dea
Bug fixes and changed behaviour of create_entity, so it creates an entity pr. each representation
2023-01-05 17:37:40 +11:00
Martyna Jakubowska
421f861e46
Updated README
2023-01-05 17:37:38 +11:00
martinaCodes
6e5f2f3f8d
Updated by_query and removed print statements
2023-01-05 17:36:33 +11:00
martinaCodes
05633cd657
Updated following nodes to work with the current workflow: add_pset, by_guid, get_attribute, get_property, read_entity. Added tooltips and other minor fixes
2023-01-05 17:36:33 +11:00
Martyna Jakubowska
41ae350f33
Create README.md
2023-01-05 17:36:33 +11:00
martinaCodes
8a26f30506
Important rework of handling multiple/nested items in bmesh_to_ifc, create_entity and sverchok_to_ifc nodes. Formatting and other minor fixes.
2023-01-05 17:36:33 +11:00
martinaCodes
4ae7643874
cleaned print statements etc
2023-01-05 17:36:33 +11:00
martinaCodes
b09068e1f4
write_file added logic that ensures proper model hierarchy
2023-01-05 17:36:33 +11:00
martinaCodes
87dbaa39d8
bmesh_to_ifc now creates separate representations for each distinct bmesh geometry
2023-01-05 17:36:33 +11:00
martinaCodes
d193e8a3eb
major changes primarily to file creation/saving logic.
...
Bug fix in create entity.
Other..
this commit is way to big and unstructured.
2023-01-05 17:36:33 +11:00
martinaCodes
f9e766138c
new pick_ifc_class node + minor fixes. Add_spatial_element is WIP
2023-01-05 17:36:33 +11:00
martinaCodes
36899d362e
added blender panel for saving file + minor fix in create_entity
2023-01-05 17:36:33 +11:00
martinaCodes
fd789178c1
Add_spatial_element node updated
2023-01-05 17:36:33 +11:00
martinaCodes
a0757851c8
Add_spacial_element node updated to work with multiple elements. V0.1 - still a bit buggy.
2023-01-05 17:36:33 +11:00
martinaCodes
039727cb19
added entity locations
2023-01-05 17:36:33 +11:00
martinaCodes
b5133f1c41
write_file node updated
2023-01-05 17:36:33 +11:00
martinaCodes
ab218b842a
create_shape node updated + minor changes
2023-01-05 17:36:33 +11:00
martinaCodes
37aa17fcf3
sverchok_to_ifc node added + works for multiple geometries. Parent contexts also get deleted if not used.
2023-01-05 17:36:33 +11:00
martinaCodes
6542fc7db3
updated by_type to current workflow + added sv_to_ifc
2023-01-05 17:36:33 +11:00
martinaCodes
c8c690afc2
changes
...
1) pasing ID references
2) bugs in create_entities, where number of representations couldn't be updated
3) by_id node updated to current workflow
... other small fixes
2023-01-05 17:36:33 +11:00
martinaCodes
5d569dea30
fixed create_entity and minor changes to bmesh_to_ifc
2023-01-05 17:36:33 +11:00
martinaCodes
38031a02bc
new nodes, and changes to create_entity2, but not working yet
2023-01-05 17:36:33 +11:00
martinaCodes
25460661ab
created new singleton class SvIfcStore, created new 'create_entity2' node
2023-01-05 17:36:33 +11:00
martinaCodes
3684be1936
fixed api_WIP, minor cleanup in other nodes
2023-01-05 17:36:33 +11:00
martinaCodes
0ada921ad8
fixed a typo-bug
2023-01-05 17:36:33 +11:00
martinaCodes
8fb285596a
added new nodes to node index
2023-01-05 17:36:33 +11:00
martinaCodes
ba4130d395
Added new nodes: api_WIP, bmesh_to_ifc, create_project and quick_project_setup
...
Modified nodes: api, create_entity
2023-01-05 17:36:33 +11:00
Sigma Dimensions
f818446e7e
BBIM fix: prevent "guess_all_quantities" operator from showing up on Property Sets
2023-01-04 13:59:00 +01:00
Dion Moult
82ac895bbb
Write docs for void API module
2023-01-04 16:10:13 +11:00
Dion Moult
fd8774718e
Write docs for unit API module
2023-01-04 16:10:13 +11:00
Dion Moult
90d4d5afda
Write docs for type API module
2023-01-04 16:10:12 +11:00
Dion Moult
92623b98e2
Write docs for system API module
2023-01-04 16:10:12 +11:00
Dion Moult
b86818ead3
Write docs for style API module
2023-01-04 16:10:12 +11:00
Dion Moult
9e45435024
Documentation example fixes where I forgot to give things with representations a placement
2023-01-04 16:10:12 +11:00
Sigma Dimensions
981b6cd65f
Various 4D improvements:
...
- refactor work schedule visualisation operator
- Fix text handler
- Improve durations UI for task times (proposal to replicate for all durations)
- Simplify durations ( P32H as P4D or P1D8H)
- Implement years/months in various datetime calculations
- Feature to customise animation colors per construction task type
- Feature to add Visual task bars
- Feature to customise Visual task bar material colors
- Move helper functions from blenderbim.bim.module.sequence to ifcopenshell.util.sequence
2023-01-04 02:08:52 +01:00
Dion Moult
0c77fb81ce
Write documentation for structural API module
2023-01-03 17:32:08 +11:00
Dion Moult
e53a9cd66c
Write documentation for spatial API module
2023-01-03 17:31:56 +11:00
Dion Moult
2805109cef
Write documentation for sequence API module
2023-01-03 17:31:48 +11:00
Dion Moult
6594445fa3
Add new code example for creating a work schedule
2023-01-03 17:31:23 +11:00
Massimo Fabbro
bac6c62073
Finish mapping quantities (see #2533 ) ( #2661 )
...
* Finish Qto_SignBaseQuantities
* Finish Qto_RailBaseQuantities
* Finish Qto_PitorialSignQuantities
* Finish Qto_JunctionBoxBaseQuantities
* Finish Qto_ArealStratumBaseQuantities
* Finish Qto_SiteBaseQuantities
* Finish Qto_RoofBaseQuantities
* Finish Qto_RoofBaseQuantities
* Finish Qto_ChimneyBaseQuantities
* Finish Qto_EarthworksCutBaseQuantities
* Finish Qto_KerbBaseQuantities
* Finish Qto_PavementBaseQuantities
* Finish Qto_RampFlightBaseQuantities
* Finish Qto_SurfaceFeatureBaseQuantities
* Finish Qto_StairFlightBaseQuantities
* Finish Qto_ConstructionMaterialResourceBaseQuantities
* Finish Qto_DistributionChamberElementBaseQuantities
* Finish Qto_CourseBaseQuantities
* Finish Qto_RailingBaseQuantities
* Finish Qto_SleeperBaseQuantities
* Finish Qto_TankSurfaceQuantities
* Finish Qto_BuildingElementProxy
* Finish Qto_MemberBaseQuantities
* Finish Qto_BodyGeometryValidation
* Finish Qto_VolumetricStratumBaseQuantities
* Finish Qto_SpatialZoneBaseQuantities
* Finish Qto_ReinforcingElementBaseQuantities
* Finish update calculate all quantities button with new calculating functions
2022-12-30 21:33:18 +01:00
Thomas Krijnen
6180d73f75
Fix build-all collada compile on gcc 9.4.0
2022-12-28 13:33:16 +01:00
Sigma Dimensions
599c391407
code clean up for sequence module
2022-12-26 22:48:51 +01:00
Sigma Dimensions
1f18c5ab82
features to guess schedule date range and setup default task columns, and code clean up
2022-12-26 18:30:25 +01:00
Sigma Dimensions
2bb4e645b2
Fix: When counting working days, consider if calendar is applicable
2022-12-26 17:19:57 +01:00
Sigma Dimensions
5326e21fef
2 Fixes for 1 commit:
...
- Consider all tasks descendants when deriving task earliest or latest dates
2022-12-26 17:18:33 +01:00
Sigma Dimensions
891b49ff6f
BBIM: feature to display total task Assignements
2022-12-26 13:38:54 +01:00
Thomas Krijnen
0f9c84c1ce
Feature: express rules ( #2662 )
...
* temp reasonable state, missing rule_head contents
* better state, with init() and rule_id, but some missing parameters
* performance; embed root in dict; fix lookup
* Add ast_utils
* Fixes related to listnode and typo
* First steps with code gen
* Finalize first steps towards working code generation
* Backwards compat
* Rule execution, error formatting, test cases
* Where rule: support indexing, more expressions, test plane angle measure
* positive length measure test cases
* Venture into entity rules, test actor role
* Fixed for not unary op and address test cases
* Test group qualifier and air terminal type
* typeof() implementation and test annotation curve occ
* Flexible handling of expression, type set intersection, IfcAnnotationSurface test cases
* Functions, derived attrs, fix branch order, allow to terminate branches, apply -1 to index
* Implement express query(), test cases for 2x3 bspline curve
* Function args, if-else, repeat, entity instance construction, cshape test cases
* Multiple function call arguments and other small but influential changes. IfcDotProject() almost working except for variable case
* Make lowercase and fix assignment to qualified lhs
* Entity instance schema without file, aggregate assignment workaround, range fix, lowercase instance locals, extruded area direction test cases
* Enumeration item handling, query() robustness, arbitrary profile test cases
* Empty aggregate_initializer, xor and instance equality, nested expression fix in IfcCrossProduct, axis2-3d test cases
* Numeric stable sort with indices greater then 10, get ast node parent, redeclared derived support, nested expression robustness, define entity functions, case statements, xor, mod, bool literals, nvl, unknown, conversion based unit test cases
* Safeguard for schema name case norm, case norm query variable_id
* free instance comparison, supertype serialization fix, include inherited attributes in locals, proper elif-else in case stmt, loindex, shape rep test cases
* Union operator on set, retain general_aggr_types in parse tree, test cases for property set
* Escape stmt, rule locals and statements
* Return calculated values for redeclared derived attributes
* fix for rules without stmt, add derived and inverse attributes to locals, filter unused locals, wrap exists() arg with lambda to catch indexerror, support repeated aggr init element, typeof() none check, enum namespace uppercase
* Regen 2x3 rules
* Rule test filter only on basename
* Update fixtures for compliance with full body of rules
* Add rule support to ifcopenshell.validate
* Implement usedin() function, test cases for IfcWallSC MLS
* blength
* Run code generation on all schemas
* Try to eliminate runtime pyparsing dep
* Try to eliminate runtime pyparsing dep
2022-12-26 11:29:32 +01:00
Sigma Dimensions
2ccf25f7eb
Display Scheduled Resource Usage as a property within rersource tree
2022-12-26 07:04:11 +01:00
Sigma Dimensions
082a326e67
Enable displaying number of resources used by a task
2022-12-26 06:16:19 +01:00
Sigma Dimensions
d33a7244a3
Task Output selection improvements - allow recursive nesting and add checkbox to toggle between nested and non-nested
2022-12-26 05:17:56 +01:00
Thomas Krijnen
bdb352ab22
Update ci-py-only.yml
2022-12-25 17:36:31 +01:00
Thomas Krijnen
04fb7cdf9c
Update ci.yml
2022-12-25 17:36:18 +01:00
Andrej730
16de2f2e7e
Added mention of sverchok's copyrights
2022-12-23 09:24:26 +05:00
Andrej730
0b6c8fe83e
Added base for ifc sverchok modifier
...
It's located in "Modifiers" section of the properties (the same way as IFC Array or IFC Stair).
It requires Sverchok addon to be enabled (it's lazy importing it when it's needed, so there is no new constant dependency).
What you can now do with it:
1) Add sverchok graphs to this modifier and store simple data from sverchok in IFC ("Update data from sverchok). The "output" node of the sverchok graph has to be type of "Viewer Draw" and it's name should start with "ifcoutput" (no case-sensitive).
2) Import/export json of sverchok graphs.
2022-12-21 20:10:39 +05:00
Andrej730
d11959d303
Removed deprecated angle annotations operator
...
As it's currently completely replace with new more intuitive operator.
2022-12-19 20:13:59 +05:00
Andrej730
2bd5f3bbb3
Fixed annotations angle operator svg rendering bug
...
Fixed bug where the angle was drawn in svg only for the first two edges of the curve.
Now it takes into account all edges - first angle = edge0 + edge1, second angle = edge1 + edge2 etc.
2022-12-19 20:07:29 +05:00
CyrilWaechter
cabc91dd5e
Allow to write to unexisting directory
...
`ifcopenshell.write("/unexisting/path/model.ifc")` was failing without
throwing an error. It now works and a test ensure it works.
2022-12-19 01:44:40 +01:00
Sigma Dimensions
88c9f15320
fix library import for date utils
2022-12-18 04:34:20 +01:00
Sigma Dimensions
b206e90097
Proposal to use parent productivity to calculate resource work.
2022-12-18 04:17:17 +01:00
Sigma Dimensions
73d3e9589c
BBIM: forgotten commit for "ScheduleDuration" formatting
2022-12-18 03:56:10 +01:00
Sigma Dimensions
84a07c3fdf
fix typo for resource_work calculation
2022-12-18 03:41:13 +01:00
Sigma Dimensions
ea1c306733
fix offset date calculation when finish date lies outside of calendar range
2022-12-18 03:34:20 +01:00
Dion Moult
30dc13f1a7
Add support for loading IFCs with aggregated types
2022-12-17 20:48:05 +11:00
Dion Moult
9b3b06adf3
Write documentation for root API module
2022-12-16 15:29:50 +11:00
Dion Moult
436482532d
Write documentation for resource API module
2022-12-16 15:07:02 +11:00
Dion Moult
d2fee728f2
Write documentation for pset_template API module
2022-12-16 11:22:46 +11:00
Dion Moult
0ccea3cef8
Add documentation for pset API module
2022-12-15 16:02:27 +11:00
Dion Moult
241406f676
Consolidate standard "clean environment" instructions in docs
2022-12-14 23:13:01 +11:00
Dion Moult
a89c061b58
Write docs for project API module
2022-12-14 17:28:34 +11:00
Dion Moult
1211c153d9
Revert detailed SPF comments in code example
...
Sorry I find these really hard to read an intimidating for new users.
2022-12-14 17:28:12 +11:00
Dion Moult
a5bdcf488b
Write docs for profile API module
2022-12-14 16:49:06 +11:00
Dion Moult
a5a1ef2e8e
Write docs for owner API module
2022-12-14 15:58:53 +11:00
Ryan Schultz
05cd11ae12
Added some troubleshooting measures to determine if another plugin is interfering with BB.
2022-12-13 08:12:21 -06:00
fbpyr
307f9a2322
bump python version
...
bumping python version, so it works with our ubuntu latest image and `actions/setup-python@v2`
2022-12-13 21:35:42 +11:00
CyrilWaechter
3d05dc234a
Ignore mypy cache, swig and compiled files
2022-12-11 22:49:44 +01:00
CyrilWaechter
1f87165601
Remove bloat line
2022-12-11 22:46:05 +01:00
CyrilWaechter
a513e1b56a
Remove duplicate line
2022-12-10 19:45:17 +01:00
CyrilWaechter
ec0c8f509e
Move boundary origin to space origin
...
Ensure that boundary origin is same as space origin to assign correct
geometry into IFC.
2022-12-10 19:44:28 +01:00
Ryan Schultz
a23bac6ecb
where to look to see if a dependency has changed.
2022-12-09 10:31:57 -06:00
Kristoffer Andersen
569c19abca
Merge pull request #2642 from CyrilWaechter/v0.7.0
...
Remove unecessary line which make build failing
2022-12-09 10:52:01 +01:00
CyrilWaechter
dfeac601e4
Remove unecessary line which make build failing
2022-12-09 09:44:19 +01:00
Dion Moult
53cecb3546
Write documentation for the nest API module.
2022-12-07 18:56:44 +11:00
Dion Moult
cf87852d9c
Add API documentation for the material module
2022-12-07 17:30:08 +11:00
Dion Moult
7da3d9ee70
Add docs for library API module
2022-12-07 12:20:29 +11:00
Dion Moult
9650bbb5ee
Add docs to layer API
2022-12-07 08:59:24 +11:00
Dion Moult
45953c6b49
Add API documentation for group module
2022-12-06 16:42:47 +11:00
Dion Moult
b34caa1b5f
Add documentation for grid API module
2022-12-05 17:10:22 +11:00
Ryan Schultz
ea8433b187
Added more examples to the Code Examples page
2022-12-05 15:44:38 +11:00
Andrej730
390f23a30c
Added ReloadSelectedIfcFile operator
...
Added ReloadSelectedIfcFile operator and added it to IFC Quality Control -> IFC Debug, it's useful when you're debugging and doing a lot of iterations on the same file.
2022-12-05 14:59:58 +11:00
Massimo Fabbro
c8ba2b53c9
Mapping quantities (see #2533 ) ( #2627 )
...
* Finish mapping Qto_PileBaseQuantities
* Finish mapping IfcPipeSegmentBaseQuantities
* Finish mapping IfcVehicleBaseQuantities
* Finish mapping Qto_OpeningElementBaseQuantities
* Finish mapping Qto_PlateBaseQuantities
* Finish Qto_MarineFacilityBaseQuantities
* Finish Qto_FacilityPartBaseQuantities
* Finish Qto_ProjectionElementBaseQuantities
* Better syntax
2022-12-02 18:19:43 +01:00
Thomas Krijnen
dbbbb52e9e
#2624
2022-12-02 13:43:44 +01:00
Dion Moult
052d6e2254
Add API docs for georeferencing module
2022-11-28 10:30:51 +11:00
Massimo Fabbro
b05c711fb9
Merge pull request #2619 from maxfb87/mapping_quantities
...
Finish mapping quantities Qto_SpaceBaseQuantities (see #2533 )
2022-11-27 08:17:32 +01:00
CyrilWaechter
eb0322759c
Allow ifcpatch to work with .ifcZIP | .ifcXML
...
Closes #2350
2022-11-26 05:37:00 +01:00
CyrilWaechter
25a7a95284
Allow to write .ifcZIP | .ifcXML #2350
...
Transparently write any .ifc | .ifcXML | .ifcZIP formatted file
with any extension :
- by guessing format from its extension
(eg. .zip | .ifczip | .ifcZIP | .ifcXML | .ifcxml | .IFC | .ifc)
zipped file can file can be of any supported format
- by specifying a format
- by specifying if it should be zipped
2022-11-26 05:19:01 +01:00
Ryan Schultz
8ec1b7bb3e
misspellings with outer_boundary
2022-11-25 12:29:00 -06:00
CyrilWaechter
5f094f6a95
Fix IfcSystem assignment bug introduced in f0b1935
...
Fixing my own bug…
Note : always run all test before pushing not only the one which used to fail…
2022-11-25 19:01:07 +01:00
CyrilWaechter
f0b1935861
Add system assignment check
...
@aothms Is there a way to check against IFC formal propositions ?
Example for [IfcZone](http://ifc43-docs.standards.buildingsmart.org/IFC/RELEASE/IFC4x3/HTML/lexical/IfcZone.htm#5.4.3.82.4-Formal-propositions )
@Moult Should I move is_assignable to an util ?
2022-11-25 18:52:58 +01:00
Massimo Fabbro
2540ba3467
Finish mapping quantities Qto_SpaceBaseQuantities
2022-11-25 17:22:13 +01:00
CyrilWaechter
88093728a7
Add IfcSpatialElementType to assignable classes
...
Required for IFC4+ to assign IfcSpaceType and IfcSpatialZoneType
Solves #2615
2022-11-25 15:55:32 +01:00
Thomas Krijnen
af6734d7b0
IfcOpenShell WASM module build script ( #2617 )
2022-11-25 13:16:36 +01:00
Thomas Krijnen
8a108f37c3
Moar schema indices
2022-11-24 09:36:02 +01:00
Andrej730
d88510b919
Added new angle annotations operator
...
New operator should be more intuitive to work with. I kept the old one too for now.
2022-11-24 12:05:54 +06:00
Thomas Krijnen
afe9f7602f
Test cases for #2586
2022-11-23 13:46:15 +01:00
Thomas Krijnen
ff2b79a41f
Distinguish between nil and derived in validate.py
2022-11-23 13:45:44 +01:00
Thomas Krijnen
631722303f
https://raw.githubusercontent.com/buildingSMART/IFC4.3-html/sep-13-release/IFC/RELEASE/IFC4x3/HTML/IFC4X3_TC1.exp
2022-11-23 13:23:49 +01:00
Dion Moult
4b20a407e9
Add API docs for drawing module
2022-11-23 11:23:40 +09:00
Dion Moult
b23f445946
Add API documentation for document module
2022-11-23 10:56:41 +09:00
CyrilWaechter
09c8268494
Fix path for ci (root at src/ifcopenshell-python)
2022-11-22 23:25:11 +01:00
CyrilWaechter
0bc3543914
Update test/input submodule to https://github.com/IfcOpenShell/files/commit/20a17fcf3b1be2bc48af0273f7604af5b7cc4068
...
#2350
2022-11-22 21:23:26 +01:00
CyrilWaechter
0412eb48a0
Fix type hints #2350 for python <3.10
2022-11-22 01:00:04 +01:00
CyrilWaechter
e7d5add13d
Add test suite for ifcopenshell.open #2350
...
Fix open function: format argument was unused
2022-11-22 00:40:27 +01:00
Thomas Krijnen
25948a608a
Missing parse updates after 4e0a19e
2022-11-21 09:43:13 +01:00
Dion Moult
11f772b5a3
Add documentation for cost module
2022-11-21 12:05:58 +09:00
CyrilWaechter
412cf7c6cb
Add stable AUR package
2022-11-21 01:42:26 +01:00
CyrilWaechter
b2d5580c37
Allow to open .ifcZIP | .ifcXML #2350
...
Transparently open any .ifc | .ifcXML | .ifcZIP formatted file
with any extension :
- by guessing format from its extension
(eg. .zip | .ifczip | .ifcZIP | .ifcXML | .ifcxml | .IFC | .ifc)
zipped file can file can be of any supported format
- by specifying a format
2022-11-21 01:32:12 +01:00
CyrilWaechter
8386aa0e0a
IfcZone: Allow to remove an object from an IfcZone
2022-11-20 17:48:30 +01:00
CyrilWaechter
ae0f2a9de6
IfcZone : Allow basic selection/deletion/creation
2022-11-20 17:35:27 +01:00
Thomas Krijnen
4e0a19e013
https://raw.githubusercontent.com/buildingSMART/IFC4.3-html/v4.3.1.0/IFC/RELEASE/IFC4x3/HTML/IFC4X3_ADD1.exp
2022-11-20 16:52:46 +01:00
Thomas Krijnen
9a840174d2
Fix test case
2022-11-20 14:38:17 +01:00
Massimo Fabbro
83528ba80a
Merge pull request #2612 from maxfb87/Mapping_quantities
...
Finish mapping Qto_CoveringBaseQuantities (see #2533 )
2022-11-19 23:05:29 +01:00
Massimo Fabbro
eb23372fd0
Finish mapping Qto_CoveringBaseQuantities
2022-11-19 21:44:51 +01:00
Massimo Fabbro
286e9dfda9
Merge pull request #2605 from maxfb87/mapping_quantities
...
Mapping quantities (see #2533 )
2022-11-19 17:28:29 +01:00
Vukas Pajic
f0b9c9ad7b
#2602 get_properties no longer throws error when EnumerationValues = None
2022-11-18 14:35:57 +01:00
Kristoffer Andersen
afd79ee16d
bump conda daily build number
2022-11-18 13:52:35 +01:00
Ryan Schultz
caa4445eb0
Added diffuse_color inside IFC Style panel
2022-11-18 12:36:10 +11:00
Andrej730
f850bd5741
documented create_simple_2dcurve()
2022-11-17 12:03:28 +06:00
Massimo Fabbro
8c5883ffaa
Finish mapping Qto_DoorBaseQuantities and Qto_WindowBaseQuantities
2022-11-16 22:28:10 +01:00
Massimo Fabbro
8f8940de2a
Minor fix
2022-11-16 21:56:29 +01:00
Massimo Fabbro
bf59871db5
Fix get_gross_side_area for Qto_WallBaseQuantities
2022-11-16 21:50:52 +01:00
Dion Moult
22eb0bf2e4
Write API documentation for control module
2022-11-16 18:38:51 +09:00
Dion Moult
68838a37e5
Add API documentation for context module
2022-11-16 18:18:22 +09:00
Dion Moult
22b4bfe07d
Add API docs for constraint module
2022-11-16 08:57:25 +09:00
Andrej730
ff2714d991
Added c-, z-profiles with lips to AU steel library
...
Added c- and z-profiles with lips to IFC AU Steel profile library (based on data from https://github.com/boltsparts/boltsparts/pull/15 ).
For z-profiles I've created simple 2D curve generation function that can be reused later - it requires list of points and list of points with fillets and the results are list of curve points, segments and IfcIndexedPolyCurve.
Example:
points, segments, ifc_curve = create_simple_curve_from_coords(coords,
fillets = (0, 1, 4, 5, 6, 7, 10, 11),
fillet_radius=(r+t, r+t, r, r, r+t, r+t, r, r),
closed=True, ifc_file=ifc_file)
2022-11-15 13:35:44 +06:00
Dion Moult
308ee7f7a9
Add API documentation for classification module
2022-11-15 16:11:47 +09:00
Dion Moult
c87924c4ba
Add API docs for boundary module
2022-11-15 08:27:26 +09:00
Thomas Krijnen
8f33c2ca9d
Missing file
2022-11-14 09:38:51 +01:00
Thomas Krijnen
9351038009
Refactoring
2022-11-14 09:23:59 +01:00
Dion Moult
66281ec1f1
Add docs for attribute API
2022-11-14 07:55:50 +11:00
Dion Moult
ae843e6faf
Add docs for aggregate api
2022-11-14 07:48:20 +11:00
Massimo Fabbro
5ca0a254ff
Cleaning around in qto_calculator
2022-11-14 06:50:33 +11:00
Thomas Krijnen
c18458b3db
Refactoring
2022-11-13 11:21:58 +01:00
Thomas Krijnen
3736a8b4b4
Refactoring
2022-11-13 11:04:16 +01:00
Dion Moult
6558f68cd4
Minor fix
2022-11-13 15:32:24 +11:00
Dion Moult
4fd5806f70
Minor documentation tweaks
2022-11-13 15:30:35 +11:00
Thomas Krijnen
b1c730c04d
draw.include_projection setting
2022-11-12 15:49:29 +01:00
Dion Moult
bdec443410
Minor fixes to IfcTester
2022-11-12 14:08:01 +11:00
Erik Abrahamsson
d9afb0f8a2
Fix translation of days in Powerproject importer
2022-11-12 08:32:19 +11:00
Andrej730
9dfd7e03f7
IFC Stair - added "Wood / Steel" stair type
...
Added new stair type "Wood / Steel" to IFC Stair modifier. It's less sophisticated than "Concrete" stair type - it acts more like a "Dumb stair" operator we have.
2022-11-11 17:32:57 +06:00
Andrej730
31b633b8b6
IFC Stair - cosmetic adjustments
2022-11-11 16:22:55 +06:00
Massimo Fabbro
20f4737ffd
Fix some errors and update notes
2022-11-11 12:00:08 +11:00
Massimo Fabbro
4d4ab63404
Finish mapping Qto_BeamBaseQuantities
2022-11-11 12:00:08 +11:00
Massimo Fabbro
056f7610c1
Fix some get_lateral_area function errors
2022-11-11 12:00:08 +11:00
Massimo Fabbro
bfb2f06e44
Finish mapping Qto_BeamBaseQuantities
2022-11-11 12:00:08 +11:00
Dion Moult
a7febaa9b0
Fix astapowerproject import to ifc which seemed mostly broken for some reason
2022-11-11 11:38:09 +11:00
Sigma Dimensions
ff984f62af
BBIM feature to load nested tasks outputs, and select all nested task outputs
2022-11-10 18:05:26 +01:00
Otso Alho
d005524c4c
catch missing instances one by one. do not throw away whole relation.
2022-11-10 14:18:50 +01:00
Dion Moult
a2362668a3
The profile manager now only manages named profiles
2022-11-10 23:32:15 +11:00
Andrej730
277317e6fd
Added "IFC Stair" to object modifiers
...
1) Added "IFC Stair" to object modifiers - it works in similar way as "IFC Array". It creates a stair from current object (if it's IfcStairFlight) and writes it's parameters to property set "BBIM_Stair" and also to IfcStairFlight parameters.
Then you can edit it - modifying stair parameters and immediately see the changes, then you can save those changes or discard them.
2) "Clever Stair" operator (in Shift+A menu) works a bit different now - it creates new IfcStairFlight with IFC Stair modifier activated.
2022-11-10 15:57:08 +06:00
Dion Moult
b3f0b9b37b
Get cross section area from profile directly rather than mesh parsing
2022-11-10 17:37:14 +11:00
Dion Moult
6de1e73e4f
Distinguish between calculating gross and net surface area
2022-11-10 17:02:11 +11:00
Thomas Krijnen
c6cdf4ab77
Be a bit more careful in throwing NoSuchObject in case of triangulated face handling https://github.com/IfcOpenShell/wasm-preview/issues/1
2022-11-09 20:32:53 +01:00
Dion Moult
21f8aca00f
Elementary fixes to the BCF module just so that things load (but lots are still broken)
2022-11-09 23:35:47 +11:00
Thomas Krijnen
1d6c3b3fc2
Update build-all.py
2022-11-09 10:58:38 +01:00
Thomas Krijnen
4362163ea9
Update build-all.py
2022-11-09 10:57:42 +01:00
Dion Moult
67808b8384
Fix issue where sometimes world coordinate system would trigger the georeferencing distance threshold
2022-11-09 18:37:16 +11:00
Andrea Ghensi
2cbc7a10ab
[BCF] New BCF XML handler with better performances ( #2355 )
...
BREAKING CHANGE: incompatible methods and objects with previous version.
closes #2321
2022-11-09 08:54:23 +11:00
Massimo Fabbro
d97594df96
Finish Qto_SlabBaseQuantities quantities ( #2567 )
2022-11-08 22:21:00 +11:00
Dion Moult
c7eca135de
Document how you can get the matrix of elements from IfcOpenShell Python.
2022-11-08 20:18:08 +11:00
Dion Moult
e63ec83325
Fix some bugs in IfcTester that prevented tests running on IFC2X3
2022-11-08 20:05:56 +11:00
Dion Moult
1ddae8a6f5
Fix #2577 . Bug where system editing UI appears multiple times.
2022-11-08 20:04:59 +11:00
Andrej730
03781bdf9b
Updated EU, AU steel profiles libraries
...
1) Updated AU profiles based on more correct data (https://github.com/boltsparts/boltsparts/pull/4 ) - also added welded i-beam profiles
2) Added inner and outer fillet radius to hollow profiles since this data was added to https://github.com/boltsparts/boltsparts
3) Added more data to ifc profiles that was available on bolts: FilletRadius for I-beams, C-beams; FilletRadius and EdgeRadius for I-beams. Sovles #2556
4) Set names IfcProfileDef names too. Solves #2556
2022-11-08 11:29:43 +06:00
Dion Moult
62e5c3684b
Fix #2564 . Bug where profiles were not reused across copies.
2022-11-07 22:37:53 +11:00
Dion Moult
ff90728a22
New unassign container API function
2022-11-07 18:47:15 +11:00
Dion Moult
dadf23681b
Fix #2123 . Bug where mesh to extrusion conversion didn't work for thin extrusions.
2022-11-07 17:45:05 +11:00
Dion Moult
516bd37518
Fix #2550 . Bug where material styles weren't included when appending from a library
2022-11-07 16:20:23 +11:00
Dion Moult
521ec1b124
Support styles defined somewhere along a boolean result stack
2022-11-07 11:24:13 +11:00
Thomas Krijnen
4881e4c686
Error in type checking introduced in ca98e77b40
2022-11-06 14:45:00 +01:00
Thomas Krijnen
a57cac5f9c
#2558 make conditional
2022-11-06 14:39:01 +01:00
Thomas Krijnen
ca98e77b40
#2471 Fix refcount when setting aggregates
2022-11-05 16:24:04 +01:00
Dion Moult
cbd9c898c3
Fix failing tests
2022-11-04 17:08:41 +11:00
Massimo Fabbro
f57731a10a
Mapping quantities #2533 ( #2565 )
...
* Implement some Qto_WallBaseQuantities quantities
* finish Qto_WallBaseQuantities
2022-11-04 08:56:38 +11:00
Dion Moult
0142bface5
You can now edit parameterised profiles again in the material panel
2022-11-04 00:05:09 +11:00
Dion Moult
5acbf4658f
Material UI now prompts to add a profile if none exist in your library
2022-11-03 23:44:47 +11:00
Dion Moult
32e00f6d49
Refactor material UI to not depend on IOS API data class
2022-11-03 23:36:16 +11:00
Gorgious56
4e3ce192cc
Custom property set attributes now show their description when right clicking the field
...
+ Add explicit numerical constraint members to attribute class #2562
+ Fix error in numerical value callback #2562
+ Fix error in setting attribute values because of wrong type cast
2022-11-03 09:54:35 +01:00
Gorgious56
841bb59d18
Fix error when the user selects a class suggestion that is not a predefined type
2022-11-03 08:21:55 +01:00
Gorgious56
8dd8a23af9
The predefined type suggestions now fetch their values from the ifcopenshell.util.doc module instead of parsing the file data
2022-11-03 08:16:40 +01:00
Dion Moult
adc59de2bf
Minor fix to accommodate null descriptions and parents with no attributes
...
# Conflicts:
# src/ifcopenshell-python/ifcopenshell/util/doc.py
2022-11-03 17:13:56 +11:00
Gorgious56
20198bccdb
Numerical Attribute validation callback ( #2562 )
...
* Numerical attributes can now be clamped
* #2545 : IfcMaterialLayer Priority is now clamped between 0 and 100
* Run black
2022-11-03 14:41:47 +11:00
Andrej730
c0909dace0
black.py formatting
2022-11-02 17:35:51 +06:00
Andrej730
bd054d4baf
Added more advanced stair generating operator
2022-11-02 17:31:27 +06:00
Dion Moult
35a70a4ae3
Fix #2559 . Don't consider door and window styles in IFC4X3.
2022-11-02 17:31:10 +11:00
Dion Moult
a1d30d157b
Minor fix.
2022-11-02 17:27:18 +11:00
Kristoffer Andersen
621d89c80e
Update ci-ifcopenshell-conda-daily.yml
...
Bump GA versions away from deprecated versions
2022-11-01 20:58:59 +01:00
Gorgious
2fa3793622
Selecting an ifc predefined type in addition to the ifc class in the object ifc class selector now correctly assigns it
2022-11-01 17:34:29 +01:00
Kristoffer Andersen
872c057c4f
bump conda daily to python v 3.10 and 3.11
2022-11-01 16:16:28 +01:00
Kristoffer Andersen
f6a530e5e3
remove cap on boost version
2022-11-01 15:17:32 +01:00
Dion Moult
2043a629c7
Material profile sets UI cleanup and now lets you choose from a profile in your library instead of creating new profiles on the fly all the time
2022-11-01 23:39:07 +11:00
Kristoffer Andersen
a7f9d548cf
fix: add conditional #include <windows.h> for certain files breaking … ( #2558 )
...
* fix: add conditional #include <windows.h> for certain files breaking with boost v1.78+
* Revert "fix: add conditional #include <windows.h> for certain files breaking with boost v1.78+"
This reverts commit 7cd5c6292b .
* fix: add only `BOOST_REGEX_NO_W32` to fix issues boost v1.78+
2022-11-01 13:30:07 +01:00
Dion Moult
1391dd38ec
Update README.md
2022-11-01 13:29:20 +01:00
Dion Moult
38f6b7aca0
Clean up README
...
This new proposed readme makes it more obvious to readers that there is a large collection of tools available, a brief glance of what they do, and directs users to the dedicated websites and documentation for further instructions on installation and so on.
2022-11-01 13:29:20 +01:00
Dion Moult
f0e4397ef9
Change PyPI package readme. See #2531 .
2022-11-01 09:08:13 +11:00
Dion Moult
6b7ffc8ca6
Merge pull request #2544 from Gorgious56/Tooltips
...
Blenderbim : Implement tooltips and online docs in the interface
2022-11-01 08:46:51 +11:00
Gorgious
5458f4f9dd
Slightly optimise the display of the description popup
2022-10-31 22:22:46 +01:00
Gorgious
0c3269d9e1
Revert "Squashed commit of the following:"
...
This reverts commit f07cf1d1ef .
2022-10-31 19:53:19 +01:00
Gorgious
84dde4c5c0
Property set templates attributes now show a tooltip on hover
2022-10-31 19:34:59 +01:00
Gorgious
7eefb3f62f
Pset nominal values now show their description on right click
2022-10-31 19:09:58 +01:00
Gorgious
90369bf7f7
Directly use predefined type doc function instead of wrapper
2022-10-31 18:10:03 +01:00
Gorgious
eff3318399
Directly use attribute doc functions instead of wrapper
2022-10-31 18:01:59 +01:00
Gorgious
ee59d366dc
Directly use entity doc functions instead of wrappers
2022-10-31 17:57:24 +01:00
Gorgious
c0b91848a3
Refactor right click context menu
2022-10-31 17:30:33 +01:00
Gorgious
d05d430642
Directly use pset doc functions instead of wrapped ones
2022-10-31 17:30:18 +01:00
Gorgious
e8a73e008e
Pset types and template types enums now show tooltips on hover
2022-10-31 17:15:58 +01:00
Thomas Krijnen
259bb4f36a
Let's try #2551
2022-10-31 13:39:01 +01:00
Dion Moult
b87191a358
Forgot to commit new profile import export in model tool
2022-10-31 22:34:48 +11:00
Gorgious
a359230181
Actually fix #2553 : Add safeguard to unregister custom right click context menu
2022-10-31 11:29:04 +01:00
Gorgious
a95e12c0b2
Pset enums now display a tooltip on hover
2022-10-31 11:09:31 +01:00
Gorgious
2ac27c6fdd
Add additional line to the ifc description popup to display the attribute type
2022-10-31 10:43:50 +01:00
Gorgious
757578a74b
Fix error fetching the description of a nameless attribute
2022-10-31 10:34:18 +01:00
Gorgious
3466a38a44
Removed hardcoded descriptions thanks to 937f39c
2022-10-31 10:32:49 +01:00
Gorgious
f07cf1d1ef
Squashed commit of the following:
...
commit 7fb4cdaa16
Author: Gorgious <nathan.hild@gmail.com >
Date: Mon Oct 31 09:35:06 2022 +0100
Fix #2546 : Editing a material now automatically ends the edition of its material set item if necessary
commit 427411e758
Author: Dion Moult <dion@thinkmoult.com >
Date: Mon Oct 31 19:04:57 2022 +1100
You can now edit arbitrary profiles in the profile manager
commit cc056d5d53
Author: Gorgious <nathan.hild@gmail.com >
Date: Mon Oct 31 08:52:11 2022 +0100
Fix #2553 : Right click documentation is now only available for Blender 3.3+
Also fix an error in the console when right clicking a button
commit 31600033bf
Author: ArturTomczak <artomczak@gmail.com >
Date: Sun Oct 30 23:16:08 2022 +0100
add BCF reporter to IDS (#2552 )
* grammar
* reason not always a list
* extend readme with instruction
* remove microseconds from date
* add BCF reporter
commit 0338825175
Author: Dion Moult <dion@thinkmoult.com >
Date: Sun Oct 30 23:26:59 2022 +1100
You can now add new profile definitions in the profile manager
commit d9f8aa4e7b
Author: Andrej730 <azhilenkov@gmail.com >
Date: Sun Oct 30 11:29:42 2022 +0600
Added ifc types schema for Ifc2x3 and Ifc4
Types schema located in separate json file, it's structure:
{ ifc_type_name: {"description": type_description, "spec_url": type_spec_url} }
I've also added new API function to get type data - `get_type_doc(version, ifc_type)`
commit 6803788676
Author: Dion Moult <dion@thinkmoult.com >
Date: Sun Oct 30 11:02:18 2022 +1100
Load thumbnails in a paginated manner to allow to scale to larger models
commit d421cc0bbb
Author: Massimo Fabbro <79401028+maxfb87@users.noreply.github.com >
Date: Sun Oct 30 00:07:56 2022 +0200
No mapped quantities in qto calculator has None value (#2549 )
commit bf57c8b1bf
Author: Dion Moult <dion@thinkmoult.com >
Date: Sat Oct 29 23:45:04 2022 +1100
Refactor profile module to use data class
commit 9a25db6584
Author: Andrej730 <azhilenkov@gmail.com >
Date: Sat Oct 29 18:31:40 2022 +0600
get_attribute_doc get_entity_doc now use recursive method by default
commit 17ccd0adf7
Author: Andrej730 <azhilenkov@gmail.com >
Date: Sat Oct 29 18:27:51 2022 +0600
Simplified getting entity parent information for schema api
Removed unnecssary parent information from json schema - now API is getting it from ifcopenshell schema.
commit 937f39c898
Author: Andrej730 <azhilenkov@gmail.com >
Date: Sat Oct 29 17:35:43 2022 +0600
Added information about parent entity to schema
Added information about parent entity to schema (it's located in "parent_entity" entity parameter inside schema), both for Ifc2x3 and Ifc4.
Modified get_entity_doc and get_attribute_doc - now you can use additional optional parameter `recursive=True` with those functions - then parent entities attributes will be included to the list of entity's attributes. For example IfcWindow will also have attributes from IfcBuildingElement, IfcElement, IfcProduct etc...
commit 0b5ccd88a5
Author: Andrej730 <azhilenkov@gmail.com >
Date: Sat Oct 29 16:31:54 2022 +0600
Added descriptions for psets and qsets to ifc2x3, ifc4 schema
Example of getting pset description: `get_property_set_doc("IFC4", "Pset_ZoneCommon")['description']`
commit ebf3cd8909
Author: Andrej730 <azhilenkov@gmail.com >
Date: Sat Oct 29 10:32:26 2022 +0600
Added IFC libraries for AU and EU profiles
Also added script that was used to generate those libraries (the script is using data from https://github.com/boltsparts/BOLTS ).
Types of steel profiles included:
I profiles, Z profiles, C profiles (known as U profiles in IFC), L profiles (both equal and unequal), hollow profiles (circle, square and rectangular).
commit 08afec3461
Author: Dion Moult <dion@thinkmoult.com >
Date: Fri Oct 28 22:32:15 2022 +1100
Support material layer set usage negative direction sense for parametric walls
commit 4408a23873
Author: Dion Moult <dion@thinkmoult.com >
Date: Fri Oct 28 22:30:43 2022 +1100
Merge duplicate types IfcPatch recipe can now merge based on any attribute
2022-10-31 09:51:05 +01:00
Gorgious
7fb4cdaa16
Fix #2546 : Editing a material now automatically ends the edition of its material set item if necessary
2022-10-31 09:35:06 +01:00
Dion Moult
427411e758
You can now edit arbitrary profiles in the profile manager
2022-10-31 19:05:04 +11:00
Gorgious
cc056d5d53
Fix #2553 : Right click documentation is now only available for Blender 3.3+
...
Also fix an error in the console when right clicking a button
2022-10-31 08:52:11 +01:00
ArturTomczak
31600033bf
add BCF reporter to IDS ( #2552 )
...
* grammar
* reason not always a list
* extend readme with instruction
* remove microseconds from date
* add BCF reporter
2022-10-31 09:16:08 +11:00
Dion Moult
0338825175
You can now add new profile definitions in the profile manager
2022-10-30 23:27:11 +11:00
Andrej730
d9f8aa4e7b
Added ifc types schema for Ifc2x3 and Ifc4
...
Types schema located in separate json file, it's structure:
{ ifc_type_name: {"description": type_description, "spec_url": type_spec_url} }
I've also added new API function to get type data - `get_type_doc(version, ifc_type)`
2022-10-30 11:33:20 +06:00
Dion Moult
6803788676
Load thumbnails in a paginated manner to allow to scale to larger models
2022-10-30 11:02:31 +11:00
Massimo Fabbro
d421cc0bbb
No mapped quantities in qto calculator has None value ( #2549 )
2022-10-30 09:07:56 +11:00
Dion Moult
bf57c8b1bf
Refactor profile module to use data class
2022-10-29 23:45:12 +11:00
Andrej730
9a25db6584
get_attribute_doc get_entity_doc now use recursive method by default
2022-10-29 18:31:40 +06:00
Andrej730
17ccd0adf7
Simplified getting entity parent information for schema api
...
Removed unnecssary parent information from json schema - now API is getting it from ifcopenshell schema.
2022-10-29 18:27:51 +06:00
Andrej730
937f39c898
Added information about parent entity to schema
...
Added information about parent entity to schema (it's located in "parent_entity" entity parameter inside schema), both for Ifc2x3 and Ifc4.
Modified get_entity_doc and get_attribute_doc - now you can use additional optional parameter `recursive=True` with those functions - then parent entities attributes will be included to the list of entity's attributes. For example IfcWindow will also have attributes from IfcBuildingElement, IfcElement, IfcProduct etc...
2022-10-29 17:35:43 +06:00
Andrej730
0b5ccd88a5
Added descriptions for psets and qsets to ifc2x3, ifc4 schema
...
Example of getting pset description: `get_property_set_doc("IFC4", "Pset_ZoneCommon")['description']`
2022-10-29 16:31:54 +06:00
Andrej730
ebf3cd8909
Added IFC libraries for AU and EU profiles
...
Also added script that was used to generate those libraries (the script is using data from https://github.com/boltsparts/BOLTS ).
Types of steel profiles included:
I profiles, Z profiles, C profiles (known as U profiles in IFC), L profiles (both equal and unequal), hollow profiles (circle, square and rectangular).
2022-10-29 10:32:26 +06:00
Gorgious56
d9b1c26bf0
Fix bug when prop_with_search is used with a prop that is not an enum
2022-10-28 16:50:11 +02:00
Gorgious56
490da99792
Pset primary measure type should now display a tooltip on hover
...
Awaiting for ifc measure descriptions to be added to the docs
2022-10-28 16:32:17 +02:00
Gorgious56
528df00027
Organization and person now show a tooltip on hover
2022-10-28 16:30:04 +02:00
Gorgious56
bc10f934d6
Add tooltips to attributes to guide users to their description
2022-10-28 15:46:02 +02:00
Gorgious56
819db11db4
Simplify attribute description
2022-10-28 15:44:31 +02:00
Gorgious56
37a0854d40
Material set profile attributes now show a description on right click
...
+ added link to docs to Material set profile attributes and Material set item
2022-10-28 14:39:36 +02:00
Gorgious56
b984268b5d
parameterized profile classes now shot a tooltip on hover
2022-10-28 14:34:57 +02:00
Gorgious56
e4d2ae185d
Fix bug when an entity doesn't have any predefined type to fetch in the docs
2022-10-28 14:26:08 +02:00
Gorgious56
345098b4af
Fix bug when attribute enum items descriptions are not filled in
2022-10-28 13:51:52 +02:00
Gorgious56
98b517954f
Material layer set item attributes now show a description on right click
2022-10-28 13:47:42 +02:00
Gorgious56
dba8d2df9d
Fix bug when right clicking an operator button in the interface
2022-10-28 13:43:41 +02:00
Gorgious56
6756ba7022
Ifc profile classes enum now shows a tooltip on hover
2022-10-28 13:42:51 +02:00
Dion Moult
08afec3461
Support material layer set usage negative direction sense for parametric walls
2022-10-28 22:32:15 +11:00
Dion Moult
4408a23873
Merge duplicate types IfcPatch recipe can now merge based on any attribute
2022-10-28 22:30:57 +11:00
Gorgious56
c33b5aa4b7
Extract attribute description fetching
2022-10-28 12:08:28 +02:00
Gorgious56
0ebbc62a06
Add popup window when clicking Ifc description in right click context menu
2022-10-28 11:54:07 +02:00
Gorgious56
0494373155
Store Ifc class in attribute
...
This shouldn't be necessary ? but it's easier for now
2022-10-28 11:53:23 +02:00
Gorgious56
c897cb3ea0
Show descriptions for attributes in right click context menu
...
This is hacky, looking for a solution to get tooltips on hover over field
2022-10-28 11:10:12 +02:00
Gorgious56
f38e8f26f5
You can now access property sets online documentation through the right click context menu
2022-10-28 09:07:33 +02:00
Gorgious56
7164103a80
Search button now only displays when an enum has more than 10 items
...
To reduce visual clutter for enums with only a few values
Also tweak the online docs ui function
2022-10-28 08:33:56 +02:00
Gorgious56
5fb7f33fb0
You can now access the ifc classes online docs from the right click context menu
...
+ Remove the ugly buttons in the interface
2022-10-28 08:19:35 +02:00
Gorgious56
e602f16ed3
Add description to more ifc entities enums
...
- Constraint type
- Material type
- ObjectMaterial type
- Actor class and type
- Structural load type and boundary condition type
- Style type
- System type
- Relating type
- Unit type
2022-10-27 17:19:24 +02:00
Gorgious56
17a872a8d8
Use new get_predefined_type_doc function #1982
2022-10-27 16:00:12 +02:00
Dion Moult
4533b74d65
Minor IfcTester fixes
2022-10-27 23:37:01 +11:00
Dion Moult
62229b032e
You can now array IFC elements parametrically
2022-10-27 23:36:09 +11:00
Andrej730
f2c2fa8dce
Added entities predefined types to schema
...
Both for ifc2x3 and ifc4 but there is still a problem with ifc2x3 predefined types description - it's empty since constants have no description in ifc2x3. For temporary solution I've used description available on ifc4 for ifc2x3 too.
I've also added API function to get entity's predefined type description: `get_predefined_type_doc(version, entity, predefined_type)`
Example for the same constant that has no description in ifc2x3 and has one in ifc4:
https://github.com/buildingSMART/IFC/blob/Ifc2.3.0.1/Constants/s/STEAMINJECTION_1b6zZZM99EevT2LVdQ7B%24V.xml
https://github.com/buildingSMART/IFC/blob/Ifc4.0.2.1/Constants/s/STEAMINJECTION_1b6zZZM99EevT2LVdQ7B$V.xml
2022-10-27 16:23:46 +06:00
Dion Moult
ae170bbfac
Fix #2541 . Forgot that wall body must be based off the axis reference line.
2022-10-27 19:08:37 +11:00
Dion Moult
706b925f4c
FM documents now use the identification as the key, and refer to the doc info instead of doc reference
2022-10-27 09:46:11 +11:00
Dion Moult
65288eac04
Minor fix. See #2533 .
2022-10-27 09:45:28 +11:00
Massimo Fabbro
bf5a9bdac6
Start quantity calculator implementation (related to #2533 ) ( #2534 )
...
* Start quantity calculator implementation
* Fix get qto_name
2022-10-26 23:51:52 +11:00
Dion Moult
e22ebfbf94
Fix #2523 . Extrusion depth now reflects perpendicular depth
2022-10-26 22:24:18 +11:00
Dion Moult
fb2989c17f
Fix #2528 . Setting x angle on slabs now only affects the X euler angle
2022-10-26 18:11:54 +11:00
Dion Moult
ffbf6483b5
You can now disconnect a wall from a roof clipping
2022-10-26 17:53:20 +11:00
Dion Moult
5c5488fa49
You can now clip walls by sloped slabs / roofs.
2022-10-25 23:13:44 +11:00
Dion Moult
7ff1b8a34d
New API for connecting and disconnecting elements
2022-10-25 17:54:24 +11:00
Dion Moult
fb786bb90c
Batch reassignments now take advantage of inverse indices for a slight speedup. See #2408 .
2022-10-25 16:27:13 +11:00
Dion Moult
fad80eacaf
Bump IOS
2022-10-25 14:03:25 +11:00
Gorgious56
84020c9832
Type Manager : Add search to ifc class and descriptions to class an predefined type enums
2022-10-24 15:20:52 +02:00
Dion Moult
59bce590cc
Fix #2529 . Bulk copying decomposed elements to multiple storeys now maintains decomposition.
2022-10-24 22:57:23 +11:00
Dion Moult
a7ae78ec2a
Fix crash when deleting opening. See #2529 .
2022-10-24 21:49:44 +11:00
Dion Moult
523a97329e
Fix door appearing on wrong RL when not on ground floor. See #2529 .
2022-10-24 20:34:09 +11:00
Dion Moult
248dab936d
Experimental reimplementation of reloading an updated IFC
2022-10-24 13:36:50 +11:00
Dion Moult
a908fa62ba
Loading model elements is now half aware of existing elements and will reuse where possible.
2022-10-24 13:07:45 +11:00
Dion Moult
2f7643424d
IfcDiff now uses the iterator to compare geometry, which seems significantly faster.
2022-10-24 13:06:03 +11:00
Dion Moult
226c94381b
IfcDiff now supports file objects as inputs instead of filepaths
2022-10-23 23:33:52 +11:00
Dion Moult
548a2972bc
You can now add new profileset based types easily in the type manager.
2022-10-23 21:17:52 +11:00
Dion Moult
6263110733
You can now add layerset types in the type manager and access the manager on blank projects.
2022-10-23 20:02:34 +11:00
Dion Moult
89e8bf1ed6
You can now add new mesh based types in the type manager
2022-10-23 18:15:33 +11:00
Dion Moult
3809b5a34b
You can now create new empty types, and select type objects from the type manager
2022-10-23 16:53:09 +11:00
Ryan Schultz
3cda25773d
Maintaining the MaterialLayer thickness when X_Angle is used ( #2525 )
2022-10-23 15:35:17 +11:00
Ryan Schultz
77f2ad8f68
'X angle' rotates ifcslab/ifcramp in space. ( #2522 )
...
* 'X angle' rotates ifcslab/ifcramp in space.
* rotation w/ mathutils.Matrix.Rotation instead
per https://github.com/IfcOpenShell/IfcOpenShell/pull/2522#issuecomment-1287969832
2022-10-23 15:32:31 +11:00
Dion Moult
733b89be12
Link to C++ API reference from Python Sphinx docs
2022-10-23 12:15:11 +11:00
Thomas Krijnen
6346c5ba47
#1444 V3d_DirectionalLight compatibility fix
2022-10-22 20:30:13 +02:00
Thomas Krijnen
dbb342d494
Small changes to code_examples.rst
2022-10-21 09:25:55 +02:00
Massimo Fabbro
cb0ad67bcc
Fixed errors and little improvement
2022-10-21 09:17:40 +02:00
Massimo Fabbro
f0266a16a3
Little improve about code example doc and geometry setting doc
2022-10-21 09:17:40 +02:00
Thomas Krijnen
cdde536651
Test cases for #2486 and #2517
2022-10-20 20:31:56 +02:00
Thomas Krijnen
c1aca6ba8c
#2517 Don't free parsed simple types as part of parent entity, but at file destruction
2022-10-20 20:30:48 +02:00
Thomas Krijnen
f9391f80c4
#2408 test case
2022-10-20 13:36:00 +02:00
Thomas Krijnen
f012286eda
#2408 ifcopenshell.file.get_inverse(with_attribute_indices)
2022-10-20 13:35:02 +02:00
Dion Moult
45087e8822
The BIM Tool now provides similar slab-like editing tools for ramps and roofs
2022-10-20 20:51:32 +11:00
Dion Moult
8fa944d2a8
You can now have sloped slabs, good for doing roof slabs.
2022-10-20 19:56:15 +11:00
Dion Moult
67955b4e35
Batch reassign utility to address performance issues in #2408 .
2022-10-20 18:25:14 +11:00
Dion Moult
9a0f29170a
Fix #2518 . Don't fail on non-existent schemas to allow for custom schemas
2022-10-20 15:03:33 +11:00
Dion Moult
d09286eeca
Schema migrator now supports IfcElectricDistributionPoint
2022-10-20 14:52:39 +11:00
Gorgious56
89f64eacef
Remove info mode and streamline entity url fetching
2022-10-19 18:42:05 +02:00
Gorgious56
3334ea5c10
Fix error when toggling viewport annotations if there is no active camera in the current scene
2022-10-19 16:13:53 +02:00
Dion Moult
16b05d9981
Fix support for document references in IFC2X3
2022-10-19 20:17:10 +11:00
Thomas Krijnen
7f278fbde4
Import submodule explicitly
2022-10-19 10:44:29 +02:00
Dion Moult
2cad62554e
Fix #2510 .
2022-10-19 18:54:42 +11:00
Boris Brangeon
83bd0a973c
Add function grouped_by in Selector ( #2515 )
2022-10-19 18:49:06 +11:00
Boris Brangeon
b2c5153c1c
Add IsGroupedBy in function get_decomposition ( #2513 )
...
* Add IsGroupedBy in function get_decomposition
selector example : "@ .IfcZone & .IfcSpace"
* Update element.py
* Change name function get_group
get_group to get_grouped_by
2022-10-19 18:48:55 +11:00
Dion Moult
ec955ca717
You can now draw walls at a set RL
2022-10-19 17:54:25 +11:00
Dion Moult
9c28a95f41
Fix #2416 .
2022-10-19 12:44:55 +11:00
Dion Moult
80020970e1
Purge old dynamic void system as Blender booleans are not sufficient.
2022-10-19 12:32:02 +11:00
Dion Moult
f55b47dcb3
Include sample file generator in IfcTester doc generator
2022-10-19 11:54:30 +11:00
Dion Moult
7197db796c
Fix #2508
2022-10-19 09:48:05 +11:00
Dion Moult
a5aa970977
Add support for normalised ratio diffuse colours. See #2509 .
2022-10-19 09:37:22 +11:00
Dion Moult
159e2ca779
Run black and minor fix. See #1990 .
2022-10-19 09:17:37 +11:00
Gorgious56
ec1fbabd00
Dynamic Attribute Info ( #1990 )
...
* Add info mode toggle in addon prefs
* Add documentation property to Attribute
* Add webbrowser open operator
* Populate attribute doc on import
* Add attribute doc popup operator
* use path_resolve instead of eval
* Rename operator
* Add description field
* Panel UI is managed by operator
* Revert "Panel UI is managed by operator"
This reverts commit a7bbd06865 .
* Revert "Revert "Panel UI is managed by operator""
This reverts commit d62115bf63 .
* Add info popup to ifc class panel in object properties
* Implement fetching doc for non-ifc classes from jsonlike format
* Draw doc from non ifc classes
* Add utility function to draw info button on a given layout
* Add info buttons in the create project UI
* Display entity descriptions as tooltips in enum items
* Move predefined types fetching to data class
* Remove leftover prop code
* Use tool to get schema
2022-10-19 08:17:31 +11:00
Dion Moult
b70bf5ed33
Cute developer function to spit out a debug object to help when coding.
2022-10-18 23:11:37 +11:00
Dion Moult
d6be887bde
Minor IfcTester test case fixes
2022-10-18 23:11:11 +11:00
Dion Moult
6098d94223
Fix #2507 .
2022-10-18 22:47:42 +11:00
Dion Moult
f045e86a38
Rebuild wall engine (again) to allow for sloped wall clippings.
2022-10-18 20:02:00 +11:00
Dion Moult
9ef65c9cc5
Add basic support for sloped walls, sloping along the local X axis
2022-10-17 22:52:44 +11:00
Ryan Schultz
f8a8250429
searching for an IfcMaterial in IfcMaterialDefinitions ( #2503 )
...
* searching for an IfcMaterial in IfcMaterialDefinitions
A start to trying to address: https://community.osarch.org/discussion/comment/13024/#Comment_13024
* refactored to a tighter version. Thanks Thomas.
2022-10-17 20:24:05 +11:00
Dion Moult
a75341b36e
Fix #2505 . Missing rotate button in UI.
2022-10-17 20:11:37 +11:00
Dion Moult
0a0271a30e
Filled openings can now be based off a custom profile representation
2022-10-17 18:34:34 +11:00
Andrej730
871f6ebdf1
Updated windows batch script for setting up environment for blenderbim
...
Previous batch scripts was resulting in broken sym links (probably because mklink and some other comands were expecting full paths). New script provide required full paths and also use 1 line to set up blenderbim location.
2022-10-17 12:19:53 +06:00
Dion Moult
90f1a179bc
You can now flip the direction of doors and windows
2022-10-16 23:50:00 +11:00
Andrej730
81d80ee415
Doc API is now accessible without setting up DocAPI class
...
Now you can access Doc API functions directly (like `ifcopenshell.util.doc.get_entity_doc(...)`) without setting up DocAPI class.
To make it work I've set up singleton DocDatabase class and made all paths relative to module location.
2022-10-16 16:54:05 +06:00
Dion Moult
1eeb820d26
Flipping walls with fillings now works. See #2491 .
2022-10-16 21:05:05 +11:00
Andrej730
4dc860c019
Added IFC v4.0 json schema and added docs API for working with schemas
...
The schema for IFC4 the same as it was for IFC2x3.
Properties schema for IFC4 includes both quantity and propety sets.
Also cleaned up entities description for IFC2x3 from HTML code and IFC tags.
2022-10-16 13:32:22 +06:00
Dion Moult
cb28a0b298
Flipping walls with openings now works. See #2491 .
2022-10-16 17:58:06 +11:00
Dion Moult
76e6923a3e
Filled openings now handle offset wall axes
2022-10-16 10:16:10 +11:00
Dion Moult
56a09e51bd
Modeling dimensions now affect newly created walls and profiles
2022-10-15 22:53:19 +11:00
Dion Moult
b90ab70658
Modeling dimensions now have sensible defaults depending on units and show prior to element creation
2022-10-15 11:06:21 +11:00
Andrej730
28aab490df
IFC v2.3 json schema and parsing tool to regenerate it ( #2501 )
...
* IFC v2.3 json schema and parsing tool to regenerate it
Added entities and propeties schema in json format.
ifc2x3_entities.json format:
entity_name -> description, url, attributes;
attributes format: attribute_name -> attribute_descrption
ifc2x3_properties.json format:
property_set_name -> property_name -> description, children
children format: child_property_name -> child_property_description.
Also added doc.py script that can generate the same json schema files but requires docs IFC 2.3 docs in the same folder (https://github.com/buildingSMART/IFC/tree/Ifc2.3.0.1 )
* Moved all json schema files to /util/schema
* Moved json files back to /util/, changed doc.py export location
* Added specification urls for entities and properties
Added specification urls for entities and properties.
Also added a function to parse actual property sets domain from the website to generate specification urls (domain on website and on github do not match).
Schema structure was changed:
ifc2x3_entities.json format:
entity_name -> description, spec_url, attributes;
attributes format: attribute_name -> attribute_descrption
ifc2x3_properties.json format:
property_set_name -> properties, spec_url
properties format: property_name -> description, children_properties
children_properties format: child_property_name -> child_property_description.
ifc2x3_property_sets_domains.json format:
property_set_name -> ifc_domain
2022-10-15 07:14:34 +11:00
Thomas Krijnen
0810fa7564
Escape \W in selector grammar
2022-10-14 11:30:11 +02:00
Dion Moult
a34c0cb35c
Fix a variety of IFC validation errors in entity creation and asset appending
2022-10-14 18:19:35 +11:00
fbpyr
10bde73c1a
choco nightly path ( #2498 )
...
* fix choco nightly scripts path
* fix choco nightly scripts path
2022-10-14 17:16:50 +11:00
Massimo Fabbro
670399f327
Add gross volume calculation ( #2487 )
...
* Now gross volume calculation doesn't consider related voids
* Qto gross volume calculation minor fixes
* No need to create a new entity and better mesh creation
* Use bmesh to calculate volume so it's not necessary to create a new object
2022-10-14 16:50:04 +11:00
Dion Moult
241c5b1f48
Fix bug where unnamed types didn't show up in the UI.
2022-10-14 10:08:52 +11:00
Dion Moult
9ef3b4389b
Change pip name to ifcopenshell. See #2468 .
2022-10-14 08:25:15 +11:00
Dion Moult
2d37d3c914
More robust type switching of parametric objects
2022-10-13 22:51:06 +11:00
Thomas Krijnen
ede9c5fca5
Fixes to svgfill/cgal/mpfr/gmp for -shared build on nix
2022-10-13 09:52:22 +02:00
Thomas Krijnen
4cccfd08d3
#671 check for zero magnitude vector in newells method
2022-10-13 09:34:14 +02:00
Thomas Krijnen
153c5a06e7
#671 use new faceset_helper api in IfcFace
2022-10-13 09:22:49 +02:00
Thomas Krijnen
9a4d3e706a
#671 api in faceset_helper to obtain multiple bounds from single loop in case of intersections
2022-10-13 09:22:28 +02:00
Thomas Krijnen
0b20d3ae2c
#671 correct check for NO_WIRE_INTERSECTION_CHECK setting
2022-10-13 09:21:50 +02:00
Thomas Krijnen
92fb46558f
#671 perform fix on wires after wire_intersections()
2022-10-13 09:20:44 +02:00
Dion Moult
8be1a913ec
Basic support for mesh booleans
2022-10-13 17:04:53 +11:00
Dion Moult
c354de7b83
Minor fix
2022-10-13 11:50:33 +11:00
Dion Moult
19b718cdf5
Thumbnails auto load when projects are loaded.
2022-10-13 10:19:09 +11:00
Dion Moult
cdffeba4cc
Map units are now supported in converting to and from local to global coordinates
2022-10-12 20:32:16 +11:00
fbpyr
e6e8db8a00
choco yesterday ( #2495 )
...
* fix check for available bbim releases yesterday
* fix check yesterday bbim releases after midnight
* fix check all releases url
2022-10-12 17:39:50 +11:00
Thomas Krijnen
8dab1810c7
#2486 #1861 Don't fail on overwriting header values
2022-10-11 10:48:53 +02:00
Dion Moult
c5c9a192b0
You can now duplicate existing types in the type manager
2022-10-11 17:51:01 +11:00
Dion Moult
4279576d3c
Type manager can now browse to type classes that don't have any types yet
2022-10-11 17:34:17 +11:00
Dion Moult
dff35c173d
You can now delete a type when managing types
2022-10-11 15:31:31 +11:00
Dion Moult
38f563d4f4
New timerless thumbnailed type manager.
2022-10-11 13:49:46 +11:00
Dion Moult
36fdd3f7fc
Bundle pillow as dependency for thumbnail generator
2022-10-11 10:54:08 +11:00
fbpyr
47e0ec43c2
fix get sha256sum directly from release download ( #2493 )
2022-10-11 09:40:00 +11:00
Thomas Krijnen
0446fca56a
--json --spf option in validate.py
2022-10-10 14:25:45 +02:00
Thomas Krijnen
785dc2a300
Test case for string formatting
2022-10-10 14:20:21 +02:00
Thomas Krijnen
64ff046e96
#2482 Use u32string for character encoder, remove CODECVT_BOOST_FALLBACK
2022-10-10 14:19:42 +02:00
Dion Moult
16582cf57f
Experimental new thumbnail with smarter layer / profile thumbnails and no timers.
2022-10-10 23:13:37 +11:00
Dion Moult
a5517071cc
Make remove opening more accessible in UI and refactor
2022-10-10 11:45:50 +11:00
Gorgious
5d5ab3dafd
Fix bad indenting in last commit
...
Sorry, I'm a bit rusty !
2022-10-09 22:05:56 +02:00
Gorgious
ccfbeab51e
Creating a wall with a IfcMaterialLayerSet with the BIM tool now makes it active (yellow outline)
...
+ deduplicate code under new function
2022-10-09 22:04:01 +02:00
Dion Moult
c9214bf04a
The BIM Tool workspace now intelligently reflects the active object
2022-10-09 23:51:40 +11:00
Dion Moult
492a535312
You can now set a fixed RL for inserted windows
2022-10-09 23:29:06 +11:00
Dion Moult
278931f5db
Minor fix
2022-10-09 22:40:20 +11:00
Dion Moult
d847f358ba
Minor fix
2022-10-09 22:26:38 +11:00
Dion Moult
ab31fd7e48
Copying filled openings is now possible.
2022-10-09 22:25:55 +11:00
Dion Moult
32f0911479
Elements with filled openings don't have their openings copied, as it depends on the fill
2022-10-09 22:22:12 +11:00
Dion Moult
bdbd874fa8
Fix #2488 . Copying objects now copy deep instead of adding afresh (and losing parametric data and openings).
2022-10-09 18:09:22 +11:00
Dion Moult
232252f61d
Copy deep can now exclude things, useful for copying representation graphs where you don't want to duplicate the context
2022-10-09 17:15:39 +11:00
Dion Moult
3ee4b1f0e3
Fix #2489 . Prevent openings from being added twice and only save changed openings.
2022-10-09 15:22:10 +11:00
Thomas Krijnen
cd27d48701
#2482 entity_instance.to_string()
2022-10-08 17:18:47 +02:00
Thomas Krijnen
94ba1a121d
#2486 store provenance to file also in simple type instances
2022-10-08 15:16:53 +02:00
Dion Moult
4110b81270
Decomposition mode now selects all children (not parenting) to move a host and all children easily
2022-10-08 23:42:03 +11:00
Dion Moult
37028857b4
Suspicious undo stack fix
2022-10-08 22:29:13 +11:00
Dion Moult
7c1f02cafe
You can now reinsert windows and doors into other hosts
2022-10-08 22:28:46 +11:00
Dion Moult
7d779130e1
Removing products now handles purging a bunch more inverse relationships
2022-10-08 21:15:01 +11:00
fbpyr
fb6d24b3ed
add choco alpha version tag, description fixes ( #2484 )
2022-10-07 22:14:04 +11:00
Dion Moult
c6ee1d1679
Deleting a fill auto deletes the opening
2022-10-07 20:55:46 +11:00
Dion Moult
1db5d3b06c
Begin purging old dynamic void feature
2022-10-07 20:47:13 +11:00
garylzimmer
3b81c158f3
Added auto renaming for null project name ( #2478 )
...
Sorry it took me almost a year to implement @aothms excellent suggestion!
https://github.com/IfcOpenShell/IfcOpenShell/issues/1954#issuecomment-1002463624
2022-10-07 20:36:25 +11:00
Dion Moult
34aff01eb2
New prototype operator to regen fill openings
2022-10-07 17:06:19 +11:00
Dion Moult
7d1a41c1c7
Minor fix
2022-10-07 16:08:21 +11:00
Dion Moult
d187c588d3
Minor fix
2022-10-07 16:04:06 +11:00
Dion Moult
82f847f5d4
Basic adding of filled openings reimplemented with new opening system
2022-10-07 16:00:17 +11:00
Dion Moult
27dc81544c
Minor fixes to IfcTester testcases
2022-10-07 13:34:19 +11:00
Dion Moult
1677a6c83f
IfcTester now supports new entityType data in partof facet
2022-10-07 13:11:52 +11:00
Dion Moult
61f4c48a4a
Write docs for basic description of what's in an IFC
2022-10-06 21:07:58 +11:00
Dion Moult
0259b75d4c
Write documentation for IOS code examples
2022-10-06 19:56:53 +11:00
Dion Moult
0db28917a4
Write docs on IOS geometry processing. See #671 .
2022-10-06 17:06:37 +11:00
Dion Moult
15b4ab543b
Update geom settings with newly added settings, and add example code. See #671 .
2022-10-06 15:52:12 +11:00
Dion Moult
72147e51f5
Migrate old Doxygen geom markdown to new Sphinx rst docs. See #671
2022-10-06 11:18:23 +11:00
Sigma Dimensions
835e3f00b4
fix the bug fix on commit #88893a8
2022-10-05 13:59:41 +01:00
Thomas Krijnen
2dee2afdfa
#1861 test case
2022-10-05 13:07:16 +02:00
Thomas Krijnen
3d82791a99
#1861 update globalid map on attribute change
2022-10-05 13:03:52 +02:00
Dion Moult
2cb8eebf83
Profiles now retain manual booleans alongside autogenerated clipping planes
2022-10-05 21:52:07 +11:00
Dion Moult
49d3ee2f73
Copying an opening now tracks it as a special objects in the scene
2022-10-05 20:04:19 +11:00
Dion Moult
aeaef641bf
Bump IOS build
2022-10-05 19:52:24 +11:00
Dion Moult
e97d427e9f
Copying elements with openings now also copies openings
2022-10-05 19:44:32 +11:00
Dion Moult
d525dfa46f
Deleting voided objects now works with new opening system
2022-10-05 18:22:35 +11:00
Dion Moult
272a00941e
Openings now move with profiles, but stay fixed along the local Z axis
2022-10-05 17:57:51 +11:00
Dion Moult
1590e8c0e7
Openings locations are fixed relative to slab profile editing
2022-10-05 16:39:10 +11:00
Dion Moult
ac4e2f142b
Openings now move with the host, but also intuitively stay along the local X axis of the host
2022-10-05 15:26:27 +11:00
Dion Moult
428ee648b4
Wall representations now distinguish between auto and manual booleans and manual booleans move with the wall
2022-10-05 13:09:18 +11:00
Thomas Krijnen
fa6bbf2d4a
A bunch of not so pretty validate.py performance improvements
2022-10-04 15:16:34 +02:00
Dion Moult
12aa66fdcb
Fix nasty bug related to inconsistent behaviour of wall intersection math
2022-10-05 00:14:12 +11:00
Thomas Krijnen
f68db3d3be
Fixes after 698c708bf6
2022-10-04 12:38:40 +02:00
Dion Moult
1f56b36bfa
Minor fix
2022-10-04 20:16:36 +11:00
Thomas Krijnen
be805a3e96
Fixes after 698c708bf6
2022-10-04 11:14:13 +02:00
Thomas Krijnen
5d95475970
#2471 test case
2022-10-04 10:23:27 +02:00
Thomas Krijnen
f41ad0d5de
#2471 work around file gc with instance refs
2022-10-04 10:23:08 +02:00
Dion Moult
f81b22240c
Minor fix
2022-10-04 18:35:01 +11:00
Dion Moult
7d63b03dd3
Fix bug where linking an element twice caused stacked undos to fail. See #2200 .
2022-10-04 14:23:02 +11:00
Dion Moult
e74eb0cc53
Fix bug where unlinking operations were not stored in the undo stack
2022-10-04 13:41:27 +11:00
Dion Moult
008d6bed5c
PIP publish now only happens once a month, on a full moon
2022-10-04 10:41:25 +11:00
Dion Moult
d0985a23d0
Fix critical bug where default context was not set on project load
2022-10-04 10:03:59 +11:00
Massimo Fabbro
a5d49e81a0
Fix little bug in qto_calculator about net footprint area ( #2470 )
2022-10-04 09:59:50 +11:00
Dion Moult
bfcc086aad
Attempt to change PyPI name to ifcopenshell
2022-10-03 23:40:29 +11:00
Dion Moult
0eae3de6a2
Openings now move with the host by default. Small change, big impact.
2022-10-03 23:30:19 +11:00
Thomas Krijnen
1d39413717
Test cases for previous commits
2022-10-03 14:29:41 +02:00
Thomas Krijnen
c57e5e2100
Capture lower level errors in validate.py reported in C++
2022-10-03 14:19:29 +02:00
Thomas Krijnen
ca5249a179
More resiliance against wrong attribute counts
2022-10-03 14:05:08 +02:00
Thomas Krijnen
698c708bf6
Reduce heap allocations during parse by reusing vector for top level instances
2022-10-03 14:04:42 +02:00
Thomas Krijnen
084151ed4c
Augment invalid entity message with offset in file
2022-10-03 14:03:53 +02:00
Thomas Krijnen
c56c7288e3
Clarify wrong attribute count message
2022-10-03 14:03:04 +02:00
Thomas Krijnen
f5398c77d5
Clarify invalid entity message
2022-10-03 14:02:28 +02:00
Thomas Krijnen
a724b5cb24
Clarify character offset in exception
2022-10-03 14:02:04 +02:00
Thomas Krijnen
f3a15953b2
Missing include
2022-10-03 14:01:43 +02:00
Dion Moult
567548c7f3
Fix bug where adding an opening didn't create a relative placement
2022-10-03 22:35:53 +11:00
Dion Moult
8c25349b49
Add new opening functions to BIM tool workspace UI
2022-10-03 20:50:33 +11:00
Amoki
49cd966d43
remove-yacc
2022-10-03 11:16:42 +02:00
Dion Moult
b552ea1376
Openings now can be explicitly edited and saved and use IOS instead of Blender modifiers
2022-10-03 01:02:08 +11:00
Dion Moult
9c91ee31e5
New booleans UI panel to manage representation boolean stack
2022-10-02 23:48:19 +11:00
Carlos Villagrasa
e9a063ccbd
Construction Types Browser - Multipreview now runs smoothly ( #2463 )
...
* Construction types multipreview now runs smoothly
* Minor fix
* Minor fix
2022-10-02 16:46:14 +11:00
Dion Moult
e4e9db0b3e
Implement show and hide openings and hide booleans operator
2022-10-01 23:45:49 +10:00
Dion Moult
2ec41bf3a0
Add support for processing rectangular profiles in the profile editor
2022-10-01 23:27:05 +10:00
Dion Moult
944cbeea1a
Handle both 2D and 3D placement matrixes in IfcOpenShell utils
2022-10-01 23:25:34 +10:00
Dion Moult
4b8238a602
Openings are no longer loaded when loading fresh IFC projects
2022-10-01 20:32:40 +10:00
Dion Moult
8789a19f57
Basic show and remove representation boolean operators
2022-10-01 20:31:46 +10:00
Kristoffer Andersen
8c8e83d98f
update ci-daily build use win2019 for upload
2022-10-01 10:04:24 +02:00
Dion Moult
527d26c1c6
Openings are now specially shaded, and you can now add half space clipping booleans
...
# Conflicts:
# src/blenderbim/blenderbim/bim/module/model/ui.py
2022-10-01 14:33:33 +10:00
Massimo Fabbro
e2a5b09d77
Add calculate all qtos button: initial fixing ( #2456 )
2022-10-01 10:55:42 +10:00
Kristoffer Andersen
98b6edf119
Merge pull request #2461 from Krande/fix-daily-conda-build
...
fix: daily builds of conda ifcopenshell
2022-09-30 19:42:34 +02:00
Carlos Villagrasa
0a05197d3e
Construction Types Browser: Solution to most of the current issues ( #2460 )
...
* Delay asset generation
* bpy.app.is_job_running only in Blender >= 3.3
* First time preview on sidebar works again
* Avoid flickering
* Show multiple previews on the first run
* Preserve mouse position with hacky operator
2022-10-01 02:01:26 +10:00
krande
75645a837a
fix: daily builds of conda
...
Ran into a lot of `build not compiled for windows` errors on windows. So using the host and dependencies from conda-forge meta.yaml and pin boost-cpp to <=1.74 to at least allow windows builds of ifcopenshell to be created while we figure out how to support boost-cpp >=1.78
2022-09-30 17:49:55 +02:00
Thomas Krijnen
40e463a55f
#2457 uplift curves to wires in geometric sets
2022-09-30 13:59:31 +02:00
Dion Moult
7b817f7359
Minor fix
2022-09-30 18:53:14 +10:00
Dion Moult
22e69a606d
CAD sketcher constraints can now be saved and loaded from IFC
2022-09-30 16:04:16 +10:00
Dion Moult
8c7b2ab2a1
Slab depth auto-updates on type/layer changes with new slab system
2022-09-30 13:43:23 +10:00
Dion Moult
3512a2ce36
Add undo support to profile and wall element operators
2022-09-30 13:08:39 +10:00
Dion Moult
9e76b2b9eb
Footprints are now supported in the new profile editor
2022-09-30 13:00:40 +10:00
Dion Moult
a08a78b3c9
Slabs are now first created directly in IFC instead of reverse engineering meshes
2022-09-30 12:08:57 +10:00
Dion Moult
9fc5f72831
Minor fix
2022-09-29 23:51:25 +10:00
Dion Moult
391e09c16c
Convenience operator to draw rectangles when editing profiles
2022-09-29 23:31:11 +10:00
Dion Moult
60e4de5ffa
You can now align the view to the edited profile, for angled profiles
2022-09-29 22:33:32 +10:00
Vukas Pajic
a248f16cf8
indentation
2022-09-29 14:30:25 +02:00
Vukas Pajic
9240a10fa8
no need for Shapely.libs when using macos
2022-09-29 14:25:42 +02:00
Vukas Pajic
19d3208744
add Shapely.libs
2022-09-29 14:08:24 +02:00
Vukas Pajic
c080567f53
update makefile for shapely dependancy ( #2452 )
...
* initial
* unzip instead of tar
Co-authored-by: Dion Moult <dion@thinkmoult.com >
2022-09-29 22:01:54 +10:00
Dion Moult
ac72f41051
You can now change the radius of existing arcs. Minor interface cleanup.
2022-09-29 17:24:00 +10:00
Dion Moult
fc9273c1d3
You can now change the radius of existing circles. Radius settings are remembered.
2022-09-29 16:47:40 +10:00
Dion Moult
43dc2da05f
Minor fix
2022-09-29 15:43:19 +10:00
Dion Moult
121190c9b9
Vertex group indices in repeated operations do crazy stuff. This is more robust.
2022-09-29 15:41:06 +10:00
Dion Moult
0f2f6e2721
More robust arcindex generation and let user specify radius for circles
2022-09-29 11:41:52 +10:00
Carlos Villagrasa
05070c3758
Construction Types - Attempt to solve repeated object creation ( #2450 )
...
* Constr types dicts to Blender props
* Reduce update interval
* Base for not linking dummy asset objects to collections
2022-09-29 10:00:39 +10:00
Dion Moult
d4d923e51b
New feature to fillet profiles with true arcs
2022-09-28 23:35:29 +10:00
Dion Moult
766ffa71cd
Operator to clear parametric vertices when editing profile
2022-09-28 23:04:07 +10:00
Dion Moult
cbf213952b
Minor fix
2022-09-28 22:45:03 +10:00
Vukas Pajic
b7c76048ab
comment out tests
2022-09-28 14:24:17 +02:00
Kristoffer Andersen
20fdb09a0c
Update meta.yaml
...
Do not force boost version 1.80.0. It fails horribly
2022-09-28 14:21:47 +02:00
Vukas Pajic
1943d59339
Add additional quantity calculations to QtoCalculator ( #2405 )
2022-09-28 14:20:10 +02:00
Dion Moult
d2836e07d5
Minor fix
2022-09-28 22:18:54 +10:00
Dion Moult
90a788082d
New 2D CAD offset operator
2022-09-28 21:07:28 +10:00
Kristoffer Andersen
eafad2862f
Update meta.yaml
...
test using boost 1.80.0
2022-09-28 09:21:39 +02:00
Dion Moult
1c0fa13f39
Fix CAD arc bug where sometimes arc went the wrong way, and now auto-clean verts when creating arc
2022-09-28 11:02:49 +10:00
Carlos Villagrasa
2e5ce6b862
Fix bim tool crash ( #2446 )
...
* Attempt to wait for assets (triggers infinite loop)
* Using timer instead of sleep
* remove sleep import
* Reduce asset update interval
Co-authored-by: Dion Moult <dion@thinkmoult.com >
2022-09-28 09:30:52 +10:00
Ryan Schultz
f63a33647b
relocate remove drawing button per https://community.osarch.org/discussion/comment/12744/#Comment_12744 ( #2444 )
...
* added 3"=1'-0" scale (a common scale), and corrected 6"=1'-0" scale
* relocate remove drawing button per
https://community.osarch.org/discussion/comment/12744/#Comment_12744
2022-09-28 01:54:11 +10:00
Carlos Villagrasa
2f84c188f5
Fix bim tool crash ( #2445 )
...
* Attempt to wait for assets (triggers infinite loop)
* Using timer instead of sleep
* remove sleep import
2022-09-28 01:31:59 +10:00
Dion Moult
01b1b57f71
Mitre joints now auto merge and are accessible in the new profile editor
2022-09-27 23:35:40 +10:00
Dion Moult
1ad0ef82d4
Fix bug where CAD filleting sometimes led to crashes
2022-09-27 23:34:08 +10:00
Dion Moult
23212003e9
Add support for circles in profile editing
2022-09-27 17:16:26 +10:00
Dion Moult
aff281d00b
Add unit support in new profile editing tool
2022-09-26 22:40:33 +10:00
Dion Moult
4bbcf3fa1e
Set and unset 3-point arcs only for profiles
2022-09-26 22:06:11 +10:00
Dion Moult
5e50a15b41
New smart profile editor for extruded elements inspired by CAD Sketcher
2022-09-26 18:00:05 +10:00
Massimo Fabbro
b673fc94a5
Add calculate all qtos button ( #2441 )
...
* Add button to calculate all object qtos in qto n-panel
* Calculate all qtos button: now the schema is readed from the file
* Calculate all qtos button: now edit_qto runs only one time every object
* Add button to assign pset qto to selected objects
* Calculate all qtos button: small fixing and unable to execute if no selected objects
* Calculate all qtos button: first tool test
* Calculate all qtos button: use better built-in function to get ifc obj entity
2022-09-26 16:05:08 +10:00
Dion Moult
4c7a5e8a1a
Experimental CAD Sketcher integration for simple arbitary polyline extrusions
2022-09-25 12:27:10 +10:00
Dion Moult
33ebcd7664
New convenient modifier to rotate beam/wall/column etc by 90 degrees
2022-09-24 21:46:32 +10:00
Dion Moult
76ce726f1d
Implement refresh profiles on type and profile changes
2022-09-24 20:19:01 +10:00
Ryan Schultz
54da579891
Ifc text tweaks ( #2431 )
...
* added 3"=1'-0" scale (a common scale), and corrected 6"=1'-0" scale
* Allow float point values in smart tags, and avoid breaking when no assigned product See #2340 , #2349
2022-09-24 20:07:32 +10:00
Dion Moult
e024e9e622
You can now set cardinal point on creation and bulk change for profile elements
2022-09-24 16:21:20 +10:00
Dion Moult
56f4b72161
Reimplement profile cardinal points 1-9 with new profile engine
2022-09-24 15:42:50 +10:00
Dion Moult
7545313dee
Removing an element now also purges connection relationships
2022-09-24 14:12:45 +10:00
Dion Moult
48eb6b70e3
You can now manually set the length/height of profiled extrusions
2022-09-23 23:53:12 +10:00
Dion Moult
5f2acb43b1
You can now recalculate connections manually for profiles
2022-09-23 23:41:37 +10:00
Dion Moult
b7eaefee50
Fix bug when deleting elements may possibly create an invalid containment relationship
2022-09-23 23:26:29 +10:00
Dion Moult
13a387cc73
Add support for descriptions in path connection relationships
2022-09-23 23:00:27 +10:00
Dion Moult
f139f2ba1e
Fix bug where removing an element in an aggregation could leave the file in an invalid state
2022-09-23 23:00:07 +10:00
Dion Moult
1d8085f6c9
New profile engine now supports mitred profile joints.
2022-09-23 19:23:22 +10:00
Dion Moult
6699bfeb54
Mitred wall joints rebuilt on the new wall engine
2022-09-23 15:42:05 +10:00
Dion Moult
7cee0a85c6
3D axis representation contexts are now created by default for all new projects
2022-09-23 12:39:23 +10:00
Dion Moult
351dcfa241
Implement profile unjoin and start cleaning up legacy architectural tools panel
2022-09-23 12:38:49 +10:00
Dion Moult
28022581a7
You can now have connection aware L joints for profiled elements
2022-09-23 00:09:56 +10:00
Dion Moult
748aaa671d
Extending profiled elements (e.g. beams and columns) now supports axis connectivity and uses new profile engine
2022-09-22 23:32:22 +10:00
Thomas Krijnen
95b474c37d
Delete HdfSerializer.h~
2022-09-22 13:13:57 +02:00
Thomas Krijnen
9bb9f91f57
Delete HdfSerializer.cpp~
2022-09-22 13:13:47 +02:00
Dion Moult
7db967583b
Profile extensions now use the new engine and support 3D axis representations
2022-09-22 16:05:35 +10:00
Dion Moult
5d43f6db37
Adding a profile now uses the new profile engine
2022-09-21 23:28:03 +10:00
Dion Moult
4cfa327159
New API functions for adding arbitrary profile and profile-based representations
2022-09-21 23:27:24 +10:00
Dion Moult
920177d8c6
Minor fix. See #2416 .
2022-09-21 10:50:02 +10:00
Dion Moult
5f902600e3
Minor fix. See #2416
2022-09-21 00:04:02 +10:00
Dion Moult
db9af13843
Fix #2427 . Don't treat missing mandatory attributes as fatal in IFC version migration
2022-09-20 22:46:15 +10:00
Thomas Krijnen
dd49c092c6
#2419 remove map erasure from destructor
...
de initialization order can result in map already destroyed when unique_ptr schemas are still being deleted
2022-09-20 11:35:08 +02:00
Thomas Krijnen
d347a7f893
Don't run choco from other repos
2022-09-20 11:33:07 +02:00
Dion Moult
3c61804e8b
Flipping walls now preserves connections, and flips around the reference axis
2022-09-20 17:21:11 +10:00
Dion Moult
e179070978
New interface to show, select, and remove path connections
2022-09-20 16:25:52 +10:00
Dion Moult
de2ada1141
Walls recalculate on type and layer thickness changes
2022-09-20 14:05:04 +10:00
Dion Moult
eb48a68dd1
Copying elements do not copy connections to prevent mutually exclusive connectivity
2022-09-20 12:01:40 +10:00
Dion Moult
fc6bf5e2bb
You can now set an exact wall length
2022-09-20 10:48:44 +10:00
Dion Moult
3f2d86255d
Merge projects now merges all entities, not just rooted ones.
2022-09-19 23:44:10 +10:00
Dion Moult
d751ee9995
Fix critical typo in rendering styles creation that led to invisible styles
2022-09-19 23:10:56 +10:00
Dion Moult
83f70624a4
Attempt to get LXML working across all platforms. See #2422 .
2022-09-19 22:23:09 +10:00
Dion Moult
356253c4f0
Minor fix
2022-09-19 21:40:53 +10:00
Dion Moult
a459c39c97
Minor fix
2022-09-19 17:36:20 +10:00
Dion Moult
e5719bd3c6
You can now change wall heights in bulk
2022-09-19 16:29:43 +10:00
Dion Moult
18387e7732
You can now switch contexts of of objects in bulk
2022-09-19 15:59:37 +10:00
Dion Moult
57e8e47061
Minor regression fix
2022-09-19 13:33:40 +10:00
Dion Moult
5c5bb03652
IfcPatch now allows passing in IFC objects instead of filepath strings
2022-09-19 13:31:33 +10:00
Dion Moult
ea1d797605
Add documentation for IfcPatch
2022-09-19 12:25:35 +10:00
Dion Moult
bc3bf07a60
Minor fix to 12DToRevitTINS patch
2022-09-19 10:49:03 +10:00
Dion Moult
fbd4177d08
New feature to merge aligned walls and retain parametric connections
2022-09-19 09:12:42 +10:00
Thomas Krijnen
4842891fd7
#2322 Implement IfcSweptDiskSolidPolygonal.FilletRadius
2022-09-18 15:59:24 +02:00
Dion Moult
f6056f9bc3
Shift-Y in the BIM tool for walls now regenerates wall connections
2022-09-18 23:26:18 +10:00
Dion Moult
c7af6c4482
Fix #2420 . Bug where project library assets sharing relationships with other assets would pull in other assets
2022-09-18 23:19:23 +10:00
Dion Moult
c9c905fd3e
Splitting walls now uses the new wall engine
2022-09-18 22:00:27 +10:00
Dion Moult
7f76488869
New recalculate wall operator to manually trigger an update of all wall connections
2022-09-18 15:57:07 +10:00
Dion Moult
cd930d809a
New wall engine slowly being wired up to wall join hotkeys
2022-09-18 15:56:23 +10:00
Dion Moult
f49d7ec2cb
Implement unjoin in new wall engine
2022-09-18 15:54:24 +10:00
Dion Moult
322abdff53
Minor fix
2022-09-17 22:19:49 +10:00
Dion Moult
984978bc00
Add axis support to new wall engine
2022-09-17 21:52:03 +10:00
Dion Moult
ce8da8bd85
An axis context is now added by default for all new projects
2022-09-17 21:41:09 +10:00
Dion Moult
6d0fdb32c6
Fix #2416 .
2022-09-17 14:51:50 +10:00
Dion Moult
0cb3c0a907
Update docs about new Apple M1 support
2022-09-16 22:29:04 +10:00
Dion Moult
d9ea62a670
Distribute Apple M1 to PyPi
2022-09-16 22:21:58 +10:00
Dion Moult
2228104a8e
Apple M1 builds. This stuff never works the first time.
2022-09-16 21:48:38 +10:00
Dion Moult
e473574086
Setup BlenderBIM Apple M1 builds. Fingers crossed!
2022-09-16 20:30:33 +10:00
Dion Moult
f93604d6b7
Implement connection aware wall L-joints
2022-09-16 18:30:57 +10:00
Dion Moult
d106b0e017
Fix #2413 . Bug where multiple tasks may accidentally override animation keyframes.
2022-09-16 11:53:25 +10:00
Dion Moult
90e35810d9
Prototype connection-aware wall extension and T-joints
2022-09-15 22:44:06 +10:00
Bruno Postle
4fb910fc44
wrapper is a bash script not a sh script
2022-09-15 07:42:00 +01:00
Dion Moult
280ce56431
Creating walls are more stable and now directly goes to the IFC representation instead of reverse engineering Blender meshes
2022-09-15 10:46:52 +10:00
Dion Moult
81e46b533b
New API to directly create wall-like representations without Blender geometry
2022-09-15 10:44:43 +10:00
Dion Moult
171db4b241
Add support for connecting/disconnecting paths in API
2022-09-15 10:32:01 +10:00
Martin15135215
8fe9ddd599
Small Change
...
https://github.com/IfcOpenShell/IfcOpenShell/issues/2409#issuecomment-1246767831
2022-09-15 00:13:01 +10:00
Dirk Olbrich
b299694ca0
doc: library flags for macos build
2022-09-14 15:19:53 +02:00
Dirk Olbrich
ca76b77130
update doc for building on macOS
2022-09-14 15:19:53 +02:00
Thomas Krijnen
e94a5c97df
Merge remote-tracking branch 'remotes/origin/pr/1911' into v0.7.0
2022-09-14 14:57:27 +02:00
GisSpace
df845653f3
fix IFC to xml - IFCGROUP in IFC cannot be found in xml #1154
2022-09-14 14:54:05 +02:00
Thomas Krijnen
a3e499656c
Don't log vertex counts in helper when they didn't change
2022-09-14 14:13:24 +02:00
Thomas Krijnen
79bb40092f
Apparently --disable-static no longer works?
2022-09-14 10:57:08 +02:00
Thomas Krijnen
2c7a4ca880
Filter unsupported py versions on recent osx
2022-09-14 10:56:52 +02:00
Thomas Krijnen
6a4375cf54
Update build-all.py versions
2022-09-14 10:56:16 +02:00
Thomas Krijnen
c74b79213b
Remove asterisks before branch name
2022-09-14 10:55:32 +02:00
Ryan Schultz
806d147a85
A preference for locking grids upon import
2022-09-14 18:33:26 +10:00
Dion Moult
227b1391bd
Clarify behaviour of funny characters and pattern matching on numbers
2022-09-14 10:15:19 +10:00
Bruno Postle
68e2bb1fa7
oops, correct version of wrapper that quotes special characters
2022-09-13 23:21:49 +10:00
Dion Moult
fccc233f42
Merge pull request #2406 from brunopostle/desktop-files2
...
Configure blenderbim file associations and desktop icon
2022-09-13 23:06:04 +10:00
Bruno Postle
86785ab181
Configure blenderbim file associations and desktop icon
2022-09-13 13:57:13 +01:00
Dion Moult
3255053ac4
Implement all restrictions for IfcTester
2022-09-13 22:09:40 +10:00
Dion Moult
422cc4802c
Implement optionality in IfcTester, and generate integration testcases
2022-09-13 19:50:51 +10:00
Dion Moult
fc0b0ca188
Minor fix to ids.xsd
2022-09-13 19:44:36 +10:00
Dion Moult
3120b0c6e2
Add support for IfcTester and predefined properties
2022-09-12 23:03:50 +10:00
Dion Moult
91fac6d4bd
Add IfcTester support and test cases for bounded, table, and reference props
2022-09-12 22:35:05 +10:00
Dion Moult
c7c59d9496
IfcTester now supports list and enumerated properties
2022-09-12 21:34:06 +10:00
Dion Moult
73ac5d314b
Complex properties and quantities are not supported in IDS
2022-09-12 20:10:25 +10:00
Dion Moult
3b2cbac9d1
Generate stable GlobalIds for IDS docs to prevent commit noise
2022-09-12 20:10:25 +10:00
Thomas Krijnen
a63d6475b2
Keep moving schema agnostic code out of kernel
2022-09-12 10:34:11 +02:00
Thomas Krijnen
4cd0932d7d
Fix to boolean utils, version detection, and behaviour on old versions
2022-09-12 10:34:11 +02:00
Dion Moult
cb447fe902
IfcTester Add support for qto checks
2022-09-12 18:26:11 +10:00
Dion Moult
5ee4e2704d
User can now explicitly choose the quantity type via the edit qto API
2022-09-12 18:05:13 +10:00
Dion Moult
5b5540494d
Qtos now support being added to types and contexts (despite being rare)
2022-09-12 12:55:15 +10:00
Dion Moult
85e123fadb
IfcTester now supports occurs attributes on facets
2022-09-12 11:51:03 +10:00
Dion Moult
f745222d37
IfcTester now supports mandatory measures for properties
2022-09-12 11:21:47 +10:00
Sigma Dimensions
88893a8c2c
BBIM - Fix cost item products not loading for 1st cost item created
2022-09-11 22:14:57 +01:00
Dion Moult
eb8bf60e93
Fix #2398 . Add support for IFC4X3 entities.
2022-09-11 22:17:41 +10:00
Dion Moult
319aada33b
Fix #2388 .
2022-09-11 22:14:11 +10:00
Dion Moult
77c9bf5bb6
Implement newly proposed IDS PartOf facet
2022-09-11 17:20:50 +10:00
Dion Moult
e5e81c818e
IfcTester now handles floating point precision checks
2022-09-10 23:31:21 +10:00
Dion Moult
7aad0fc119
Implement type casting for property checks in IDS, bump to IDS v0.9
2022-09-10 22:42:22 +10:00
Sigma Dimensions
f7403e8eee
BBIM - Feature to guess all quantities at once
2022-09-09 13:25:04 +01:00
Dion Moult
e2df4f335d
API now supports adding representations using the Sverchok geometry structure
2022-09-09 22:20:06 +10:00
Sigma Dimensions
cbe944d030
BBIM - temp fix to refresh cost items products' quantities UI, when qto is edited
2022-09-09 11:43:28 +01:00
bosonprojets
87f0475b99
Quality - run black on api/sequence directory
2022-09-09 02:25:20 +01:00
bosonprojets
4689cc858a
BBIM Feature to import resources data from CSV
2022-09-09 02:23:53 +01:00
bosonprojets
6d6b893db2
Core tests for Resource module
2022-09-09 02:18:08 +01:00
bosonprojets
e2d4a3ae24
Refactor Resource module
2022-09-09 02:17:28 +01:00
Dion Moult
e4c1f7518d
Revert "Hiding all objects in the "Types" Collection "
...
This reverts commit 2c0ea75960 .
2022-09-09 10:59:10 +10:00
Dion Moult
48f8c0e085
Merge pull request #2395 from IfcOpenShell/Hiding-all-objects-in-the-"Types"-Collection
...
Hiding all objects in the "Types" Collection
2022-09-09 10:56:26 +10:00
Ryan Schultz
2c0ea75960
Hiding all objects in the "Types" Collection
...
When all the objects in the "Types" collection are hidden, it makes it quicker to turn on, and isolate one type for viewing and/or toggling other types on to compare to.
2022-09-08 13:12:47 -05:00
Thomas Krijnen
e643972669
#2390 Submodule
2022-09-08 13:54:17 +02:00
Dion Moult
d7c4936255
New recipe to fix dense TINs from 12D loading properly in Revit
2022-09-08 16:36:12 +10:00
Sigma Dimensions
96d19952e9
Quality check - run black on api/resource
2022-09-08 03:15:41 +01:00
Sigma Dimensions
57caf6a31f
IfcOpenShell API: Deep purge resources upon removal
2022-09-08 03:12:44 +01:00
Dion Moult
189fc6e1e4
Minor fix
2022-09-07 20:39:55 +10:00
Dion Moult
88117941c5
Fix #2387 . Bundling for Blender makefile now works on Mac. Thanks dirkolbrich!
2022-09-07 20:26:44 +10:00
Dion Moult
0a6c8a4343
Write docs on creating a single object
2022-09-07 20:14:08 +10:00
Christian Martínez de la Rosa
5bfad88a75
[IfcConvert] Added IfcRelConnectsElements to xml export ( #2197 )
...
* [IfcConvert] Export tasks in the xml conversion
The exportion in the XML format exports in a new tag, named "tasks", all the tasks from the file with a hierarchy. Each task contains the IfcTaskTime object if it has it.
* [ifcConvert] Add related objects in tasks
* [IfcConvert] Added IsSuccessorFrom and IsPredecessorTo in xml task export
* Get IfcTasks from IfcWorkSchedule
* [IfcConver] Changed OperatesOn hierarchy level in xml task export
* Added task to property / quanty relationship
* [IfcConvert] Added calendars to xml output file
* [IfcConvert] Added Output objects in the XML file
* [IfcConvert] Fix crash when IfcWorkCalendar does not contain IfcWorkTime
* [IfcConvert] Added IfcWorkPlan to xml export
* [IfcConvert] Added IfcRelConnectsElements to xml export
* [IfcConvert] Added IfcRelConnectsElements to xml export
* [IfcConvert] Improved related and relating xml export
2022-09-05 14:58:22 +02:00
Dion Moult
72544419da
External resource relationships are now also purged when removing classifications
2022-09-05 16:51:42 +10:00
Dion Moult
d1baaa21e7
Update IfcFM to use actors, not contacts, support federated datasets, and be more true to spec
2022-09-05 12:41:06 +10:00
Dion Moult
5d9fc44a69
Fix #2374 . Axis for walls should be in the 2D plan context.
2022-09-05 11:35:04 +10:00
Dion Moult
917344ee1d
Fix bug where new instances may have a wrong Z coordinate
2022-09-05 11:13:31 +10:00
Dion Moult
68ef6458d7
Fix #2379 . Regressions where context adding never had any tests and failed.
2022-09-05 11:13:31 +10:00
Sigma Dimensions
36576c8d40
IFC resources utility: batch import Resource Data from CSV
2022-09-05 01:51:53 +01:00
Sigma Dimensions
b44a1cb2e2
Fix 4d import context
2022-09-05 01:46:19 +01:00
Thomas Krijnen
5c7cf4469f
Compute meaningful hash and eq on simple type instances
2022-09-04 14:23:35 +02:00
Dion Moult
147216cb7b
Revert "Fix bug where IFC data types were hashed as the same value in RecycleNonRootedElements IfcPatch recipe"
...
This reverts commit 3be8e4f1ce .
2022-09-04 22:22:54 +10:00
Dion Moult
62b1478af1
Merge pull request #2377 from Martin15135215/v0.7.0
...
From append methode to use numpy and ifcpatch bug
2022-09-04 20:13:51 +10:00
Dion Moult
0f0055b0f1
Merge branch 'v0.7.0' into v0.7.0
2022-09-04 20:13:38 +10:00
Dion Moult
3be8e4f1ce
Fix bug where IFC data types were hashed as the same value in RecycleNonRootedElements IfcPatch recipe
2022-09-04 20:12:54 +10:00
Martin15135215
6aa4ca89fe
Merge branch 'IfcOpenShell:v0.7.0' into v0.7.0
2022-09-04 09:22:58 +00:00
Dion Moult
5fb574cf5c
Fix #1589 . Saving beveled curves as rswept disk solids is now supported.
2022-09-04 17:46:34 +10:00
Dion Moult
85a502a038
Support multiple swept disk solids with equal radii as a native Blender object
2022-09-04 17:45:26 +10:00
Dion Moult
a7c56e742b
Fix UI bug where adding nested groups closed the UI
2022-09-04 11:17:55 +10:00
Martin15135215
f11f648630
From append methode to do with numpy
2022-09-04 10:25:02 +10:00
Martin15135215
74d1bd7e3e
Added "or element.is_a('IfcPropertySingleValue')"
2022-09-03 19:19:02 +02:00
Martin15135215
248ac71215
From append methode to use numpy
2022-09-03 19:13:55 +02:00
Dion Moult
af4cb22756
Fix bug where appended assets sometimes duplicated geometry contexts
2022-09-03 22:16:35 +10:00
Dion Moult
56393ef358
Fix #170 . Add note about not mixing OpenCascade installations.
2022-09-03 20:16:33 +10:00
Dion Moult
5d4512033d
Fix #2286 . Classifications can now be added for cost items.
2022-09-03 17:11:14 +10:00
Dion Moult
b9cb1ab012
Black
2022-09-03 15:34:52 +10:00
Dion Moult
e34b737428
Fix #2304 . You can now manage classifications for materials. Bulk classification now supported.
2022-09-03 15:33:52 +10:00
Dion Moult
557d3429eb
Support bulk deletion of psets on selected objects
2022-09-03 14:32:39 +10:00
Dion Moult
f9019a4007
Test non-rooted classifications in IDS
2022-09-03 11:54:12 +10:00
Dion Moult
0668eadc36
IDS doc generator now also generates a sample IDS file
2022-09-03 10:48:46 +10:00
Dion Moult
fdfaf54698
Support resource level classifications in IfcOpenShell API
2022-09-02 18:23:49 +10:00
Dion Moult
ffa3aae132
Fix UI bug where changing classification levels sometimes didn't display
2022-09-02 15:21:27 +10:00
Dion Moult
0293c133ab
Fix #2364 . Bug where classifications couldn't be added in IFC2X3.
2022-09-02 14:03:05 +10:00
Dion Moult
f9db685753
Fix #2343 . Pset template applicability is refreshed when you save your templates.
2022-09-01 18:25:00 +10:00
Dion Moult
a800d1af7e
Fix pset template UI bug where changing to another prop didn't cancel editing older props. Also add support for blank or falsey enums (e.g. a real of 0.0).
2022-09-01 18:06:33 +10:00
Dion Moult
f2bd362f57
Fix bug where adding a pset template didn't auto refresh the UI to the newly added template
2022-09-01 18:06:33 +10:00
krande
87021ebbe7
fix: edit ci triggers for ifcopenshell.
...
Changes are made to the github actions workflow files to reduce unnecessary triggering of ifcopenshell compilation, testing and conda package building
2022-09-01 09:41:30 +02:00
Dion Moult
36f2ed6da6
Allow disabling undo on save
...
The transaction system does not scale on large scale or complex remove_deep deletions. So if you want to delete a mesh with many thousands of vertices, it becomes very, very slow. Unfortunately we cannot also clear Blender's undo history, so this advanced feature should be used carefully.
Tested:
- deleting 250 average objects: 264s before, 246s after (6.8% faster)
- deleting 1 object with 6,000 vertices: 5 minutes and counting (basically impractical) before, 11s after
2022-09-01 11:17:06 +10:00
Dion Moult
a61c084f27
Minor fix
2022-09-01 10:17:45 +10:00
Dion Moult
6849bb8c17
OpenCascade is not practically optional for now
2022-09-01 09:07:40 +10:00
Dion Moult
a26f60861e
Add pip/docker install instructions
2022-09-01 09:05:06 +10:00
Thomas Krijnen
106b8fdd07
Update Dockerfile
2022-08-31 21:01:09 +02:00
Thomas Krijnen
87c6b06cfc
Update CMakeLists.txt
2022-08-31 20:48:36 +02:00
Thomas Krijnen
af4917efba
Sync dockerfile libs with ci libs
2022-08-31 20:28:26 +02:00
Dion Moult
806b2e2714
Add PyPi badge and switch to Shields badge for Anaconda
...
See https://github.com/ContinuumIO/anaconda-issues/issues/10231
2022-08-31 18:15:33 +10:00
Dion Moult
4ae8e4c74b
Rename PyPi package to ifcopenshell-python due to naming conflict
2022-08-31 17:18:18 +10:00
Dion Moult
8101ffe06a
Try using existing PYPI_TOKEN as the ifcopenshell package name is blocked
2022-08-31 16:54:27 +10:00
Dion Moult
f07b6e14b4
Second time lucky?
2022-08-31 16:06:07 +10:00
Dion Moult
f2c31cc17d
Add optimistic Github action to upload wheels to PyPi
2022-08-31 16:02:39 +10:00
Dion Moult
39a626edeb
Super simple wheel creator for PyPi
2022-08-31 15:41:01 +10:00
Sigma Dimensions
02379c5110
BBIM - New Sequence Toolkit Panel & new feature to highlight tasks for current selected object
2022-08-31 02:26:01 +01:00
Sigma Dimensions
1e661c42fb
BBIM Feature - expand and contract all tasks in a work schedule
2022-08-31 02:21:28 +01:00
Thomas Krijnen
eb7e9bacbf
Update README.md
2022-08-30 21:58:11 +02:00
Thomas Krijnen
c38e608a7c
Update README.md
2022-08-30 21:49:51 +02:00
Dion Moult
544ed696da
Add install instructions for ArchLinux for IfcOpenShell/IfcConvert
2022-08-30 23:00:18 +10:00
Dion Moult
322e47c5b5
Add badges to readme
2022-08-30 22:57:54 +10:00
Dion Moult
3ee9e6f45c
Remove mention of outdated 3DS max from install instructions
2022-08-30 22:27:09 +10:00
Thomas Krijnen
7df94a906d
#2305 fix cone boolean op
2022-08-30 13:31:26 +02:00
Dion Moult
af1a40c913
Fix bug where if an object placement was reused elsewhere a circular reference was created
2022-08-30 20:08:50 +10:00
Dion Moult
451512ddff
#1812 Add batching support for remove_deep2 for faster removals
2022-08-30 20:08:03 +10:00
Dion Moult
fbd33145e1
Fix #2360 . Fix documentation on IfcConvert flags that also apply to STP.
2022-08-30 18:28:30 +10:00
Dion Moult
8b0b1699f6
Fix #2370 . Asset preview code did not clean up after itself properly after generating objects.
2022-08-30 16:21:25 +10:00
Dion Moult
2e13ed77d8
Fix #2371 . Bug where you couldn't edit psets of a hidden object.
2022-08-30 11:38:04 +10:00
Dion Moult
804c0f4a77
Partially write tests for sequence refactor
2022-08-30 11:08:26 +10:00
Sigma Dimensions
37dec500fd
massive refactor of the sequence module
2022-08-29 21:55:37 +01:00
krande
ac3eb6fbda
Merge remote-tracking branch 'origin/v0.7.0' into v0.7.0
2022-08-29 14:03:26 +02:00
krande
6a0bc0cd91
feature: align conda daily builds of ifcopenshell feature-wise with IfcOpenBot builds
2022-08-29 14:02:51 +02:00
Sigma Dimensions
699c8bf6b6
fix path windows test-bim
2022-08-29 12:51:18 +01:00
Dion Moult
7806f989f3
Minor fix
2022-08-29 21:47:12 +10:00
Dion Moult
a0ca387ae7
Minor fix
2022-08-29 21:34:29 +10:00
Dion Moult
2a716ec242
Minor fix
2022-08-29 17:28:44 +10:00
Dion Moult
93ab51fb5e
Fix #1958 - document other useful Blender add-ons
2022-08-29 16:25:17 +10:00
Dion Moult
7c59fc0b83
Document installation and usage of IfcConvert
2022-08-29 13:04:37 +10:00
Dion Moult
819466a819
Port over compilation instructions to Sphinx
2022-08-29 11:40:38 +10:00
Dion Moult
33a8ba9834
Add install instructions for Conda / Chocolatey
2022-08-29 09:14:26 +10:00
Ryan Schultz
6ce86ae368
Closing the ends of a swept_disk_solid by default
2022-08-29 08:49:46 +10:00
luz paz
68bf7a08e0
BlenderBIM: typo fixes
2022-08-28 11:39:15 +10:00
luz paz
771ba4c337
Revert 3rd party code changes
2022-08-27 15:34:16 +02:00
luz paz
33199b4bb6
Fix various typos
2022-08-27 15:34:16 +02:00
krande
74d730f368
[fix] - conda-build - set explicit env python path in conda build script for unix
2022-08-26 14:19:41 +02:00
Dion Moult
eb2a71bf48
Fix #2159 . Disable JUnit in Behave in Blender due to Etree conflicts.
2022-08-26 13:40:34 +10:00
Dion Moult
4b4e2e1622
Improve instructions on how to run tests and set up a dev environment
2022-08-26 13:40:34 +10:00
Thomas Krijnen
b5f4c8218d
#2358 fix header entity parsing in case of too few fields
2022-08-24 11:57:06 +02:00
Christian Kimmig
e3a22601d5
Set Position of extrusions with height = 0
2022-08-24 11:10:45 +02:00
Dion Moult
f67856a2ae
Minor fix
2022-08-24 10:13:30 +10:00
Dion Moult
6b71b32e63
Improve documentation for running tests
2022-08-24 09:54:15 +10:00
Dion Moult
60d99fe2fa
Update dev install process docs and bump IfcOpenShell dep
2022-08-23 17:15:11 +10:00
Dion Moult
75e1786682
Purge IDS features from BIMTester as superseded by IfcTester
2022-08-23 16:37:15 +10:00
Dion Moult
9b3f964000
Fix #2060 . Large lists of types in a library can now be filtered.
2022-08-23 13:26:38 +10:00
Dion Moult
de6b578d9c
Fix #1375 . Spatial zones as non-hierarchical entities are now supported.
2022-08-22 17:31:44 +10:00
Dion Moult
f50e790b11
Minor fix
2022-08-22 17:02:05 +10:00
Dion Moult
9821c3af67
Fix #2317 add graphical support for viewing and editing referenced structures
2022-08-22 13:52:12 +10:00
Dion Moult
0844d6f52e
Fix #2354 - add support for selector queries for enumerated properties
2022-08-19 20:10:54 +10:00
Dion Moult
520e7653e4
#1375 #2317 add API support for referencing in spatial structures
2022-08-19 18:43:39 +10:00
Dion Moult
9512075506
Minor fix
2022-08-19 12:41:08 +10:00
Dion Moult
bdd61713ea
WIP refactor sequence module
2022-08-19 11:20:18 +10:00
Dion Moult
97cf1da4ff
#2339 Read directly from raw data instead of using strings for IfcDiff output
2022-08-18 17:57:11 +10:00
Dion Moult
836a162d57
#2342 Support different IFC schema versions for obj2ifc
2022-08-18 17:15:39 +10:00
Dion Moult
09a6f56f47
#2319 Add documentation for IfcDiff
2022-08-18 16:12:10 +10:00
Ryan Schultz
35ce8c2848
Updated links to point to current branch
2022-08-17 16:12:35 -05:00
Dion Moult
ae2fd67260
#2342 New Meshlab based OBJ2IFC converter
2022-08-17 14:33:48 +10:00
Dion Moult
9def041f27
You can now create multiple new IDSes side by side and close them
2022-08-16 17:14:54 +10:00
Dion Moult
e9d86253ec
Minor fixes to IfcTester
2022-08-16 11:52:01 +10:00
Dion Moult
f95466ee0c
IfcTester now integrated into BlenderBIM Add-on UI
2022-08-16 11:52:01 +10:00
Dion Moult
e85f21ce7a
Minor fix
2022-08-16 11:52:01 +10:00
Sigma Dimensions
d3795c9836
Documentation for ifcopenshell.util.element
2022-08-15 19:40:51 +01:00
krande
ab647b13d9
fix ci initializer to prevent accidentally triggering and add tagged release for conda-forge release
2022-08-15 16:59:32 +02:00
Kristoffer Andersen
dcad4146b6
PR daily builds of ifcopenshell and upload to conda ( #2132 )
...
* WIP PR for daily builds of ifcopenshell
* fix indentation in yaml
* fix branch name
* test daily builds using minimum occt ==v7.5.3
* chore: WIP daily builds - add tests
* add test script bat/sh. Continue work in PR
* fix: add more packages to test requires
* fix: remove space in minimum version requirement of numpy
* use manually installed MacOSX SDK on github runner. Minor rewrite of dynamic/static zlib conditional for conda_build.
* fix MacOSX SDK address and made it platform conditional
* make tests pass
* try to skip ids tests for common icopenshell builds (caused failure on windows tests probably due to special character in filepath)
* add conditional upload and testing of all available platform versions on github actions
* fix wrong path to source files
* fix errors in tests
* remove test files and skip tests
* only do import of ifcopenshell as means of testing and rely on the successful completion of ci.yml as a triggering mechanism instead
* make conditional switch between original implementation of zlib suffix and new depending on conda packaging or not
* point to occt v0.7.6
* make conditional import of BRepAdaptor_HCompCurve
* try removing libxml2 include path
* minor changes
* Test nix builds
* Test nix builds using only a single python version (in order to limit cpu/memory usage)
* remove run check
* remove testing of nix builds
* Revert "Test nix builds using only a single python version (in order to limit cpu/memory usage)"
This reverts commit 22a552a9ac .
* Revert "ci-py-only test modification"
This reverts part of commit af1e832f
* update occt version to 7.6.2 in daily builds
* Revert "Test nix builds"
This reverts commit af1e832f81 .
* Complete setups for local and cloud environments. And start by adding IfcPerson as a test case for the REST api communication
* Revert changing checkout version of MVD
2022-08-15 16:40:42 +02:00
Thomas Krijnen
adb2883310
#2344 Disable /MP by default
2022-08-15 13:53:23 +02:00
Dion Moult
7867c71b6e
Fix IFCTester handling of falsey properties
2022-08-11 16:38:44 +10:00
Gorgious
a5b1a96dfd
Revert hack to automatically close enum search popups
...
It was insta-closing for some users
2022-08-10 21:58:00 +02:00
Carlos Villagrasa
4e5503002a
Construction Type Browser, polishing of 2nd iteration ( #2336 )
...
* Polish a bit the type browser UI
* Remove SELECT from type browser
* model and geometry module tests fixed
* Polishing of type authoring layout redesign
* Further polishing of type authoring layout
2022-08-10 21:23:13 +10:00
fbpyr
fa8fc161da
Choco action ( #2335 )
...
* check cron based trigger isolated
* check cron based trigger isolated
* fix args
* add scheduled choco build action
* revert to original
* fix action name
* fix action name
* remove apt install as required packages exist already in the container
* remove apt install as required packages exist already in the container
2022-08-10 21:22:26 +10:00
Dion Moult
e4016313c4
IfcTester now supports HTML reports
2022-08-09 17:04:12 +10:00
Dion Moult
81fdfbacd0
OffsetObjectPlacements patch now allows 3D rotations, such as to fix wrong Z axis coming from software like Solidworks
2022-08-08 14:34:06 +10:00
Dion Moult
7c2c946b2f
Fix bug in diff visualisation for non-rooted entities. Refactor diff UI to data class.
2022-08-05 10:59:07 +10:00
Dion Moult
5b34e08c37
#2321 Remove IDS from IfcOpenShell to prevent confusion as it is now refactored heavily and lives in ifctester
2022-08-05 09:29:01 +10:00
Vukas Pajic
0b16c07e3a
return result when calling diff()
2022-08-04 16:45:10 +02:00
Vukas Pajic
0210131a56
enhance ui for ifc-diff
2022-08-04 16:44:22 +02:00
Vukas Pajic
a44d7e997a
typo
2022-08-04 10:25:30 +02:00
Vukas Pajic
1df8908689
fix commit mistake
2022-08-04 10:24:13 +02:00
Vukas Pajic
f9daba9fba
filter diff with IFCSelector
2022-08-04 10:04:06 +02:00
Vukas Pajic
fd6f2f3fc4
Diff can be restricted by elements that match Selector query
2022-08-04 09:54:11 +02:00
Dion Moult
a4d0378405
More IfcDiff optimisations (461s->247s), bump DeepDiff version, less false positives with more accurate number comparisons
2022-08-04 17:49:18 +10:00
Dion Moult
1629205c3f
Some optimisations to IfcDiff for a 50% speed up (461s down to 300s on sample data)
2022-08-04 11:47:34 +10:00
befr
d058f17c15
add logic to build blenderbim-nightly chocolatey package
2022-08-04 11:05:12 +10:00
Carlos Villagrasa
bbb3b62b8a
Construction Type Browser, 2nd iteration ( #2334 )
...
* Polish a bit the type browser UI
* Remove SELECT from type browser
* model and geometry module tests fixed
* Polishing of type authoring layout redesign
2022-08-04 11:04:40 +10:00
Dion Moult
f9ef00fd45
WIP experimental layout for authoring tool with Carlos and Vukas
2022-08-03 19:03:47 +10:00
Dion Moult
709c530434
Fix bug where MergeDuplicateTypesByTag recipe would've left multiple IfcRelDefinesByType relationships which is no good
2022-08-03 17:33:23 +10:00
Dion Moult
0ee93294dd
Fix bug where element types wouldn't load if a filter was applied
2022-08-03 17:11:56 +10:00
Dion Moult
73124dd597
Fix failing tests
2022-08-02 19:34:12 +10:00
Dion Moult
759e134e3b
Check and correct for object mode in operator, not in poll, as operator may be called headlessly (e.g. in export function).
...
Note that after the operator has been refactored to use the core / tool design pattern, the poll code may return if necessary.
2022-08-02 19:34:12 +10:00
Dion Moult
1f11354188
Add support for adding non-library based classification references for IFC2X3
2022-08-02 19:34:12 +10:00
Vukas Pajic
eaffb9d8c0
Remove outdated test in "search"
2022-08-02 10:53:02 +02:00
Vukas Pajic
f297b1709d
add search to pytest.ini
2022-08-02 10:52:13 +02:00
Carlos Villagrasa
1f637660d1
model and geometry module tests fixed
2022-08-02 18:13:31 +10:00
Carlos Villagrasa
c349523ea9
Remove SELECT from type browser
2022-08-02 18:13:31 +10:00
Carlos Villagrasa
5cc11a170b
Polish a bit the type browser UI
2022-08-02 18:13:31 +10:00
Dion Moult
21094c59d9
API now supports adding classifications by identifier instead of from a library
2022-08-02 10:10:02 +10:00
Vukas Pajic
8ca5dd747e
Fix issues with updating groups
2022-08-01 18:32:19 +02:00
Dion Moult
ffe9ac6614
Run black
2022-08-01 19:45:36 +10:00
Dion Moult
d2083b9a3d
Refactor: move UI code for construction types panel into UI file
2022-08-01 19:42:57 +10:00
Dion Moult
70d1ad59c2
Merge pull request #2315 from cvillagrasa/v0.7.0
...
Addition of Construction Type Browser
2022-08-01 18:42:09 +10:00
Carlos Villagrasa
53687e6b7c
Merge branch 'IfcOpenShell:v0.7.0' into v0.7.0
2022-08-01 10:41:33 +02:00
Vukas Pajic
67993071a6
UIlist no longer closes after adding group to group
2022-08-01 10:32:05 +02:00
Vukas Pajic
29c98a5996
Support for nested IfcGroups
2022-08-01 10:16:27 +02:00
Dion Moult
5b5a4649c5
Fix #2310 . Manually patch applicable class errors in official IFC pset templates.
2022-08-01 13:05:57 +10:00
Dion Moult
d654110fc1
Support removing representations from IFC models that do not correctly follow the convention that mapped representations come from types
2022-08-01 11:23:35 +10:00
Carlos Villagrasa
735f308abd
Merge branch 'IfcOpenShell:v0.7.0' into v0.7.0
2022-07-28 23:50:10 +02:00
Dion Moult
f86f988d6e
Fix #2318 . Hotfix only. Needs proper code review.
2022-07-28 12:17:23 +10:00
Sigma Dimensions
a1a684cd2b
refactor BBIM Module Workplans (data loading) (Part 2of2)
2022-07-28 01:32:08 +01:00
Carlos Villagrasa
6180f5be33
Merge branch 'IfcOpenShell:v0.7.0' into v0.7.0
2022-07-27 08:37:39 +02:00
Carlos Villagrasa
cd58b994dd
Renaming AddConstrTypeInstance
2022-07-27 08:24:50 +02:00
Carlos Villagrasa
40854eb3d3
Renaming constr_type back to relating_type
2022-07-27 08:18:34 +02:00
Carlos Villagrasa
79453a6ae0
Renaming constr_class back to ifc_class
2022-07-27 08:11:52 +02:00
Bruno Postle
eec4c23017
Transfer psets and style representations when appending a material
2022-07-27 09:53:22 +10:00
Sigma Dimensions
beeba10b22
refactor BBIM sequence module - workplans (add, edit, delete)
2022-07-26 19:55:47 +01:00
Carlos Villagrasa
7a6005d0ea
Merge branch 'IfcOpenShell:v0.7.0' into v0.7.0
2022-07-26 20:43:38 +02:00
Carlos Villagrasa
58150a296d
Revert "Merge remote-tracking branch 'origin/master' into v0.7.0"
...
This reverts commit 14bca5d199 , reversing
changes made to 7321138d57 .
2022-07-26 20:20:29 +02:00
Dion Moult
7de454337d
Minor fix
2022-07-26 10:33:40 +10:00
Carlos Villagrasa
3e25ef9222
Merge branch 'IfcOpenShell-v0.7.0' into v0.7.0
2022-07-26 01:39:49 +02:00
Carlos Villagrasa
9278e43d72
Merge branch 'v0.7.0' of https://github.com/IfcOpenShell/IfcOpenShell into IfcOpenShell-v0.7.0
2022-07-26 01:39:09 +02:00
Dion Moult
fafdc76494
Minor fix
2022-07-26 09:30:04 +10:00
Carlos Villagrasa
99c47069cd
Tests polished
2022-07-26 01:22:22 +02:00
Carlos Villagrasa
cee48d7424
Some more renaming/refactoring
2022-07-26 01:21:51 +02:00
Ryan Schultz
dc7062e182
fix broken links in Documentation
2022-07-25 14:55:37 -05:00
Vukas Pajic
5f6c584a58
fix error where prop name wasn't shown
2022-07-25 12:25:55 +02:00
Vukas Pajic
5f7630e527
added test for creating new ifcgroups
2022-07-25 11:13:15 +02:00
Gorgious
733e80737a
Fix error messages when using the search operator on blank file (F3)
2022-07-23 15:03:26 +02:00
carlos
64752e52c9
Tuning feature tests
2022-07-23 00:39:17 +02:00
carlos
6c260ef5c9
Margins function for UILayouts
2022-07-23 00:38:26 +02:00
carlos
e0e0572ff5
Minor renaming and bug fixing
2022-07-23 00:37:31 +02:00
Carlos Villagrasa
a3942ee5e2
Merge branch 'IfcOpenShell:v0.7.0' into v0.7.0
2022-07-22 18:42:25 +02:00
Vukas Pajic
40d5a94e2d
Added new test for Selector UI
2022-07-22 09:37:46 +02:00
Vukas Pajic
f9fe1607ff
load_query now closes automatically
2022-07-22 08:20:06 +02:00
Gorgious56
2a019e8090
Enum search popup now automatically closes on item selection
...
+ move close_operator_panel higher in hierarchy to access it
2022-07-21 17:50:43 +02:00
Gorgious56
901a582c6c
Add tooltip to append library element operator
2022-07-21 16:57:31 +02:00
Vukas Pajic
29a4f78689
Integrate ifcgroups with selector
2022-07-21 16:10:10 +02:00
Vukas Pajic
f1e0375b6a
api: assign_group now expects product to be a list
...
* minor change to assign_group
* api: assign_group now expects product: list
2022-07-21 10:14:58 +02:00
Vukas Pajic
52e354d1b8
delete search.feature (not ready yet)
2022-07-21 09:31:54 +02:00
Vukas Pajic
eef961a39e
Merge branch 'v0.7.0' into v0.7.0
2022-07-21 08:37:44 +02:00
Vukas Pajic
fcab5d445f
test features
2022-07-21 08:20:25 +02:00
Dion Moult
b534895ae3
Slightly more dodgy but more robust test dependency installation script
2022-07-21 15:44:11 +10:00
Vukas Pajic
5b76e83965
Selector: added new tests and improved UX
...
Selector: added tests to check non-standard characters and missing values
2022-07-21 07:37:48 +02:00
Dion Moult
a21b73225a
Fix #2296 . Bug where material and profile psets couldn't be removed.
2022-07-21 15:12:00 +10:00
Dion Moult
a11a4032f6
You can now audit and view basic results using the IfcTester webapp
2022-07-21 13:13:38 +10:00
carlos
a09f864651
Fetch latest commits
2022-07-20 19:17:52 +02:00
Vukas Pajic
609fd35410
quality of life improvements :)
2022-07-20 14:54:03 +02:00
Vukas Pajic
df0c136b6c
users can now add selection to ifcgroup
2022-07-20 13:48:26 +02:00
Vukas Pajic
ce6d4ea59a
match elements when attribute is none and negation used
2022-07-20 09:33:58 +02:00
Vukas Pajic
29594b50b5
test when value does not exist
2022-07-20 09:06:04 +02:00
Vukas Pajic
2a2da56a0e
added test to check non standard characters
2022-07-20 08:32:36 +02:00
Gorgious
dd041478b3
Add utility method to retrieve dynamic enum items without needing a reference to the callback
...
This is useful because trying to directly access a dynamic enum with an empty items list throws an error in the console
+ Remove prop search from template_type in pset ui which has only 2 elements
2022-07-19 22:17:39 +02:00
Vukas Pajic
650e5b0cd3
Added UI for IFC Selector Tool
...
UI for IFC Selector tool
2022-07-19 14:54:39 +02:00
Vukas Pajic
afa0db3c7e
all tests in test_selector.py now passing
2022-07-19 14:51:48 +02:00
Gorgious56
b9f1f3438c
Fix typo
2022-07-19 14:30:32 +02:00
Vukas Pajic
31f21dcb29
abstract away ui code from operator
2022-07-19 14:16:59 +02:00
Vukas Pajic
64a22fe5c6
further refinements
2022-07-19 13:55:20 +02:00
Dion Moult
3f85140d60
Continuing adding tests for the refactored property support
2022-07-19 20:38:53 +10:00
Gorgious56
1b1588359f
Ifc class suggestion ( #2290 )
...
* You can now use suggestions in ifc class enum search popup
* Move data to data submodule
* Fix error when suggestion mapping contains only one value
* Add predefined types to the search popup
* Use defaultdict to be able to add suggestions later
* Support predefined types and format name to display the ifc class
and fix bug where the prop is not defined in the suggestion dictionary
* Move data retrieval to data module
* Simplify prop search items retrieval
* Support prop search for more enums
2022-07-19 10:19:58 +02:00
Vukas Pajic
4c562c1af0
turn ui into popup operator
2022-07-19 10:05:20 +02:00
Vukas Pajic
a0fdb9f777
update according to review comments
2022-07-19 09:21:13 +02:00
Vukas Pajic
2c29f89fe9
Selector - update regex for pset filter
2022-07-19 09:19:32 +02:00
Dion Moult
f4aac566d5
Handle cyclic task dependencies in schedule cascading and CPM analysis
2022-07-19 12:39:54 +10:00
Dion Moult
57521bd106
Whoops
2022-07-19 09:47:32 +10:00
Dion Moult
1413cf4f9d
Fix bug when adding material sets to a non parametric object
2022-07-19 09:46:28 +10:00
Vukas Pajic
3fa74469f4
minor changes
2022-07-18 15:39:19 +02:00
Vukas Pajic
e3d9dd747d
draft
...
endofday 1207
240pm 14/07
draft version
cleanup
2022-07-18 15:11:27 +02:00
Vukas Pajic
d71ebb8d25
fix typo
2022-07-18 14:44:13 +02:00
Vukas Pajic
0097d98669
fix #2289
2022-07-18 14:42:39 +02:00
Thomas Krijnen
dd635340aa
Retry schema macro rewriting
2022-07-18 13:51:45 +02:00
Thomas Krijnen
1b06cb8014
Retry schema macro rewriting
2022-07-18 13:04:21 +02:00
Thomas Krijnen
163e10b608
More schema macro rewriting
2022-07-18 11:57:02 +02:00
Thomas Krijnen
dc67287d4b
Correct extern function declaration names
2022-07-18 10:46:01 +02:00
Thomas Krijnen
73f959c45a
Correct extern function declaration names
2022-07-18 10:08:46 +02:00
Thomas Krijnen
65e66352b7
CMake typo error
2022-07-18 09:31:12 +02:00
Thomas Krijnen
205ff0914c
Respect tokens in macro string concatenation
2022-07-18 09:24:20 +02:00
Dion Moult
2e76a800f5
You can now download modified IDSes via the webapp
2022-07-18 14:06:29 +10:00
Dion Moult
1890bf4cb9
You can now load multiple Blends simultaneously when linking IFCs
2022-07-18 10:58:25 +10:00
Dion Moult
3fd472549e
Fix bug where material categories don't exist in IFC2X3
2022-07-18 10:29:32 +10:00
Thomas Krijnen
28d15a6c9f
Add IFC4x3 ( https://standards.buildingsmart.org/IFC/RELEASE/IFC4_3/annex-a-express.html )
2022-07-17 21:45:07 +02:00
Thomas Krijnen
6026e037fa
Update schema references
2022-07-17 21:13:46 +02:00
Vukas Pajic
0ca90817d8
Fix for Issue #2288
2022-07-17 10:08:24 +02:00
Dion Moult
3436f3e0bb
Visualising diffs now show results from the actively loaded IFC
2022-07-16 11:53:08 +10:00
Dion Moult
71f0170966
IDS webapp with some basic read/write functionality
2022-07-15 15:58:39 +10:00
Dion Moult
97cd07226d
Support JSON output for IDS results
2022-07-15 15:14:04 +10:00
Dion Moult
309ce20068
Added error sentences for IDS property facet results
2022-07-15 14:38:57 +10:00
Dion Moult
282c140c14
More aggressive refactoring for IfcTester to break up the monolithic codebase
2022-07-15 14:09:55 +10:00
Bruno Perdigão
bdf46f9431
Update installation.rst
...
Minor correction
2022-07-15 12:42:19 +10:00
Dion Moult
e79068854a
Refactor IDS into IfcTester with less magic and less code
...
* String building code all deleted and replaced with more maintainable code
* Obscure features like metaclasses deleted
* Regular constructors used instead of factory create and parse methods
* Use Python class naming convention
* Use polymorphism more (e.g. asdict, init) for facet classes
* No more boolean any/and as users may want to test everything and not fail early
* Error state is stored instead of streamed to logger so it can be tested and more flexible formatting
2022-07-15 09:57:40 +10:00
carlos
7be93b5386
Add testing to construction type previews
2022-07-15 01:09:08 +02:00
carlos
1b4da58a15
Restore IFCFileSelector UI rendering
2022-07-14 13:59:47 +02:00
Carlos Villagrasa
356ce48af5
Merge branch 'IfcOpenShell:v0.7.0' into v0.7.0
2022-07-14 13:42:02 +02:00
carlos
3f24d54e8f
Distinguish bt active and selected constr type + renaming ifc_class -> constr_type
2022-07-14 13:40:57 +02:00
Vukas Pajic
1586c85314
added option to import all library assets
2022-07-11 11:07:40 +02:00
carlos
f9f9746a9a
Element Type Browser UI refactoring and improved wording
2022-07-11 07:53:14 +02:00
carlos
493faf22ff
Move col_with_margins utility to helper.py
2022-07-11 07:52:10 +02:00
Thomas Krijnen
bab6313313
Work on more readable ast for express schema parser
2022-07-10 21:51:25 +02:00
carlos
618bed3889
Improved version with optional cascading
2022-07-10 07:46:30 +02:00
carlos
8c9115c0ff
Merge remote-tracking branch 'origin/v0.7.0' into v0.7.0
2022-07-09 01:22:44 +02:00
Carlos Villagrasa
0a561d1a30
Merge branch 'IfcOpenShell:v0.7.0' into v0.7.0
2022-07-09 01:19:15 +02:00
dependabot[bot]
443af3f7e7
Bump lxml from 4.6.5 to 4.9.1 in /src/ifcopenshell-python/ifcopenshell
...
Bumps [lxml](https://github.com/lxml/lxml ) from 4.6.5 to 4.9.1.
- [Release notes](https://github.com/lxml/lxml/releases )
- [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt )
- [Commits](https://github.com/lxml/lxml/compare/lxml-4.6.5...lxml-4.9.1 )
---
updated-dependencies:
- dependency-name: lxml
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-07 09:29:42 +02:00
Thomas Krijnen
2f6ac0be9f
Fix test_wall_opening invocation
2022-07-07 08:46:38 +02:00
Thomas Krijnen
07c152f513
Submodule
2022-07-06 22:09:13 +02:00
Thomas Krijnen
158c62bdca
Update ci-py-only.yml
2022-07-06 22:01:15 +02:00
Thomas Krijnen
1029271e91
Update ci-py-only.yml
2022-07-06 18:20:32 +02:00
Thomas Krijnen
9b59d24fc7
Update test_wall_opening.py
2022-07-06 18:20:25 +02:00
Thomas Krijnen
1d0e8c59d2
Capital OR
2022-07-06 16:19:57 +02:00
Thomas Krijnen
b479d82251
CI workflow with BUILD_CONVERT=Off
2022-07-06 16:09:52 +02:00
Thomas Krijnen
6b6ac38f96
Link serializers also with only BUILD_IFCPYTHON
2022-07-06 16:06:16 +02:00
Vukas Pajic
57fe895ae0
ensure modules are installed to blender python
...
thankyou to @Gorgious56 for help on this one ;) https://blender.stackexchange.com/a/238995/130742
2022-07-06 13:56:24 +02:00
Gorgious56
4195d41e4c
Enums from attributes can now be searched by name
2022-07-06 12:09:37 +02:00
Dion Moult
7eac5397cd
Run black
2022-07-06 18:29:22 +10:00
Dion Moult
084823164e
Fix #2264 refactor property data structures to be separate from attributes
2022-07-06 18:25:29 +10:00
Gorgious56
87f110bae5
Add search operator to material enum field
2022-07-05 15:24:10 +02:00
Thomas Krijnen
952719f19b
#2260 correct init order
2022-07-05 10:27:44 +02:00
Thomas Krijnen
2ab4e44248
#2256 try explicit cast for clang
2022-07-05 09:46:19 +02:00
Vukas Pajic
6b9e670bf3
missing comma
2022-07-05 07:41:51 +02:00
Vukas Pajic
9e87f0f027
fix for issue #2261
2022-07-05 07:34:23 +02:00
Gorgious56
c7272065e6
Improve prop search v2 ( #2262 )
...
* Minor fixes
* Fix #2257 : enums with a different id and name now correctly show the name in the search field
* Add prop search to template_type
2022-07-04 23:09:03 +02:00
carlos
14bca5d199
Merge remote-tracking branch 'origin/master' into v0.7.0
2022-07-04 18:52:11 +02:00
Carlos Villagrasa
dbeb7d392c
Merge branch 'IfcOpenShell:v0.7.0' into v0.7.0
2022-07-04 18:50:53 +02:00
Vukas Pajic
22cb7b3b67
Merge pull request #2258 from vulevukusej/create-pset_templates-in-bbim
...
support enums in new pset_templates
2022-07-04 14:20:14 +02:00
Vukas Pajic
018be92063
support enums in new pset_templates
2022-07-04 13:48:51 +02:00
Gorgious56
37f91461d2
Add prop search to fields with a lot of enumerated values ( #2253 )
...
* Add prop_search layout function
* Display props operator
* display search for pset
* Display search for root
* Update operator and UI layout function
* Add search buttons to brick, geometry, patch, project, pset, pset_template, root and unit modules enums
2022-07-03 22:37:41 +02:00
Vukas Pajic
c73fedaaaf
fix error that stopped user from adding properties
2022-07-01 13:41:20 +02:00
Gorgious56
4ad4bdef3b
Initial Commit
2022-06-30 09:44:00 +10:00
Vukas Pajic
e50259f8fa
fix error I accidentally introduced.
2022-06-29 18:07:32 +02:00
carlos
7321138d57
Adding a preview popup for IFC Type additions
2022-06-29 17:43:28 +02:00
carlos
319f63c861
Preventing error when IfcSpatialElement has been deleted and an IFC Type instance is added
2022-06-29 17:39:40 +02:00
carlos
662cd6232c
Preventing edge case (vertical slabs & horizontal walls)
2022-06-29 17:37:42 +02:00
Vukas Pajic
3461a1e96f
Submodule_mvd
2022-06-29 17:23:27 +10:00
Vukas Pajic
919c007509
Submodule
2022-06-29 17:23:27 +10:00
Vukas Pajic
5b77001568
updated according to comments
2022-06-29 17:23:27 +10:00
Vukas Pajic
1f4022a41b
fix error from util/element.py
2022-06-29 17:23:27 +10:00
Vukas Pajic
c8c9262090
initial commit
...
-Added support for adding and editing enums
-changed behaviour of template psets that have enums.
2022-06-29 17:23:27 +10:00
Thomas Krijnen
104cabfb67
Minor things for drawing profiling and a warning
2022-06-29 11:35:43 +10:00
Kristoffer Andersen
4978a67e19
Add more subdirs for blenderbim build trigger
...
Add more subdirectories to the github actions workflow to trigger builds whenever a change occurs in relevant directories.
2022-06-29 11:33:44 +10:00
dependabot[bot]
e44e03f02e
Bump numpy in /src/ifcopenshell-python/ifcopenshell
...
Bumps [numpy](https://github.com/numpy/numpy ) from 1.21.0 to 1.22.0.
- [Release notes](https://github.com/numpy/numpy/releases )
- [Changelog](https://github.com/numpy/numpy/blob/main/doc/HOWTO_RELEASE.rst )
- [Commits](https://github.com/numpy/numpy/compare/v1.21.0...v1.22.0 )
---
updated-dependencies:
- dependency-name: numpy
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-06-22 09:21:40 +02:00
Thomas Krijnen
5a636a925b
#2244 file.add() Don't fail on project without unit info
2022-06-21 14:15:59 +02:00
Dion Moult
d23f14f8aa
Cleaner IFC doc generation showing all contextual entities not only those related to the target instance
2022-06-21 22:05:26 +10:00
Dion Moult
1706ca5293
Fix bug where adding heavy classification references led to duplicate classification systems
2022-06-21 19:28:53 +10:00
Dion Moult
ff3e2f14e1
Inherited and overridden classification references per system is now supported
2022-06-21 19:28:29 +10:00
Dion Moult
c4433489b7
IDS now supports type casting
2022-06-21 17:01:12 +10:00
Dion Moult
4761c58571
IDS now supports failing inverse checks
2022-06-21 17:00:46 +10:00
Dion Moult
1de6a7e792
Improve geolocation docs with rotation diagram and scale explanation
2022-06-19 17:53:37 +10:00
Thomas Krijnen
7d6ba89496
Fixes after restructuring
2022-06-15 15:21:46 +02:00
Thomas Krijnen
c4dc3934fa
Add missing file
2022-06-15 14:46:37 +02:00
Thomas Krijnen
25f1d21a85
Fixes for some of the header renames
2022-06-15 14:23:58 +02:00
Thomas Krijnen
2bd6d9343c
Fixes for some of the header renames
2022-06-15 13:56:47 +02:00
Thomas Krijnen
bc2d76e685
Include-what-you-use
2022-06-15 13:41:13 +02:00
Thomas Krijnen
124f786007
Update Kernel.cpp
2022-06-14 17:18:44 +02:00
Thomas Krijnen
b49cfe9744
msvc /mp
2022-06-14 15:25:14 +02:00
Thomas Krijnen
6f5f189443
Missing files
2022-06-14 15:24:38 +02:00
Thomas Krijnen
d6f8448c83
IfcGeom refactoring pt. 1
2022-06-14 15:02:54 +02:00
Thomas Krijnen
0f85890c72
#2237 workaround for openings on extrusions of compound profiles
2022-06-11 15:48:04 +02:00
Thomas Krijnen
bf3eb68b67
template template template template template
2022-06-10 11:20:01 +02:00
Dion Moult
ce3a6bba0f
Fix bug where MS Project files with optional weekdays failed to import
2022-06-10 19:07:58 +10:00
Thomas Krijnen
f1e3d9c573
typename typename typename typename typename typename
2022-06-10 11:07:40 +02:00
Thomas Krijnen
0a30d1a438
#2213 Read precision from rep context in create_shape()
2022-06-10 11:00:45 +02:00
Dion Moult
8311983d5e
You can now toggle visibility and wireframe modes of linked models and fix bug where links with the same name were not unique
2022-06-09 21:48:13 +10:00
Dion Moult
97bf4e3d0d
Fix bug where object class selection didn't work with linked models
2022-06-09 21:46:24 +10:00
Dion Moult
15661536dc
Extract elements recipe now handles spatial elements as an upgrade to the ExtractSpaces recipe
2022-06-09 19:01:32 +10:00
Dion Moult
f451c51451
Fix bug where some appended assets created invalid graphs due to poor purging
2022-06-09 18:59:20 +10:00
Dion Moult
b5e27e4ced
Fix bug where transaction history was polluted when starting a new file in an existing Blender session
2022-06-09 15:30:18 +10:00
Dion Moult
95881c6258
Fix embarrassing geolocation bug for showing / setting grid north
2022-06-09 10:22:02 +10:00
Thomas Krijnen
cb8cfd7905
Update CMakeLists.txt
2022-06-08 13:59:29 +02:00
Dmitry Sedov
96fe1018ed
implemented the minimal build version
2022-06-08 13:46:18 +02:00
Thomas Krijnen
73c006a977
Use OCCT github mirror for reliability
2022-06-08 13:37:48 +02:00
Thomas Krijnen
133fa5547b
Use OCCT github mirror for reliability
2022-06-08 13:37:06 +02:00
Dion Moult
c95d263ca5
#2224 Write documentation for dealing with large models
2022-06-08 19:10:20 +10:00
Dion Moult
3507920c09
#2224 Expose unload project in UI to aid in unlinking IFCs for coordination only
2022-06-08 19:09:55 +10:00
Dion Moult
cdabc507e1
#2224 New headless import script
2022-06-08 14:09:02 +10:00
Dion Moult
bcbee0659b
#2224 Coordination mode now allows interspersed (much faster) object merging during model loading to crunch down large models, with a new by type merge mode
2022-06-08 12:10:01 +10:00
Dion Moult
053e4e1185
#2224 Enabling coordination mode now excludes types and openings
2022-06-08 12:06:59 +10:00
Dion Moult
d76679a45f
#2224 Cache seems unstable for some large models so allow option to disable
2022-06-08 11:56:22 +10:00
Dion Moult
a1ed78e755
#2224 You can now specify element offset / limit ranges when loading models
2022-06-08 11:53:58 +10:00
Dion Moult
d0f38bc919
#2224 You can now filter models by type when loading
2022-06-08 11:32:00 +10:00
Dion Moult
4681d3198f
#841 #2224 Users can now enable native mesh processing with support for FBSM geometry
2022-06-08 10:19:55 +10:00
Dion Moult
96e4641ebf
#2224 Optimise import by 10-40% by removing unnecessary slow traversal of representations
2022-06-08 09:14:36 +10:00
Dion Moult
2ab808a216
#2224 You can now bulk check/uncheck filter categories on import
2022-06-08 09:09:35 +10:00
Dion Moult
1ec0e1ce19
Fix bug with displaying inherited psets by accident.
2022-06-08 09:07:22 +10:00
bimworld
bc734c263e
Comment deconstructor IfcFile
2022-06-07 12:14:30 +02:00
Thomas Krijnen
a96bffa341
Update schema.py
2022-06-06 10:31:33 +02:00
Thomas Krijnen
fb3e9ad1b7
Quality IteratorSettings name in wrapper gen
2022-06-06 10:13:48 +02:00
Thomas Krijnen
4c854fbb62
Try to do less allocation during parse, favour upper case entity names in spf
2022-06-06 09:59:32 +02:00
Thomas Krijnen
0e8d7bdc97
Log result of unify() in boolean_operation()
2022-06-06 09:58:57 +02:00
Thomas Krijnen
a92d37cd64
Quick fix py create_shape() setting propagation
2022-06-06 09:58:42 +02:00
Dion Moult
00e46ce39e
More meaningful percentage completion in console when loading models
2022-06-06 09:59:43 +10:00
Esteban Dugueperoux
54b82fd149
Update README travis badge URL
2022-06-03 09:24:22 +02:00
Esteban Dugueperoux
e508fb44f2
Update CMake release requirement
2022-06-02 13:33:06 +02:00
Dion Moult
89e2ad9262
Write documentation for georeferencing
2022-06-02 19:01:09 +10:00
Dion Moult
419901649e
You can now configure the distance limit for false origin offsets
2022-06-01 14:25:30 +10:00
Dion Moult
18cb767a95
More IDS test structuring and add support for checking logical unknown
2022-05-31 22:27:37 +10:00
Thomas Krijnen
a11b51c971
Revert "Temporarily disable release tag guard"
...
This reverts commit c6b86e45f3 .
2022-05-31 11:30:25 +02:00
Thomas Krijnen
d7f913d464
#2218 Decreate (hardcode) angular tolerance on boolean op extrusion detection
2022-05-31 11:24:27 +02:00
Dion Moult
0d982090e3
More descriptive test names and slightly more concise IDS doc layout
2022-05-31 19:13:39 +10:00
Thomas Krijnen
be6617d9f9
Update release.yml
2022-05-31 10:31:56 +02:00
Thomas Krijnen
fc0efa2339
Tweak release.yml configure opts
2022-05-31 10:21:45 +02:00
Thomas Krijnen
c6b86e45f3
Temporarily disable release tag guard
2022-05-31 09:55:40 +02:00
Thomas Krijnen
53b6247bb8
Unify release.yml and ci.yml deps
2022-05-31 09:54:10 +02:00
Thomas Krijnen
eab06bda6c
Submodule
2022-05-31 09:43:53 +02:00
Thomas Krijnen
524fa58f05
Remove erroneous .gitmodule entry
2022-05-31 09:39:31 +02:00
Dion Moult
4c4846bc8f
Support userdefined process types in util module
2022-05-31 16:23:13 +10:00
Dion Moult
0dfe1d995f
Update IDS to support process types and require uppercase entities
2022-05-31 16:22:44 +10:00
Dion Moult
a4434413d2
Fix bug where rooted tasks with no subactivities would not export correctly to P6
2022-05-31 15:36:13 +10:00
Dion Moult
5ca19ce2f7
WIP update to support current IDS v0.6
2022-05-31 15:35:47 +10:00
Dion Moult
3e1c2c4daf
Code review and tests for georeferencing module refactor
2022-05-29 23:44:18 +10:00
Dion Moult
2d4e316df2
Fix bug where unit editing failed for named units
2022-05-29 17:25:28 +10:00
maxfb87
4b426e1fc0
Refactor Georeference Module
2022-05-29 15:54:06 +10:00
Dion Moult
d2ad4b2b68
Allow rooted tasks when exporting schedules to P6XML
2022-05-29 11:15:37 +10:00
Dion Moult
67522e03d1
Fix import error bugs when importing P6XML to enterprise environments
2022-05-27 17:17:31 +10:00
AToradaIBIM
24f307130c
BCFv3 "get_comments" error #2212
...
Fix for Issue #2212
The method get_comments wasn't working as expected because on line 649, it was trying to access the element "Topics" instead of "Topic", based on the XSD "Topics" doesn't exist.
2022-05-25 11:19:53 +02:00
Dion Moult
0a3e5f65fa
Fix multiple specifications in IDS
2022-05-25 17:49:12 +10:00
Dion Moult
e302fea33b
Resolve merge conflict. Still WIP IDS test cases.
2022-05-22 22:10:28 +10:00
Dion Moult
c352181f8c
Fix bug where underlays didn't work
2022-05-22 21:32:57 +10:00
Thomas Krijnen
3a1416536a
Oops
2022-05-17 22:31:37 +02:00
Thomas Krijnen
4eec863cad
Example for turning IDS test cases into spec. Sorry for butchering your code @Moult
2022-05-17 22:21:11 +02:00
Thomas Krijnen
96bcd31d99
#2202 Check for nested compound of solid in boolean result handling
2022-05-16 14:24:57 +02:00
Thomas Krijnen
b09ff828de
#2186 rerun codegen
2022-05-16 13:07:40 +02:00
Thomas Krijnen
3cb68ca388
#2186 optional attribute setter fix
2022-05-16 13:07:40 +02:00
Dion Moult
c95d3693ea
OpenSourceBIM contributors badge now in README
2022-05-16 11:35:39 +10:00
Dion Moult
67d2ab2577
Write documentation on materials, locations, and measurements
2022-05-16 08:15:31 +10:00
Dion Moult
970b24b63b
#1153 New annotation objects have their placement Z in the drawing direction to allow for 2D geometry.
2022-05-15 11:45:47 +10:00
Dion Moult
fdaae048c2
Implement IDS partOf facet
2022-05-12 14:33:44 +10:00
Dion Moult
4da5a38237
Implement IDS material null checks, inheritance checks, and set item checks
2022-05-12 12:06:23 +10:00
Dion Moult
0cf2d7e05e
Implement IDS uri/use/instructions for material facet
2022-05-11 23:30:10 +10:00
Dion Moult
3122cf21db
Implement IDS property facet measure conversions
2022-05-11 19:59:10 +10:00
Dion Moult
4bf25d5d9c
Minor fix
2022-05-11 18:46:27 +10:00
Dion Moult
dc10c7a360
Implement null check for IDS properties, and support restrictions
2022-05-11 17:10:22 +10:00
Dion Moult
94e082fc7d
Support IDS uri/use/instructions for property facets
2022-05-11 15:30:39 +10:00
Dion Moult
9671df8491
You can now choose between lightweight and full classifications
2022-05-11 15:19:31 +10:00
Dion Moult
8aa38917eb
New classification utility module
2022-05-11 15:19:17 +10:00
Dion Moult
0774100606
IDS classification facets not handle inheritance, full refs, and restrictions
2022-05-11 14:49:47 +10:00
Dion Moult
95b48b02e4
Add support for IDS classification uri, use, and instructions
2022-05-11 13:27:19 +10:00
Dion Moult
c5de1d8727
Add IDS support for restrictions in attribute facets and handle inheritance
2022-05-11 13:06:15 +10:00
Dion Moult
7e09ab0ced
Add support for IDS attribute use/instructions
2022-05-11 10:12:36 +10:00
Dion Moult
eb3e137a6e
#2196 Get psets now handleds inheritance by default
2022-05-11 09:18:23 +10:00
Dion Moult
f528ad9744
Minor fix
2022-05-10 23:49:14 +10:00
Dion Moult
650f9eb7f5
Attribute filtering in IDS now checks null-like values too.
2022-05-10 22:42:21 +10:00
Dion Moult
a78d6f42e5
Allow IDS to audit any entity, not just IfcObjects
2022-05-10 22:13:28 +10:00
Dion Moult
4326a74c64
Fix IDS to not allow subclasses and allow restrictions in the class name
2022-05-10 21:40:35 +10:00
Dion Moult
08fc62d4d9
Add support for userdefined predefined types in IDS entity facets
2022-05-10 21:20:10 +10:00
Dion Moult
ae298de8dc
Implement identifier, desc, and instructions for specification node in IDS
2022-05-10 19:26:12 +10:00
Dion Moult
a24c4b269a
Fix mandatory title and optional date and check invalid dates in IDS
2022-05-10 17:36:24 +10:00
Dion Moult
083d9d3e3e
Implement attribute facet for IDS
2022-05-10 16:23:07 +10:00
Dion Moult
12e7ed356c
Fix IDS namespace bug that prevented XML encoding, simplify XML writing, and new to_string() method to decrease dependency on the filesystem
2022-05-10 16:22:38 +10:00
Dion Moult
3f15dd71b1
Run black on ids module
2022-05-10 16:18:08 +10:00
Adrien SCHVALBERG
42448cae4e
Add missing exports for ifcopenshell-python when we build shared libs.
2022-05-09 14:13:47 +02:00
Dion Moult
7e28d193ec
#2185 Document installation and hello world examples for IfcOpenShell-python
2022-05-09 19:27:33 +10:00
Thomas Krijnen
8f2b32532c
validate.py text result formatting improvements
2022-05-09 11:00:04 +02:00
Dion Moult
f0a00cbc94
#2185 Set up auto generated API reference documentation via sphinx-autoapi
2022-05-09 15:35:52 +10:00
Dion Moult
fd73b2cf0a
#2185 Migrate web files to website repo
2022-05-08 19:51:17 +10:00
Adrien SCHVALBERG
e5b3455533
Fix memory leak for HeaderEntity instances:
...
the getArgumentCount() call in IfcEntityInstanceData destructor isn't virtually dispatched so it returns 0 instead of correct number of arguments => memory leak
added IfcEntityInstanceData::clearArguments() which clears all arguments and resets the attributes_ field to nullptr
Remove unnecessary copy in IfcEntityInstanceData::setArgument() when argument is created at the call site (no more leak of original argument)
Fix memory leak in IfcFile: delete entities from both byid and entity_file_map
2022-05-08 10:21:46 +02:00
Adrien SCHVALBERG
e677355438
Add IfcParse::clear_schemas() and individual Ifc___::clear_schema() to clear any resource allocated by registered schemas
...
Add missing virtual destructors in IfcSchema.h
2022-05-08 10:21:46 +02:00
Dion Moult
93fd3f97e3
#2111 New feature to select by style and see style usage
2022-05-08 18:03:18 +10:00
Dion Moult
910d189f35
#2188 support displaying inherited materials
2022-05-08 16:27:35 +10:00
Dion Moult
c8d6d12442
The material manager now groups materials into categories
2022-05-08 15:48:09 +10:00
Dion Moult
1f3ba3d09d
New makefile targets to specifically run tests of single modules
2022-05-08 15:45:47 +10:00
Dion Moult
f67941221e
Enable syntax highlighting in test suite for easier debugging
2022-05-08 15:24:06 +10:00
Dion Moult
8252ef82ad
#2185 Write documentation about viewing construction types
2022-05-07 21:50:38 +10:00
Dion Moult
3b825e35ae
#1153 You can now provide custom stylesheets, markers, symbols, and hatches
2022-05-07 20:28:24 +10:00
Dion Moult
4a4912e817
Editing URIReference properties now provides a file browse button
2022-05-07 20:26:25 +10:00
Dion Moult
5a38604ec2
#1153 Boilerplate styles and definitions now can be used with any drawing layer combination
2022-05-07 17:57:05 +10:00
Dion Moult
b15e0d0e2b
#2185 Commit logos and homepage mockup by Paulina Godoy and Meetlat
2022-05-07 11:48:20 +10:00
Dion Moult
5a5f52a5c2
#2185 Standardise graphic style for annotation images in documentation
2022-05-07 11:42:12 +10:00
Dion Moult
816a690519
Commit WIP website design by Paulina Godoy :)
2022-05-07 10:20:11 +10:00
Dion Moult
60303c6560
Minor fix
2022-05-06 20:51:36 +10:00
Dion Moult
cc88e6f112
#2185 Write documentation about viewing attributes, pets, and qtos
2022-05-06 20:44:26 +10:00
Dion Moult
5f1b5d0c63
You can now manage actor assignments to products
2022-05-06 17:47:24 +10:00
Dion Moult
b54caa8967
Person / organisation roles and acting actors are now shown
2022-05-06 16:21:12 +10:00
Dion Moult
73e048a9a8
#1153 You can now manage assigned products for all annotations
2022-05-06 15:35:39 +10:00
Dion Moult
316a2b7f53
#2185 Write documentation for viewing element classes
2022-05-06 12:46:29 +10:00
Dion Moult
42edcda8bd
Deleting an element now also auto deletes its associated distribution ports
2022-05-06 10:38:38 +10:00
Dion Moult
92432f453d
You can now remove ports
2022-05-06 10:35:12 +10:00
Dion Moult
4b6ebe7b1c
Fix bug where deleted objects were not cleared after saving
2022-05-06 09:20:37 +10:00
Emad Aghajani
3f6d25ed43
Fixes #2175 : Fixes a crash when blender is in background mode or is used as bpy Python module
2022-05-05 19:23:36 +10:00
Dion Moult
d4b2cc7f2c
Bump IfcOpenShell build
2022-05-05 18:00:58 +10:00
Dion Moult
53c050c6ed
Port locations now sync relative to their parent even when not actively displayed in the viewport
2022-05-05 18:00:42 +10:00
Dion Moult
3213af2f48
#2185 Write documentation on the object outliner panel
2022-05-05 16:29:40 +10:00
Dion Moult
85122ba184
#2185 Document how to navigate through a model
2022-05-05 14:43:34 +10:00
Dion Moult
b8791d43aa
Minor documentation update for loading an IFC model
2022-05-05 12:19:40 +10:00
Dion Moult
6a82f27d48
Standalone Blender import script now available for debugging
2022-05-05 09:59:04 +10:00
Dion Moult
4e2400952a
Fix #2147 #2143 Fix hanging when reloading a cache of a file with 2D and 3D data
2022-05-05 09:58:10 +10:00
Dion Moult
de1dae8b6e
Grids are now locked by default when loading IFCs
2022-05-05 09:28:36 +10:00
Dion Moult
dd127db969
Minor documentation improvements
2022-05-04 16:04:18 +10:00
Dion Moult
194bc53bdb
Minor refactor
2022-05-04 15:54:15 +10:00
Dion Moult
8c3e29c351
Split BlenderBIM and other docs to not overwhelm users. Use Furo theme for Sphinx.
2022-05-04 13:06:39 +10:00
Gorgious56
6e55a04550
Refactor Standalone section shader ( #2172 )
...
* Refactor Standalone section shader
* Remove leftover code
2022-05-03 18:21:51 +02:00
Dion Moult
9333839267
Copying an element now also copies its distribution ports
2022-05-03 18:05:27 +10:00
Dion Moult
280236290e
Fix #2182 . File export IFC menu item now defaults to save as to improve usability for new users
2022-05-03 17:36:55 +10:00
Dion Moult
c5773b5665
Port locations are now auto synchronised when hiding ports
2022-05-03 16:50:55 +10:00
Dion Moult
96babc4506
Creating a flow segment now also creates 2 ports at either end
2022-05-03 15:48:41 +10:00
Dion Moult
f8acde0801
You can now add ports to types, and ports are created when placing occurrences of that type
2022-05-03 14:32:18 +10:00
Dion Moult
32c101cf74
#1153 Implement angular dimension annotations
2022-05-02 09:20:40 +10:00
Bruno Perdigão
2a1aa535ba
Added VSCode extension to Live Development section
2022-05-02 08:06:27 +10:00
Dion Moult
02903c4929
#1153 New arc from 3 points command for 2D CAD
2022-05-01 17:25:03 +10:00
Dion Moult
d80e26e4ab
Design new icon for CAD workspace tool
2022-05-01 15:30:37 +10:00
Dion Moult
a88b83306e
#1153 New arc from 2 points command for 2D CAD (based on view direction)
2022-05-01 14:43:03 +10:00
Dion Moult
9577c40386
Fix #2107 . Materials and styles in the scene manager are now shown alphabetically
2022-05-01 12:01:24 +10:00
Dion Moult
f54a5cf6e0
Fix #2048 . Fix bug where material and style IFC links were severed after reloading a saved Blender file
2022-05-01 09:41:03 +10:00
Dion Moult
abcb492e5a
Fix #2174 . Don't show meaningless context dropdown when reassigning class.
2022-05-01 08:57:23 +10:00
Dion Moult
4d447c169f
Fix #2176
2022-05-01 08:50:25 +10:00
Dion Moult
b465605b63
#1153 CAD tool now provides hotkey access to offset edges command
2022-04-30 22:55:45 +10:00
Dion Moult
fb6dc45b1b
#1153 New fillet command for 2D CAD supporting both bevel and chamfer
2022-04-30 22:44:37 +10:00
Dion Moult
b2aca0ae36
#1153 New mitre command for 2D cad (like chamfer with 0 distance)
2022-04-30 18:17:39 +10:00
Dion Moult
03831d440c
#1153 New CAD workspace with hotkeys for super fast CAD operations
2022-04-30 15:50:40 +10:00
Dion Moult
ac4679a376
#1153 New CAD module with basic trim / extend tool for 2D linework
2022-04-30 11:40:19 +10:00
Dion Moult
21fee721be
#1153 Implement adding and removing schedules from a sheet
2022-04-29 13:32:34 +10:00
Dion Moult
6bcf00ef31
#1153 Reimplement ability to build SVG tables from referenced ODS documents
2022-04-28 19:57:47 +10:00
Christian Martínez de la Rosa
952d1c3b79
[IfcConvert] Added IfcWorkPlan to xml export
2022-04-28 17:54:43 +10:00
Christian Martínez de la Rosa
2d7a90bd2b
[IfcConvert] Fix crash when IfcWorkCalendar does not contain IfcWorkTime
2022-04-28 17:54:43 +10:00
Christian Martínez de la Rosa
b14de15a68
[IfcConvert] Added Output objects in the XML file
2022-04-28 17:54:43 +10:00
Christian Martínez de la Rosa
29ecba293b
[IfcConvert] Added calendars to xml output file
2022-04-28 17:54:43 +10:00
Christian Martínez de la Rosa
8396c68e75
Added task to property / quanty relationship
2022-04-28 17:54:43 +10:00
Christian Martínez de la Rosa
01c6a0d9be
[IfcConver] Changed OperatesOn hierarchy level in xml task export
2022-04-28 17:54:43 +10:00
Christian Martínez de la Rosa
99d8a225a9
Get IfcTasks from IfcWorkSchedule
2022-04-28 17:54:43 +10:00
Christian Martínez de la Rosa
89f13aa1e4
[IfcConvert] Added IsSuccessorFrom and IsPredecessorTo in xml task export
2022-04-28 17:54:43 +10:00
Christian Martínez de la Rosa
f089d03dc6
[ifcConvert] Add related objects in tasks
2022-04-28 17:54:43 +10:00
Christian Martínez de la Rosa
a4366ef151
[IfcConvert] Export tasks in the xml conversion
...
The exportion in the XML format exports in a new tag, named "tasks", all the tasks from the file with a hierarchy. Each task contains the IfcTaskTime object if it has it.
2022-04-28 17:54:43 +10:00
Dion Moult
9483abcdd5
Revert "Refactor BIM_PT_gis"
...
This reverts commit 265ebaebb8 .
2022-04-28 17:25:31 +10:00
Dion Moult
200a343746
Revert "Refactor BIM_PT_gis added files"
...
This reverts commit 445e77bac0 .
2022-04-28 17:25:31 +10:00
Dion Moult
2313fa00cc
Revert "minox fix"
...
This reverts commit dfb980e0d1 .
2022-04-28 17:25:31 +10:00
Dion Moult
99c5f895fc
Revert "Finish refactor georeference module"
...
This reverts commit fcd5908ac9 .
2022-04-28 17:25:31 +10:00
maxfb87
fcd5908ac9
Finish refactor georeference module
2022-04-28 14:34:35 +10:00
maxfb87
dfb980e0d1
minox fix
2022-04-28 14:34:35 +10:00
maxfb87
445e77bac0
Refactor BIM_PT_gis added files
2022-04-28 14:34:35 +10:00
maxfb87
265ebaebb8
Refactor BIM_PT_gis
2022-04-28 14:34:35 +10:00
Dion Moult
07fa7003fb
Minor fix
2022-04-28 14:34:18 +10:00
Ryan Schultz
3a90d664fa
added 3"=1'-0" scale (a common scale), and corrected 6"=1'-0" scale
2022-04-28 14:26:37 +10:00
Dion Moult
3f28ae18c0
#1153 You can now add / remove / open schedules, implemented as IFC documents
2022-04-28 14:16:39 +10:00
Dion Moult
9ea6499b5a
#2082 You can now filter by metadata existence in the selector syntax
2022-04-27 22:20:12 +10:00
Adrien SCHVALBERG
11c3a6e547
Fix ifcparse/Ifc____.h template
2022-04-27 14:08:05 +02:00
Adrien SCHVALBERG
e7f3856d64
Fix shared libraries exports.
2022-04-27 14:08:05 +02:00
Dion Moult
7e7d576855
Basic WIP Australian project library with some materials and walls
2022-04-27 20:45:34 +10:00
Dion Moult
cfa1428a75
Fix bug where material layer set usage axis was not consistent for non walls
2022-04-27 20:44:26 +10:00
Dion Moult
d4ee74455c
Show construction type descriptions as tooltips in BIM authoring tool
2022-04-27 20:36:32 +10:00
Dion Moult
07d2cc62c1
Fix #2163 bug where launching viewing apps could freeze Blender
2022-04-26 09:53:32 +10:00
Dion Moult
8aff4badf7
Minor housekeeping
2022-04-25 19:37:03 +10:00
Dion Moult
aa3325c010
#1153 Implement diameter annotation
2022-04-25 10:32:33 +10:00
Dion Moult
9b13cd8d5f
#1153 Dimensions can now have custom text
2022-04-25 10:02:00 +10:00
Dion Moult
0fe32c0c75
#1153 Add support for radius annotations
2022-04-25 09:54:08 +10:00
Thomas Krijnen
efc43c0fe9
#1153 merge-cells option in draw
2022-04-24 14:54:49 +02:00
Thomas Krijnen
5bfaa32c7c
#1153 add ray_distance to tree result
2022-04-24 14:51:24 +02:00
Thomas Krijnen
38e4ccdb0a
#1153 submodule
2022-04-24 14:50:53 +02:00
Dion Moult
7b71a7a866
#1153 You can now include and exclude elements from a drawing using queries
2022-04-24 22:15:14 +10:00
Dion Moult
b5ee20cb7a
#1153 New global referencing property determines whether or not a drawing is mean to be referenced from all other drawings
2022-04-24 18:39:22 +10:00
Dion Moult
cc8da4abf4
#1153 Symbol background option for text is now stored in a pset
2022-04-24 13:13:21 +10:00
Dion Moult
f2c4b20187
#1153 Experimental support for curve bounded planes for 3D annotations
2022-04-24 12:25:04 +10:00
Dion Moult
7c460bcf29
#1153 Viewport decoration now supports miscellaneous linework and fills
2022-04-24 11:12:24 +10:00
Dion Moult
31ddb0f2c5
#1153 Add support for Annotation3D representations
2022-04-24 10:00:31 +10:00
Thomas Krijnen
c2cad06cfa
Default BUILD_QTVIEWER to off for the time being
2022-04-23 15:39:03 +02:00
Dushyant Basson
421b58850c
Updated to use Qt5
2022-04-23 15:19:10 +02:00
Dushyant Basson
7c89aa1098
Enabled option to build QtViewer
2022-04-23 15:19:10 +02:00
Dushyant Basson
be7e85fc2d
Revert "Updated to use Qt5"
...
This reverts commit 06fe4abf6a .
2022-04-23 15:19:10 +02:00
Dushyant Basson
d91442de59
Revert "Enabled option to build QtViewer"
...
This reverts commit b82dddf441 .
2022-04-23 15:19:10 +02:00
Dushyant Basson
9cd3d73a23
Enabled option to build QtViewer
2022-04-23 15:19:10 +02:00
Dushyant Basson
0cf3c97eb2
Updated to use Qt5
2022-04-23 15:19:10 +02:00
Dushyant Basson
d49095844a
added output directories to .gitignore
2022-04-23 15:19:10 +02:00
Dion Moult
be65f77311
#1153 Breaklines are now pure lines separate from fill areas and orient correctly
2022-04-23 18:56:06 +10:00
Thomas Krijnen
2081dc4c08
#2156 Don't try to convert unset placements in element hierarchy parsing
2022-04-23 10:51:16 +02:00
Dion Moult
bd16345b76
#1153 Utility to convert an edge to an arc in preparation for angular dimensions
2022-04-23 17:25:39 +10:00
Dion Moult
3264f338c7
#1153 Section RLs now show storey names or custom descriptions
2022-04-23 11:10:02 +10:00
Dion Moult
0c06c67f2d
#1153 Storey level annotations are now automatically generated for sections and elevations
2022-04-22 12:41:21 +10:00
Dion Moult
a66ba6a6f9
#1153 Reimplement metadata keys so you can specify attribute-based classes in drawings
2022-04-22 10:06:28 +10:00
Massimo Fabbro
80d8665992
Insert the link to Reboot Addon
2022-04-21 11:13:32 +10:00
Dion Moult
337ce89919
Fix bug where "Not Georeferenced" showed up twice in the Georeferencing UI panel
2022-04-21 10:47:09 +10:00
Dion Moult
1237a8ce97
Improve georeferencing documentation
2022-04-21 10:41:47 +10:00
Dion Moult
c3c9ed2975
#2150 Document how to manually reconcile large coordinate ranges
2022-04-21 09:58:28 +10:00
Dion Moult
87cb1c69f4
#2150 Fix bug where cartesian point offsets didn't consider object placement rotations
2022-04-21 09:09:34 +10:00
Dion Moult
3aa7f8e4c8
#2150 Fix bug where manual offsets and autodetected offset could stack
2022-04-21 09:08:08 +10:00
Dion Moult
2c301d734b
#1153 You can now specify the ZIndex of 2D annotations
2022-04-20 16:28:10 +10:00
Thomas Krijnen
1705e6f565
Changes for mpfr toolset discussed in #1993
2022-04-19 15:33:09 +02:00
renjianqiang
2cd7b08c47
Fix the problem that build dependencies failed under Debug mode
2022-04-18 09:56:41 +02:00
renjianqiang
647a5105b5
Fix the bug that can't install python when IFCOS_INSTALL_PYTHON is true
2022-04-18 09:56:41 +02:00
Dion Moult
9fc0baf175
#1153 Add support for IfcAnnotationFillArea representation
2022-04-18 10:27:20 +10:00
Dion Moult
ca502cc293
#1153 Fix bugs with importing existing annotations
2022-04-18 10:27:20 +10:00
CyrilWaechter
f70ab060e3
Add default when getting space collection
...
A case has been encountered where space object and space collection did
not share the same name (eg. space.0011 and space.0021).
@Moult I wonder if it is expected or if there is a consistency issue
with space object/collection naming.
2022-04-17 15:10:18 +02:00
Dion Moult
6fb3c28f1a
#1153 Switching representations for annotations and drawing cameras now works
2022-04-17 18:41:19 +10:00
Dion Moult
c79eb60959
#1153 Drawings that are pure annotation now do not generate references
2022-04-17 12:29:34 +10:00
Dion Moult
538419a23f
#1153 New markers and patterns for insulation batting, steel, and wood grain
2022-04-17 12:19:20 +10:00
Dion Moult
eb19165ebc
#1153 Predefined type is now also included in CSS classes for drawings.
2022-04-16 18:32:17 +10:00
Dion Moult
1138ffee7e
#2139 Fix bug where some objects were invalidated during undo or redo
2022-04-15 19:45:59 +10:00
Dion Moult
0f3416774c
#1153 Drawing layers (underlay, linework, annotation) are now per drawing instead of global
2022-04-15 11:45:23 +10:00
Dion Moult
1ba7977587
#1153 Fix newlines in text literals and smart tags in SVGs
2022-04-14 21:08:06 +10:00
Dion Moult
5b1b8e8f50
#1153 Annotation reference and sheet IDs now implemented in SVG.
2022-04-14 15:20:09 +10:00
Dion Moult
78811d331b
#2136 Minor fix
2022-04-14 15:20:09 +10:00
Jesusbill
4aa91cfa7f
add feature to toggle wireframe visibility for linked models - no testcases
2022-04-13 18:28:48 +02:00
Dion Moult
c099a6cb75
#1153 Drawing titles now display IFC scale and identification data
2022-04-13 12:21:18 +10:00
Dion Moult
029b402d11
Minor fix
2022-04-12 18:30:03 +10:00
Dion Moult
a243cdd6c6
Minor fix
2022-04-12 18:09:45 +10:00
Dion Moult
1fae835de9
Update installation docs to distinguish between package from source and developer setups
2022-04-12 18:07:39 +10:00
Dion Moult
f0c7ff1e57
#1153 . Titleblock revision / data is are derived from IfcDocumentInformation
2022-04-12 08:29:29 +10:00
Thomas Krijnen
460fd5ca87
#2133 faceset helper: compare index vectors by address instead of value
2022-04-11 14:12:17 +02:00
Thomas Krijnen
054c0a9a27
Improve faceset logging
2022-04-11 14:08:44 +02:00
Thomas Krijnen
5af1baa48b
Update release.yml
2022-04-10 20:47:01 +02:00
Thomas Krijnen
0e5d2cc0c9
Update release.yml
2022-04-10 10:15:07 +02:00
Dion Moult
48148f00a3
#2129 Support some FreeCAD annotation types.
2022-04-09 10:22:12 +10:00
Thomas Krijnen
564c4b7644
#2126 reverse 1st operand inner wires in 2d opening subtraction
2022-04-08 10:45:28 +02:00
Bruno Postle
33c53a2c9a
regenerate site library
2022-04-08 16:49:06 +10:00
Bruno Postle
c049007ee8
add missing import
2022-04-08 16:49:06 +10:00
Bruno Postle
05345e8ddf
Add missing demo library
2022-04-08 16:49:06 +10:00
Thomas Krijnen
461b78665a
OCCT 7.6 compatibility
2022-04-04 08:29:29 +00:00
Boris Brangeon
6160d65d18
Update selector.py
...
filter_rule.children[2].children[0].lower() == 'true'
2022-03-31 20:50:26 +02:00
Thomas Krijnen
d526314190
#2115 Let --strict-tolerance govern degeneracy of periodic curve trim
2022-03-31 11:28:30 +02:00
Massimo Fabbro
85bac37bed
Fix two broken links
...
Fixed "./installation.rst" and "./running_tests.rst" links
2022-03-30 20:31:00 +11:00
Dion Moult
e38184b152
Adding a document now auto adds a reference for convenience.
2022-03-30 18:15:26 +11:00
Dion Moult
a0c8d87ad0
#1153 . You can now assign and remove drawings from sheets.
2022-03-30 18:15:11 +11:00
Dion Moult
8686462eed
#1153 . Section markers are now supported in SVG.
2022-03-29 20:44:20 +11:00
Dion Moult
6cd4a2d78b
#1153 . Add support for elevation symbols in generated SVGs.
2022-03-29 20:30:10 +11:00
Dion Moult
2c6cb2fbb2
#1153 . Section references are now auto generated when activating a drawing.
2022-03-29 17:04:50 +11:00
Dion Moult
a60dfd8dd5
#1153 . Elevation references are now auto generated when activating drawings.
2022-03-29 10:01:41 +11:00
Dion Moult
1b1fd1e6c5
#2048 . Minor fix.
2022-03-28 12:52:29 +11:00
Dion Moult
1e60f23880
#2081 . Bump IfcOpenShell build.
2022-03-28 11:58:38 +11:00
Dion Moult
eb7babb1b0
#2053 . Minor fix. Enable strict tolerance everywhere.
2022-03-27 19:05:05 +11:00
Dion Moult
5797937825
#1951 . Fix bug where opening standard cases couldn't be added as voids.
2022-03-27 18:21:22 +11:00
Dion Moult
28336140ca
#2048 . Blender materials, IFC materials and IFC presentation style names are now bi-directional.
2022-03-27 14:43:05 +11:00
Dion Moult
ca03a88601
#2104 . Support for adding conversion based units to the project.
2022-03-27 10:39:01 +11:00
Thomas Krijnen
0303d217bf
#2105 Fix fillets
2022-03-26 13:50:36 +01:00
Dion Moult
4184f2bf46
#2094 . Removing styles now also purges Blender material object if possible.
2022-03-26 21:17:52 +11:00
Dion Moult
3b0429ace9
#2106 . Fix bug where geometry cache was not cleared when openings were changed
2022-03-26 20:38:30 +11:00
Dion Moult
baf75f552e
New barebones presentation style manager to see the styles in your project.
2022-03-26 18:15:30 +11:00
Dion Moult
4ea0c73081
Fix bug where we now accommodate invalid durations in the scheduling tree
2022-03-25 19:37:52 +11:00
Dion Moult
33852be3f1
Fix bug where lag times couldn't be edited
2022-03-25 19:37:09 +11:00
Dion Moult
48d476c2b3
Gantt charts now show ISO durations and task captions
2022-03-25 16:09:22 +11:00
Dion Moult
9db07883b7
Scheduling calculations no longer calculate from midnight and now handle a single 9-5 day as a duration of 1 day, as per industry standard practice.
2022-03-25 16:09:22 +11:00
Dion Moult
7af53c543d
Fix bug with schedule calculation on zero duration tasks
2022-03-25 16:09:22 +11:00
Dion Moult
e7f6ed73ac
Fix bug where recalculating a schedule with no time data would fail
2022-03-25 16:09:22 +11:00
Dion Moult
8afa1a4f7d
Fix bug where counting working days on a task without a calendar would fail
2022-03-25 16:09:22 +11:00
Dion Moult
1dd85f6c48
Fix bug where removing a rooted or calendar constrained task would purge all calendar assignments
2022-03-25 16:09:22 +11:00
dependabot[bot]
8bd826fb20
Bump numpy in /src/ifcopenshell-python/ifcopenshell
...
Bumps [numpy](https://github.com/numpy/numpy ) from 1.20.3 to 1.21.0.
- [Release notes](https://github.com/numpy/numpy/releases )
- [Changelog](https://github.com/numpy/numpy/blob/main/doc/HOWTO_RELEASE.rst.txt )
- [Commits](https://github.com/numpy/numpy/compare/v1.20.3...v1.21.0 )
---
updated-dependencies:
- dependency-name: numpy
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-24 10:02:23 +01:00
dependabot[bot]
cbc6eefca7
Bump lxml from 4.6.3 to 4.6.5 in /src/ifcopenshell-python/ifcopenshell
...
Bumps [lxml](https://github.com/lxml/lxml ) from 4.6.3 to 4.6.5.
- [Release notes](https://github.com/lxml/lxml/releases )
- [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt )
- [Commits](https://github.com/lxml/lxml/compare/lxml-4.6.3...lxml-4.6.5 )
---
updated-dependencies:
- dependency-name: lxml
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-24 10:01:13 +01:00
Boris Brangeon
4f86dd143a
Update selector.py ( #2102 )
...
Add BOOLEAN: "TRUE" | "FALSE" | "true" | "false"| "True" | "False"
2022-03-24 11:02:58 +11:00
Dion Moult
c45c73c563
#2078 . Fix bug where flat materials didn't import correctly.
2022-03-23 20:19:19 +11:00
Dion Moult
38f1c622ac
Allow case insensitive IFC file extensions when exporting
2022-03-23 11:54:54 +11:00
Thomas Krijnen
38170db32a
#2080 Don't allow parameterless Kernel constructor
2022-03-22 22:30:27 +01:00
Dion Moult
43d0c098a0
#2089 . Fix and simplify OffsetObjectPlacement recipe for multiple absolute placements.
2022-03-22 17:27:38 +11:00
Dion Moult
533111a1fb
#2099 . Materials are now sorted alphabetically.
2022-03-22 14:30:45 +11:00
Dion Moult
0bba31e5f9
You can now select elements by material in the material manager.
2022-03-22 13:25:26 +11:00
Dion Moult
9b9f0058f9
The material manager now shows total elements used by a material
2022-03-22 12:50:10 +11:00
Dion Moult
0c8273eb70
Minor fix
2022-03-22 11:47:37 +11:00
Dion Moult
c072554f21
You can now use the selector with a prefiltered list of elements
2022-03-22 11:32:40 +11:00
Dion Moult
18c9a57bea
Using the selector now supports recursive decomposition in the spatial hierarchy
2022-03-22 11:23:13 +11:00
Dion Moult
eaa3301b8f
New support for filtering elements by checking values against an enumeration
2022-03-22 10:49:48 +11:00
Dion Moult
efb89acfa3
You can now use a "not" operator when selecting elements
2022-03-22 10:40:05 +11:00
Dion Moult
96256d365a
Fix bug where you couldn't compare less than or equal to with the selector.
2022-03-22 10:39:10 +11:00
Dion Moult
fa6ec25a39
#2082 . You can now use the selector to filter by strict data types.
2022-03-21 18:03:25 +11:00
Dion Moult
44afa0df5d
Selector now uses classmethods to make it easier for scriptwriters to use
2022-03-21 17:28:16 +11:00
Dion Moult
c478e5bf1b
#2094 . Deleting materials now also deletes Blender material if not used for a style
2022-03-21 12:04:51 +11:00
Dion Moult
ea530858bd
You can now remove material sets independent of elements
2022-03-21 12:03:15 +11:00
Dion Moult
0b4cfea3a9
Removing a material now also removes material properties
2022-03-21 10:50:19 +11:00
Dion Moult
e909f25432
Removing a property set now also removes properties
2022-03-21 10:22:31 +11:00
Thomas Krijnen
2985bba157
#650 Unsure about 1b5c20e14f
2022-03-19 20:18:12 +00:00
Thomas Krijnen
a1ba61636d
HDF5 debug postfix
2022-03-19 19:32:42 +00:00
Thomas Krijnen
1b5c20e14f
#650 fclose()
2022-03-19 14:45:19 +01:00
Dion Moult
a43fae68b6
#2094 . You can now add material sets independently of IFC objects in the material manager
2022-03-19 22:13:07 +11:00
Dion Moult
fdd03d7294
#2094 . Removing materials now removes material definitions too for styles
2022-03-19 22:13:07 +11:00
Thomas Krijnen
2049bdd976
todo note
2022-03-19 11:36:38 +01:00
Thomas Krijnen
d45a439f6c
todo note
2022-03-19 11:36:30 +01:00
Thomas Krijnen
8fa5873e7e
#2095 take into account face-face distance on operand a
2022-03-19 10:49:51 +01:00
Dion Moult
3fa8fce994
Fix bug where gizmo still shown after deleting objects
2022-03-19 17:27:45 +11:00
Dion Moult
b8aa90de00
#2094 . New rudimentary project materials browser to manage materials.
2022-03-18 17:24:59 +11:00
Dion Moult
dcc1ed5607
#1153 . References to grids in drawings are now auto synchronised when activating a drawing view.
2022-03-18 16:00:49 +11:00
Dion Moult
2bfff12988
#1153 . Drawing names are now generated based on their location and show an icon based on the drawing type.
2022-03-18 15:49:56 +11:00
Dion Moult
074a55b816
Fix bug where delete confirmation was not consistent with vanilla Blender
2022-03-17 14:10:51 +11:00
Dion Moult
a53fd97e5a
Fix #2092 . Fix bug where door and window styles were excluded from authoring options.
2022-03-17 09:49:55 +11:00
Dion Moult
b39a0d1a7c
#2053 . Revert strict tolerance due to side-effects with caching
2022-03-16 19:11:37 +11:00
Dion Moult
44b786a21b
Ensure that exported 4D schedules use a .xml extension
2022-03-16 19:11:13 +11:00
Dion Moult
bddc64cad3
Fix #2049 . Allow relative paths for IFC links.
2022-03-16 10:55:36 +11:00
Dion Moult
3713ec00f9
#2049 . You can now edit linked project paths when unloaded. Thanks brunoperdigao!
2022-03-16 10:46:42 +11:00
Dion Moult
b5a58998d5
Fix #2083 . hpp-fcl now has support for Python 3.10.
2022-03-16 09:58:52 +11:00
Dion Moult
ca3b4d17ba
Fix #2055 . Disable IfcContext in IFC2X3 because it didn't exist.
2022-03-16 09:37:20 +11:00
Dion Moult
983a1530b8
#2053 . Potentially fix geometry issues with importing small objects.
2022-03-16 09:09:43 +11:00
Dion Moult
74e18a56ce
Fall back to information data if reference data is null for associated documents.
2022-03-15 19:54:04 +11:00
Cyril Waechter
05834d071f
Handle empty ConnectionGeometry + refactor ( #2085 )
2022-03-15 19:34:37 +11:00
Dion Moult
8f70f462cc
You can now easily open associated documents with support for inherited locations
2022-03-15 19:32:29 +11:00
Dion Moult
456f45b346
You can now use relative paths when browsing for file URIs.
2022-03-15 18:58:51 +11:00
Dion Moult
53a9175802
You can now browse to select files for any URI reference attributes
2022-03-15 18:05:44 +11:00
Dion Moult
379d6d9392
Minor fix
2022-03-15 16:53:31 +11:00
Dion Moult
38b708ff1f
Redesigned document UI to handle hierarchical documents and make it easier to reference
2022-03-15 14:49:20 +11:00
Dion Moult
233e73f9f6
Removing documents now removes all subdocuments recursively and references
2022-03-15 14:45:18 +11:00
Dion Moult
db85aa90d3
You can now add document references that are part of a document information
2022-03-15 14:43:24 +11:00
Dion Moult
6fb1e34ab4
You can now add IFC subdocuments or supersede documents
2022-03-15 14:41:47 +11:00
Dion Moult
9cc683ea6e
Fix bug where ownership history was not tracked on document association.
2022-03-14 20:39:39 +11:00
Dion Moult
e343494ab4
Document information is now always assigned to the project by default.
2022-03-14 20:39:11 +11:00
Dion Moult
bc9e403a58
#2088 . Minor fix. Sorry more stuff I forgot to commit.
2022-03-14 20:07:51 +11:00
Thomas Krijnen
8ffd9dc1f9
#2086 surface_area and volume
2022-03-14 09:54:28 +01:00
Dion Moult
57f6c07240
Minor fix
2022-03-14 18:40:54 +11:00
Dion Moult
f518bbfb00
Minor fix
2022-03-14 16:48:44 +11:00
Dion Moult
0f34420834
Fix missing pkg_resources brickschema dependency
2022-03-14 16:43:27 +11:00
Dion Moult
3ef6077a0d
Create build for Blender 3.1 Python 3.10
2022-03-14 16:43:10 +11:00
Gorgious56
3c26cb672b
Compute wall net quantities ( #2086 )
...
* Compute wall net quantities
* Remove opening check clause
2022-03-14 12:48:50 +11:00
Dion Moult
673f757a51
Fix bug where adding document references didn't work.
2022-03-09 22:14:59 +11:00
Dion Moult
578ab140cc
Create section and elevation contexts on new projects. See #1153 .
2022-03-09 21:44:26 +11:00
Thomas Krijnen
96902bf38a
Safeguard against runtime error when invoking HLR without storey containment
2022-02-27 20:57:05 +01:00
Thomas Krijnen
b5133c6874
Add caching option in iterate() helper
2022-02-27 12:56:16 +01:00
Thomas Krijnen
5dfe85691b
#1153 Exclude walls and slabs in profile edges hack
2022-02-27 12:55:39 +01:00
Thomas Krijnen
3b7bf8844a
Update default SVG CSS for projections
2022-02-27 12:55:11 +01:00
ArturTomczak
8038b77504
typo
2022-02-26 21:56:02 +01:00
ArturTomczak
b64601ee0a
Update subrepo with sample files
2022-02-26 21:56:02 +01:00
ArturTomczak
320bb7a086
Update to IDS 0.5.8
2022-02-26 21:56:02 +01:00
ArturTomczak
ad135f70f1
encoding clean up
...
the use of binary access to file was not intentional, switched to @aothms proposal.
2022-02-26 21:56:02 +01:00
ArturTomczak
15b24d8ba4
validation tests
2022-02-26 21:56:02 +01:00
ArturTomczak
3c2b25d923
fix recurrsion
2022-02-26 21:56:02 +01:00
ArturTomczak
3282d75aa5
fix encoding bcf bug, add tests
2022-02-26 21:56:02 +01:00
ArturTomczak
72fc617196
internalise tests #1711
...
moved test files to submodule to avoid URL requests. Had to turn off (comment) two tests as they were not working but will fix them with new schema update.
2022-02-26 21:56:02 +01:00
ArturTomczak
47cad88c38
add IDS requirements #1727
2022-02-26 21:56:02 +01:00
Thomas Krijnen
e81dd9c7df
Option to yield progress from iterate() and consume_iterator()
2022-02-26 14:57:21 +01:00
Thomas Krijnen
d16f92a445
Option to set log format from python
2022-02-26 14:53:09 +01:00
Thomas Krijnen
8be79f9aee
Add XML and glTF serializers to python
2022-02-26 14:52:58 +01:00
Dion Moult
ccc6f2c4c6
Fix bug in date calculations when editing task times without sufficient data
2022-02-23 13:08:52 +11:00
Dion Moult
deb0597000
Fix infinite loops: accommodate invalid calendars with no working times in sequence utility
2022-02-23 13:04:29 +11:00
Dion Moult
348373d47e
Fix bug with editing task start times without finishes
2022-02-23 12:28:34 +11:00
Dion Moult
9e22e9486a
You can now export Microsoft Project XMLs from Blender
2022-02-21 19:57:00 +11:00
Dion Moult
3cf9017f27
New IFC2MSP conversion tool in IFC4D to convert IFC to Microsoft Project
2022-02-21 19:56:06 +11:00
Dion Moult
21479482b4
Fix bug where MS project durations expressed in hours were not parsed correctly
2022-02-21 19:55:32 +11:00
Dion Moult
97c660fec8
Fix bug with incorrect MS Project XML working day imports
2022-02-21 19:55:08 +11:00
Dion Moult
32af2025ec
Fix bug with incorrect MS Project XML sequence type import
2022-02-21 19:54:45 +11:00
Dion Moult
ffc82dfb1e
Fix bug where timeline date didn't update during animations
2022-02-21 19:52:17 +11:00
Dion Moult
2a69af43f6
Calendars are now assigned when importing Microsoft Project XML to IFC
2022-02-21 15:24:03 +11:00
Dion Moult
5c9984a12a
Fix bug with broken MS Project to IFC conversion
2022-02-21 13:51:26 +11:00
Dion Moult
c938d6ae9b
Very minimal implementation of generating parametric duct segments from duct size properties
2022-02-18 19:21:35 +11:00
Dion Moult
63d65f0c39
Fix #2046 . Fix crash if style was updated from an already loaded IFC dataset
2022-02-18 18:44:25 +11:00
Dion Moult
472a66b7ed
Fix bug where element types couldn't get psets applied to them due to lack of specificity in IFC templates
2022-02-18 17:11:24 +11:00
Dion Moult
ddaed9e93d
Fix bug where psets were unable to be applied for specific predefined types
2022-02-18 17:10:38 +11:00
Dion Moult
4d6eba0a06
Fix #2045 . Fix bug where IFC2X3 occurrences not correctly autodetected from types.
2022-02-18 10:06:13 +11:00
ssg
ed09b7ba31
Fixed failure for VS2017
...
Script was trying to pick up vs19 instead of vs15 even for builds on vs15, fixed that by adding a check for vs15.
2022-02-12 08:13:16 +01:00
Thomas Krijnen
2c2954b11a
#2036 check for null curve in IfcIndexedPolyCurve
2022-02-10 14:04:08 +01:00
Thomas Krijnen
5317746a82
#2037 Rerun codegen
2022-02-10 13:06:32 +01:00
Thomas Krijnen
5af7e95bee
#2037 Option to optain declaration from early bound select definitions
2022-02-10 13:06:04 +01:00
Thomas Krijnen
618d902a57
#2037 throw on invalid cast in schema code
2022-02-10 13:05:33 +01:00
Thomas Krijnen
68baa416fa
#2037 option to throw on invalid cast
2022-02-10 13:05:05 +01:00
Dion Moult
7f212963d5
The storey is now the default container when starting a project for convenience.
2022-02-10 11:40:38 +11:00
Dion Moult
d3a43c6e81
Be more forgiving to invalid Revit IFCs when importing.
2022-02-10 11:06:23 +11:00
Dion Moult
a44a13f04c
Implement loading glTF style textures from IFC.
2022-02-09 16:40:23 +11:00
Dion Moult
126ba8d88f
Fix #2032 . Fix bug where certain elements could not be extracted or appended.
2022-02-09 15:16:22 +11:00
Dion Moult
caf04200ce
Experimental optimisation attempt for native faceted brep handling by aothms. See #841 .
2022-02-09 14:36:14 +11:00
Dion Moult
05f3cd41e2
glTF rendering styles for unlit and PBR materials are now supported when loading IFCs
2022-02-09 14:26:39 +11:00
Dion Moult
80bc4cdb1b
Fix #2028 . OffsetObjectPlacements can now rotate then move, or vice versa. Warning: new default! Thanks hvn74!
2022-02-09 12:17:07 +11:00
Dion Moult
dd7a47ab99
Texture support is now compatible with glTF texture maps
2022-02-09 11:34:59 +11:00
Dion Moult
4eaf0e7a9c
Fix bug where you couldn't downgrade or upgrade between shading and rendering styles
2022-02-09 11:31:09 +11:00
Dion Moult
3db252bcc0
Minor fix
2022-02-08 15:50:55 +11:00
Dion Moult
d03685abfa
UV coordinates for triangulated face sets are now saved in IFC.
2022-02-08 15:32:03 +11:00
Dion Moult
3e4b1d95cb
Standalone section shader add-on for those who don't need the full BlenderBIM add-on features
2022-02-06 20:27:44 +11:00
Dion Moult
b151ec2b0e
Fix bug where false geolocation offsets did not take into account rotation.
2022-02-06 20:04:53 +11:00
Thomas Krijnen
f909adc2dc
Update README.md
2022-02-05 09:57:56 +01:00
Dion Moult
913a428794
Fix #2017 . Fix P6 import bug where older P6 XER versions <8.1 did not store hours per day.
2022-02-05 17:44:59 +11:00
Dion Moult
fe6d9ae926
Triangulated face set geometry exports are now supported.
2022-02-05 11:33:14 +11:00
Thomas Krijnen
4a679812ca
#2018 prevent select types to be serialized as booleans
2022-02-04 13:54:07 +01:00
Dion Moult
6be87c035f
Annotations are now auto collected correctly and simpler drawings UI. See #1153 .
2022-02-04 19:21:24 +11:00
Dion Moult
6ce8a3621a
You can now manage IFC actors in Blender.
2022-02-04 18:21:53 +11:00
Dion Moult
60ea856e51
New functions for IFC actor in API
2022-02-04 17:56:45 +11:00
Dion Moult
419502ddb7
Disable adding a grid before a project exists.
2022-02-04 16:23:04 +11:00
Dion Moult
9f530d0578
Updating drawing names now updates it in IFC too. See #1153 .
2022-02-04 15:04:30 +11:00
Dion Moult
524483e9cc
Target view is now read from IFC. See #1153 .
2022-02-04 12:04:20 +11:00
Dion Moult
7116a9f71a
Removing drawings now roundtrips in IFC. See #1153 .
2022-02-04 10:54:18 +11:00
Dion Moult
868ced2990
See #2017 . Fix bug in P6 importer where nonlabor types were not considered.
2022-02-04 09:10:55 +11:00
Dion Moult
6a8292d24c
Fix #890 . New N/S/E/W location presets for creating sections, elevations, and RCPs. See #1153 .
2022-02-04 08:14:36 +11:00
Dion Moult
fca4d9dea0
New save and save as buttons in project panel with last saved date.
2022-02-03 21:29:44 +11:00
Dion Moult
89d5c44855
You can now create new projects starting from a template.
2022-02-03 18:25:03 +11:00
Dion Moult
3e99393895
You can now add plan views based on a building storey. See #890 .
2022-02-03 17:28:19 +11:00
Gorgious56
098ab2c237
Spatial Elements Utilities and QOL ( #2008 )
...
* Tool to add storey to specific building
* Operator to add new storey to building
* Add new storey to building button in aggregates panel
* Minor fix
* add method to data class to retrieve ifc class name
* Extract aggregate creation logic
* Prevent aggregating non-ifc elements + display popup info
* Add tooltips + rename operators
* Rename function to get relating object
* Rename relating object data variable to be able to have access to related objects
* Add utilities to get related objects
* Add utility function to get related objects from element
* display related object in Aggregates panel in object properties
* Revert "Rename function to get relating object"
This reverts commit 5248627a41 .
* Update method names
* Add Operator to select parts of an element
* Ditch box layout and only display number of parts
* Add operator to select aggregate of an element
* Display operator to select aggregate of element
* Move logic to aggregate module
* Add utility methods to Blender tool
* Add buttons to create Ifcsite and IfcBuilding from object panel
2022-02-03 07:16:43 +01:00
Dion Moult
94ff8349d3
You can now connect, disconnect, and set flow directions of distribution ports in Blender.
2022-02-03 12:05:05 +11:00
Henri J. Norden
d333cb1b78
Cleanup changes
2022-02-02 14:20:46 +01:00
Henri J. Norden
3f4c4a8e52
Hoist compiling mpir & mpfr before HDF5, since they are more likely to fail and HDF5 takes way too long
2022-02-02 14:20:46 +01:00
Henri J. Norden
b103e0dde5
Fix build-deps.cmd for VS2019
2022-02-02 14:20:46 +01:00
Dion Moult
883b8a523c
Material node trees compliant with basic X3D multitextures are now stored in IFC
2022-02-02 17:51:40 +11:00
Dion Moult
8c0b06b36e
Different BSDFs are now recognised for different reflectance methods.
2022-02-02 17:50:38 +11:00
Dion Moult
72397f3aff
Saving surface specular roughness values to IFC is now supported.
2022-02-02 15:09:37 +11:00
Dion Moult
77821caae4
Adding surface styles now respect mutually exclusive style types
2022-02-02 15:04:19 +11:00
Dion Moult
10138e28c9
You can now add ports to distribution elements in Blender.
2022-02-01 19:16:31 +11:00
Gorgious
f9ce0903f7
Fix #2010 : Authoring data class throws error in BIM tool if no ifc file is selected
2022-02-01 09:12:42 +01:00
Dion Moult
a2c0045a40
Support relative object placements for IFC2X3 ports.
2022-02-01 18:23:55 +11:00
Dion Moult
3e10f52965
Relative placements for nested elements are now supported.
2022-02-01 17:39:55 +11:00
Dion Moult
fd8aa6d142
IfcOpenShell API now supports port connections and disconnections.
2022-02-01 16:51:42 +11:00
Dion Moult
ddb38b2ea0
The IfcOpenShell API now supports adding a distribution port.
2022-01-31 18:28:31 +11:00
Dion Moult
74174b1e09
Fix bug where drawing objects could be added to the wrong context.
2022-01-30 15:09:54 +11:00
Dion Moult
96179db7ad
IFC element names no longer treat the Blender name suffix as significant
2022-01-30 15:08:32 +11:00
Dion Moult
116252f857
Object names now guard against duplicate IFC prefixes when assigning.
2022-01-30 15:06:01 +11:00
Dion Moult
538024e035
All element's spatial containment collections are now synced when assigning a class.
2022-01-30 15:04:50 +11:00
Dion Moult
e9670a6906
Fix bug where editing then switching to the current representation crashes.
2022-01-30 14:47:22 +11:00
Dion Moult
c7428dd160
Fix bug where syncing an object removed from the collection tree breaks.
2022-01-30 14:44:21 +11:00
Dion Moult
bf9d46b506
Structural items in the collection hierarchy are now auto synced.
2022-01-30 10:11:19 +11:00
Dion Moult
7ee589cfc2
Remove legacy unassign class feature in favour of just deleting objects. Thanks theoryshaw!
2022-01-30 08:56:43 +11:00
Dion Moult
3083b66f61
Fix #2012 . Minor fix.
2022-01-30 08:49:46 +11:00
Dion Moult
074fe0d3a6
You can now specify a target view when creating a new drawing. See #1153 .
2022-01-29 21:11:35 +11:00
Dion Moult
46e1a46dd2
Drawing collection hierarchy is now auto fixed if shuffled around manually. See #1153 .
2022-01-29 21:11:35 +11:00
Thomas Krijnen
677a9d715c
#2009
2022-01-29 09:43:33 +01:00
Dion Moult
a210cf654e
Drawings list now reads data from IFC, not Blender. See #1153 .
2022-01-29 17:26:09 +11:00
Dion Moult
44e4ee70ae
Removing sheets now works in IFC. See #1153 .
2022-01-29 15:45:45 +11:00
Dion Moult
27e6d702e9
You can now create drawing sheets in IFC. See #1153 .
2022-01-29 13:42:46 +11:00
Dion Moult
fb76f985c7
Minor fix
2022-01-29 09:01:35 +11:00
Dion Moult
9279aeccf6
You can now show and hide distribution ports of an element.
2022-01-29 08:52:37 +11:00
Dion Moult
92a1739d93
Minor fix - sorry, really need a local Sphinx setup
2022-01-28 20:41:20 +11:00
Dion Moult
dfba9827a6
Minor fix
2022-01-28 20:37:18 +11:00
Dion Moult
19e007a67c
New diagrams on the developer guide.
2022-01-28 20:32:41 +11:00
Dion Moult
d3ef3f1501
Finish building minimum viable product of the IFC2P6 converter. Thanks myoualid!
2022-01-28 18:14:16 +11:00
Dion Moult
f2e9f76631
Minor tweaks. See #2006 .
2022-01-28 10:48:22 +11:00
Dion Moult
52739418d8
Fix #1514 . You can now customise the default names of occurrences create from a type.
2022-01-27 17:21:11 +11:00
Dion Moult
7f1fddf426
New software architecture section in the developer guide.
2022-01-27 09:32:24 +11:00
Dion Moult
ee4f48b566
Minor fix
2022-01-26 21:35:27 +11:00
Dion Moult
1d47ad3cd4
New demo module to teach developers how to hack on the BlenderBIM Add-on.
2022-01-26 21:27:59 +11:00
Dion Moult
36a7985f5a
Fix #2002 . Fix bug where sometimes shape IDs wouldn't be pure integers.
2022-01-25 08:59:01 +01:00
Dion Moult
e129f4afa9
Fix #2001 . Fix bug where you could not undo deletions.
2022-01-25 17:27:42 +11:00
Dion Moult
8fd4351195
Minor fix. Don't know all the answers.
2022-01-25 16:50:36 +11:00
Dion Moult
01f25528e8
Build untested IFC to P6 XML export feature.
2022-01-25 16:44:37 +11:00
Dion Moult
3222c9ce99
Fix #1998 . Fix bug where colours don't show if styling is applied to the mapped item instead of the actual representation item.
2022-01-25 13:40:52 +11:00
Gorgious
28e6bb9e3d
Fix error when updating representation on object data with no BIMMeshProperties
2022-01-24 13:22:17 +01:00
Dion Moult
5884af0678
Updates to space boundary geometry now auto updates on export.
2022-01-24 21:52:51 +11:00
Dion Moult
f88a1038a8
IfcCSV now loads the selector by default so its much more fun to use a lib.
2022-01-24 17:52:32 +11:00
Dion Moult
cafe8ce5f2
You can now remove bricks from a Brickschema model.
2022-01-24 17:52:04 +11:00
Dion Moult
8569bcf350
New utility function for getting ports of an element
2022-01-24 16:16:08 +11:00
Dion Moult
e38759c39d
Implement assign and unassign ports in IfcOpenShell API
2022-01-24 16:13:55 +11:00
Dion Moult
50ed8eccfd
Fix bug where you couldn't select properties with a dot in the name for IfcCSV
2022-01-24 11:07:01 +11:00
Gorgious56
d63d62ddd6
Improve section cutaway shader ( #2000 )
...
* Dynamically update section shader backface color
* Refactor add_section_plane operator
* Prevent error if last section has been removed
* Refactor section plane remover
No longer removes object if it is not a section plane
Offsets nodes so that they are always nice and ordered
* Fix shader glitch when user deletes last cutaway object
* Fix nodes offset when deleting cutaway object
2022-01-24 09:47:22 +11:00
Dion Moult
0bdb4b9fcf
Smart annotation variables for drawings now reimplemented. See #1153 .
2022-01-22 21:00:26 +11:00
aothms
7e7c54a535
#1993 vs2022 hdf5
2022-01-21 12:13:58 +00:00
Dion Moult
817fdead9b
Fix bug where zero durations were not allowed in task times.
2022-01-21 18:52:40 +11:00
Dion Moult
68a43b92ee
Editing task times no longer tries to be clever with actual dates because you know what you're doing.
2022-01-21 18:42:59 +11:00
Dion Moult
595c72e08d
Fix #1995 . Bug where section cutaways didn't work in Blender 3.0.
2022-01-21 14:22:07 +11:00
Dion Moult
5709efbdcb
Fix bug where you could not add properties to projects themselves.
2022-01-21 12:01:19 +11:00
Dion Moult
67952ed159
Fix #1576 . Managing IfcSystem subtypes is now possible.
2022-01-20 18:22:20 +11:00
Thomas Krijnen
000e3acb2b
#1948 clear tmp list
2022-01-19 15:36:58 +01:00
Thomas Krijnen
b337d5a174
#1993 msvc 2022 config
2022-01-19 14:14:15 +01:00
Dion Moult
6b0bdc564d
Nicer looking gantt charts and make it easier to print to PDF.
2022-01-19 17:38:42 +11:00
Dion Moult
ab5db2fa23
Minor fix
2022-01-19 12:19:36 +11:00
Dion Moult
810c71dfa2
IfcOpenShell-python licensing and black. See #1082 .
2022-01-19 12:18:33 +11:00
Dion Moult
5b281260f8
Licensing and black for BIMTester and IfcBlender. See #1082 .
2022-01-19 11:07:43 +11:00
Dion Moult
07264dafb1
Bump IfcOpenShell to latest bot build. See #1984 #1977 #1959
2022-01-18 18:01:27 +11:00
Dion Moult
9572fef222
Fix #1908 . Extracting elements using IfcPatch now includes all properties.
2022-01-18 17:47:59 +11:00
Dion Moult
1bbbc82b72
Fix #1962 . You can now easily append product assets using the API.
2022-01-18 17:44:50 +11:00
Dion Moult
aa6d03ade2
You can now reset and restore your API owner settings.
2022-01-18 17:42:17 +11:00
Thomas Krijnen
4c40fc1629
#1985 consolidate and correct shell count checks in tree
2022-01-17 13:56:21 +01:00
Thomas Krijnen
90e5b5576d
Fix propagation of kernel settings (affects multi threading)
2022-01-17 13:55:40 +01:00
Thomas Krijnen
531805fefb
#1692 get_info_2() logical
2022-01-17 11:19:30 +01:00
Dion Moult
2852f53afa
Fix #1934 . Fix bug with improper nesting of subfolders when exporting IfcZip.
2022-01-17 20:30:02 +11:00
Dion Moult
8b06aa9e0b
Header data previews for IFCZIP are now supported as well.
2022-01-17 18:21:20 +11:00
Dion Moult
52ea69bcec
Fix #1954 . Fix bug where importing MSProject XMLs with no project names failed.
2022-01-17 17:37:09 +11:00
Dion Moult
9ebe0aaa95
Fix #1956 . One-button upgrade from IFC2X3 to IFC4.
2022-01-17 16:20:01 +11:00
Dion Moult
1a735c4bef
Minor improvement to the sequence UI to always allow you to cancel editing mode.
2022-01-17 15:11:48 +11:00
Thomas Krijnen
482788a46f
Update build-all.py
2022-01-16 13:59:19 +01:00
Thomas Krijnen
a30a8cd920
Missing job dependency in bbim ci
2022-01-16 13:43:14 +01:00
Thomas Krijnen
c2e7c27421
ADD_COMMIT_SHA in build scripts
2022-01-16 13:16:44 +01:00
Thomas Krijnen
2f24343f8f
Update and rename README.txt to README.md
2022-01-14 11:14:42 +01:00
Dion Moult
d259e0f490
Fix IfcCSV import bug.
2022-01-14 20:25:35 +11:00
Dion Moult
c09ed228c0
Whoops.
2022-01-14 19:06:17 +11:00
Dion Moult
d63be20c8b
Fix #1989 . Fix bug where you couldn't export to IfcJSON, since it couldn't be imported again.
2022-01-14 18:55:44 +11:00
Dion Moult
f8c7f48674
You can now associate annotations with objects for smart annotations in IFC. See #1153 .
2022-01-14 18:00:08 +11:00
Dion Moult
258ca7fb8c
Fix bug where you could assign a product twice to a process.
2022-01-14 16:04:55 +11:00
Dion Moult
ec38fe2edc
Fix #1931 . Fix bug where duplicated type products should not share material associations.
2022-01-14 13:15:47 +11:00
Dion Moult
5a87ab8171
Minor cleanup to Brick code after failed attempt to detect feed relationships.
2022-01-14 11:47:58 +11:00
Dion Moult
d23d382854
Minor fix to BIMTester IDS support. Disable IDS test due to unstable nature of IDS.
2022-01-14 11:46:15 +11:00
Dion Moult
30270db0c3
Fix bug where annotation decorations didn't show correctly in Blender 3.0
2022-01-14 10:54:27 +11:00
Vukas Pajic
6d78ac4918
adjusted UI based on feedback received ( #1986 )
...
* adjusted UI based on feedback received
* typo
2022-01-14 10:09:51 +11:00
Benjamin Dahl
81016f3110
define the vector sass [0] as a std::vector<std::unique_ptr<ShapeAnalysis_Surface>>
...
https: //github.com/IfcOpenShell/IfcOpenShell/issues/1975
Co-Authored-By: Dion Moult <dion@thinkmoult.com >
Co-Authored-By: Thomas Krijnen <1096535+aothms@users.noreply.github.com >
2022-01-13 13:38:51 +01:00
Dion Moult
189e566740
Remove broken and obsolete Blender clasher which is incompatible with the geom.tree broadphase approach.
2022-01-13 17:05:44 +11:00
Thomas Krijnen
5f7e4793c2
#1960 correct distinguish outer bound by pre increment
2022-01-12 15:14:18 +01:00
Thomas Krijnen
be286c4d9d
#1974 populate attribute map upon schema registration
2022-01-12 15:09:22 +01:00
Dion Moult
5ba542488a
Implement adding plain bricks not based on IFC
2022-01-12 16:22:32 +11:00
Dion Moult
39960998de
Support type-based class checking for converting IFC2X3 models to Brickschema
2022-01-12 15:39:43 +11:00
Dion Moult
92642e6a6a
The IFC Class panel now shows inherited predefined types
2022-01-12 14:29:02 +11:00
Dion Moult
78d33437ea
New utility to get predefined type
2022-01-12 14:11:31 +11:00
Gorgious56
65b3960ab3
Show ifc specs in file selector ( #1980 )
...
* Create simple parser for ifc header specs
* Refactor logic to be usable with other file selectors
* Fix parsing error
2022-01-12 10:01:49 +11:00
Vukas Pajic
e81848dfba
UI Simplification with Panel Groups ( #1979 )
...
* concept demo
* small naming change + added missing ui classes
* added newline to end of file
2022-01-11 20:03:29 +11:00
Dion Moult
fe9cda8ba1
Fix #1925 . Fix bug where nested collection deletions were not synchronised properly.
2022-01-11 15:45:29 +11:00
Dion Moult
49221739cf
Implement auto and manual refresh of the Brick model navigator
2022-01-11 14:46:58 +11:00
Dion Moult
c6966f9b39
You can now create a new blank Brick project
2022-01-11 13:25:03 +11:00
Dion Moult
f08ed629b5
New debug feature to purge HDF5 cache in case the cache is corrupted.
2022-01-11 11:24:13 +11:00
Dion Moult
ba675c0d28
Implement human readable rdfs labels in Brickschema navigator
2022-01-11 10:44:52 +11:00
Gorgious56
3a80722621
Display IFC schema in file selector right hand side panel ( #1978 )
...
* Display IFC schema in file selector right hand side panel
* Formatting
* Fix possible error when the file name or description contains the word "schema"
2022-01-11 08:52:14 +11:00
Dion Moult
9b77bb6e37
New utility to get IFC all elements that are relevant in Brickschema
2022-01-10 17:31:42 +11:00
Dion Moult
7a6df49348
Basic implementation to bulk convert relevant IFC classes to a Brick model
2022-01-10 17:30:49 +11:00
Dion Moult
666e484b2b
Run black on IfcOpenShell-python.
2022-01-10 15:42:24 +11:00
Dion Moult
256f40ed44
New IFC to Brick class mapping utility
2022-01-10 15:35:37 +11:00
Dion Moult
8eccb1a5ed
You can now select all system objects from the object panel for convenience.
2022-01-10 12:21:38 +11:00
Dion Moult
ce3490824d
Optimise all editing API functions to be 100x faster when you're dealing with proprietary BIM exports with loads of shared owner histories. See #1904 and #1905 .
2022-01-10 12:12:34 +11:00
Dion Moult
43c74010a5
Schema versions are no longer locked to IFC4 and 2X3. You can now load express schemas at run time.
2022-01-10 10:45:46 +11:00
Dion Moult
6c991ed356
Purge obsolete IFC types mappings
2022-01-10 09:40:42 +11:00
Thomas Krijnen
c01c2a737a
test runner doesn't have dae
2022-01-09 21:26:40 +01:00
Thomas Krijnen
c9c11a2905
Install to system local root
2022-01-09 21:11:47 +01:00
Thomas Krijnen
e5037dc41a
#1960 test cases
2022-01-09 20:52:48 +01:00
Thomas Krijnen
acd9250028
Also log perf with quiet
2022-01-09 15:21:16 +01:00
Thomas Krijnen
a3dc477921
Fix perf logging in convert
2022-01-09 15:15:50 +01:00
Thomas Krijnen
6246dda8d6
#1960 make configurable
2022-01-09 15:15:29 +01:00
Thomas Krijnen
2683bcba20
Fix: shift count negative or too big
2022-01-09 15:14:13 +01:00
Thomas Krijnen
97f2aa976e
Merge branch 'v0.7.0' of https://github.com/IfcOpenShell/IfcOpenShell into v0.7.0
2022-01-09 14:32:23 +01:00
Thomas Krijnen
9b96073ac0
#1960 BRepBuilderAPI_MakeFace on non-overlapping 2d subtraction
2022-01-09 14:32:13 +01:00
Thomas Krijnen
7efd9cea2a
Log performance aggregates as logger messages
2022-01-09 14:31:13 +01:00
Thomas Krijnen
c917881a8e
Logging statement for total file conversion
2022-01-09 14:30:56 +01:00
Thomas Krijnen
fa46eb140f
Update template.py main.schema_identifier doesn't exist
2022-01-09 11:41:24 +01:00
Thomas Krijnen
b8ea42540e
#1973 Performance logging
2022-01-07 15:12:32 +01:00
Thomas Krijnen
671ab78c76
#1969 take uppercase in register_schema()
2022-01-07 12:49:28 +01:00
jakob-beetz
a8550cea26
build-deps.cmd typo 0.7.0 branch
2022-01-07 12:47:28 +01:00
jakob-beetz
89023df4e5
Update readme.md
2022-01-07 10:37:40 +01:00
Dion Moult
4f047274bf
The IfcOpenShell API now supports automatic primitive casting for editing properties. See #1943 .
2022-01-07 17:38:43 +11:00
Dion Moult
eb04a7d579
Visual clean up of bulk property editing UI
2022-01-07 17:38:43 +11:00
Dion Moult
84096529e1
Primary measure type lists are now dynamically generated based on the schema.
2022-01-07 17:38:43 +11:00
Dion Moult
3350f31312
Write documentation to help developers get acquainted with testing
2022-01-07 17:38:43 +11:00
Dion Moult
0d79963ed8
Clear outdated README text which we won't maintain to prevent confusion
2022-01-07 17:38:43 +11:00
Dion Moult
43a8fa8bcb
It's 2022!
2022-01-07 17:38:43 +11:00
Thomas Krijnen
ca8f3cf1e6
Update README.md
2022-01-06 10:17:56 +01:00
garylzimmer
313a1c5705
Update README.md
...
Updated based on my personal findings. Can provide documentation if necessary.
2022-01-06 10:17:31 +01:00
Vukas Pajic
53f6454784
Fix integers in enumerations #1943 ( #1946 )
...
* first draft
* small change
2022-01-04 13:10:42 +11:00
Vukas Pajic
2c0df1d4f5
fix umlauts not showing up correctly in dynamic enums #1941 ( #1945 )
...
* first attempt
* adopted new solution for umlauts in enums
* fix typo
2022-01-04 13:09:47 +11:00
molitoris
e384dbd548
Correct HeaderFile ( #1942 )
...
Rename file_name to filename (without underline)
2022-01-04 13:06:01 +11:00
Cyril Waechter
d22a0c7cb8
Boundary geom creation : fix math + small ui fix ( #1938 )
...
_Neo accidentally took the red pill so I transposed the matrix to make
it blue_
* Fix how placement matrix of updated geometry is created.
* Fix ui: was throwing an error when boundary had no
`RelatedBuildingElement`
2022-01-04 13:04:06 +11:00
Gorgious56
02a62a943c
Fix #1717 : Disable task editing if task was deleted as a result of deleting its parent ( #1936 )
...
* Disable task editing if task was deleted as a result of deleting its parent
* Optimize logic for bigger number of tasks
* Don't try to disable editing if not editing in the first place
2022-01-04 13:03:39 +11:00
Vukas Pajic
0625e4153c
bulk property editor ( #1896 )
...
* first revision
* update incorporating review comments
* added a new feature - remove psets
* type dropdown now references ifc data types
* adopt new solution for enumerations and umlauts
* Revert "adopt new solution for enumerations and umlauts"
This reverts commit 203a31a2bf .
2022-01-04 12:59:55 +11:00
Jesusbill
03f5feca88
refactor structural module - wip - structural analysis models #1848
2022-01-02 00:34:38 +01:00
ssg
85e3c6588f
Updated README.md for OCCT/IfcOpenShell7
...
After #1930 the 0.7 branch isn't compatible anymore with OCCT version < 7.2. That includes the liboce that's found in debian (derivatives), which is OCCT 6.9 or even less. Updated the Linux section of README.md to explain the dependency on OCCT and include instructions to build on Unix with OCCT (from the OS repository as well). Also included changes that became necessary when we moved to v0.7.0 from v0.6.0 (like recursive clone and cmake additions).
2021-12-31 13:46:13 +01:00
bosonprojets
6e913a0ff9
BlenderBIM Feature - Filter By Building Storey
2021-12-28 23:46:22 +01:00
Thomas Krijnen
ff4e58a8ff
Update README.md
2021-12-20 11:46:07 +01:00
Dion Moult
1db028fa7b
Fix bug where IfcPatch IFC4 migration could break on Revit files
2021-12-20 16:39:14 +11:00
Thomas Krijnen
69a7efdab4
Does this make gcc happy for uint64_t enums?
2021-12-19 22:31:40 +01:00
Thomas Krijnen
20dcb68009
Invalidate the boolean result for a particular warning reported by pavefiller
2021-12-19 22:14:09 +01:00
Thomas Krijnen
6b0b64b869
Good news everyone! Option to process wall opening subtractions in 2D.
2021-12-19 22:08:16 +01:00
Thomas Krijnen
09631e9565
Remove some erroneous or wrong (hopefully) lines on mintol and prec
2021-12-19 22:01:07 +01:00
Thomas Krijnen
e9bb70f56b
Eliminate boolean sub operands b that only touch operand a
2021-12-19 21:59:29 +01:00
Thomas Krijnen
bd008bdefe
option to write boolean operands to disk for debugging
2021-12-19 21:57:47 +01:00
Thomas Krijnen
03d4782cb7
Ground work for processing opening placement up to parent wall
2021-12-19 21:55:41 +01:00
Thomas Krijnen
49c555c508
Log BRepCheck_Analyser results
2021-12-18 22:02:47 +01:00
Thomas Krijnen
c51c5651b2
Small changes to iterator settings
2021-12-18 16:16:44 +01:00
Thomas Krijnen
364c2286d1
#1937 use git branch --contains instead show
2021-12-18 16:16:21 +01:00
Jesusbill
37d20eb360
changes in ifc2ca standard case
2021-12-17 17:01:18 +01:00
Jesusbill
dd6912bdaa
ifc2ca - possibility to exclude zero length springs in point connections
2021-12-17 16:27:41 +01:00
Jesusbill
a1fe68a17e
changes in ifc2ca bonded case
2021-12-17 09:58:02 +01:00
Thomas Krijnen
3ec79cac3f
#1914 only proceed with 'face addition check' when first operand contains open shells
2021-12-15 13:37:12 +01:00
Thomas Krijnen
dbc6f521fe
#1912 apply also on types
2021-12-14 09:57:31 +01:00
Thomas Krijnen
c52f851d79
#1807 method mapping proposal
2021-12-14 09:57:31 +01:00
Thomas Krijnen
3380158f55
#1692 memory leak in get_info_2()
2021-12-13 10:32:05 +01:00
Jesusbill
4e9a5f246f
minor changes in ifc2ca scripts
2021-12-12 19:03:14 +01:00
Dion Moult
664c49a07d
Bump IfcOpenShell. See #1906 .
2021-12-11 21:10:03 +11:00
Thomas Krijnen
06b9cc6b38
CMakeLists ADD_COMMIT_SHA option
2021-12-10 10:03:41 +01:00
fichter
b9ea741e5e
OCC7.5 to OCC7.6 -> depracated Poly_Triangulation Nodes()
2021-12-10 08:44:42 +01:00
Thomas Krijnen
0098e38c77
Switch to libocct for yml workflows: add data-exchange libs
2021-12-10 08:08:03 +01:00
Dion Moult
ece796fc2d
Fix #1917 . Fix warning where the relating type classes data couldn't be accessed.
2021-12-10 14:06:54 +11:00
Dion Moult
de4659570a
See #1917 . Refactor and fix warning message when you haven't got any contexts in a project yet.
2021-12-10 13:31:23 +11:00
Dion Moult
62236c44ae
Fix #1923 . Fix bug where creating a new structural analysis model broke.
2021-12-10 10:58:06 +11:00
Dion Moult
ce5db914db
Fix #1913 . Fix bug where filtering by decomposition didn't work on IFC2X3.
2021-12-10 10:14:43 +11:00
Dion Moult
12699f29b7
Minor fix
2021-12-10 09:44:23 +11:00
Dion Moult
54e326983f
Fix #1921 . Document issue with installing on outdated Ubuntu distributions.
2021-12-10 09:43:28 +11:00
Thomas Krijnen
5fb40a390c
Switch to libocct for yml workflows: update include dir
2021-12-09 20:52:30 +01:00
Thomas Krijnen
0cb8716c6a
Switch to libocct for yml workflows
2021-12-09 20:47:00 +01:00
Thomas Krijnen
099013fa05
revert #1927 for mpir
2021-12-09 20:27:55 +01:00
Ttofuuu
4a8843b6bb
fix mpfr checking problem
...
https://github.com/BrianGladman/mpir.git 's mpfr will lead to a merge problem and make IFCOS fail to build depends on Windows. Change the link to anothms will fix this problem.
2021-12-09 20:26:19 +01:00
Thomas Krijnen
33d15b42b7
bop face addition check only for subtraction
2021-12-09 20:24:21 +01:00
Gorgious56
44581c77ac
Extend ifc debug panel ( #1924 )
...
* Prevent searching for invalid ID in IFC debugger
You can still input <= 0 IDs for debugging purposes
But the field won't let you drag below ID = 1
Also changed default to 1 so it doesn't throw an error by default
* Extend ops descriptions, labels and debug output
* Use Operator property for selecting dense meshes
* Prevent error if id has no geom representation
* Use Poll operator and poll fail message
* Debug op to select highest meshes by polygon percentile
2021-12-09 13:41:15 +01:00
Bernd Hahnebach
e848b249a6
bimtester: if lang argument is not set use feature file lang for output messages, improves #1910
2021-12-09 12:04:47 +01:00
Bernd Hahnebach
f85c3ae24c
bimtester: update log and smartview, they still are deactivated by default, fixes #1892
2021-12-09 09:06:51 +01:00
Dion Moult
7c633fab31
Fix bug where libraries didn't work in IFC2X3
2021-12-09 17:51:29 +11:00
Dion Moult
f716f8a357
You can now add feed relationships in a Brick model from IFC elements
2021-12-09 17:50:57 +11:00
Dion Moult
d156927e13
From an IFC element, you can now add a new Brick element in a Brick model
2021-12-09 17:48:47 +11:00
Dion Moult
2ef1f4d812
Assigning a brick reference now adds a 2-way IFC reference in the Brick model
2021-12-09 17:45:08 +11:00
Dion Moult
78a36ab429
Fix #1816 . Fix bug where cameras weren't allowed to be optional in BCF 2.1.
2021-12-09 13:51:55 +11:00
Dion Moult
763a38bc9c
Fix bug with missing system arrows in visualising offset models and sink/source mixed flows.
2021-12-09 13:40:23 +11:00
Dion Moult
a23c88a53e
Minor fix for #1902 .
2021-12-09 13:38:46 +11:00
Dion Moult
f6bf626349
Little utility to help printing out maintainable classes and other classes in contractual documentation.
2021-12-09 13:36:33 +11:00
Bernd Hahnebach
b66792f981
bimtester: get lang from json report and use it to generate html report, fixes #1928
2021-12-08 15:53:34 +01:00
Bernd Hahnebach
195af0c850
bimtester: do not break bimtester if translation files are missing, fixes #1910
2021-12-08 15:19:36 +01:00
Bernd Hahnebach
ee56e06d86
bimtester: German eleclass attributes steps, fix translation redirection
2021-12-08 08:42:21 +01:00
Bernd Hahnebach
146dd1e74d
bimtester: German geometrirc detail step, fix quotation marks
2021-12-08 08:23:00 +01:00
Bernd Hahnebach
6d47cf3a51
bimtester, attributes ele class steps, use generic assert methond
2021-12-07 18:01:10 +01:00
Bernd Hahnebach
9b6d53fe38
bimtester: example steps, delete more steps which are implemented already
2021-12-07 15:51:31 +01:00
Bernd Hahnebach
6902e2e2c6
bimtester: features, move geometric detail tests from examples to implemented steps
2021-12-07 15:47:15 +01:00
Bernd Hahnebach
82d136b9b3
bimtester: util, improve generic assert method
2021-12-07 14:58:18 +01:00
Bernd Hahnebach
b8dd0450d1
bimtester: features, fixes in element class attributes
2021-12-07 14:47:13 +01:00
Bernd Hahnebach
85d76c084b
bimstester: features, move element class attributes tests from examples to implemented steps
2021-12-07 12:59:50 +01:00
Bernd Hahnebach
c658f7610e
bimstester: features, move spatial structure tests from examples to implemented steps
2021-12-07 12:16:18 +01:00
Bernd Hahnebach
3fad28572b
bimstester: features, move application tests from examples to implemented steps
2021-12-07 11:44:21 +01:00
Bernd Hahnebach
455fe80497
bimtester: features import module, sort by abc
2021-12-07 11:27:42 +01:00
Bernd Hahnebach
3f46d54ad9
bimtester: features, move qset test from example steps to implemented steps
2021-12-07 09:38:22 +01:00
Bernd Hahnebach
89e3276c90
bimtester: example steps, delete the ones which are implemented already
2021-12-07 08:47:31 +01:00
admin
f794b647e1
merge v0.6.0
2021-12-06 09:59:18 +08:00
aothms
bb9eba07c0
build-all.py python library proposal #1884
2021-12-03 10:21:55 +01:00
aothms
6d4573fb58
build-all.py option PYTHON_USER_SITE
2021-12-03 10:21:55 +01:00
aothms
24890dd001
build-all.py option NO_CLEAN
2021-12-03 10:21:55 +01:00
Dion Moult
65d599bbd9
Fix bug where Blender name wouldn't match IFC Name when reassigning class. See #1902 .
2021-12-03 11:00:54 +11:00
Dion Moult
ebe5460a9f
Fix segfault thanks to aothms.
2021-12-02 09:28:04 +01:00
Dion Moult
01bc29c5b2
Purge by_ref_cached_
2021-12-02 09:28:04 +01:00
Dion Moult
5ad6d455f9
get_total_inverses now efficiently gets the full number of references to an entity
2021-12-02 09:28:04 +01:00
Dion Moult
cef1c86f6d
Experimental get_inverse_cardinality proposal. See #1904 .
2021-12-02 09:28:04 +01:00
admin
2e81b2bd17
merage v0.6
...
ADD IFCGroup parse #1154
2021-12-02 10:19:47 +08:00
admin
8527d0fcbd
merage new 0.6
2021-12-01 10:32:20 +08:00
Cyril Waechter
d1caa3242f
Refactor to usecase as asked in #1881 ( #1907 )
2021-11-30 21:24:19 +11:00
Dion Moult
4f7bfec026
Merge branch 'v0.7.0' of github.com:IfcOpenShell/IfcOpenShell into v0.7.0
2021-11-30 21:23:16 +11:00
Dion Moult
df6ad70345
Fix percentage loading implementation with the new more accurate progress number.
2021-11-30 21:23:06 +11:00
Bernd Hahnebach
a7a3ccb23a
bimtester: gui, initialize ifc file and feature file text
2021-11-30 10:30:41 +01:00
Cyril Waechter
b65f2ca062
Allow to assign IfcRelSpaceBoundary to an object ( #1902 )
2021-11-30 13:35:55 +11:00
Cyril Waechter
f991b053d3
Allow to manually update boundary connection geometry ( #1899 )
...
* Allow to manually update boundary geometry
Following have been created in this purpose:
* usecase in ifcopenshell.api
* blenderbim operator
* button in blenderbim manually trigger it
* Assign kwargs to object instead of settings dict
* Add forgotten helper file
2021-11-30 13:29:22 +11:00
Cyril Waechter
47a25ca8b9
Prevent crash on export for obj with no material ( #1903 )
...
During export material_checksum was always checked against a stringed
list `'[]'` for an empty material while default value
for material_checksum default was `''`. So it was trying to update
material of object which have none (eg. IfcRelSpaceBoundary).
See: https://github.com/IfcOpenShell/IfcOpenShell/blob/a3f27830c579e567218f79faa52dfc941a441241/src/blenderbim/blenderbim/bim/export_ifc.py#L147
2021-11-30 13:27:08 +11:00
Bernd Hahnebach
a3f27830c5
bimtester: gui, improve prints and error handling
2021-11-29 14:59:30 +01:00
Bernd Hahnebach
1a5b5dd303
bimtester: fix gui, works with feature file now instead of feature directory
2021-11-29 10:28:49 +01:00
Dion Moult
f529bc37ee
Fix bug where selecting type occurrences did not work
2021-11-29 20:25:51 +11:00
Dion Moult
825ffe03b0
Converting brickschema projects to IFC libraries now works on IFC2X3
2021-11-29 20:19:58 +11:00
Dion Moult
622ff05247
Fix bug where updating owner history may not work if you were using it outside Blender.
2021-11-29 20:17:02 +11:00
Dion Moult
d638405ff8
Assigning library references now works on IFC2X3.
2021-11-29 20:16:25 +11:00
Dion Moult
c0f547c6e4
Test expectations for new remove_deep2 proposal. See #1812 .
2021-11-29 20:14:50 +11:00
Dion Moult
3accc1dbd6
Editing object placements is now 3x faster on large files. See #1807 .
2021-11-29 19:58:03 +11:00
aothms
6eab9fb593
#1785 HdfSerializer read-only option
2021-11-28 19:34:54 +00:00
Felipe Mesquita
2708133493
Added information for debugging level parameter
2021-11-27 08:53:17 +01:00
Thomas Krijnen
c5e6c3e2c7
#1897 handle nesting in get_decomposing_entity_impl()
2021-11-26 14:15:51 +01:00
Thomas Krijnen
d7b27c0620
ifcopenshell.ifcopenshell_wrapper.turn_on_detailed_logging()
2021-11-25 15:23:14 +01:00
Thomas Krijnen
75ffc4454d
#1895 don't signal element ready when result is empty
2021-11-25 12:05:39 +01:00
Dion Moult
a1817e8a61
Fix #1889 . Allow explicitly overriding data types when editing psets.
2021-11-24 16:38:19 +11:00
Bernd Hahnebach
b4b334145f
BIMTester: steps, improve imports in the regard of rebases
2021-11-23 15:18:01 +01:00
Bernd Hahnebach
04535d27ec
Bimtester, improve German attribute feature translation, get rid of umlaut since it makes problems in some circumstances
2021-11-21 21:19:10 +01:00
Thomas Krijnen
3c41f6b0f8
#1153 draw.py timing
2021-11-20 14:05:53 +01:00
Thomas Krijnen
a17c44c076
#1153 update draw.py with two new options
2021-11-20 14:05:11 +01:00
Thomas Krijnen
eccf72ee8a
#1153 option to preprocess shape into sets of profile edges
2021-11-20 14:02:12 +01:00
Thomas Krijnen
9c9bec9c4e
Some more things related to #1853
2021-11-19 15:08:24 +01:00
Thomas Krijnen
71c1cd6a9e
Check for null result and handle some bop alerts
2021-11-19 10:39:14 +01:00
Thomas Krijnen
0504556e7a
#1885 consider schema type when copying attribute values
2021-11-19 09:38:28 +01:00
Thomas Krijnen
e9a18d030e
Small cleanup and try to please gcc
2021-11-19 09:22:09 +01:00
Thomas Krijnen
6d725f60fa
finish up
2021-11-19 09:22:09 +01:00
Thomas Krijnen
72206bc441
async init, crashes now on get()
2021-11-19 09:22:09 +01:00
Dion Moult
c0eb9addfd
Fix bug in FM utility for grabbing classes from the draft FMHEM standard
2021-11-19 19:13:21 +11:00
Dion Moult
ff3a98234d
Fix bug in convert length unit recipe where IFC2X3 ownership history fails.
2021-11-19 19:12:55 +11:00
Dion Moult
ebf6b9fc88
Fix #1886 .
2021-11-19 19:08:34 +11:00
Cyril Waechter
c2e4b5f1fa
[BlenderBIM] Boundaries: add relations editing ( #1881 )
...
* SelectGlobalId: set object as active
Use tool module instead of previous custom search loop.
* Boundaries: add relations editing
For entity of class IfcRelSpaceBoundary :
* Display relationship attributes
* Add button to jump to related objects
* Allow to edit relations attributes including entity filter.
UI similar to current base attributes editing.
2021-11-19 10:06:22 +11:00
Bernd Hahnebach
9728c4d345
bimtester: features psets, use quots the same way as in all other features
2021-11-18 18:16:37 +01:00
Gorgious
f0d6500539
Merge branch 'v0.7.0' of https://github.com/IfcOpenShell/IfcOpenShell into v0.7.0
2021-11-18 10:38:27 +01:00
Gorgious
124ccf0404
(slightly) Optimise batch removing objects
2021-11-18 10:38:17 +01:00
Bernd Hahnebach
df03f7ad29
bimtester: steps, fix undefined name
2021-11-18 10:20:50 +01:00
Bernd Hahnebach
ff8fc898a1
bimtester: examples, trailing ws
2021-11-18 09:53:53 +01:00
Bernd Hahnebach
2d62d8181a
bimtester: improve French translation for the provided example
2021-11-17 16:08:42 +01:00
Bernd Hahnebach
6853735bb2
bimtester: fix example feature files to work with this bimtester
2021-11-17 10:36:37 +01:00
Bernd Hahnebach
1c3980b6f0
bimtester: fix italian and dutch project setup step files
2021-11-17 10:36:37 +01:00
Dion Moult
5c224150ec
More slow progress in getting annotations round-tripping. See #1153 .
2021-11-17 18:25:01 +11:00
Dion Moult
18719c16df
Fix bug where subelement coordinates were incorrectly calculated in non SI units
2021-11-17 16:22:23 +11:00
Dion Moult
ddb8abff0f
Minor fix
2021-11-17 15:32:26 +11:00
Dion Moult
f9221717ff
You can now associate IFC elements with Brick elements and navigate to them
2021-11-17 13:27:07 +11:00
Dion Moult
da6945b352
You can now assign and unassign library references
2021-11-17 11:43:53 +11:00
Dion Moult
62cdf76a5a
Fix bug where you couldn't copy quantities to other elements
2021-11-17 10:35:46 +11:00
Dion Moult
fae607f8ce
New UI to add / edit / remove library information and references.
2021-11-16 22:15:54 +11:00
Dion Moult
468192e849
Fix bug where unlinking a style that was invalidly linked didn't work.
2021-11-16 22:08:55 +11:00
Dion Moult
edd01637e2
Minor fix
2021-11-16 21:51:23 +11:00
Bruno Postle
604fbc4bc9
Raise default section height from storey from 1.0 to 1.2
2021-11-16 09:12:42 +01:00
Dion Moult
4617d9f234
A whole bunch of new usecases for managing IFC library information and references
2021-11-16 18:30:23 +11:00
Dion Moult
41486ba08a
New utility to get layers of an element. See #1869 .
2021-11-16 18:07:47 +11:00
Dion Moult
2120653104
Minor fix.
2021-11-16 17:52:08 +11:00
Dion Moult
43869c33f6
Rebuild text annotations to have leaders in the same object and use text literals. See #1153 .
2021-11-16 08:54:29 +11:00
Dion Moult
fcfdc179df
Viewport annotation decorations now scale based on paper size. See #1153 .
2021-11-16 08:48:50 +11:00
Dion Moult
30c164d223
Fix minor error in console when changing drawings. See #1153 .
2021-11-16 08:45:52 +11:00
Dion Moult
b28d8b0cca
Drawing annotations now are stored in IFC using ObjectType conventions. See #1153 .
2021-11-16 08:35:49 +11:00
Dion Moult
4b5907f5dd
Reimplement roundtrip of most annotation elements for drawings. See #1153 .
2021-11-16 08:32:43 +11:00
Dion Moult
78a27ef44c
New experimental OBJ2IFC script
2021-11-14 18:30:56 +11:00
Thomas Krijnen
528e27234c
tree.protrusion_distances()
2021-11-13 15:54:42 +01:00
Dion Moult
8ac885ced1
Fix bug where annotative grids did not sync.
2021-11-12 15:16:10 +11:00
Dion Moult
63872abaef
Purge old 2D element drawing system, so we don't get double the symbols on drawings.
2021-11-12 14:01:13 +11:00
Dion Moult
5ba155eb17
Fix #1857 . Fix bug where deleting from the outliner was not tracked.
2021-11-11 22:27:40 +11:00
Dion Moult
2ec3c4c06b
Swapping a Blender material for another is now auto synchronised.
2021-11-11 18:21:02 +11:00
Dion Moult
6f55cd5169
Optimise object placement change checking, so medium sized project exports are 5 seconds faster at minimum, but can be much higher since false positives are culled.
2021-11-11 17:31:23 +11:00
Dion Moult
f5f88f4b97
Fix #1872 . Bug where duplicating an object didn't duplicate its styles.
2021-11-11 17:31:23 +11:00
Dion Moult
d5b92c0fea
Fix bug where style colours were not auto synchronised.
2021-11-11 17:31:23 +11:00
Laurens Oostwegel
9355969110
Load CJIO on execution instead of initialisation
2021-11-10 20:08:18 +01:00
Dion Moult
6c998e0b8a
Fix #1871 .
2021-11-10 22:23:52 +11:00
Dion Moult
51f8d648ad
Minor fix
2021-11-10 21:01:17 +11:00
Vukas Pajic
a26539d6a5
show property description in pset_template ui
2021-11-10 10:18:55 +01:00
Dion Moult
a9f27fcf17
Fix bug #1854 . Materials are now auto replaced in Blender when you assign a new IFC material.
2021-11-10 18:04:54 +11:00
Dion Moult
28e5af853d
Fix bug where an added default material was not linked and auto synced.
2021-11-10 18:01:10 +11:00
Dion Moult
a7b3b5261f
Fix bug in IFC2X3 where updating style colours didn't work.
2021-11-10 16:45:16 +11:00
Dion Moult
0dac56dbdf
Fix bug where diffuse colour was not correctly extracted from nodes
2021-11-10 16:39:06 +11:00
Dion Moult
0992f43f11
Geometry caching is now enabled for model importing
2021-11-10 13:52:14 +11:00
Dion Moult
c1c50f8868
Minor fix.
2021-11-10 12:46:07 +11:00
Dion Moult
d733960068
Fix #1856 . Bug where you lost your existing container or aggregation when you added a new aggregation assembly.
2021-11-09 20:50:31 +11:00
Dion Moult
66fa3f0096
Changes are now synchronised prior to switching representations.
2021-11-09 20:49:25 +11:00
Dion Moult
cbf7b0a77a
Minor clean up for CityJSON PR.
2021-11-09 20:46:46 +11:00
Dion Moult
91f2f9438f
Fix #1764 . Bug where OpenLCA UI would freeze if it couldn't connect to OpenLCA.
2021-11-09 20:43:30 +11:00
Dion Moult
fcbb6e60ac
Another Makefile fix :(
2021-11-09 10:05:06 +11:00
Dion Moult
f33d613f9d
Minor Makefile fix
2021-11-09 09:45:36 +11:00
Cyril Waechter
849dfbed28
[BlenderBIM] Tools to load IfcRelSpaceBoundary ( #1864 )
...
* Tools to load IfcRelSpaceBoundary
At scene level to load all.
At space level to load ones from a specific space or a specific one.
* Add a tool to colour boundaries
Colour is based on its related building element.
2021-11-09 09:28:44 +11:00
Dion Moult
8a4bc34fad
Scale changes are now auto synchronised on export.
2021-11-09 09:22:03 +11:00
Laurens Oostwegel
aa18c1b7d6
Small fix in Makefile error due to ifccityjson
2021-11-08 23:03:31 +01:00
Laurens Oostwegel
ae45a9b9a5
Fix error in Makefile
2021-11-08 22:59:09 +01:00
ecke101
7aa75d98d3
Improve support for Powerproject import ( #1865 )
...
This is tested with swedish PowerProject 14.0 file
2021-11-09 08:52:24 +11:00
Laurens Oostwegel
ff6db5f24d
Integrate ifccityjson in BlenderBIM ( #1859 )
...
* ifccityjson-BB integration: include CJIO in makefile
* Add ifccityjson to BlenderBIM
* Make ifccityjson work like a package
* Use pip while installing CJIO dependency for ifccityjson
* revert removal of brick module
* Changes from pull request review
* Use ifccityjson as CLI and as package for BlenderBIM
2021-11-09 08:51:30 +11:00
Dion Moult
de7c54b771
Fix #1855 . Bug where authoring type dropdowns didn't refresh.
2021-11-08 21:12:38 +11:00
Dion Moult
7fbf317ad2
Fix representation where removing a representation left objects with an empty mesh. Now a proper empty is used.
2021-11-08 21:12:38 +11:00
Dion Moult
0471f17d9a
Fix bug where removing a representation from a typed instance didn't remove all data users.
2021-11-08 21:12:38 +11:00
Dion Moult
bf134eb0f4
Implement cache updating for drawings. See #1153 .
2021-11-08 21:12:38 +11:00
Dion Moult
7ccb6ee110
Resolve #1836 . Scaling in Blender is now auto resolved when representations are updated.
2021-11-08 21:12:38 +11:00
Dion Moult
9076043a5c
Purge old dumb door and dumb window tool to prevent confusing users
2021-11-08 21:12:38 +11:00
Dion Moult
1c0fcf7b40
Add annotation symbols for doors, windows, and bunny to the demo library
2021-11-08 21:12:38 +11:00
Dion Moult
4fdcb87a28
New IfcOpenShell utility to get instances of an element type easily
2021-11-08 21:12:38 +11:00
Dion Moult
246460dec4
Fix bug where non-geometric objects caused the representations UI to not display
2021-11-08 21:12:38 +11:00
Thomas Krijnen
a89a40e637
#1785 omplete stored_settings / requested_settings check
2021-11-08 10:59:49 +01:00
Thomas Krijnen
c1fcf2528e
swig uint64_t
2021-11-08 10:58:55 +01:00
Thomas Krijnen
d4f0495caa
Consistent setting type
2021-11-08 09:59:15 +01:00
Dion Moult
669295d4ac
Resolve #1860 . Brickschema is now optional.
2021-11-08 11:17:11 +11:00
Dion Moult
e4a27d49c9
Drawing module now is in sync with latest C++ upgrades. See #1153 .
2021-11-08 08:36:13 +11:00
Thomas Krijnen
e0e8281a1e
Allow tree.select(BRepElement)
2021-11-07 19:49:37 +01:00
Thomas Krijnen
1cdf695891
#1785 check settings in cache and upgrade to world coords
2021-11-07 19:23:48 +01:00
Thomas Krijnen
580678c2c1
Fix casts in XML serializer
2021-11-07 11:16:47 +01:00
Laurens Oostwegel
a038ae434b
ifccityjson: it is now easier to extract one LOD
2021-11-07 11:04:27 +01:00
Laurens Oostwegel
698ef40ada
ifccityjson: prevent interior holes in faces as there is a bug in the geometry generation
2021-11-07 10:55:47 +01:00
Laurens Oostwegel
276077964d
ifccityjson: refactor GeometryIO class
2021-11-07 10:51:09 +01:00
Laurens Oostwegel
45080a8a1f
ifccityjson: temporary fix until CJIO can build its LOD dictionary again
2021-11-07 10:50:12 +01:00
Laurens Oostwegel
dd348de0b7
ifccityjson: lazy build vertex dictionary
2021-11-07 10:40:01 +01:00
Dion Moult
61e510e45c
New feature to select all objects in same container
2021-11-07 17:02:05 +11:00
Dion Moult
05068754b9
New feature to select the container of an object
2021-11-07 15:32:33 +11:00
Dion Moult
de561b78e0
Resolve #1750 . You can now save IFCs under a relative path to your Blend file.
2021-11-07 13:20:33 +11:00
Thomas Krijnen
e6e1978584
only call expensive wstring_convert() when necessary
2021-11-06 14:36:58 +01:00
Thomas Krijnen
0b7bdc0f9d
#1785 geometry caching caching
2021-11-06 13:16:13 +01:00
Dion Moult
e868186897
Resolve #1749 . You can now save as another IFC filename.
2021-11-06 21:41:31 +11:00
Dion Moult
5450233f8e
Minor fix
2021-11-06 21:10:56 +11:00
Dion Moult
8e215382f7
Fix bug where assigning a type did not use existing representation data in the scene if the context had changed
2021-11-06 20:56:53 +11:00
Dion Moult
4149292a13
Fix bug where adding a representation to a type instance didn't share meshes
2021-11-06 18:51:00 +11:00
Dion Moult
117f663f48
Fix bug where you couldn't add a plan representation to something with no context identifier
2021-11-06 17:48:31 +11:00
Dion Moult
960610325f
Fix interface bug where representations assigned directly to a context aren't shown
2021-11-06 17:36:47 +11:00
Thomas Krijnen
ab50609854
Rename some files with more sensical names
2021-11-05 16:54:16 +01:00
Thomas Krijnen
c203b78d34
#1153 #1852 project points to form SVG HLR cut plane
2021-11-05 13:27:27 +01:00
Thomas Krijnen
5633445008
#1153 evenodd
2021-11-05 11:21:19 +01:00
Thomas Krijnen
22ceb35f47
IfcConvert : SEW_SHELLS on svg serializer
2021-11-05 11:07:27 +01:00
Thomas Krijnen
06a988e141
#1153 boolean subtraction on parts
2021-11-05 11:04:46 +01:00
Thomas Krijnen
2dc29978f6
--cache and subtraction in draw.py
2021-11-05 11:03:44 +01:00
Thomas Krijnen
10b502512f
#1853 don't blindly explode compounds but check whether there are solids inside
2021-11-05 10:09:12 +01:00
Thomas Krijnen
2d0c44e25a
#1785 Set trsf form
2021-11-05 09:22:24 +01:00
Dion Moult
3e52d93db0
Fix bug where existing meshes were not deleted when switching representations.
2021-11-05 17:57:05 +11:00
Dion Moult
07bee4acfa
Fix bug where adding a representation to type instances didn't ensure it was added to a geometric type
2021-11-05 15:14:10 +11:00
Dion Moult
0da5d807b8
Minor fix
2021-11-05 13:15:28 +11:00
Dion Moult
657aafbd2e
Minor fix
2021-11-05 12:20:33 +11:00
Dion Moult
04449d08e8
Add schema caching to Brick schema loading.
2021-11-05 09:19:42 +11:00
Dion Moult
2b710ffbde
Fix bug where pie update container didn't work.
2021-11-04 22:23:26 +11:00
Dion Moult
7fbe365599
Implement new Brickschema project browser.
2021-11-04 18:02:50 +11:00
Dion Moult
f49b9f6781
Slightly more robust deletion tracking.
2021-11-03 21:39:17 +11:00
Dion Moult
901318b73b
Fix bug where copying an instance did not auto link the meshes.
2021-11-03 19:04:22 +11:00
Laurens Oostwegel
8545d870c0
ifccityjson: Fix bug dependency updated CJIO
...
In the new CJIO module, cityjson vertices got transformed automatically when calling the object faces. Now this is not the case anymore.
2021-11-03 08:45:36 +01:00
Thomas Krijnen
3124d306d6
#1153 another small hack to get boolean projection working more generally
2021-11-02 15:52:51 +01:00
Thomas Krijnen
8e529f3f10
#1850 Process extrusions of comp profiles seperately
2021-11-02 15:11:56 +01:00
Thomas Krijnen
1ff45165d9
#1743 don't consider bbox in opening subtractions
2021-11-02 15:09:26 +01:00
Thomas Krijnen
05256fc0f4
#1785 geometry caching on multi threaded iterator
2021-11-02 11:39:49 +01:00
Thomas Krijnen
be9ef33932
#1153 svg subtraction settings
2021-11-02 08:57:00 +01:00
Thomas Krijnen
fc424ebd6b
#1785 quick identity check to keep trsf form at identity
2021-11-01 21:47:56 +01:00
Laurens Oostwegel
030f3cf307
Add tutorial to ifccityjson
2021-11-01 18:18:46 +01:00
HassanEmam
c8eb933453
Added support for Powerproject ( #1849 )
...
* implemented initial cli and support for resource parsing for ms project
* Added command line interface and resource support for MS Project XML files
* Removed the test code
* Check for output exists before writting the file to avoid failure
* Added support for Asta Powerproject files
2021-11-01 10:52:43 +11:00
Dion Moult
208132785f
Minor fix
2021-10-31 10:08:41 +01:00
Dion Moult
cfa435e9c8
Do the same things in 10 times less code thanks to aothms :)
2021-10-31 10:08:41 +01:00
Dion Moult
515e972906
Fix projection of origin onto camera plane.
2021-10-31 10:08:41 +01:00
Thomas Krijnen
100b0637ac
submodule
2021-10-30 16:16:03 +02:00
HassanEmam
2d8ec8a6bf
Command Line Interface and MS Project Resource Parsing ( #1845 )
...
* implemented initial cli and support for resource parsing for ms project
* Added command line interface and resource support for MS Project XML files
* Removed the test code
* Check for output exists before writting the file to avoid failure
2021-10-30 22:29:10 +11:00
Dion Moult
02461233a6
Reimplement drawing material classes, fix cut projection order, and auto refresh camera representation
2021-10-30 22:13:50 +11:00
Dion Moult
dcac1e69ca
We now support importing 3D annotations, not just 2D ones. Neat.
2021-10-30 22:13:50 +11:00
Dion Moult
b118400cc6
Invalid annotation contexts coming from Revit are now accepted
2021-10-30 22:13:50 +11:00
Roch Bertucat
bc430b80f6
Fix Python validate to handle Logical (see #1787 )
2021-10-30 13:12:45 +02:00
Dion Moult
d2d3addf10
New feature to draw system arrows showing flow direction and port connections.
2021-10-30 18:12:58 +11:00
Dion Moult
683e316088
New MEP utility to select and print debug information about connected system elements
2021-10-30 18:00:36 +11:00
HassanEmam
e279fee518
Resource Parsing for P6XML ( #1842 )
...
* P6XML Parser failing on calendar type
* add work plan references a get_person which is not an attribute. modified to get_user to work
* Initial support for Primavera XER files
* IFC4D impl XER calendars exceptions and work time
* merged updats
* refactoring code for the 4D model to avoid duplicate code
* Assign process in the api module was missing an atrribute QuantityIn Process
* Merged changes from master
* refactoring
* resolved conflicts
* refactoring code for IFC4D
* refactoring code for IFC4D
* refactoring code for IFC4D
* Reverted the changes to IfcRelAssignsToProcess usecase
* Changed the class to be more discriptive from Utils to ScheduleIfcGenerator
* reverted changes to add_work_plan and Makefile
* Added resource parsing support for Primavera XER
* added relative path for importing common as it was failing in BlenderBIM
* Initial support for Primavera XER files
* merged updats
* Assign process in the api module was missing an atrribute QuantityIn Process
* Merged changes from master
* refactoring
* resolved conflicts
* refactoring code for IFC4D
* refactoring code for IFC4D
* Reverted the changes to IfcRelAssignsToProcess usecase
* Changed the class to be more discriptive from Utils to ScheduleIfcGenerator
* reverted changes to add_work_plan and Makefile
* Added resource parsing support for Primavera XER
* added relative path for importing common as it was failing in BlenderBIM
* deleted repetitive classes for P6XER import
* Resource Parsing added Primavera P6 XML module
* Initial support for Primavera XER files
* IFC4D impl XER calendars exceptions and work time
* merged updats
* refactoring code for the 4D model to avoid duplicate code
* Assign process in the api module was missing an atrribute QuantityIn Process
* Merged changes from master
* refactoring
* resolved conflicts
* refactoring code for IFC4D
* refactoring code for IFC4D
* refactoring code for IFC4D
* Reverted the changes to IfcRelAssignsToProcess usecase
* Changed the class to be more discriptive from Utils to ScheduleIfcGenerator
* reverted changes to add_work_plan and Makefile
* Added resource parsing support for Primavera XER
* added relative path for importing common as it was failing in BlenderBIM
* Initial support for Primavera XER files
* merged updats
* Assign process in the api module was missing an atrribute QuantityIn Process
* Merged changes from master
* refactoring
* resolved conflicts
* refactoring code for IFC4D
* refactoring code for IFC4D
* Reverted the changes to IfcRelAssignsToProcess usecase
* Changed the class to be more discriptive from Utils to ScheduleIfcGenerator
* reverted changes to add_work_plan and Makefile
* Added resource parsing support for Primavera XER
* deleted repetitive classes for P6XER import
* Resource Parsing added Primavera P6 XML module
* P6XML Parser failing on calendar type
* add work plan references a get_person which is not an attribute. modified to get_user to work
* Initial support for Primavera XER files
* IFC4D impl XER calendars exceptions and work time
* refactoring code for the 4D model to avoid duplicate code
* Assign process in the api module was missing an atrribute QuantityIn Process
* Merged changes from master
* refactoring
* resolved conflicts
* refactoring code for IFC4D
* refactoring code for IFC4D
* refactoring code for IFC4D
* Reverted the changes to IfcRelAssignsToProcess usecase
* Changed the class to be more discriptive from Utils to ScheduleIfcGenerator
* reverted changes to add_work_plan and Makefile
* Added resource parsing support for Primavera XER
* added relative path for importing common as it was failing in BlenderBIM
* Initial support for Primavera XER files
* merged updats
* Assign process in the api module was missing an atrribute QuantityIn Process
* Merged changes from master
* refactoring
* resolved conflicts
* refactoring code for IFC4D
* refactoring code for IFC4D
* Reverted the changes to IfcRelAssignsToProcess usecase
* Changed the class to be more discriptive from Utils to ScheduleIfcGenerator
* reverted changes to add_work_plan and Makefile
* Added resource parsing support for Primavera XER
* deleted repetitive classes for P6XER import
* Resource Parsing added Primavera P6 XML module
* Initial support for Primavera XER files
* IFC4D impl XER calendars exceptions and work time
* merged updats
* refactoring code for the 4D model to avoid duplicate code
* Assign process in the api module was missing an atrribute QuantityIn Process
* Merged changes from master
* refactoring
* resolved conflicts
* refactoring code for IFC4D
* refactoring code for IFC4D
* refactoring code for IFC4D
* Reverted the changes to IfcRelAssignsToProcess usecase
* Changed the class to be more discriptive from Utils to ScheduleIfcGenerator
* reverted changes to add_work_plan and Makefile
* Added resource parsing support for Primavera XER
* added relative path for importing common as it was failing in BlenderBIM
* Initial support for Primavera XER files
* merged updats
* Assign process in the api module was missing an atrribute QuantityIn Process
* Merged changes from master
* refactoring
* resolved conflicts
* refactoring code for IFC4D
* refactoring code for IFC4D
* Reverted the changes to IfcRelAssignsToProcess usecase
* Changed the class to be more discriptive from Utils to ScheduleIfcGenerator
* reverted changes to add_work_plan and Makefile
* Added resource parsing support for Primavera XER
* deleted repetitive classes for P6XER import
* Resource Parsing added Primavera P6 XML module
* removed the testing code
Co-authored-by: Dion Moult <dion@thinkmoult.com >
2021-10-30 10:31:18 +11:00
Thomas Krijnen
93c5906ad7
#1153 temporary y offset fix
2021-10-29 14:16:10 +02:00
HassanEmam
6a06607f3f
BlenderBIM: Import Resources for XER files ( #1841 )
...
* P6XML Parser failing on calendar type
* add work plan references a get_person which is not an attribute. modified to get_user to work
* Initial support for Primavera XER files
* IFC4D impl XER calendars exceptions and work time
* merged updats
* refactoring code for the 4D model to avoid duplicate code
* Assign process in the api module was missing an atrribute QuantityIn Process
* Merged changes from master
* refactoring
* resolved conflicts
* refactoring code for IFC4D
* refactoring code for IFC4D
* refactoring code for IFC4D
* Reverted the changes to IfcRelAssignsToProcess usecase
* Changed the class to be more discriptive from Utils to ScheduleIfcGenerator
* reverted changes to add_work_plan and Makefile
* Added resource parsing support for Primavera XER
* added relative path for importing common as it was failing in BlenderBIM
* Initial support for Primavera XER files
* merged updats
* Assign process in the api module was missing an atrribute QuantityIn Process
* Merged changes from master
* refactoring
* resolved conflicts
* refactoring code for IFC4D
* refactoring code for IFC4D
* Reverted the changes to IfcRelAssignsToProcess usecase
* Changed the class to be more discriptive from Utils to ScheduleIfcGenerator
* reverted changes to add_work_plan and Makefile
* Added resource parsing support for Primavera XER
* added relative path for importing common as it was failing in BlenderBIM
* deleted repetitive classes for P6XER import
Co-authored-by: Dion Moult <dion@thinkmoult.com >
2021-10-29 21:16:47 +11:00
Thomas Krijnen
9f73bd43b4
Don't wrap HdfSerializer
2021-10-29 10:47:40 +02:00
Thomas Krijnen
5f7d92aeb0
#1153 HdfSerializer.remove() for cache eviction
2021-10-29 10:41:21 +02:00
Thomas Krijnen
c754d15da8
don't create empty HdfSerializer symbol
2021-10-29 10:40:42 +02:00
Thomas Krijnen
13f5d2d5de
add hdf serializer to wrapper
2021-10-29 10:40:15 +02:00
Thomas Krijnen
280eac6127
parse_ifcxml now handled by swig config
2021-10-29 10:40:03 +02:00
Thomas Krijnen
ea0e70ef0d
populate more serializers if available
2021-10-29 10:39:32 +02:00
Thomas Krijnen
a5af8807ee
pass config to swig preproc
2021-10-29 10:39:02 +02:00
Chun
0bae861b6a
IfcType Filter suggestions for better User Experience ( #1840 )
...
* 1.Added Selecting/Deselecting All function
2.Suggested an idea for UI improvment
3.Fixed an UX bug
* Improve the user experience of IfcType Filter
2021-10-29 19:29:43 +11:00
Dion Moult
b32bbb89a1
Optimistically track all object edits whenever you toggle edit mode, not just meshes.
2021-10-29 18:04:47 +11:00
Dion Moult
109149a0be
Optimise owner check depending on your implementation and no longer create default users on IFC4. Can result in 50% faster script running on long scripted operations.
2021-10-29 18:04:17 +11:00
Dion Moult
4bf4622498
You can now manually type in start/end dates for construction sequence visualisation instead of clicking the date picker hundreds of times.
2021-10-29 17:44:57 +11:00
Dion Moult
a4c054ef62
Objects now sync spatial hierarchy more robustly on export, and clean the collection tree in case the user messed it up.
2021-10-29 17:43:38 +11:00
Dion Moult
1141fd5784
Fix bug where during import sometimes aggregation collections don't match object names
2021-10-29 17:39:59 +11:00
luzpaz
0aa8a19b6d
Fix various typos ( #1837 )
...
Found via `codespell`
2021-10-29 08:56:02 +11:00
Vukas Pajic
b46f1647d2
BlenderBIM: Add UI Preset to Preferences ( #1825 )
...
* inital commit
* update based on comments
* incorporate suggestion from @Gorgious56
* change curly brackets to square brackets ;)
* update based on comments from @Moult
* code suggestion from @Gorgious56
2021-10-28 23:41:56 +11:00
Dion Moult
72d9bc9256
Moving grid axes are now synchronised automatically
2021-10-28 19:35:40 +11:00
Dion Moult
b67d56ada1
Fix bug where imported grids were not linked and didn't auto track edits
2021-10-28 19:35:40 +11:00
Dion Moult
d013d6ed09
Resize object to storey now works for a variable number of storeys
2021-10-28 19:35:40 +11:00
HassanEmam
4bb549f3e9
IFC4D code refactoring ( #1834 )
...
* P6XML Parser failing on calendar type
* add work plan references a get_person which is not an attribute. modified to get_user to work
* Initial support for Primavera XER files
* IFC4D impl XER calendars exceptions and work time
* merged updats
* refactoring code for the 4D model to avoid duplicate code
* Assign process in the api module was missing an atrribute QuantityIn Process
* Merged changes from master
* refactoring
* resolved conflicts
* refactoring code for IFC4D
* refactoring code for IFC4D
* refactoring code for IFC4D
* Reverted the changes to IfcRelAssignsToProcess usecase
* Changed the class to be more discriptive from Utils to ScheduleIfcGenerator
* reverted changes to add_work_plan and Makefile
Co-authored-by: Dion Moult <dion@thinkmoult.com >
2021-10-28 18:49:02 +11:00
Dion Moult
d772299871
Fix bug where auto geolocation offset didn't occur if placements were relative
2021-10-28 11:55:11 +11:00
Dion Moult
081ca81a7e
Adding annotation now auto enables viewport decoration drawing. See #1153 .
2021-10-27 22:11:05 +11:00
Dion Moult
2ad2a102cb
First pass at connecting to new ifcopenshell.draw. See #1153 .
2021-10-27 19:42:36 +11:00
Dion Moult
52e8ac386e
New hacktastic IFC patch to fix ArchiCAD spaces being loaded into Revit.
2021-10-27 12:29:40 +11:00
Dion Moult
f69de3324a
You can now split objects using a drawn edge, especially useful when creating slab pour breaks and fixing lazily modeled walls and columns. Thanks Gorgious56!
2021-10-27 12:06:12 +11:00
HassanEmam
04b3b9b60e
Ifc4D xer calendars ( #1832 )
...
* P6XML Parser failing on calendar type
* add work plan references a get_person which is not an attribute. modified to get_user to work
* Initial support for Primavera XER files
* IFC4D impl XER calendars exceptions and work time
Co-authored-by: Dion Moult <dion@thinkmoult.com >
2021-10-27 10:13:50 +11:00
Dion Moult
f64e1dbd7f
New feature to calculate side formwork, such as for columns.
2021-10-27 10:09:07 +11:00
Dion Moult
341451f59b
Formwork area calculation now unions objects before remeshing to account for overlapping geometry
2021-10-27 09:58:29 +11:00
Dion Moult
80b8da629d
Types in type dropdowns are now sorted alphabetically for convenience.
2021-10-27 09:35:31 +11:00
Dion Moult
78e5016619
Minor fix.
2021-10-26 21:05:48 +11:00
Dion Moult
3406c23f98
Fix bug where copying a type also copied its type relations which is invalid.
2021-10-26 20:51:27 +11:00
Dion Moult
ee308d294f
Spatial elements in the import filter will now be sorted by elevation for convenience.
2021-10-26 17:37:17 +11:00
Dion Moult
955a9af461
Users copying and pasting via ctrl-c/v will now also copy IFC objects.
2021-10-26 17:36:58 +11:00
Dion Moult
34e8d9563d
Using duplicate move linked in a BIM project now also triggers IFC copying
2021-10-26 17:17:20 +11:00
Dion Moult
e5b5403eaa
Minor code review for #1804 .
2021-10-26 09:29:15 +11:00
Laurens Oostwegel
47cf2ea29e
BlenderBIM: import IFC PointCloud Representation ( #1804 )
...
* Implemented export of point cloud representation
* Do representation geometry data no-edge check before no-polygon check
* Initial implementation import of point clouds in BlenderBIM
* create point cloud elements on the appropriate place
* Updated import_ifc.py based on review PR
* delete is_pointcloud() because it is replaced by get_pointcloud_representation()
2021-10-26 09:04:49 +11:00
HassanEmam
9d8074f1fe
Initial support for importing Primavera XER files ( #1829 )
...
* P6XML Parser failing on calendar type
* add work plan references a get_person which is not an attribute. modified to get_user to work
* Initial support for Primavera XER files
Co-authored-by: Dion Moult <dion@thinkmoult.com >
2021-10-26 08:51:17 +11:00
HassanEmam
3fd944a956
Fixing bugs for Scheduling Module IFC4D ( #1826 )
...
* P6XML Parser failing on calendar type
* add work plan references a get_person which is not an attribute. modified to get_user to work
Co-authored-by: Dion Moult <dion@thinkmoult.com >
2021-10-25 20:56:45 +11:00
Thomas Krijnen
566512f7bc
#1807 argument_types() on schema entity
2021-10-25 11:52:05 +02:00
Dion Moult
1a84967b1b
Code review for Ifc Type filter feature. See #1823 .
2021-10-25 20:12:36 +11:00
Chun
41afb26d31
Added IfcTypeFilter into BlenderBIM Search module ( #1823 )
2021-10-25 19:33:57 +11:00
Dion Moult
818e8010a4
Minor fix.
2021-10-25 19:32:37 +11:00
Dion Moult
58ee049a8f
New feature to show inherited element type psets.
2021-10-25 16:21:40 +11:00
Dion Moult
54fa45850a
Get psets utility now supports getting material and profile psets
2021-10-25 16:09:04 +11:00
Dion Moult
fbadcc017b
Get psets utility can now filter only psets or qtos
2021-10-25 15:36:55 +11:00
Dion Moult
6337698494
Element get_psets utility now returns the pset ID for convenience.
2021-10-25 14:21:41 +11:00
Dion Moult
2e6a70b338
New feature to copy properties from one object to all selected objects
2021-10-25 14:21:41 +11:00
Thomas Krijnen
e70f675f20
Make build-all a bit friendlier for python partial install success
2021-10-24 14:56:50 +02:00
Thomas Krijnen
13d0b27ef4
Hacky way to return distances in the tree with extend>0
2021-10-24 14:40:18 +02:00
Thomas Krijnen
40b112cd48
Add back platform.machine to build-all path
2021-10-24 12:10:15 +02:00
Thomas Krijnen
14c0400f73
Fix case after #1781
2021-10-24 10:08:06 +02:00
Thomas Krijnen
4733c82b82
Separate out consume_iterator()
2021-10-23 21:34:25 +02:00
Dion Moult
7bccf10fec
Fix regression bug where you couldn't add a grid.
2021-10-23 21:19:10 +11:00
Dion Moult
918915aeae
Reintroduced feature to copy attributes to selected objects.
2021-10-23 19:55:22 +11:00
Dion Moult
295568453c
Minor code review for module visibility feature. See #1798 .
2021-10-23 19:01:43 +11:00
Vukas Pajic
56ff0e7472
BlenderBIM: added dropdown in addon preferences to toggle module visibility ( #1798 )
...
* added dropdown in addon preferences to toggle module visibility
* Update ui.py
* updated ui to allow individual toggling of modules
* working
* code cleanup and update
* fix issue where non relevant operators shown
* update based on review comments
* add contingency for intermodule panel dependancy
* removed 'magic' operators :)
* clean up some leftover lines
* updated to only register/deregister panel classes
2021-10-23 18:16:11 +11:00
Dion Moult
e779a57a09
Fix bug where imported types with representations but no instances were not fully linked.
2021-10-23 18:15:23 +11:00
Dion Moult
6d817703aa
Copying parametric geometry from any source now attempts to preserve parametric geometry when possible.
2021-10-22 18:07:34 +11:00
Dion Moult
c551275db2
Fix bug where switching to an object with modifiers applied would double the effect of modifiers.
2021-10-22 16:23:36 +11:00
Dion Moult
9ffe92eae5
Assigning a parametric layer type (for walls for now) now attempts to switch from non parametric to parametric geometry.
2021-10-22 15:43:04 +11:00
Dion Moult
f19e334cd5
Fix bug where large resizing of walls could result in broken geometry.
2021-10-22 15:21:26 +11:00
Dion Moult
a5b8728aec
Fix bug where copying elements didn't ensure that material usages were unique
2021-10-22 12:09:57 +11:00
Dion Moult
a8c99cebaf
Fix terrible bug #1819 where duplicating mapped elements didn't actually copy the geometry mapping.
2021-10-22 11:16:03 +11:00
Dion Moult
9ae2c6352a
Minor fix
2021-10-21 23:06:39 +11:00
Dion Moult
0bc849be5a
New feature to conveniently add a default material in a blank project when none exists.
2021-10-21 19:40:10 +11:00
Dion Moult
a99df36351
The type of mapped representations is now shown in the interface, with an asterisk denoting it is mapped.
2021-10-21 19:16:15 +11:00
Dion Moult
525e6debd5
When updating representations, the existing representation type is prioritised unless you tell it otherwise. See #1748 .
2021-10-21 18:39:55 +11:00
Gorgious
d6cb94c6f1
Port root, bimtester and sequence to feature tests
2021-10-21 09:33:45 +02:00
Dion Moult
c437ba8f9d
Assigning a parametric profile type now auto switches from non parametric geometry to parametric geometry
2021-10-21 16:28:55 +11:00
Dion Moult
aee7fbcc79
Only show type selection buttons when a type is available.
2021-10-21 14:10:24 +11:00
Dion Moult
456adf453d
New feature to calculate the radius of a polygonal circle
2021-10-21 12:43:16 +11:00
Dion Moult
d2e9194636
Adding type empties now adds it to the scene collection for convenience in case your types collection is hidden (which is most of the time)
2021-10-21 11:37:44 +11:00
Dion Moult
9907651d4a
Fix bug where you could reassign class to another product type and create invalid relationships
2021-10-21 11:28:49 +11:00
Massimo Fabbro
bb2f59e2f8
Add tooltips. Finished the "Authoring" section in the n-panel. (See issue #1646 ) ( #1818 )
...
* Add first tooltip (#1646 )
* Add tooltips for new project
* Small fix
* Added more tootips
* Add other tooltip to the n-panel
* Add other tooltips in N Panel
2021-10-21 10:10:54 +11:00
Gorgious56
fec295d021
Migration ( #1817 )
2021-10-21 10:10:22 +11:00
Dion Moult
cb08c19942
Fix bug where BCF header file info was not loaded. See #1816 .
2021-10-20 23:41:43 +11:00
Thomas Krijnen
b1b121ebc8
#1814 check for the succesful creation of edge curves in IfcIndexedPolyCurve
2021-10-20 11:14:35 +02:00
Alexander Nitsch
ba9c2a3280
Fix initialization of local variable "data" ( #1813 )
...
Co-authored-by: Nitsch Alexander <alexander.nitsch@scs.ch >
2021-10-20 19:57:13 +11:00
Dion Moult
575de12d79
Fix bug where auto assignment in the collection hierarchy failed if you had filtered out aggregates and you were assigning a subelement of an aggregate
2021-10-20 19:56:46 +11:00
Dion Moult
503f0399ff
Fix bug where you couldn't bulk copy non-geometric elements to other spatial containers
2021-10-20 18:47:55 +11:00
Vukas Pajic
871ad1ab7f
Added operator to add psets to all selected objects. ( #1805 )
...
* first attempt
* Accommodate object vs non-object psets, and directly fetch applicable pset names
Co-authored-by: Dion Moult <dion@thinkmoult.com >
2021-10-20 14:49:02 +11:00
Dion Moult
58859ef8c3
Fix bug where when deleting representations it could sometimes overreach and delete geometric, style, or layer data of other elements. See #1812 .
2021-10-20 14:11:49 +11:00
Dion Moult
52062bc7e8
Experimental proposed deep removal. See #1812 .
2021-10-20 11:44:19 +11:00
Gorgious56
8fdbe30dc5
Ux docs test ( #1808 )
...
* First draft
* Final Update
2021-10-19 10:55:25 +02:00
Dion Moult
f438c48c23
Fix bug where copying objects may sometimes result in incorrect location in the Blender collection tree
2021-10-19 19:15:01 +11:00
Dion Moult
6478601f79
Fix bug where copying objects did not necessarily retain the existing context assignment
2021-10-19 19:15:01 +11:00
Thomas Krijnen
816059eefd
Reapply 869cc25061
2021-10-19 08:49:46 +02:00
Dion Moult
3daf4203d1
When assigning types, your preference of dynamic voids are now preserved.
2021-10-19 15:43:14 +11:00
Dion Moult
c1b53859ee
WIP refactor of geometry for stabilisation and optimisation. Switch representation now done.
2021-10-19 12:57:29 +11:00
Thomas Krijnen
63f85beb7e
#1803 Update include in wrapper code as well
2021-10-18 16:10:20 +02:00
Thomas Krijnen
bdc6fcb66f
#1803 Use abstract GeometrySerializer as cache to eliminate cyclic dependencies
2021-10-18 11:38:01 +02:00
Dion Moult
4577b7bf60
Potentially risky refactor of add_representation in preparation of stabilisation and optimization of geometric operators.
2021-10-18 19:23:40 +11:00
Dion Moult
33f4461a87
New feature to resize / squash / stretch objects to their storey height. Useful for remodeling IFCs for construction simulations.
2021-10-18 14:15:16 +11:00
Dion Moult
c78e7b3ba8
Fix minor bug where Python warnings showed up when delete operations were called
2021-10-18 14:12:07 +11:00
Dion Moult
699ccddda3
New utility function to get storey elevations with elevation attribute fallback for more compliant sorting of building storey elevations.
2021-10-18 12:39:04 +11:00
Dion Moult
a9a48bdd1d
Refactor misc functions into new misc module for better organisation.
2021-10-18 11:21:49 +11:00
amoki
8ed395a29f
build python only if needed
2021-10-17 10:15:08 +02:00
amoki
63bfe761bf
use platform.system() instead of uname, install python module directly in current python
2021-10-17 10:15:08 +02:00
amoki
f8c11e3af7
rollback boost version
2021-10-17 10:15:08 +02:00
amoki
993ae71968
upgrade dependencies, remove x86 build
2021-10-17 10:15:08 +02:00
amoki
81b8f7e39b
remove last TAG
2021-10-17 10:15:08 +02:00
amoki
b1e897197b
more cleanup
2021-10-17 10:15:08 +02:00
amoki
46cf1362f6
more f-strings, add some env variables
2021-10-17 10:15:08 +02:00
amoki
f03992dcde
remove old python versions and use f-strings
2021-10-17 10:15:08 +02:00
Dion Moult
aedc1751b6
Resolve #1802 . Unlinking an object now also unlinks materials and styles too for convenience.
2021-10-16 16:55:06 +11:00
Dion Moult
26cbd82da1
New feature to unlink Blender materials and IFC materials
2021-10-16 16:53:37 +11:00
Dion Moult
516503b9ca
Fix #1801 . Fix bug where importing multiple assets sharing an already imported material fails.
2021-10-16 15:46:02 +11:00
Dion Moult
23be5858b5
Fix bug where the derived placements interface didn't take into account rotations
2021-10-15 17:30:33 +11:00
Dion Moult
776842a064
Spatial containers are now shown sorted by Z index order for convenience.
2021-10-15 17:07:23 +11:00
Dion Moult
bb090bd9a0
Fix deep magick bug where copying elements without having one of them active didn't actually copy them in IFC too
2021-10-15 14:42:08 +11:00
Dion Moult
0abe9f0559
Building storeys now show a derived storey height so you don't need to do math
2021-10-15 13:23:18 +11:00
Dion Moult
07bfe296dd
You can now copy a representation from one object to another
2021-10-15 13:23:18 +11:00
Dion Moult
d666a687dc
FMHEM classes now updated to latest draft
2021-10-15 13:23:18 +11:00
Dion Moult
acde4144bc
You can now toggle whether element filtering also affects spatial containers
2021-10-15 13:23:18 +11:00
Laurens Oostwegel
b41e90ead6
IfcOpenShell-python: Implemented point cloud export functionalities ( #1799 )
...
* Implemented export of point cloud representation
* Do representation geometry data no-edge check before no-polygon check
2021-10-15 12:15:55 +11:00
Dion Moult
68fd0c0cf5
Fix bug where you couldn't filter imported subelements without also selecting their parents
2021-10-14 18:47:48 +11:00
Dion Moult
199be3363f
Fix bug where copying elements shared a placement. This fix speeds up copying parent elements in the decomposition significantly, like when copying a storey.
2021-10-14 16:13:48 +11:00
Dion Moult
dd3fc79fb9
Use context filters during import when possible to optimise import times
2021-10-14 15:53:25 +11:00
Dion Moult
d384b3d7df
Fix bug where copying a container also copied its contents
2021-10-14 15:52:38 +11:00
Dion Moult
04209c78b9
Minor revert - until I properly refactor and test this.
2021-10-14 13:06:26 +11:00
Dion Moult
a7719cc4b1
Fix #1796 . Fix bug where duplicating a collection messes up the collection tree.
2021-10-14 13:04:30 +11:00
Dion Moult
3d0d2ec8fb
Fix #1795 . New support for conversion based units with offsets, like fahrenheit.
2021-10-14 12:46:01 +11:00
Dion Moult
1fa1a9e3d3
Support auto detection of unit type when adding imperial units
2021-10-14 12:44:13 +11:00
Dion Moult
464b0c2ebc
Unassigning the last unit now cleans up empty unit assignments
2021-10-14 12:42:33 +11:00
Dion Moult
179a970974
Utility to print out all maintainable assets for FM paper documentation
2021-10-14 11:36:46 +11:00
Dion Moult
7fb77a794e
Fix #1793 . Whoops.
2021-10-13 19:09:30 +11:00
Dion Moult
1d74306bc2
New recipe (and essay) to fix ArchiCAD IFC4 door swings showing up in Revit
2021-10-13 16:39:16 +11:00
Dion Moult
0c6a3eafd2
IfcCSV now supports setting properties to null values. Neat.
2021-10-13 12:18:29 +11:00
Dion Moult
292cbf55ad
Resolve #1773 . IfcCSV now supports editing properties that were previously null.
2021-10-13 12:17:20 +11:00
Dion Moult
e17ae4ef61
Fix #1792 . Regression caused by other improvements in editing object placement.
2021-10-13 11:55:03 +11:00
Dion Moult
dba6a8d0b4
Fix #1786 . Swap out sub-operators with refactored core calls.
2021-10-13 10:49:28 +11:00
Dion Moult
13725411c9
Migrate project operator tests to pytest-bdd
2021-10-13 09:48:35 +11:00
maxfb87
b0e9f389a5
Add first tooltip ( #1646 ) ( #1791 )
2021-10-13 09:03:36 +11:00
Dion Moult
f6128febe9
You can now clear the active user for ownership history. See #1790 .
2021-10-12 19:12:15 +11:00
Dion Moult
fc2e12bff6
New usecase for adding conversion based units
2021-10-12 18:34:26 +11:00
Gorgious56
e455f87305
First batch of Pset Templates tests ( #1772 )
2021-10-09 13:26:23 +02:00
Vukas Pajic
84fc198bbe
added new functionality and adjusted UI ( #1771 )
2021-10-09 10:13:10 +11:00
Thomas Krijnen
d39e97f6a7
Default HDF5 dynamic libs
2021-10-08 22:01:34 +02:00
Thomas Krijnen
96d509698b
Prefix namespaces for swig
2021-10-08 21:35:41 +02:00
Thomas Krijnen
cefa66cdf9
Link to TKBin
2021-10-08 21:07:56 +02:00
Thomas Krijnen
8198df3fa6
header
2021-10-08 20:39:16 +02:00
Thomas Krijnen
4ebdb5e339
header
2021-10-08 15:50:51 +02:00
Thomas Krijnen
8dca84dd07
Geometry caching
2021-10-08 15:38:46 +02:00
Thomas Krijnen
4cee76ddc3
Make preprocessor defs consistent in IfcConvert.cpp and util.h
2021-10-08 15:25:28 +02:00
Gorgious56
8b34eb41fd
Fix and test importing style attributes twice ( #1784 )
...
* Test importing surface attributes twice
* Fix style attributes not cleared when re-importing
2021-10-08 22:10:24 +11:00
Dion Moult
170cd3b5f5
Minor fix again
2021-10-07 18:59:41 +11:00
Dion Moult
b8c4dd971c
Minor fix
2021-10-07 18:55:22 +11:00
admin
bc32481185
merge
2021-07-05 10:30:06 +08:00
admin
58e9f1baf9
merage
2021-05-10 14:06:18 +08:00
admin
db5432d902
merge master v0.6.0
2021-05-06 09:54:33 +08:00
admin
397b6ae5fe
merage master v6.0.0
2021-04-12 10:26:10 +08:00
admin
72fdca9e82
merage
2021-04-01 16:41:28 +08:00
admin
29b8e67bc8
merge all
2021-03-25 10:04:25 +08:00
admin
33ec80e54d
merge update
2021-01-28 13:56:47 +08:00
admin
371e4137f1
update mager
2021-01-21 13:43:19 +08:00
admin
555a2ce79e
merge master v6.0
2021-01-11 11:39:36 +08:00
admin
699742880e
fix IFC to xml - IFCGROUP in IFC cannot be found in xml #1154
2021-01-11 10:59:03 +08:00
GisSpace
d99348f163
Merge pull request #3 from IfcOpenShell/v0.6.0
...
merge master
2020-12-31 15:44:04 +08:00
GisSpace
d7034c6a40
Merge pull request #2 from IfcOpenShell/v0.6.0
...
merge
2020-12-21 11:13:59 +08:00
GisSpace
ac632d0698
Merge pull request #1 from IfcOpenShell/v0.6.0
...
同步源库
2020-12-18 16:23:04 +08:00
admin
f3696788cb
#1097
...
fix:IFC file conversion obj file, some cases will be rotated 90 °
2020-12-10 18:44:23 +08:00