fcs-core-viewer 0.49.0 → 0.50.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.
@@ -25,7 +25,7 @@ export declare class CreateNode extends Operation {
25
25
  private y;
26
26
  private z;
27
27
  private modeOptions;
28
- private uiComponents;
28
+ private dynamicComponents;
29
29
  private elementTypeSelect;
30
30
  private selectionData;
31
31
  static Modes: {
@@ -15,7 +15,7 @@ export declare class DistributingCoupling extends Operation {
15
15
  private availableEntities_2;
16
16
  private weight;
17
17
  private modeOptions;
18
- private uiComponents;
18
+ private dynamicComponents;
19
19
  private elementTypeSelect;
20
20
  private selectionData;
21
21
  static Modes: {
@@ -25,7 +25,7 @@ export declare class KinematicCoupling extends Operation {
25
25
  private dof5;
26
26
  private dof6;
27
27
  private modeOptions;
28
- private uiComponents;
28
+ private dynamicComponents;
29
29
  private elementTypeSelect;
30
30
  private selectionData;
31
31
  static Modes: {
@@ -40,6 +40,8 @@ import * as Hexa_8N from './Elements/ElementShapes/PermanentElementShapes/Hexa_8
40
40
  import * as GeomPart from './Items/Files/Part';
41
41
  import * as MeshPart from './Items/Files/Mesh';
42
42
  import * as Thread from './Items/Files/Thread';
43
+ import * as Orientation from './Items/Files/Orientation';
44
+ import * as CSystem from './Items/Files/CSystem';
43
45
  import * as Nodeset from './Items/Files/SetTypes/Nodeset';
44
46
  import * as Elementset from './Items/Files/SetTypes/Elementset';
45
47
  import * as LoadDefinition from './Items/Files/LoadDefinition';
@@ -315,6 +317,8 @@ export declare namespace ModelData {
315
317
  Elementset: typeof Elementset.Elementset;
316
318
  Nodeset: typeof Nodeset.Nodeset;
317
319
  Thread: typeof Thread.Thread;
320
+ CSystem: typeof CSystem.CSystem;
321
+ Orientation: typeof Orientation.Orientation;
318
322
  MeshPart: typeof MeshPart.MeshPart;
319
323
  GeomPart: typeof GeomPart.GeomPart;
320
324
  };
@@ -353,105 +357,107 @@ export declare namespace ModelData {
353
357
  TopoMesh2D = 13,
354
358
  TopoMesh3D = 14,
355
359
  TopoMass = 15,
356
- GeomPart = 16,
357
- Vector = 17,
358
- CoordinateSystem = 18,
359
- Thread = 19,
360
- MeshPart = 20,
361
- Nodeset = 21,
362
- Elementset = 22,
363
- LoadDefinition = 23,
364
- MaterialDefinition = 24,
365
- PropertyDefinition = 25,
366
- ContactDefinition = 26,
367
- ConstraintDefinition = 27,
368
- AnalysisStep = 28,
369
- OutputDefinition = 29,
370
- Assembly = 30,
371
- GeometryContainer = 31,
372
- MeshContainer = 32,
373
- SystemContainer = 33,
374
- Set = 34,
375
- LoadContainer = 35,
376
- MaterialContainer = 36,
377
- PropertyContainer = 37,
378
- ContactContainer = 38,
379
- ConstraintContainer = 39,
380
- AnalysisContainer = 40,
381
- OutputContainer = 41,
382
- CollaborationContainer = 42,
383
- BoundaryCondition = 43,
384
- ConcentratedForce = 44,
385
- ConcentratedMoment = 45,
386
- Pressure = 46,
387
- Displacement = 47,
388
- Velocity = 48,
389
- Acceleration = 49,
390
- Temperature = 50,
391
- CustomMaterial = 51,
392
- GeneralSolid = 52,
393
- GeneralShell = 53,
394
- GeneralBeam = 54,
395
- Rectangle = 55,
396
- Circle = 56,
397
- GeneralBar = 57,
398
- SpringNodeToGround = 58,
399
- SpringNodeToNode = 59,
400
- SpringElementBased = 60,
401
- DashpotNodeToGround = 61,
402
- DashpotNodeToNode = 62,
403
- DashpotElementBased = 63,
404
- ConcentratedMass = 64,
405
- ArealDistributedMass = 65,
406
- LinearDistributedMass = 66,
407
- ContactPair = 67,
408
- GlobalContact = 68,
409
- TIEconstraint = 69,
410
- MPCconstraint = 70,
411
- LinearStatic = 71,
412
- NonlinearStatic = 72,
413
- LinearBuckling = 73,
414
- Modal = 74,
415
- DynamicImplicit = 75,
416
- DynamicExplicit = 76,
417
- DynamicHarmonic = 77,
418
- AtNodes = 78,
419
- AtCorners = 79,
420
- AtIntegrationPoints = 80,
421
- DisplacementComponents = 81,
422
- VelocityComponents = 82,
423
- AccelerationComponents = 83,
424
- StrainComponents = 84,
425
- StressComponents = 85,
426
- EquivalentStresses = 86,
427
- PrincipalStresses = 87,
428
- EquivalentStrains = 88,
429
- PrincipalStrains = 89,
430
- ReactionForces = 90,
431
- ElementForces = 91,
432
- TotalStrainComponents = 92,
433
- ElasticStrainComponents = 93,
434
- PlasticStrainComponents = 94,
435
- LogarithmicStrainComponents = 95,
436
- EquivalentPlasticStrain = 96,
437
- ContactPressure = 97,
438
- ContactShearStresses = 98,
439
- ContactState = 99,
440
- ContactGap = 100,
441
- ContactSlip = 101,
442
- ContactForces = 102,
443
- InternalEnergy = 103,
444
- StrainEnergy = 104,
445
- PlasticDissipation = 105,
446
- ExternalWork = 106,
447
- ContactDissipation = 107,
448
- KineticEnergy = 108,
449
- DampingEnergy = 109,
450
- ModeShapes = 110,
451
- LoadFactors = 111,
452
- Eigenfrequencies = 112,
453
- MassParticipationFactor = 113,
454
- DirectionParticipationFactor = 114
360
+ Vector = 16,
361
+ CoordinateSystem = 17,
362
+ GeomPart = 18,
363
+ Orientation = 19,
364
+ CSystem = 20,
365
+ Thread = 21,
366
+ MeshPart = 22,
367
+ Nodeset = 23,
368
+ Elementset = 24,
369
+ LoadDefinition = 25,
370
+ MaterialDefinition = 26,
371
+ PropertyDefinition = 27,
372
+ ContactDefinition = 28,
373
+ ConstraintDefinition = 29,
374
+ AnalysisStep = 30,
375
+ OutputDefinition = 31,
376
+ Assembly = 32,
377
+ GeometryContainer = 33,
378
+ MeshContainer = 34,
379
+ SystemContainer = 35,
380
+ Set = 36,
381
+ LoadContainer = 37,
382
+ MaterialContainer = 38,
383
+ PropertyContainer = 39,
384
+ ContactContainer = 40,
385
+ ConstraintContainer = 41,
386
+ AnalysisContainer = 42,
387
+ OutputContainer = 43,
388
+ CollaborationContainer = 44,
389
+ BoundaryCondition = 45,
390
+ ConcentratedForce = 46,
391
+ ConcentratedMoment = 47,
392
+ Pressure = 48,
393
+ Displacement = 49,
394
+ Velocity = 50,
395
+ Acceleration = 51,
396
+ Temperature = 52,
397
+ CustomMaterial = 53,
398
+ GeneralSolid = 54,
399
+ GeneralShell = 55,
400
+ GeneralBeam = 56,
401
+ Rectangle = 57,
402
+ Circle = 58,
403
+ GeneralBar = 59,
404
+ SpringNodeToGround = 60,
405
+ SpringNodeToNode = 61,
406
+ SpringElementBased = 62,
407
+ DashpotNodeToGround = 63,
408
+ DashpotNodeToNode = 64,
409
+ DashpotElementBased = 65,
410
+ ConcentratedMass = 66,
411
+ ArealDistributedMass = 67,
412
+ LinearDistributedMass = 68,
413
+ ContactPair = 69,
414
+ GlobalContact = 70,
415
+ TIEconstraint = 71,
416
+ MPCconstraint = 72,
417
+ LinearStatic = 73,
418
+ NonlinearStatic = 74,
419
+ LinearBuckling = 75,
420
+ Modal = 76,
421
+ DynamicImplicit = 77,
422
+ DynamicExplicit = 78,
423
+ DynamicHarmonic = 79,
424
+ AtNodes = 80,
425
+ AtCorners = 81,
426
+ AtIntegrationPoints = 82,
427
+ DisplacementComponents = 83,
428
+ VelocityComponents = 84,
429
+ AccelerationComponents = 85,
430
+ StrainComponents = 86,
431
+ StressComponents = 87,
432
+ EquivalentStresses = 88,
433
+ PrincipalStresses = 89,
434
+ EquivalentStrains = 90,
435
+ PrincipalStrains = 91,
436
+ ReactionForces = 92,
437
+ ElementForces = 93,
438
+ TotalStrainComponents = 94,
439
+ ElasticStrainComponents = 95,
440
+ PlasticStrainComponents = 96,
441
+ LogarithmicStrainComponents = 97,
442
+ EquivalentPlasticStrain = 98,
443
+ ContactPressure = 99,
444
+ ContactShearStresses = 100,
445
+ ContactState = 101,
446
+ ContactGap = 102,
447
+ ContactSlip = 103,
448
+ ContactForces = 104,
449
+ InternalEnergy = 105,
450
+ StrainEnergy = 106,
451
+ PlasticDissipation = 107,
452
+ ExternalWork = 108,
453
+ ContactDissipation = 109,
454
+ KineticEnergy = 110,
455
+ DampingEnergy = 111,
456
+ ModeShapes = 112,
457
+ LoadFactors = 113,
458
+ Eigenfrequencies = 114,
459
+ MassParticipationFactor = 115,
460
+ DirectionParticipationFactor = 116
455
461
  }
456
462
  enum elementTopologies {
457
463
  Node_1N = 15,
@@ -507,8 +513,8 @@ export declare namespace ModelData {
507
513
  6: typeof TopoWire.TopoWire;
508
514
  7: typeof TopoShell.TopoShell;
509
515
  8: typeof TopoSolid.TopoSolid;
510
- 17: typeof Vector.Vector;
511
- 18: typeof CoordinateSystem.CoordinateSystem;
516
+ 16: typeof Vector.Vector;
517
+ 17: typeof CoordinateSystem.CoordinateSystem;
512
518
  9: typeof TopoElement.TopoElement;
513
519
  10: typeof TopoNode.TopoNode;
514
520
  11: typeof TopoMesh0D.TopoMesh0D;
@@ -517,35 +523,35 @@ export declare namespace ModelData {
517
523
  14: typeof TopoMesh3D.TopoMesh3D;
518
524
  };
519
525
  itemTypes: {
520
- 16: typeof GeomPart.GeomPart;
521
- 17: typeof GeomPart.GeomPart;
522
526
  18: typeof GeomPart.GeomPart;
523
- 19: typeof Thread.Thread;
524
- 20: typeof MeshPart.MeshPart;
525
- 21: typeof Nodeset.Nodeset;
526
- 22: typeof Elementset.Elementset;
527
- 23: typeof LoadDefinition.LoadDefinition;
528
- 24: typeof MaterialDefinition.MaterialDefinition;
529
- 51: typeof MaterialDefinition.MaterialDefinition;
530
- 25: typeof PropertyDefinition.PropertyDefinition;
531
- 26: typeof ContactDefinition.ContactDefinition;
532
- 27: typeof ConstraintDefinition.ConstraintDefinition;
533
- 28: typeof AnalysisStep.AnalysisStep;
534
- 29: typeof OutputDefinition.OutputDefinition;
535
- 30: typeof Assembly.Assembly;
536
- 31: typeof Geometry.Geometry;
537
- 32: typeof Mesh.Mesh;
538
- 33: typeof System.System;
539
- 34: typeof Set.Set;
540
- 35: typeof LoadContainer.Load;
541
- 36: typeof MaterialContainer.Material;
542
- 37: typeof PropertyContainer.Property;
543
- 38: typeof ContactContainer.Contact;
544
- 39: typeof ConstraintContainer.Constraint;
545
- 40: typeof AnalysisContainer.Analysis;
546
- 41: typeof OutputContainer.Output;
547
- 43: typeof LoadDefinition.LoadDefinition;
548
- 44: typeof LoadDefinition.LoadDefinition;
527
+ 19: typeof Orientation.Orientation;
528
+ 20: typeof CSystem.CSystem;
529
+ 21: typeof Thread.Thread;
530
+ 22: typeof MeshPart.MeshPart;
531
+ 23: typeof Nodeset.Nodeset;
532
+ 24: typeof Elementset.Elementset;
533
+ 25: typeof LoadDefinition.LoadDefinition;
534
+ 26: typeof MaterialDefinition.MaterialDefinition;
535
+ 53: typeof MaterialDefinition.MaterialDefinition;
536
+ 27: typeof PropertyDefinition.PropertyDefinition;
537
+ 28: typeof ContactDefinition.ContactDefinition;
538
+ 29: typeof ConstraintDefinition.ConstraintDefinition;
539
+ 30: typeof AnalysisStep.AnalysisStep;
540
+ 31: typeof OutputDefinition.OutputDefinition;
541
+ 32: typeof Assembly.Assembly;
542
+ 33: typeof Geometry.Geometry;
543
+ 34: typeof Mesh.Mesh;
544
+ 35: typeof System.System;
545
+ 36: typeof Set.Set;
546
+ 37: typeof LoadContainer.Load;
547
+ 38: typeof MaterialContainer.Material;
548
+ 39: typeof PropertyContainer.Property;
549
+ 40: typeof ContactContainer.Contact;
550
+ 41: typeof ConstraintContainer.Constraint;
551
+ 42: typeof AnalysisContainer.Analysis;
552
+ 43: typeof OutputContainer.Output;
553
+ 45: typeof LoadDefinition.LoadDefinition;
554
+ 46: typeof LoadDefinition.LoadDefinition;
549
555
  };
550
556
  };
551
557
  const dataTypesCollector: dataTypes[];
@@ -0,0 +1,20 @@
1
+ import { File } from "./File";
2
+ export declare class CSystem extends File {
3
+ static title: string;
4
+ private static csystemIDs_used;
5
+ private static csystemIDs_unused;
6
+ constructor(data: {});
7
+ private createVID;
8
+ /**
9
+ * Delete content from database and treeHTML
10
+ */
11
+ delete(): void;
12
+ /**
13
+ * Select and highlight all shapes in a file
14
+ */
15
+ select(): void;
16
+ highlight(colorData: any[]): void;
17
+ setColor(colorData: any[]): void;
18
+ setOpacity(): void;
19
+ setVisibility(): void;
20
+ }
@@ -0,0 +1,20 @@
1
+ import { File } from "./File";
2
+ export declare class Orientation extends File {
3
+ static title: string;
4
+ private static orientationIDs_used;
5
+ private static orientationIDs_unused;
6
+ constructor(data: {});
7
+ private createVID;
8
+ /**
9
+ * Delete content from database and treeHTML
10
+ */
11
+ delete(): void;
12
+ /**
13
+ * Select and highlight all shapes in a file
14
+ */
15
+ select(): void;
16
+ highlight(colorData: any[]): void;
17
+ setColor(colorData: any[]): void;
18
+ setOpacity(): void;
19
+ setVisibility(): void;
20
+ }
@@ -49,4 +49,6 @@ export declare class EntityButton implements IViewerHtmlElement {
49
49
  reset(): void;
50
50
  init(): void;
51
51
  getData(): any;
52
+ validate(limit: number): boolean;
53
+ setVisibility(isVisible: boolean): void;
52
54
  }
@@ -2,4 +2,5 @@ import { DropdownList } from "./DropdownList";
2
2
  import { DropdownListConfig } from "./DropdownList";
3
3
  export declare class ModeSelector<T> extends DropdownList<T> {
4
4
  constructor(config: DropdownListConfig<T>);
5
+ validate(): boolean;
5
6
  }
@@ -20,6 +20,7 @@ export declare class SelectionInputField {
20
20
  private selectionLimit;
21
21
  private div_treeHTML;
22
22
  private labeledInputField;
23
+ private itemName;
23
24
  constructor(config: LabeledInputConfig);
24
25
  getLabeledInputField(): LabeledInputField;
25
26
  getData(): number[];
@@ -28,5 +29,6 @@ export declare class SelectionInputField {
28
29
  private focusIn;
29
30
  private collectSelectedItems;
30
31
  private pressEscapeButton;
32
+ validate(): boolean;
31
33
  }
32
34
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fcs-core-viewer",
3
- "version": "0.49.0",
3
+ "version": "0.50.0",
4
4
  "description": "3D Viewer in the Cloud",
5
5
  "author": {
6
6
  "name": "Femsolve Kft."