Andrej730
0488e4cccb
bcfp numpy 2.0+ support #5080
...
`np.float_` is deprecated, it was just an alias for `np.float64`
2024-07-26 16:29:26 +05:00
Dion Moult
e7b791f4a2
Run black on utils
2024-07-26 12:16:36 +10: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
237cd99e3b
Make bcf follow the same folder hierarchy as everybody else
2024-07-18 23:41:30 +10:00
Dion Moult
2d5be6cf89
Search replace 0.7.0 with 0.8.0
2024-06-27 11:49:12 +10:00
Dion Moult
3c659a342f
BCF workflow now uses VERSION
2024-06-12 19:23:10 +10:00
Andrej730
42be4eb064
typing
2024-05-17 17:31:01 +05:00
Andrej730
da4ce3773f
bcf - fix xsdata warning about deprecated argument in SerializerConfig
...
`pretty_print` was deprecated in 24.2 (https://github.com/tefra/xsdata/commit/2b01dbf6cf586e7d64e93ec7045dc17d2585e0de ) and replaced with `indent`
2024-05-17 11:57:46 +05:00
Andrej730
87c9bbe2a7
Fix bcf due xsdata update #4680
...
After https://github.com/tefra/xsdata/commit/93a8ca0548d1f7badb628ad9fd0327672abe140b
`parser.register_namespace("xs", "http://www.w3.org/2001/XMLSchema ")` started failing with `TypeError: PushParser.register_namespace() missing 1 required positional argument: 'uri'` since xsdata added a new argument `ns_map` (previously it was always using `parse.ns_map` under the hood, now it allows to provide some external dictionary). We just restore the original behaviour with internal `ns_map` by providing it explicitly.
Specified xsdata version after that change in pyproject.toml.
Also `serialize()` is now using `parser.ns_map` as a fallback value (otherwise why we do `parser.register_namespace` if we never used the `parser.ns_map`?)
2024-05-17 11:46:53 +05:00
Dion Moult
62fa0bb218
Migrate more documentation to the official Sphinx docs and mention IfcOpenShell-WASM as an installation option
2023-09-21 13:21:43 +10:00
Christoph Mellueh
b8168ca606
add build to Makefile and use it in bcf-pypi Workflow
2023-08-28 11:24:19 +02:00
Dion Moult
a980ce1bfa
Fix #3355 . Reimplement graphical clash snapshots in BCF from IfcClash in the BlenderBIM Add-on.
2023-07-03 16:50:40 +10:00
Martin15135215
e78b3a3977
CITATION.cff for bcf
2023-06-08 09:45:54 +10:00
Dion Moult
7020caf682
See #3069 . More cleanup moving away from collection names and assumed single collections.
2023-06-01 17:39:36 +10: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
Andrea Ghensi
ac81169290
build(bcf): remove conda dependency
2023-02-20 07:26:34 +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
Andrea Ghensi
a4566797fe
fix: ifcclash bcfxml export
2023-01-15 07:23:42 +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
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
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
molitoris
e384dbd548
Correct HeaderFile ( #1942 )
...
Rename file_name to filename (without underline)
2022-01-04 13:06:01 +11: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
6addbd935f
Add copyright boilerplate to BCF and OpenCDE code
2021-08-29 16:51:56 +10:00
Prabhat Singh
5782691cdb
minor fix ( #1704 )
2021-08-29 15:48:37 +10:00
krande
d4ace423a3
Prep BCF for pypi upload.
...
* Refactored the BCF dir into a "src-layout" which I am more comfortable with. We can likely change this back if it is not compatible with other development
* I added a few setup files for the bcf package (setup.cfg, pyproject.toml and a MANIFEST.in file)
* Added two __init__.py files in the v2 and v3 subfolders for them to be picked up during package compilation
2021-08-26 09:58:37 +02:00
Prabhat Singh
9513a9ebef
Minor improvements ( #1682 )
...
* Added Schema Check in bcf routes
* Basic Changes
Co-authored-by: Dion Moult <dion@thinkmoult.com >
2021-08-23 17:18:34 +10:00
Prabhat Singh
a0def600e8
Added Schema Check in bcf routes ( #1671 )
2021-08-20 08:10:20 +10:00
Prabhat Singh
1b4d0bf577
updated routes ( #1661 )
2021-08-17 07:48:55 +10:00
Dion Moult
199bc86a88
Minor code review
2021-08-12 17:56:58 +10:00
Prabhat Singh
7a5b15e5a2
Added Routes to BCF ( #1644 )
2021-08-12 17:10:25 +10:00
Dion Moult
07bf60819a
Minor fix
2021-08-06 16:44:47 +10:00
Dion Moult
562b520233
Split BCF-API client and OpenCDE Foundation-API client system
2021-08-04 18:03:52 +10:00
Prabhat Singh
44f8255296
Added BCF Server ( #1626 )
2021-08-04 12:14:24 +10:00
Dion Moult
5cf07a910e
Include licenses on IfcOpenShell sub-utilities. See #1082 .
2021-08-04 10:51:31 +10:00
Prabhat Singh
e3786423c2
Update README.md ( #1571 )
2021-07-17 16:42:19 +10:00
Dion Moult
fd04066940
Minor fix
2021-07-15 18:21:18 +10:00
Dion Moult
d34956c2c7
Add readme info on how to use new BCFAPI. Thanks TestPrab!
2021-07-15 18:02:16 +10:00
Prabhat Singh
ad2585c571
Merge branch 'v0.6.0' of https://github.com/TestPrab/IfcOpenShell into prabhat_gsoc ( #1566 )
2021-07-15 17:41:24 +10:00
Dion Moult
db04cc1bb5
Implement partial undo for BCF operators. Note that undo is not supported in BCF lib itself, nor BCF API. See #1475 .
2021-07-07 11:57:07 +10:00
Dion Moult
1f128fd7e4
Minor BCF fix
2021-07-07 11:44:16 +10:00
Dion Moult
5cfbcf211b
Minor fix
2021-07-06 18:17:34 +10:00
Dion Moult
1b49a10a15
Minor fix, bump readme
2021-06-17 18:30:25 +10:00
Dion Moult
93c59e81c6
Minor code review for BCF XML 3.0 implementation with TestPrab
2021-05-26 18:00:21 +10:00
Dion Moult
96465bed8f
Code review for BCFXML v3 Markup.xsd implementation with TestPrab
2021-05-25 18:44:11 +10:00
Prabhat Singh
41bdeea981
Added Script for V3 bcfxml ( #1486 )
...
* Added Module Loader
* Added Project and Version script for v3
* Cleaning the code
* optional fix
* Added markup.xsd in v3 bcfxml
* Completed Vision.xsd and Markup.xsd
Co-authored-by: Dion Moult <dion@thinkmoult.com >
2021-05-25 17:22:01 +10:00
Prabhat Singh
851ab07192
Added Project and Version script for v3 bcfxml.py ( #1473 )
...
* Added Project and Version script for v3
* Removed Redundant part
* Optional Element Fixes
2021-05-19 08:40:28 +10:00
Dion Moult
ba742d5976
Fix #1465 . Bump BCF to new namespace.
2021-05-17 14:02:29 +10:00