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 +3 -0
- package/dist/brepjs-bim.cjs +4 -4
- package/dist/brepjs-bim.js +4 -4
- package/package.json +1 -1
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
|
package/dist/brepjs-bim.cjs
CHANGED
|
@@ -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,
|
|
7588
|
-
0,
|
|
7587
|
+
return validateGeneratedSolid(own((0, brepjs.rotate)(prism, 120, { axis: [
|
|
7589
7588
|
1,
|
|
7590
|
-
|
|
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.
|
|
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();
|
package/dist/brepjs-bim.js
CHANGED
|
@@ -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,
|
|
7566
|
-
0,
|
|
7565
|
+
return validateGeneratedSolid(own(rotate(prism, 120, { axis: [
|
|
7567
7566
|
1,
|
|
7568
|
-
|
|
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.
|
|
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();
|