ocjs-fluidcad 1.3.0 → 1.5.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/dist/opencascade.fluidcad.multi-threaded.build-manifest.json +8 -4
- package/dist/opencascade.fluidcad.multi-threaded.d.ts +106 -0
- package/dist/opencascade.fluidcad.multi-threaded.js.symbols +29093 -29054
- package/dist/opencascade.fluidcad.multi-threaded.provenance.json +13 -9
- package/dist/opencascade.fluidcad.multi-threaded.wasm +0 -0
- package/package.json +1 -1
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"pass": true,
|
|
14
14
|
"wasm_exists": true,
|
|
15
15
|
"wasm_file": "opencascade.fluidcad.multi-threaded.wasm",
|
|
16
|
-
"wasm_size":
|
|
16
|
+
"wasm_size": 22850589
|
|
17
17
|
}
|
|
18
18
|
],
|
|
19
19
|
"runtime_helpers": {
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"symbols": {
|
|
31
31
|
"alias_resolved": [],
|
|
32
32
|
"builtin": [],
|
|
33
|
-
"compiled":
|
|
34
|
-
"extra_compiled":
|
|
33
|
+
"compiled": 5359,
|
|
34
|
+
"extra_compiled": 5035,
|
|
35
35
|
"missing": [],
|
|
36
36
|
"pass": true,
|
|
37
37
|
"requested": [
|
|
@@ -113,9 +113,11 @@
|
|
|
113
113
|
"BRepSweep_Revol",
|
|
114
114
|
"BRepTools",
|
|
115
115
|
"BRepTools_History",
|
|
116
|
+
"BRepTools_Modifier",
|
|
116
117
|
"BRepTools_WireExplorer",
|
|
117
118
|
"BRep_Builder",
|
|
118
119
|
"BRep_Tool",
|
|
120
|
+
"BRep_ToolExt",
|
|
119
121
|
"Bnd_Box",
|
|
120
122
|
"Bnd_Box2d",
|
|
121
123
|
"Bnd_OBB",
|
|
@@ -268,6 +270,8 @@
|
|
|
268
270
|
"STEPControl_Writer",
|
|
269
271
|
"ShapeAnalysis_FreeBounds",
|
|
270
272
|
"ShapeAnalysis_WireOrder",
|
|
273
|
+
"ShapeCustom",
|
|
274
|
+
"ShapeCustomExt",
|
|
271
275
|
"ShapeExtend_WireData",
|
|
272
276
|
"ShapeFix_Face",
|
|
273
277
|
"ShapeFix_Root",
|
|
@@ -360,5 +364,5 @@
|
|
|
360
364
|
"timestamp": "2026-07-22T20:05:33Z",
|
|
361
365
|
"validation_passed": true,
|
|
362
366
|
"yaml_config": "fluidcad_multi.yml",
|
|
363
|
-
"yaml_hash": "
|
|
367
|
+
"yaml_hash": "2283bfb10677"
|
|
364
368
|
}
|
|
@@ -17779,6 +17779,47 @@ export declare class ShapeAnalysis_WireOrder {
|
|
|
17779
17779
|
[Symbol.dispose](): void;
|
|
17780
17780
|
}
|
|
17781
17781
|
|
|
17782
|
+
/**
|
|
17783
|
+
* This package is intended to convert geometrical objects and topological. The modifications of one geometrical object to another (one) geometrical object are provided.
|
|
17784
|
+
* The supported modifications are the following: conversion of BSpline and Bezier surfaces to analytical form, conversion of indirect elementary surfaces (with left-handed coordinate systems) into direct ones, conversion of elementary surfaces to surfaces of revolution, conversion of surface of linear extrusion, revolution, offset surface to bspline, modification of parameterization, degree, number of segments of bspline surfaces, scale the shape.
|
|
17785
|
+
*/
|
|
17786
|
+
export declare class ShapeCustom {
|
|
17787
|
+
constructor();
|
|
17788
|
+
/**
|
|
17789
|
+
* Applies modifier to shape and checks sharing in the case assemblies.
|
|
17790
|
+
* @param context Mutated in place; read the updated value from this argument after the call.
|
|
17791
|
+
*/
|
|
17792
|
+
static ApplyModifier(S: TopoDS_Shape, M: unknown, context: NCollection_DataMap_TopoDS_Shape_TopoDS_Shape_TopTools_ShapeMapHasher, MD: BRepTools_Modifier, theProgress: Message_ProgressRange, aReShape: unknown): TopoDS_Shape;
|
|
17793
|
+
/**
|
|
17794
|
+
* Returns a new shape without indirect surfaces.
|
|
17795
|
+
*/
|
|
17796
|
+
static DirectFaces(S: TopoDS_Shape): TopoDS_Shape;
|
|
17797
|
+
/**
|
|
17798
|
+
* Returns a new shape which is scaled original.
|
|
17799
|
+
*/
|
|
17800
|
+
static ScaleShape(S: TopoDS_Shape, scale: number): TopoDS_Shape;
|
|
17801
|
+
/**
|
|
17802
|
+
* Returns a new shape with all surfaces, curves and pcurves which type is BSpline/Bezier or based on them converted having Degree less than <MaxDegree> or number of spans less than <NbMaxSegment> in dependence on parameter priority <Degree>. <GmaxDegree> and <GMaxSegments> are maximum possible degree and number of spans correspondingly. These values will be used in those cases when approximation with specified parameters is impossible and one of GmaxDegree or GMaxSegments is selected in dependence on priority.
|
|
17803
|
+
* Note that even if approximation is impossible with <GMaxDegree> then number of spans can exceed specified <GMaxSegment> <Rational> specifies if to convert Rational BSpline/Bezier into polynomial B-Spline. If flags ConvOffSurf,ConvOffCurve3d,ConvOffCurve2d are true there are means that Offset surfaces , Offset curves 3d and Offset curves 2d are converted to BSPline correspondingly.
|
|
17804
|
+
*/
|
|
17805
|
+
static BSplineRestriction(S: TopoDS_Shape, Tol3d: number, Tol2d: number, MaxDegree: number, MaxNbSegment: number, Continuity3d: GeomAbs_Shape, Continuity2d: GeomAbs_Shape, Degree: boolean, Rational: boolean, aParameters: unknown): TopoDS_Shape;
|
|
17806
|
+
/**
|
|
17807
|
+
* Returns a new shape with all elementary periodic surfaces converted to {@link Geom_SurfaceOfRevolution | `Geom_SurfaceOfRevolution`}.
|
|
17808
|
+
*/
|
|
17809
|
+
static ConvertToRevolution(S: TopoDS_Shape): TopoDS_Shape;
|
|
17810
|
+
/**
|
|
17811
|
+
* Returns a new shape with all surfaces of revolution and linear extrusion convert to elementary periodic surfaces.
|
|
17812
|
+
*/
|
|
17813
|
+
static SweptToElementary(S: TopoDS_Shape): TopoDS_Shape;
|
|
17814
|
+
/**
|
|
17815
|
+
* Returns a new shape with all surfaces of linear extrusion, revolution, offset, and planar surfaces converted according to flags to {@link Geom_BSplineSurface | `Geom_BSplineSurface`} (with same parameterisation).
|
|
17816
|
+
*/
|
|
17817
|
+
static ConvertToBSpline(S: TopoDS_Shape, extrMode: boolean, revolMode: boolean, offsetMode: boolean, planeMode?: boolean): TopoDS_Shape;
|
|
17818
|
+
/** Releases the C++ object. The caller must ensure no further access. */
|
|
17819
|
+
delete(): void;
|
|
17820
|
+
[Symbol.dispose](): void;
|
|
17821
|
+
}
|
|
17822
|
+
|
|
17782
17823
|
/**
|
|
17783
17824
|
* This class provides a data structure necessary for work with the wire as with ordered list of edges, what is required for many algorithms. The advantage of this class is that it allows to work with wires which are not correct.
|
|
17784
17825
|
* The object of the class {@link ShapeExtend_WireData | `ShapeExtend_WireData`} can be initialized by {@link TopoDS_Wire | `TopoDS_Wire`}, and converted back to {@link TopoDS_Wire | `TopoDS_Wire`}. An edge in the wire is defined by its rank number. Operations of accessing, adding and removing edge at the given rank number are provided.
|
|
@@ -21507,6 +21548,51 @@ export declare const BRepTools_History_TRelationType: {
|
|
|
21507
21548
|
readonly TRelationType_Modified: 'TRelationType_Modified';
|
|
21508
21549
|
};
|
|
21509
21550
|
|
|
21551
|
+
/**
|
|
21552
|
+
* Performs geometric modifications on a shape.
|
|
21553
|
+
*/
|
|
21554
|
+
export declare class BRepTools_Modifier {
|
|
21555
|
+
/**
|
|
21556
|
+
* Creates an empty Modifier.
|
|
21557
|
+
*/
|
|
21558
|
+
constructor(theMutableInput?: boolean);
|
|
21559
|
+
/**
|
|
21560
|
+
* Creates a modifier on the shape .
|
|
21561
|
+
*/
|
|
21562
|
+
constructor(S: TopoDS_Shape);
|
|
21563
|
+
/**
|
|
21564
|
+
* Creates a modifier on the shape , and performs the modifications described by <M>.
|
|
21565
|
+
*/
|
|
21566
|
+
constructor(S: TopoDS_Shape, M: unknown);
|
|
21567
|
+
/**
|
|
21568
|
+
* Initializes the modifier with the shape .
|
|
21569
|
+
*/
|
|
21570
|
+
Init(S: TopoDS_Shape): void;
|
|
21571
|
+
/**
|
|
21572
|
+
* Performs the modifications described by <M>.
|
|
21573
|
+
*/
|
|
21574
|
+
Perform(M: unknown, theProgress?: Message_ProgressRange): void;
|
|
21575
|
+
/**
|
|
21576
|
+
* Returns true if the modification has been computed successfully.
|
|
21577
|
+
*/
|
|
21578
|
+
IsDone(): boolean;
|
|
21579
|
+
/**
|
|
21580
|
+
* Returns the current mutable input state.
|
|
21581
|
+
*/
|
|
21582
|
+
IsMutableInput(): boolean;
|
|
21583
|
+
/**
|
|
21584
|
+
* Sets the mutable input state If true then the input (original) shape can be modified during modification process.
|
|
21585
|
+
*/
|
|
21586
|
+
SetMutableInput(theMutableInput: boolean): void;
|
|
21587
|
+
/**
|
|
21588
|
+
* Returns the modified shape corresponding to .
|
|
21589
|
+
*/
|
|
21590
|
+
ModifiedShape(S: TopoDS_Shape): TopoDS_Shape;
|
|
21591
|
+
/** Releases the C++ object. The caller must ensure no further access. */
|
|
21592
|
+
delete(): void;
|
|
21593
|
+
[Symbol.dispose](): void;
|
|
21594
|
+
}
|
|
21595
|
+
|
|
21510
21596
|
/**
|
|
21511
21597
|
* The WireExplorer is a tool to explore the edges of a wire in a connection order.
|
|
21512
21598
|
*
|
|
@@ -41044,6 +41130,22 @@ export declare class NCollection_DataMap_TCollection_ExtendedString_unsignedchar
|
|
|
41044
41130
|
[Symbol.dispose](): void;
|
|
41045
41131
|
}
|
|
41046
41132
|
|
|
41133
|
+
export declare class BRep_ToolExt {
|
|
41134
|
+
constructor();
|
|
41135
|
+
static CurveOnFace(E: TopoDS_Edge, F: TopoDS_Face, First?: number, Last?: number): { returnValue: Geom2d_Curve; First: number; Last: number; [Symbol.dispose](): void };
|
|
41136
|
+
/** Releases the C++ object. The caller must ensure no further access. */
|
|
41137
|
+
delete(): void;
|
|
41138
|
+
[Symbol.dispose](): void;
|
|
41139
|
+
}
|
|
41140
|
+
|
|
41141
|
+
export declare class ShapeCustomExt {
|
|
41142
|
+
constructor();
|
|
41143
|
+
static DirectFaces(S: TopoDS_Shape, MD: BRepTools_Modifier): TopoDS_Shape;
|
|
41144
|
+
/** Releases the C++ object. The caller must ensure no further access. */
|
|
41145
|
+
delete(): void;
|
|
41146
|
+
[Symbol.dispose](): void;
|
|
41147
|
+
}
|
|
41148
|
+
|
|
41047
41149
|
/**
|
|
41048
41150
|
* Indexed map of ASCII string key-value pairs.
|
|
41049
41151
|
*
|
|
@@ -42015,6 +42117,7 @@ export type OpenCascadeInstance = {
|
|
|
42015
42117
|
BRepSweep_Revol: typeof BRepSweep_Revol;
|
|
42016
42118
|
ShapeAnalysis_FreeBounds: typeof ShapeAnalysis_FreeBounds;
|
|
42017
42119
|
ShapeAnalysis_WireOrder: typeof ShapeAnalysis_WireOrder;
|
|
42120
|
+
ShapeCustom: typeof ShapeCustom;
|
|
42018
42121
|
ShapeExtend_WireData: typeof ShapeExtend_WireData;
|
|
42019
42122
|
ShapeFix_Face: typeof ShapeFix_Face;
|
|
42020
42123
|
ShapeFix_Root: typeof ShapeFix_Root;
|
|
@@ -42057,6 +42160,7 @@ export type OpenCascadeInstance = {
|
|
|
42057
42160
|
BRepTools: typeof BRepTools;
|
|
42058
42161
|
BRepTools_History: typeof BRepTools_History;
|
|
42059
42162
|
BRepTools_History_TRelationType: typeof BRepTools_History_TRelationType;
|
|
42163
|
+
BRepTools_Modifier: typeof BRepTools_Modifier;
|
|
42060
42164
|
BRepTools_WireExplorer: typeof BRepTools_WireExplorer;
|
|
42061
42165
|
TopExp: typeof TopExp;
|
|
42062
42166
|
TopExp_Explorer: typeof TopExp_Explorer;
|
|
@@ -42251,6 +42355,8 @@ export type OpenCascadeInstance = {
|
|
|
42251
42355
|
NCollection_Sequence_int: typeof NCollection_Sequence_int;
|
|
42252
42356
|
math_VectorBase_double: typeof math_VectorBase_double;
|
|
42253
42357
|
NCollection_DataMap_TCollection_ExtendedString_unsignedchar: typeof NCollection_DataMap_TCollection_ExtendedString_unsignedchar;
|
|
42358
|
+
BRep_ToolExt: typeof BRep_ToolExt;
|
|
42359
|
+
ShapeCustomExt: typeof ShapeCustomExt;
|
|
42254
42360
|
TColStd_IndexedDataMapOfStringString: typeof TColStd_IndexedDataMapOfStringString;
|
|
42255
42361
|
TopoDS: typeof TopoDS;
|
|
42256
42362
|
OCJS: typeof OCJS;
|