@snaptrude/plugin-core 1.1.0-pbr-20261102.3 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/package.json +1 -1
- package/api-manifest.json +0 -10792
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @snaptrude/plugin-core
|
|
2
2
|
|
|
3
|
+
## 1.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 60af1fe: PBR material slots: `design.materials.applyToSlot(components, "glazing" | "frame", material)` paints only a family/type's authored glazing or frame slots (one undo step; BREP components refused), with `design.windows.setGlazing` / `setFrame` as window shorthands. `design.materials.listPresets()` includes the deployment PBR catalogue under identity-qualified names (`[catalogId@catalogVersion]`) that `create`/`apply` accept verbatim as `{ name }`. `PluginMaterialSpec` / `PluginMaterialInfo` gain optional diffuse `transmission` (0..1).
|
|
8
|
+
- 0ff661c: `presentation.lighting` joins the contract: `listPresets`, `get`, `set`, `applyPreset`, and the new `enableRealistic()` / `disableRealistic()`, which turn realistic rendering on and off as View settings' Realistic toggle does, within its guards (`PRECONDITION_FAILED` with `details.reason` `"REALISTIC_ROLLOUT_OFF"` outside the rollout, or `"REALISTIC_SUSPENDED"` after this browser lost its GPU in realistic rendering; only the user lifts that). The lighting state gains `realistic` (`false` while suspended), `realisticAvailable`, `realisticUnavailableReason` (the `details.reason` `enableRealistic()` would throw, or `null`) and `atmosphere.clouds`; `set({ atmosphere: { clouds } })` turns the sky's volumetric cloud shapes on or off under every preset (`null`: the preset decides). The error-code registry gains `GPU_DEVICE_LOST`. `presentation.views.capture` results gain optional `realisticPending`, `true` when realistic rendering was still compiling after the capture's wait so the image shows the Design look.
|
|
9
|
+
|
|
3
10
|
## 1.0.4
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|