brepjs-bim 0.27.1 → 0.27.2

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/README.md CHANGED
@@ -21,6 +21,9 @@ stable GlobalIds derived from component key paths. Hand-authoring specs against
21
21
  the low-level path (and covers elements the declarative route doesn't yet). See the
22
22
  [Declarative Models guide](https://brepjs.dev/families/overview).
23
23
 
24
+ The [BIM examples](https://brepjs.dev/examples/#bim) are complete programs that you can read and run in
25
+ the browser.
26
+
24
27
  ## Scope
25
28
 
26
29
  Parametric authoring of the common IFC4 building elements plus the data layers that make a model
@@ -7584,10 +7584,10 @@ function beamToSolid(spec) {
7584
7584
  ]);
7585
7585
  if (!prismResult.ok) return (0, brepjs.err)(fromBrepError(prismResult.error, "BEAM_EXTRUDE_FAILED", "Failed to extrude beam profile"));
7586
7586
  const prism = own(prismResult.value);
7587
- return validateGeneratedSolid(own((0, brepjs.rotate)(prism, 90, { axis: [
7588
- 0,
7587
+ return validateGeneratedSolid(own((0, brepjs.rotate)(prism, 120, { axis: [
7589
7588
  1,
7590
- 0
7589
+ 1,
7590
+ 1
7591
7591
  ] })), {
7592
7592
  code: "BEAM_INVALID_SOLID",
7593
7593
  message: "Extruded beam solid failed validity check"
@@ -9806,7 +9806,7 @@ var BimModel = class {
9806
9806
  return localId;
9807
9807
  }
9808
9808
  };
9809
- // \0@oxc-project+runtime@0.155.0/helpers/esm/usingCtx.js
9809
+ // \0@oxc-project+runtime@0.156.0/helpers/esm/usingCtx.js
9810
9810
  function _usingCtx() {
9811
9811
  var r = "function" == typeof SuppressedError ? SuppressedError : function(r, e) {
9812
9812
  var n = Error();
@@ -7562,10 +7562,10 @@ function beamToSolid(spec) {
7562
7562
  ]);
7563
7563
  if (!prismResult.ok) return err(fromBrepError(prismResult.error, "BEAM_EXTRUDE_FAILED", "Failed to extrude beam profile"));
7564
7564
  const prism = own(prismResult.value);
7565
- return validateGeneratedSolid(own(rotate(prism, 90, { axis: [
7566
- 0,
7565
+ return validateGeneratedSolid(own(rotate(prism, 120, { axis: [
7567
7566
  1,
7568
- 0
7567
+ 1,
7568
+ 1
7569
7569
  ] })), {
7570
7570
  code: "BEAM_INVALID_SOLID",
7571
7571
  message: "Extruded beam solid failed validity check"
@@ -9784,7 +9784,7 @@ var BimModel = class {
9784
9784
  return localId;
9785
9785
  }
9786
9786
  };
9787
- // \0@oxc-project+runtime@0.155.0/helpers/esm/usingCtx.js
9787
+ // \0@oxc-project+runtime@0.156.0/helpers/esm/usingCtx.js
9788
9788
  function _usingCtx() {
9789
9789
  var r = "function" == typeof SuppressedError ? SuppressedError : function(r, e) {
9790
9790
  var n = Error();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "brepjs-bim",
3
- "version": "0.27.1",
3
+ "version": "0.27.2",
4
4
  "description": "BIM layer for brepjs — IFC4-aligned parametric building elements",
5
5
  "keywords": [
6
6
  "bim",