Script: Load KUKA STEP File In Rete

Load KUKA STEP File In Rete picture
Type
Rete logo indicatorrete
Author
matas
Date Created
Nov 21, 2024, 9:53:36 PM
Last Edit Date
Nov 21, 2024, 10:01:54 PM

Project Information

OpenCascade Technology (OCCT) geometry kernel that we use is capable of importing, interpreting and manipulating real world CAD models. This project is an example of larger scale STEP model. We loaded one of KUKA Robots into our application and put it in our 3D scene. It is a basic example of how import and drawing components should be composed to make it happen. We render both edges and faces.

View Full Project

Script Code

{
  "id": "rete-v2-json",
  "nodes": {
    "7c578b77d3c8952f": {
      "id": "7c578b77d3c8952f",
      "name": "bitbybit.babylon.scene.enableSkybox",
      "async": false,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": false
        },
        "skybox": "clearSky",
        "size": 1000,
        "blur": 0.1,
        "environmentIntensity": 0.7
      },
      "inputs": {},
      "position": [
        -872.5168136679144,
        1345.1297692136336
      ]
    },
    "f1ab6015853a0177": {
      "id": "f1ab6015853a0177",
      "name": "bitbybit.draw.drawGridMesh",
      "async": false,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": false
        },
        "width": 400,
        "height": 400,
        "subdivisions": 10,
        "majorUnitFrequency": 10,
        "minorUnitVisibility": 0.45,
        "gridRatio": 0.5,
        "opacity": 0.5,
        "backFaceCulling": false,
        "mainColor": "#ffffff",
        "secondaryColor": "#ffffff"
      },
      "inputs": {},
      "position": [
        -869.7768986860289,
        1752.1619287111462
      ]
    },
    "2e41aff3c86cd374": {
      "id": "2e41aff3c86cd374",
      "name": "bitbybit.draw.drawAnyAsync",
      "async": true,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": false
        }
      },
      "inputs": {
        "options": {
          "connections": [
            {
              "node": "4332d8121f687a96",
              "output": "result",
              "data": {}
            }
          ]
        },
        "entity": {
          "connections": [
            {
              "node": "da412ead61b5f088",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        738.4269849592563,
        1487.6189954262832
      ]
    },
    "da412ead61b5f088": {
      "id": "da412ead61b5f088",
      "name": "bitbybit.occt.io.loadSTEPorIGES",
      "async": true,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": false
        },
        "adjustZtoY": true
      },
      "inputs": {
        "assetFile": {
          "connections": [
            {
              "node": "b94de48d098fa74d",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        257.59548241346954,
        1409.705165067313
      ]
    },
    "4332d8121f687a96": {
      "id": "4332d8121f687a96",
      "name": "bitbybit.draw.optionsOcctShapeSimple",
      "async": false,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": false
        },
        "precision": 0.2,
        "drawFaces": true,
        "faceColour": "#121212",
        "drawEdges": true,
        "edgeColour": "#ffffff",
        "edgeWidth": 2
      },
      "inputs": {},
      "position": [
        244.53182315459094,
        1736.5303383441965
      ]
    },
    "b94de48d098fa74d": {
      "id": "b94de48d098fa74d",
      "name": "bitbybit.asset.fetchFile",
      "async": true,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": false
        },
        "url": "https://firebasestorage.googleapis.com/v0/b/bit-by-bit-prod.appspot.com/o/users%2FfYfmPXgG8YSLMSc2YiIpHr0WrG42%2Fprojects%2FnSAWSvW1aq7MELhiLfDl%2Fassets%2FKukaRobot.stp?alt=media&token=6bed875c-f281-4934-9210-822e64b82523"
      },
      "inputs": {},
      "position": [
        -124.8298885452863,
        1405.3416268512628
      ]
    }
  }
}
Plans & Pricing

Choose Your Plan

Editor plans for 3D development, API keys for server-side CAD algorithms

B2B

ENTERPRISE

Custom pricing

Custom software development, dedicated servers & CAD automation at scale.

CAD Automation & Software
  • Custom software development
  • Cloud CAD automation pipelines
  • 3D configurators (STEP & GLTF)
  • Batch export jobs
  • Custom algorithms & deployment
Infrastructure & Support
  • Custom compute allocation
  • Dedicated / VPS server tenants
  • Long-running computation jobs
  • Custom upload limits & overage
  • SLA & premium support