Bruno Perdigão
3740b86678
Add handlers to update layer when adding and removing material layer
2025-01-21 10:49:29 -03:00
Andrej730
0ea513818b
Support assigning material sets as usages from UI #5933
...
It's on alt+click in Materials UI, see example - https://imgur.com/a/8gP7iAZ
2025-01-15 18:41:19 +05:00
Bruno Perdigão
4f6e2586e1
Fix #5727
2024-11-26 10:42:26 -03:00
Andrej730
e87faa167c
typing
...
also small optimization in MaterialCreator.create to address ifc a couple times less
2024-09-09 17:28:24 +05:00
Andrej730
90e9c21320
material.add_profile note
2024-09-02 18:40:12 +05:00
Andrej730
46b3bfecd1
fix issues assigning material sets and material lists
2024-07-29 18:53:12 +05:00
Dion Moult
a6286293d8
Run black on IOS-Python
2024-07-26 12:00:57 +10:00
Andrej730
b45a995bb3
typing
2024-07-08 17:43:55 +05:00
Dion Moult
07060fc769
Replace all ifcopenshell.api.run with ifcopenshell.api static functions.
2024-06-28 12:36:31 +10:00
Andrej730
f364643d7e
fix assigning material usages / reloading reprs after c4ae9578e #4843
2024-06-25 18:30:52 +05:00
Dion Moult
cdce612566
Update all geom settings to new v0.8 syntax
2024-06-09 16:15:55 +10:00
Andrej730
4a5d1eba0b
specify exported api methods in __all__
...
It's py.types requirement, similar to 6e2edbf
Example issue without __all__:
import ifcopenshell
import ifcopenshell.api.project
# "create_file" is not exported from module "ifcopenshell.api.project"
ifcopenshell.api.project.create_file()
2024-06-03 17:44:05 +05:00
Ryan Schultz
58a7ef62d7
fix #4729 : add a description and category when creating a new material
2024-05-25 09:49:15 -05:00
Dion Moult
fd62ba63a5
Do not copy presentation styles when copying a material
...
Ideally, presentation styles are reused. For example, 5 types of concrete can all use the same presentation
2024-05-25 15:14:07 +10:00
Dion Moult
16c5fd56ca
You can now copy a material list
2024-05-25 15:13:36 +10:00
Dion Moult
d85f9af790
The API can now copy material sets too
2024-05-25 14:42:45 +10:00
Andrej730
bb8e84e5ec
typing
2024-05-15 17:18:33 +05:00
Andrej730
ebd03e9290
typing
2024-05-13 18:01:17 +05:00
Andrej730
1d046eaadf
material.remove_material and copy_material to handle ifc2x3 props
2024-05-13 18:01:17 +05:00
Andrej730
cbf04546b8
fix many implicit ifcopenshell.guid imports
...
a bit related to 10d30b0de
2024-05-08 18:18:02 +05:00
Dion Moult
10d30b0de7
Document api modules and require explicit imports of API submodules
2024-05-08 17:00:35 +10:00
Dion Moult
d11ec67129
Generate functions for all API usecases for better static code features. See #2693 .
2024-05-06 14:43:43 +10:00
Dion Moult
a213ab6760
Fix docstrings to reference datatype as it would be used for users
2024-05-06 08:39:48 +10:00
Andrej730
137a306269
typing
2024-05-01 16:42:20 +05:00
Andrej730
eb46de9658
material.unassign_material - support batching #4474
2024-04-12 17:41:37 +05:00
Andrej730
59cc9c0a16
material.assign_material - support batching #4474
2024-04-12 17:41:37 +05:00
Andrej730
32d2f1d629
material.assign_material - update owner history
2024-04-12 17:41:37 +05:00
Andrej730
e12c05eea0
typing
2024-04-11 17:09:41 +05:00
Andrej730
df4943205a
type.assign_type - support batching #4474
2024-04-10 18:58:44 +05:00
Bruno Postle
25bd94e84a
minor documentation typo fix
2023-11-28 23:28:38 +00:00
Dion Moult
14f1acadb7
See #3974 . WIP review to ensure history removal in API.
2023-11-27 18:31:55 +11:00
Sigma Dimensions
a4a6dce6de
BBIM D: Copy cost items, export Cost Schedules individually, start improving Cost Schedule UI
2023-05-21 12:42:50 +01:00
Dion Moult
e9a3630595
Fix #2898 . You can now copy materials from the materials tab.
2023-03-26 19:04:32 +11:00
Carlos Villagrasa
91f4687eac
Revert "Add more parameters to material.add_layer"
...
This reverts commit 9946117de1 .
2023-03-17 17:02:35 +01: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
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
CyrilWaechter
a6fa6201f7
Fix bugs introduced in cf87852
2023-02-15 10:34:25 +01: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
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
b3c7971ea9
Purge all data classes from API.
2023-02-01 15:44:08 +11:00
Dion Moult
c8ba96cde8
Make syntax highlighting explicit in docs
2023-01-10 10:16:28 +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
Dion Moult
a89c061b58
Write docs for project API module
2022-12-14 17:28:34 +11:00
Dion Moult
cf87852d9c
Add API documentation for the material module
2022-12-07 17:30:08 +11: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
Dion Moult
f0a00cbc94
#2185 Set up auto generated API reference documentation via sphinx-autoapi
2022-05-09 15:35:52 +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
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