@equinor/esv-intersection 3.0.0-beta.5 → 3.0.0-beta.6
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/datautils/schematicShapeGenerator.d.ts +5 -6
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/layers/SchematicLayer.d.ts +10 -1
- package/dist/layers/schematicInterfaces.d.ts +9 -8
- package/package.json +1 -1
- package/src/datautils/schematicShapeGenerator.ts +347 -253
- package/src/layers/SchematicLayer.ts +98 -31
- package/src/layers/schematicInterfaces.ts +73 -36
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IPoint, Point, Texture } from 'pixi.js';
|
|
2
|
-
import { Casing, Cement, CementOptions, CementPlug, CementPlugOptions, CementSqueeze, CementSqueezeOptions, Completion, HoleOptions, HoleSize, ScreenOptions, TubingOptions, Perforation, PerforationOptions } from '../layers/schematicInterfaces';
|
|
2
|
+
import { Casing, Cement, CementOptions, CementPlug, CementPlugOptions, CementSqueeze, CementSqueezeOptions, Completion, HoleOptions, HoleSize, ScreenOptions, TubingOptions, Perforation, PerforationOptions, PerforationSubKind } from '../layers/schematicInterfaces';
|
|
3
3
|
import { ComplexRopeSegment } from '../layers/CustomDisplayObjects/ComplexRope';
|
|
4
4
|
export type PerforationShape = ComplexRopeSegment;
|
|
5
5
|
export interface TubularRenderingObject {
|
|
@@ -36,12 +36,9 @@ export declare const getUniqueDiameterChangeDepths: ([intervalStart, intervalEnd
|
|
|
36
36
|
end: number;
|
|
37
37
|
}[]) => number[];
|
|
38
38
|
export declare const findCementOuterDiameterAtDepth: (attachedStrings: (Casing | Completion)[], nonAttachedStrings: (Casing | Completion)[], holes: HoleSize[], depth: number) => number;
|
|
39
|
+
export declare const findPerforationOuterDiameterAtDepth: (nonAttachedStrings: (Casing | Completion)[], holes: HoleSize[], depth: number, perforationSubKind: PerforationSubKind) => number;
|
|
39
40
|
export declare const findCementPlugInnerDiameterAtDepth: (attachedStrings: (Casing | Completion)[], nonAttachedStrings: (Casing | Completion)[], holes: HoleSize[], depth: number) => number;
|
|
40
41
|
export declare const createComplexRopeSegmentsForCement: (cement: Cement, casings: Casing[], completion: Completion[], holes: HoleSize[], exaggerationFactor: number, getPoints: (start: number, end: number) => Point[]) => ComplexRopeSegment[];
|
|
41
|
-
export declare const perforationDiameterChangeDepths: (perforation: Perforation, diameterIntervals: {
|
|
42
|
-
start: number;
|
|
43
|
-
end: number;
|
|
44
|
-
}[]) => number[];
|
|
45
42
|
export declare const createComplexRopeSegmentsForCementSqueeze: (squeeze: CementSqueeze, casings: Casing[], completion: Completion[], holes: HoleSize[], exaggerationFactor: number, getPoints: (start: number, end: number) => Point[]) => ComplexRopeSegment[];
|
|
46
43
|
export declare const createComplexRopeSegmentsForCementPlug: (plug: CementPlug, casings: Casing[], completion: Completion[], holes: HoleSize[], exaggerationFactor: number, getPoints: (start: number, end: number) => Point[]) => ComplexRopeSegment[];
|
|
47
44
|
export declare const createHoleBaseTexture: ({ firstColor, secondColor }: HoleOptions, width: number, height: number) => Texture;
|
|
@@ -59,4 +56,6 @@ export type CasingInterval = {
|
|
|
59
56
|
export declare const getCasingIntervalsWithWindows: (casing: Casing) => CasingInterval[];
|
|
60
57
|
export declare const prepareCasingRenderObject: (exaggerationFactor: number, casing: Casing, getPathPoints: (start: number, end: number) => Point[]) => CasingRenderObject;
|
|
61
58
|
export declare const createComplexRopeSegmentsForPerforation: (perforation: Perforation, casings: Casing[], holes: HoleSize[], exaggerationFactor: number, getPoints: (start: number, end: number) => Point[]) => ComplexRopeSegment[];
|
|
62
|
-
export declare const
|
|
59
|
+
export declare const createPerforationPackingTexture: (perforation: Perforation, perfShape: ComplexRopeSegment, perforationOptions: PerforationOptions) => Texture;
|
|
60
|
+
export declare const createPerforationFracLineTexture: (perforation: Perforation, perfShape: ComplexRopeSegment, perforationOptions: PerforationOptions) => Texture;
|
|
61
|
+
export declare const createPerforationSpikeTexture: (perforation: Perforation, otherPerforations: Perforation[], perfShape: ComplexRopeSegment, perforationOptions: PerforationOptions) => Texture;
|