Skip to content

CANTILEVER_SHEAR_APP

Workflow

  1. GeometryProc: Create a geometric representation of a physical system.
    A/ create_geometry: Create and export a simple geometric entity (beam, plate, or block) in STEP or BREP format.
  2. LabelingProc: Define and label the entities of a physical system from its geometric representation.
    A/ label_entities: Assign labels to the entities of a geometric model.
flowchart RL
  **GeometryProc** e1@--1--o **CANTILEVER_SHEAR_APP**
  **LabelingProc** e2@--2--o **CANTILEVER_SHEAR_APP**
  **create_geometry** e3@--A--o **GeometryProc**
  **label_entities** e4@--A--o **LabelingProc**
  e1@{ animate: true }
  e2@{ animate: true }
  e3@{ animate: true }
  e4@{ animate: true }

Mapping

erDiagram
  **CANTILEVER_SHEAR_APP** ||--|| **user_params** : mapping
  **CANTILEVER_SHEAR_APP** ||--|| **hard_params** : mapping
  **CANTILEVER_SHEAR_APP** ||--|| **output_paths** : mapping
  **user_params** ||--|| **GeometryProc** : mapping
  **hard_params** ||--|| **GeometryProc** : mapping
  **output_paths** ||--|| **GeometryProc** : mapping

  **user_params** {
    int dim "dimension"
  }
  **hard_params** {
    float length "10.0"
    float width "1.0"
    float height "0.1"
  }
  **output_paths** {
    file outfile "geometry.(step/brep)"
  }
erDiagram
  **CANTILEVER_SHEAR_APP** ||--|| **user_params** : mapping
  **CANTILEVER_SHEAR_APP** ||--|| **required_paths** : mapping
  **CANTILEVER_SHEAR_APP** ||--|| **output_paths** : mapping
  **user_params** ||--|| **LabelingProc** : mapping
  **required_paths** ||--|| **LabelingProc** : mapping
  **output_paths** ||--|| **LabelingProc** : mapping

  **user_params** {
    int dim "dimension"
  }
  **required_paths** {
    file infile "geometry.(step/brep)"
  }
  **output_paths** {
    file outfile "labels.json"
  }

I/O Interface

flowchart LR
  subgraph **INPUTS**
    direction TB

    subgraph **Paths**
      direction LR
      path["_"]
    end

    subgraph **Parameters**
      direction LR
      param1["dimension _(int)_"]
    end
  end

  subgraph **CANTILEVER_SHEAR_APP**
    direction RL
    proc1["GeometryProc"]
    proc2["LabelingProc"]
  end

  subgraph **OUTPUTS**
    direction RL
    out1["geometry.(step/brep) _(file)_"]
    out2["labels.json _(file)_"]
  end

  **INPUTS** --> **CANTILEVER_SHEAR_APP**
  **CANTILEVER_SHEAR_APP** --> **OUTPUTS**
flowchart LR
  subgraph **INPUTS**
    direction TB

    subgraph **Paths**
      direction LR
      path["_"]
    end

    subgraph **Parameters**
      direction LR
      param1["dimension _(int)_"]
    end
  end

  subgraph **CANTILEVER_SHEAR_APP**
    direction RL
    proc1["GeometryProc"]
  end

  subgraph **OUTPUTS**
    direction RL
    out1["geometry.(step/brep) _(file)_"]
  end

  **INPUTS** --> proc1
  proc1 --> **OUTPUTS**
flowchart LR
  subgraph **INPUTS**
    direction TB

    subgraph **Paths**
      direction LR
      out1["geometry.(step/brep) _(file)_"]
    end

    subgraph **Parameters**
      direction LR
      param1["dimension _(int)_"]
    end

  end

  subgraph **CANTILEVER_SHEAR_APP**
    direction RL
    proc2["LabelingProc"]
  end

  subgraph **OUTPUTS**
    direction RL
    out2["labels.json _(file)_"]
  end

  **INPUTS** --> proc2
  proc2 --> **OUTPUTS**

  classDef blueBox fill:#d0e6ff,stroke:#339,stroke-width:1.5px;
  class out1 blueBox;

INPUTS

Parameters

  • dimension: Dimension of the geometry: 1 for a line (beam), 2 for a rectangle (plate), 3 for a box (block).

Paths

N/A

OUTPUTS

  • geometry.(step/brep): File containing the geometric model (in .step if dim = 3|2 or .brep if dim = 1).
  • labels.json: File containing the labeled geometric entities.