Dion Moult
a213ab6760
Fix docstrings to reference datatype as it would be used for users
2024-05-06 08:39:48 +10:00
Andrej730
59cc9c0a16
material.assign_material - support batching #4474
2024-04-12 17:41:37 +05:00
Andrej730
1160d20d33
small fixes
2024-03-11 11:39:18 +05:00
Andrej730
a971860094
style.assign_representation_styles to replace previously assigned styles
...
as probably in the most cases user would want 1 style per 1 representation item
After this it's finally possible in BBIM to assign styles to representation items through the materials: https://imgur.com/a/cgiJ1KV
2024-02-22 13:41:34 +05:00
Andrej730
2e45d4a57e
unassign_material_style to handle constituents
2024-02-21 15:15:03 +05:00
Andrej730
0d8c86a0f6
api.unassign_representation_styles
2024-02-21 15:14:28 +05:00
Andrej730
7f0df72fec
assigning material styles to reuse existing styled item + tests
2024-02-21 15:14:28 +05:00
Andrej730
863a8248af
assign_representation_styles to reuse existing styled item + tests
2024-02-21 12:36:06 +05:00
Andrej730
bdc991856c
style.assign_material_style small optimization
2024-02-21 11:32:48 +05:00
Andrej730
96a8c1e8ae
style.assign_material_style to assign style to related shape aspects
2024-02-19 18:08:18 +05:00
Andrej730
f8af28f12a
style.edit_surface_style to support editing IfcSurfaceStyleLighting
...
It was failing because api method wasn't supporting IfcColourRgb attributes edit in general but only for IfcSurfaceStyleShading.SurfaceColour
2023-12-13 16:53:58 +05:00
Andrej730
c4080626df
style.add_surface_texture to work without blender material provided
2023-12-13 14:07:48 +05:00
Andrej730
f773480917
style.edit_surface_style - fix crash setting attribute to None
...
Occured on setting IfcColourOrFactor attribute to None (e.g. DiffuseColour).
2023-12-07 18:09:17 +05:00
Dion Moult
6e932ec2fb
Fix #3974 . Bug where orphaned histories would be left in API remove operations.
2023-11-28 10:46:03 +11:00
Dion Moult
f10d340254
You can now assign and unassign styles to materials
2023-10-21 15:23:55 +11:00
Andrej730
a86456392b
improved relative path handling for textures #3365
...
now we're going to store all texture paths in .ifc as posix to keep them working if .ifc moved from one platform to another
previously it was saving all paths as absolute
2023-06-30 18:05:26 +05:00
Andrej730
243eee9ebf
Added support for OCCLUSION textures for 3aff29dec
2023-06-30 14:44:06 +05:00
Dion Moult
158a4c5e75
Fix bug where IFC2X3 fallback styles couldn't be assigned.
2023-02-03 13:21:23 +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
b86818ead3
Write docs for style API module
2023-01-04 16:10:12 +11: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
f0a00cbc94
#2185 Set up auto generated API reference documentation via sphinx-autoapi
2022-05-09 15:35:52 +10: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
dd7a47ab99
Texture support is now compatible with glTF texture maps
2022-02-09 11:34:59 +11: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
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
810c71dfa2
IfcOpenShell-python licensing and black. See #1082 .
2022-01-19 12:18:33 +11:00
Dion Moult
f26d43e0cd
Prioritise editing rendering surface styles over shading surface styles
2021-10-07 18:51:50 +11:00
Dion Moult
d350a17ce5
Fix bug where editing styles didn't work if factors were stored instead of RGB colours
2021-09-10 17:43:26 +10:00
Dion Moult
865c0f4895
Run black, and add black to a "qa" target to make it a standardised process.
2021-09-09 21:27:31 +10:00
Gorgious
9d4f0730e2
Fix typo in material style assignment code
2021-08-30 13:17:20 +02:00
Gorgious
b5ff3cd818
Fix error due to typo
2021-08-19 22:31:29 +02:00
Dion Moult
2537349ec2
Object style colours are now auto synchronised upon export. See #1585 .
2021-07-28 21:01:09 +10:00
Dion Moult
1d523c9636
Implement assigning material definition representation styles
2021-07-10 22:06:11 +10:00
Dion Moult
6ccb208345
Fix #1557 . Surface style attributes can now be explicitly edited.
2021-07-10 12:34:25 +10:00
Dion Moult
af0f0a4f6c
Implement support for removing styles. See #1557 .
2021-07-10 11:43:01 +10:00
Dion Moult
567bc7b667
Fix confusing transparency attribute in add style API usecase. See #1529 .
2021-06-18 08:03:44 +10:00
Dion Moult
1cd243f13c
Fix #1462 . Standardise IfcOpenShell API to use Pythonic argument names.
2021-05-28 10:59:39 +10:00
Dion Moult
406b8b4540
IfcOpenShell API now uses kwargs to improve user syntax. See #1399 .
2021-03-27 19:14:46 +11:00
Jesusbill
9c00872a57
replace settings=None with {}
2021-03-25 00:54:42 +01:00
Dion Moult
d77bc6bdaa
First attempt at ripping out agnostic code into ifcopenshell.api namespace. See #1399 .
2021-03-25 10:48:48 +11:00