Andrej730
f69c42aaae
makefiles - windows support
2024-07-19 22:22:22 +05:00
Dion Moult
0ecc3d3e2a
Share common makefile instructions, use venv for running build, and separate dist/build dirs
2024-07-18 23:43:12 +10:00
Dion Moult
31acd0a39b
Forgot PYTHON var
2024-07-18 22:44:25 +10:00
Dion Moult
7fb04c7d8f
Wrap IOS make in venv
2024-07-18 22:40:43 +10:00
Dion Moult
f0077b9e22
Fix ifcopenshell-python wheel packaging missing util schema json files
2024-07-18 20:24:17 +10:00
Andrej730
09d5fafdf8
note on OCC imports
2024-07-15 18:34:39 +05:00
Andrej730
54cc4192bd
typing for pythonocc types
2024-07-15 18:34:39 +05:00
Andrej730
eff778d5be
support pythonocc >= 7.8.0 #4942
...
Related: https://github.com/tpaviot/pythonocc-core/issues/1350
Also added a print so this type of errors won't go silently.
2024-07-15 18:34:38 +05:00
Andrej730
66877c227b
typing
2024-07-15 18:34:38 +05:00
Andrej730
7e117bca90
Move supported OCCT version in docs to general dependencies
2024-07-15 18:34:38 +05:00
Andrej730
9f084558f6
mathutils note
2024-07-15 18:34:38 +05:00
Dion Moult
8923d02f68
Update to latest Sphinx AutoAPI
2024-07-15 09:20:56 +10:00
Dion Moult
447a13b6e7
Forgot to do the same for PyPI
2024-07-14 23:31:34 +10:00
Dion Moult
2531a58083
Fix IOS-Python build to use the new platform-specific blobs
2024-07-14 23:27:22 +10:00
Dion Moult
70ae0fd850
Same for IOS, I guess?
2024-07-14 23:21:04 +10:00
Dion Moult
04365053a8
Fix deep purge of unit when converting units and fix bug where unit was removed if map unit was the same as the project unit
2024-07-12 22:48:23 +10:00
Dion Moult
c79e490d6d
Add test for fix in f56bae14
2024-07-12 21:57:29 +10:00
VDobranov
f56bae141b
Update shape_builder.py
...
Described in the https://github.com/IfcOpenShell/IfcOpenShell/issues/4989
2024-07-12 14:59:04 +10:00
Andrej730
8579c61ab6
ifcopenshell.draw - add drawing_object_type argument and descriptions
2024-07-11 19:03:09 +05:00
Andrej730
5440445cbc
ifcopenshell.draw - error if just 1 file is provided
2024-07-11 19:03:09 +05:00
Dion Moult
e28b4d40ab
Converting project length units now intelligently preserves map unit and coordinate operation scale.
2024-07-11 23:10:24 +10:00
Dion Moult
a6940d2cba
Fix bug where schema instead of schema_identifer was used to get the schema_by_name. Fix tests to use IFC4X3_ADD2 so that you only need the official version compiled
2024-07-11 22:26:19 +10:00
Andrej730
3a6c3a8312
add typing-extensions to ifcopenshell explicit dependencies
...
typing-extensions is official python package for supporting typing features on older versions.
It was kind of included in both blenderbim and to ifcopenshell as typing-extensions is also numpy dependency, included it explicitly just in case.
2024-07-10 21:37:34 +05:00
Andrej730
86fa24aba3
fix support for Python <3.11
2024-07-10 21:37:08 +05:00
Andrej730
feea42f988
ifcopenshell.draw - add hlr_poly option
2024-07-10 15:34:35 +05:00
Dion Moult
4e78de6ce9
You can now select group and system data in selectors
2024-07-10 17:30:38 +10:00
Dion Moult
b34d10bd35
Bump IOS
2024-07-09 08:23:04 +10:00
Andrej730
8e86b3d1d8
util.shape - optimize by using shape buffers and numpy
2024-07-08 18:49:12 +05:00
Andrej730
acf135a6ed
Store item_ids in imported meshes and set them on toggling edit mode
...
It will be used later to add more IFC capabilities to EDIT mode.
Example - https://imgur.com/a/HAkjoCY
2024-07-08 17:46:11 +05:00
Andrej730
b45a995bb3
typing
2024-07-08 17:43:55 +05:00
Dion Moult
d00e60369b
Bump IOS
2024-07-07 22:24:35 +10:00
Dion Moult
95f71a2e2f
You can now specify custom project norths when loading in models in absolute terms
2024-07-06 15:43:16 +10:00
Andrej730
74e27a27b5
bump BBIM build
2024-07-05 12:02:16 +05:00
petrisch
2ddbf57597
Little typo
2024-07-04 11:34:07 +05:00
Andrej730
f1290ef061
Replace SEW_SHELLS with REORIENT_SHELLS #4832
2024-07-04 11:10:24 +05:00
Thomas Krijnen
10059a722b
Handling of None in draw.py #4924 - mostly untested
2024-07-03 20:02:13 +02:00
Andrej730
8f92877fb4
typing
2024-07-03 18:12:20 +05:00
Andrej730
5d1b2e4651
black format
2024-07-03 18:12:19 +05:00
Andrej730
9485190604
ifcopenshell.draw - omit sys.argv + help message
...
To make sure user will get an error if files are not provided - if we use sys.argv then we always have __file__ in it and if user won't provide fiels they'll get a less readable error
Before:
sr.setFile(files[0])
~~~~~^^^
IndexError: list index out of range
Now:
usage: draw.py files [files ...]
draw.py: error: the following arguments are required: files
2024-07-02 15:32:48 +05:00
Andrej730
d1523eaeac
ifcopenshell.draw - update to v0.8
2024-07-02 15:32:48 +05:00
Andrej730
1af8e7d0ef
ifcopenshell.geom.serializers - avoid wrappers for svg/obj
...
To keep the signatures
2024-07-02 15:32:48 +05:00
Andrej730
deb0b3482b
IfcHeaderExtractor tests
2024-07-01 18:26:03 +05:00
Andrej730
ae2a299616
move IfcHeaderExtractor to util.file
...
edited pyproject.toml as `disableBytesTypePromotions` is disabled by default in non-strict mode and type checker intrerprets `bytes` as `bytes | memoryview | bytearray` which is deprecated in https://peps.python.org/pep-0688/#no-special-meaning-for-bytes
2024-07-01 18:26:03 +05:00
Andrej730
8538a916a3
ifcopenshell.file docs
2024-07-01 18:26:02 +05:00
Dion Moult
5c151c6b57
Bump bot build
2024-07-01 11:44:17 +10:00
shungeer
8c12da13e6
Update README.md about extend express usage ( #4841 )
...
1. C++ code generation by extend express.
2. python rule code generation by extend express.
2024-07-01 11:20:30 +10:00
Dion Moult
0d401c9272
Fix bug where migrating length units didn't change properties. Unit utility for checking attribute types now considers select types too
...
Changing properties is very critical for IFC2X3 georeferencing which is stored in a pset.
2024-06-29 17:04:27 +10:00
Andrej730
dcc568f5a3
ifcopenshell.geom.create_shape - expose geometry_library argument
2024-06-28 18:24:58 +05:00
Andrej730
2e4a2712e9
ifcopenshell.geom - document available geometry libraries
2024-06-28 18:24:58 +05:00
Andrej730
c3930a6573
black format
2024-06-28 18:16:32 +05:00