Preparing Data in the .CSV Files

You can add and customize data in the following files:

  • Printer.csv
  • Sensor.csv
  • CamCalibration.csv
  • TrayConfig.csv
  • Builds.csv
  • BuildsStatus.csv
  • BuildsMonitoring.csv
  • SensorValues.csv
  • GenericBuildInfo.json
  • MachineConfig.csv
  • SensorConfig.csv

This task shows you how to:


Before you begin: Import the build data. For more information, see Importing Build Data and Images

Prepare the Printer.csv File

The Printer.csv file contains the information about the machine or 3D printer, it aggregates the sensor.csv file. For more information, see Prepare the Sensor.csv File

  1. Open a new .csv file and rename it Printer.csv.
  2. Define the following metadata:
    ParameterDescription
    uri Unique ID for the printer.
    Company Name Company name of the 3D printer.
    Laser Configuration Laser configuration used for 3D Printing.
    Build Volume Full volume of the 3D build space in x, y, and z measurements in millimeter.
    Model Model name of the 3D printer.
    Image Image name of the printer in .png format.
    Note: Images are stored in 3DS_AdditiveManufacturing_Data Object storage with AQA/PrinterImage/prefix.

    X Value , Y Value Offset coordinates for a laser head in relation to a printer frame.



  3. Save and close your file.

Prepare the Sensor.csv File

The Sensor.csv file contains the information about the sensors defined under a 3D Printer in the Printer.csv file.

For more information, see Prepare the Printer.csv File

  1. Open a new .csv file and rename it Sensor.csv.
  2. Define the following metadata:
    ParameterDescription
    uri Unique ID for the sensor defined under the printer.
    refPrinter Unique ID of the printer defined in the Printer.csv file.
    Name Name of the sensor parameter.
    Unit Unit of the recorded sensor parameter.
    Type Type of the recorded parameter.

    The type can be:

    • Normal: the value remains the same throughout the process.
    • Temporal: the value changes in relation to time.
    • Spatio-temporal: the value changes in relation to time and space (x, y-coordinates).



  3. Save and close your file.

Prepare the CamCalibration.csv File

The CamCalibration.csv file contains the information about the image measurements captured by the camera during the 3D printing process. The information is used to generate the image transformation matirix.

  1. Open a new .csv file and rename it CamCalibration.csv.
  2. Define the following metadata:
    ParameterDescription
    uri Unique ID for the camera calibration.
    lengthPicture The height of the image.
    widthPicture The width of the image.
    xTopLeftRef The x-coordinate of the top-left reference point.
    yTopLeftRef The y-coordinate of the top-left reference point.
    xTopRightRef The x-coordinate of the top-right reference point..
    yTopRightRef The y-coordinate of the top-right reference point.
    xBottomLeftRef The x-coordinate of the bottom-left reference point.
    yBottomLeftRef The y-coordinate of the bottom-left reference point.
    xBottomRightRef The x-coordinate of the bottom-right reference point.
    yBottomRightRef The y-coordinate of the bottom-right reference point.



  3. Save and close your file.

Prepare the TrayConfig.csv File

The TrayConfig.csv file contains the information about the build tray.

  1. Open a new .csv file and rename it TrayConfig.csv.
  2. Define the following metadata:
    ParameterDescription
    uri Unique ID for the tray configuration.
    length Length of the build tray in minimeters.
    width Width of the build tray in minimeters.



  3. Save and close your file.

Prepare the Builds.csv File

The Builds.csv file contains build details for a specified build. You can define the metadata and general build information.

  1. Open a new .csv file and rename it Builds.csv. This file is referring to a single build setup.
  2. Define the following metadata:
    ParameterDescription
    uri Unique ID for the build.
    refBuildSetup Unique build setup ID linked to this build. The build setup contains all the preparation data including CAD/CAM. For more information, see Prefix Path for File Upload.
    refMachineConfiguration Unique machine configuration ID linked to this build. For more information, see Prefix Path for File Upload.
    Build Date Date and time of the build in ISO format (yyyy-MM-dd).
    Start time Start time of the build.
    End time End time of the build.
    Print Time Time taken to finish the build.
    LayersFirst Number of the first layer of the build.
    LayersLast Number of the last layer of the build.



  3. Save and close your file.

Prepare the BuildsStatus.csv File

The BuildsStatus.csv file contains the information of the status of the build and the time that it was updated. You can define the metadata.

  1. Open a new .csv file and rename it BuildsStatus.csv.
  2. Define the following metadata:
    ParameterDescription
    refBuild Unique Build ID. Refers to the Build.csv file. For more information, see: Prepare the Builds.csv File.
    Status Status of the build.

    The status can be:

    • Success
    • Failure
    • To review
    Note: When the data is first imported, the status is defined as To review by default.

    Timestamp Date and time of the last update of the status in ISO format (yyyy-MM-ddT HH:mm:ss).



  3. Save and close your file.

Prepare the BuildsMonitoring.csv File

The BuildsMonitoring.csv file is an aggregator of the sensor values which are described in SensorValues.csv.

For more information, see Prepare the SensorValues.csv File.

  1. Open a new .csv file and rename it BuildsMonitoring.csv. This file is referring to a single build.
  2. Define the following metadata:
    ParameterDescription
    uri Unique ID for the build monitoring. Refers to BM_{Build URI}.
    refBuild Unique build ID. Refers to the Build.csv file. For more information, see: Prepare the Builds.csv File.



  3. Save and close your file.

Prepare the SensorValues.csv File

You can add up to 20 sensor parameters for data analysis by including the sensor number and the sensor number position in the SensorValues.csv.

  1. Create or open the SensorValues_#.csv file.

    Note: # is the build number.

  2. Define the following metadata:
    ParameterDescription
    Layer Layer number.
    LayeringDuration Time duration for printing the layer.
    refBuildMonitoring Unique Build Monitoring. Refers to BM_{BuildURI}.
    Sensor # Recorded sensor value for a given layer.
    Sensor # Position Recorded sensor position.

    Note: This parameter is optional. If you are only adding temporal sensors, you do not need to create a sensor position column.

    Note: # is the sensor number.


  3. Add a column with the header Sensor # where # is the sensor number.
  4. Optional: For spatio-temporal sensor parameters, add a Sensor # Position column.
  5. Optional: Repeat step 3 and 4 for all the sensor parameters that you want to visualize.
  6. Save and close your file.

Prepare the GenericBuildInfo.json File

The GenericBuildInfo.json file contains the 3D design model information. It is the only JSON file used for ingestion into SGI.

  1. Create a JSON file from your build setup.
    1. From the Output section of the action bar, click Extract Build Information .
    2. Select Local Directory and define the location of your file.
    3. Click Extract.

      For more information see, Simulation | Fabrication | Powder Bed Fabrication | Powder Bed Fabrication | Using the Output Section Commands | Generating Product Output

      A JSON file containing all the required metadata except the ModelID is created.
  2. You can retrieve the ModelID two ways:
    • If you have a 3DXML representing your manufacturing cell, follow these steps to obtain the ID:
      1. Upload the 3DXML file into a design app.
      2. Drag the model into the text editor.
      3. Search for the object ID in the metadata.

      This Object ID is the model ID generated for the specific server where the model has been uploaded.

    • If you are working on the same server between Powder Bed Fabrication and Additive Manufacturing Data Processing, follow these steps to obtain the ID:
      1. Open the manufacturing cell in Powder Bed Fabrication.
      2. Drag the model into the text editor.
      3. Search for the object ID in the metadata.

      This object ID is the model ID generated for the specific server where the model has been uploaded.

  3. Add the ModelID to your file. The resulting file should contain the following metadata:
    ParameterDescription
    uri Unique ID of the generic build info class object. This ID is used by refBuildSetup in the Builds.csv file. For more information, see Prepare the Builds.csv File.
    CellName The manufacturing cell name of the 3D Model designed.
    class Name of the class into which the generic build information must be ingested.

    Value: AQA_Build_Setup.Generic Build Info

    ModelID The Unique ID of the 3D model is generated once loaded into the server.
    LayerThickness The minimal slicing step used for this build.
    Nb of slices Total number of slices with the LayerThickness for a given model. The total is equal to the number of layers.
    InputReference

    Name of the suffix given to the stl file generated before feeding to the 3D printer for build.

    Value: ref3D.stl



  4. Save and close your file.

Prepare the MachineConfig.csv File

The MachineConfig.csv file acts as an aggregator of the sensor configuration file. The file contains the reference of the 3D printer, tray configuration, and camera calibration.

  1. Open a new .csv file and rename it MachineConfig.csv.
  2. Define the following metadata:
    ParameterDescription
    uri Unique ID for the machine configuration.
    refPrinter Unique ID of the printer defined in the Printer.csv file. For more information, see Prepare the Printer.csv File.
    refTray Unique ID of the tray configuration.
    refCameraCalibration Unique ID of the camera calibration.



  3. Save and close your file.

Prepare the SensorConfig.csv File

The SensorConfig.csv file contains the configuration details of sensors for a specified build. The file contains the information about the sensor calibration and limit before a warning is issued. You can define the metadata or settings for each sensor.

  1. Open a new .csv file and rename it SensorConfig.csv. This file is associated with the Machine configuration.
  2. Define the following metadata:
    ParameterDescription
    uri Unique ID for the sensor configuration. Each ID belongs to one sensor.
    refMachineConfig Unique machine configuration ID linked to this sensor configuration. This ID belongs to only one machine configuration.
    refSensor Define a unique ID of the sensor mentioned in the Sensors.csv file linked to a given printer, described in printer.csv. For more information, see Prepare the Sensor.csv File and Prepare the Printer.csv File.

    In the following .csv example, the refsensor value for Sensor 1 is Formup_1_1 where Formup_1 is the printer and _1 is the sensor number.

    TypeOfThreshold Define a threshold type.

    The type can be:

    • min: minimum threshold
    • max: maximum threshold
    • range: range of the threshold including the minimum and maximum value.

    minValue Define a value for the minimum threshold.
    maxValue Define a value for the maximum threshold.
    sensorMapValue Mapping value of the sensor from the data stored in the sensorvalues.csv.

    In the following .csv example, Sensor 1 is the sensor map value of the first sensor defined in sensorvalues.csv . The file sensorvalues.csv contains the data recorded in the Sensor 1 and Sensor position columns. For more information, see Prepare the SensorValues.csv File.



  3. Save and close your file.

Result: Your data model contains all the parameters that you need for build analysis. You can run all the pipelines related to AQA data ingestion. You can do that manually using Data Factory Studio or automatically using Additive Manufacturing Data Processing app. For more information, see Running Pipelines.