HTML preprocessors can make writing HTML more powerful or convenient. For instance, Markdown is designed to be easier to write and read for text documents and you could write a loop in Pug.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. So you don't have access to higher-up elements like the <html>
tag. If you want to add classes there that can affect the whole document, this is the place to do it.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. If you need things in the <head>
of the document, put that code here.
The resource you are linking to is using the 'http' protocol, which may not work when the browser is using https.
CSS preprocessors help make authoring CSS easier. All of them offer things like variables and mixins to provide convenient abstractions.
It's a common practice to apply CSS to a page that styles elements such that they are consistent across all browsers. We offer two of the most popular choices: normalize.css and a reset. Or, choose Neither and nothing will be applied.
To get the best cross-browser support, it is a common practice to apply vendor prefixes to CSS properties and values that require them to work. For instance -webkit-
or -moz-
.
We offer two popular choices: Autoprefixer (which processes your CSS server-side) and -prefix-free (which applies prefixes via a script, client-side).
Any URLs added here will be added as <link>
s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.
You can apply CSS to your Pen from any stylesheet on the web. Just put a URL to it here and we'll apply it, in the order you have them, before the CSS in the Pen itself.
You can also link to another Pen here (use the .css
URL Extension) and we'll pull the CSS from that Pen and include it. If it's using a matching preprocessor, use the appropriate URL Extension and we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
JavaScript preprocessors can help make authoring JavaScript easier and more convenient.
Babel includes JSX processing.
Any URL's added here will be added as <script>
s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.
You can apply a script from anywhere on the web to your Pen. Just put a URL to it here and we'll add it, in the order you have them, before the JavaScript in the Pen itself.
If the script you link to has the file extension of a preprocessor, we'll attempt to process it before applying.
You can also link to another Pen here, and we'll pull the JavaScript from that Pen and include it. If it's using a matching preprocessor, we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
Search for and use JavaScript packages from npm here. By selecting a package, an import
statement will be added to the top of the JavaScript editor for this package.
Using packages here is powered by esm.sh, which makes packages from npm not only available on a CDN, but prepares them for native JavaScript ESM usage.
All packages are different, so refer to their docs for how they work.
If you're using React / ReactDOM, make sure to turn on Babel for the JSX processing.
If active, Pens will autosave every 30 seconds after being saved once.
If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.
If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.
Visit your global Editor Settings.
<div class="example">
<a
class="logo"
href="https://bitbybit.dev"
target="_blank"
rel="noopener noreferrer"
>
<img
alt="Logo of Bit by bit developers company"
src="https://bitbybit.dev/assets/logo-gold-small.png"
/>
<div>bitbybit.dev</div>
</a>
<h1>Runner Example - IO from Rete editor</h1>
<div class="myCanvasZone">
<canvas id="myCanvas"></canvas>
</div>
<div>
<button
onclick="updateProp('radius1', false)"
title="Decrease radius1 by 1"
>
-
</button>
<span class="label" id="radius1">Radius1 is 4</span>
<button
onclick="updateProp('radius1', true)"
title="Increase radius1 by 1"
>
+
</button>
</div>
<div class="actions">
<div>
<button
onclick="updateProp('radius2', false)"
title="Decrease radius2 by 1"
>
-
</button>
<span class="label" id="radius2">Radius2 is 4</span>
<button
onclick="updateProp('radius2', true)"
title="Increase radius2 by 1"
>
+
</button>
</div>
<div>
<button
onclick="updateProp('distance', false)"
title="Decrease distance by 1"
>
-
</button>
<span class="label" id="distance">Distance is 4</span>
<button
onclick="updateProp('distance', true)"
title="Increase distance by 1"
>
+
</button>
</div>
</div>
<div>
<a
href="https://bitbybit.dev/projects/public/doiV1zjIIyBcQx7EeGY5/script/79CweyK6FQ4U0ToBQDsL/script-runner-example-with-inputs-and-outputs-in-project-cylindric-industrial-3d-part-by-author-bitbybit"
target="_blank"
rel="noopener noreferrer"
>
Embed string generated by using the "Rete Script of this Industrial 3D
Model".
</a>
</div>
</div>
body {
margin: 0;
background-color: #1a1c1f;
color: white;
font-weight: 400;
font-family: 'IBM Plex Sans';
width: 100%;
height: 100%;
}
button {
background-color: #1a1c1f;
color: white;
border: 1px solid white;
border-radius: 5px;
}
.example {
margin-top: 50px;
margin-bottom: 50px;
margin-left: 300px;
margin-right: 300px;
}
@media (max-width: 1400px) {
.example {
margin-left: 100px;
margin-right: 100px;
}
}
@media (max-width: 769px) {
.example {
margin-left: 20px;
margin-right: 20px;
}
}
#myCanvas {
display: block;
outline: none;
border: 1px solid white;
border-radius: 5px;
width: 100%;
}
.logo {
margin-bottom: 20px;
}
.logo img {
width: 50px;
height: 50px;
}
.myCanvasZone {
margin-top: 20px;
margin-bottom: 10px;
}
a {
color: white;
vertical-align: middle;
}
.actions {
margin-bottom: 20px;
}
.label {
text-align: center;
display: inline-block;
min-width: 130px;
}
// Timeout is needed for HTML to have time to finish rendering. This also makes sure that myCanvas actually can be found
window.inputs = {
radius1: 4,
radius2: 2,
distance: 24,
};
const bounds = {
radius1Min: 2,
radius1Max: 10,
radius2Min: 2,
radius2Max: 10,
distanceMin: 5,
distanceMax: 40,
};
window.previousMeshes = [];
updateLabels();
setTimeout(async () => {
const runnerOptions = {
canvasId: 'myCanvas',
canvasZoneClass: 'myCanvasZone',
enablePhysics: true,
enableOCCT: true,
enableJSCAD: false,
enableKeyEventListeners: false,
loadFonts: ['Roboto'],
};
const { bitbybit, Bit } = await window.bitbybitRunner.run(runnerOptions);
// we adjust camera here. If script would adjust camera then every time we run the script it would reset position
const cameraOpt = new Bit.Inputs.BabylonScene.CameraConfigurationDto();
cameraOpt.position = [-10, 20, -20];
cameraOpt.lookAt = [10, 0, 0];
bitbybit.babylon.scene.adjustActiveArcRotateCamera(cameraOpt);
const res = await window.bitbybitRunner.executeScript(
exportedScript(),
inputs
);
previousMeshes = res.meshes;
}, 0);
async function updateProp(prop, increase) {
let newVal = inputs[prop];
if (increase) {
newVal++;
} else {
newVal--;
}
if (newVal >= bounds[prop + 'Min'] && newVal <= bounds[prop + 'Max']) {
buttonActivation(true);
inputs[prop] = newVal;
updateLabels();
const res = await window.bitbybitRunner.executeScript(
exportedScript(),
inputs
);
previousMeshes.forEach((m) => m.dispose());
previousMeshes = res.meshes;
buttonActivation(false);
}
}
function updateLabels() {
document.getElementById('radius1').innerHTML =
'Radius 1 is ' + inputs.radius1;
document.getElementById('radius2').innerHTML =
'Radius 2 is ' + inputs.radius2;
document.getElementById('distance').innerHTML =
'Distance is ' + inputs.distance;
}
function buttonActivation(disabled) {
const buttons = document.getElementsByTagName('button');
for (var i = 0; i < buttons.length; i++) {
buttons.item(i).disabled = disabled;
}
}
window.updateProp = updateProp;
function exportedScript() {
return '{"type":"rete","version":"0.15.9","script":"(async function (BitByBit, bitbybit, bitbybitRunnerResult, bitbybitRunnerInputs, Bit) { const result3b83a70f56d61650 = [{result: [2.9], transformers: []}];const resultb0d3442167c1f462 = [{result: [2.9], transformers: []}];const dataVarID1fa46eaae638c012 = {x: [0], y: [7], z: [0]};let inputsVarID1fa46eaae638c012 = {};inputsVarID1fa46eaae638c012 = {...dataVarID1fa46eaae638c012, ...inputsVarID1fa46eaae638c012};const generatedVarID1fa46eaae638c012 = BitByBit.HS.executeBasedOnType(inputsVarID1fa46eaae638c012, false, (data) => bitbybit.vector.vectorXYZ(data));const result1fa46eaae638c012 = [{result: generatedVarID1fa46eaae638c012, transformers: []}];const resultd5fbea66ccde8205 = [{result: [19.5], transformers: []}];const dataVarID76403e8c4859a474 = {x: [0], y: [3], z: [0]};let inputsVarID76403e8c4859a474 = {};inputsVarID76403e8c4859a474 = {...dataVarID76403e8c4859a474, ...inputsVarID76403e8c4859a474};const generatedVarID76403e8c4859a474 = BitByBit.HS.executeBasedOnType(inputsVarID76403e8c4859a474, false, (data) => bitbybit.vector.vectorXYZ(data));const result76403e8c4859a474 = [{result: generatedVarID76403e8c4859a474, transformers: []}];const dataVarIDcc6b59d72aab28b0 = {x: [0], y: [-2], z: [0]};let inputsVarIDcc6b59d72aab28b0 = {};inputsVarIDcc6b59d72aab28b0 = {...dataVarIDcc6b59d72aab28b0, ...inputsVarIDcc6b59d72aab28b0};const generatedVarIDcc6b59d72aab28b0 = BitByBit.HS.executeBasedOnType(inputsVarIDcc6b59d72aab28b0, false, (data) => bitbybit.vector.vectorXYZ(data));const resultcc6b59d72aab28b0 = [{result: generatedVarIDcc6b59d72aab28b0, transformers: []}];const dataVarID70e58b22a8b59c01 = {x: [0], y: [1], z: [0]};let inputsVarID70e58b22a8b59c01 = {};inputsVarID70e58b22a8b59c01 = {...dataVarID70e58b22a8b59c01, ...inputsVarID70e58b22a8b59c01};const generatedVarID70e58b22a8b59c01 = BitByBit.HS.executeBasedOnType(inputsVarID70e58b22a8b59c01, false, (data) => bitbybit.vector.vectorXYZ(data));const result70e58b22a8b59c01 = [{result: generatedVarID70e58b22a8b59c01, transformers: []}];const dataVarID44c279ae56f3278a = {x: [0], y: [0.5], z: [0]};let inputsVarID44c279ae56f3278a = {};inputsVarID44c279ae56f3278a = {...dataVarID44c279ae56f3278a, ...inputsVarID44c279ae56f3278a};const generatedVarID44c279ae56f3278a = BitByBit.HS.executeBasedOnType(inputsVarID44c279ae56f3278a, false, (data) => bitbybit.vector.vectorXYZ(data));const result44c279ae56f3278a = [{result: generatedVarID44c279ae56f3278a, transformers: []}];const dataVarID1e6ffcf5f2cd5d87 = {x: [0], y: [1], z: [0]};let inputsVarID1e6ffcf5f2cd5d87 = {};inputsVarID1e6ffcf5f2cd5d87 = {...dataVarID1e6ffcf5f2cd5d87, ...inputsVarID1e6ffcf5f2cd5d87};const generatedVarID1e6ffcf5f2cd5d87 = BitByBit.HS.executeBasedOnType(inputsVarID1e6ffcf5f2cd5d87, false, (data) => bitbybit.vector.vectorXYZ(data));const result1e6ffcf5f2cd5d87 = [{result: generatedVarID1e6ffcf5f2cd5d87, transformers: []}];const dataVarIDfe050eb4c527b3e9 = {x: [0], y: [1.5], z: [0]};let inputsVarIDfe050eb4c527b3e9 = {};inputsVarIDfe050eb4c527b3e9 = {...dataVarIDfe050eb4c527b3e9, ...inputsVarIDfe050eb4c527b3e9};const generatedVarIDfe050eb4c527b3e9 = BitByBit.HS.executeBasedOnType(inputsVarIDfe050eb4c527b3e9, false, (data) => bitbybit.vector.vectorXYZ(data));const resultfe050eb4c527b3e9 = [{result: generatedVarIDfe050eb4c527b3e9, transformers: []}];const dataVarID0f5243f0b0197b9e = {name: [\\"Custom Material\\"], baseColor: [\\"#474eff\\"], emissiveColor: [\\"#000000\\"], metallic: [0.1], roughness: [0.9], alpha: [1], backFaceCulling: [false], zOffset: [2]};let inputsVarID0f5243f0b0197b9e = {};inputsVarID0f5243f0b0197b9e = {...dataVarID0f5243f0b0197b9e, ...inputsVarID0f5243f0b0197b9e};const generatedVarID0f5243f0b0197b9e = BitByBit.HS.executeBasedOnType(inputsVarID0f5243f0b0197b9e, false, (data) => bitbybit.babylon.material.pbrMetallicRoughness.create(data));const result0f5243f0b0197b9e = [{result: generatedVarID0f5243f0b0197b9e, transformers: []}];const dataVarID33764072f0b94b93 = {skybox: [\\"clearSky\\"], size: [1000], blur: [0.6], environmentIntensity: [0.7]};let inputsVarID33764072f0b94b93 = {};inputsVarID33764072f0b94b93 = {...dataVarID33764072f0b94b93, ...inputsVarID33764072f0b94b93};const generatedVarID33764072f0b94b93 = BitByBit.HS.executeBasedOnType(inputsVarID33764072f0b94b93, false, (data) => bitbybit.babylon.scene.enableSkybox(data));const result33764072f0b94b93 = [{result: generatedVarID33764072f0b94b93, transformers: []}];const dataVarIDcf9e93b514c98a73 = {direction: [[-100,-100,-100]], intensity: [3], diffuse: [\\"#ffffff\\"], specular: [\\"#ffffff\\"], shadowGeneratorMapSize: [1024], enableShadows: [true], shadowDarkness: [0]};let inputsVarIDcf9e93b514c98a73 = {};inputsVarIDcf9e93b514c98a73 = {...dataVarIDcf9e93b514c98a73, ...inputsVarIDcf9e93b514c98a73};const generatedVarIDcf9e93b514c98a73 = BitByBit.HS.executeBasedOnType(inputsVarIDcf9e93b514c98a73, false, (data) => bitbybit.babylon.scene.drawDirectionalLight(data));const resultcf9e93b514c98a73 = [{result: generatedVarIDcf9e93b514c98a73, transformers: []}];const dataVarID1d89c9bcd15205ba = {name: [\\"Custom Material\\"], baseColor: [\\"#212121\\"], emissiveColor: [\\"#000000\\"], metallic: [0.95], roughness: [0.235], alpha: [1], backFaceCulling: [false], zOffset: [2]};let inputsVarID1d89c9bcd15205ba = {};inputsVarID1d89c9bcd15205ba = {...dataVarID1d89c9bcd15205ba, ...inputsVarID1d89c9bcd15205ba};const generatedVarID1d89c9bcd15205ba = BitByBit.HS.executeBasedOnType(inputsVarID1d89c9bcd15205ba, false, (data) => bitbybit.babylon.material.pbrMetallicRoughness.create(data));const result1d89c9bcd15205ba = [{result: generatedVarID1d89c9bcd15205ba, transformers: []}];const dataVarID159fcd4ad9636241 = {property: [\\"radius1\\"]};let inputsVarID159fcd4ad9636241 = {};inputsVarID159fcd4ad9636241 = {...dataVarID159fcd4ad9636241, ...inputsVarID159fcd4ad9636241};const result159fcd4ad9636241 = [{result: [bitbybitRunnerInputs[inputsVarID159fcd4ad9636241.property[0]]]}];const dataVarID2fea879e8707960b = {property: [\\"radius2\\"]};let inputsVarID2fea879e8707960b = {};inputsVarID2fea879e8707960b = {...dataVarID2fea879e8707960b, ...inputsVarID2fea879e8707960b};const result2fea879e8707960b = [{result: [bitbybitRunnerInputs[inputsVarID2fea879e8707960b.property[0]]]}];const dataVarID374bdfa94ec3a9ed = {property: [\\"distance\\"]};let inputsVarID374bdfa94ec3a9ed = {};inputsVarID374bdfa94ec3a9ed = {...dataVarID374bdfa94ec3a9ed, ...inputsVarID374bdfa94ec3a9ed};const result374bdfa94ec3a9ed = [{result: [bitbybitRunnerInputs[inputsVarID374bdfa94ec3a9ed.property[0]]]}];const dataVarIDcd8a8bb3037c182b = {precision: [0.01], faceMaterial: [undefined], drawEdges: [true], edgeColour: [\\"#474747\\"], edgeWidth: [2]};let inputsVarIDcd8a8bb3037c182b = {};inputsVarIDcd8a8bb3037c182b.faceMaterial = result0f5243f0b0197b9e;BitByBit.HS.updateListInputs(inputsVarIDcd8a8bb3037c182b);inputsVarIDcd8a8bb3037c182b = {...dataVarIDcd8a8bb3037c182b, ...inputsVarIDcd8a8bb3037c182b};const generatedVarIDcd8a8bb3037c182b = BitByBit.HS.executeBasedOnType(inputsVarIDcd8a8bb3037c182b, false, (data) => bitbybit.draw.optionsOcctShapeMaterial(data));const resultcd8a8bb3037c182b = [{result: generatedVarIDcd8a8bb3037c182b, transformers: []}];const dataVarIDbd6fcbbb0e2ffbca = {precision: [0.01], faceMaterial: [undefined], drawEdges: [true], edgeColour: [\\"#6e6e6e\\"], edgeWidth: [2]};let inputsVarIDbd6fcbbb0e2ffbca = {};inputsVarIDbd6fcbbb0e2ffbca.faceMaterial = result1d89c9bcd15205ba;BitByBit.HS.updateListInputs(inputsVarIDbd6fcbbb0e2ffbca);inputsVarIDbd6fcbbb0e2ffbca = {...dataVarIDbd6fcbbb0e2ffbca, ...inputsVarIDbd6fcbbb0e2ffbca};const generatedVarIDbd6fcbbb0e2ffbca = BitByBit.HS.executeBasedOnType(inputsVarIDbd6fcbbb0e2ffbca, false, (data) => bitbybit.draw.optionsOcctShapeMaterial(data));const resultbd6fcbbb0e2ffbca = [{result: generatedVarIDbd6fcbbb0e2ffbca, transformers: []}];const dataVarIDfa1b83dab296cbec = {value1: [undefined], value2: [undefined]};let inputsVarIDfa1b83dab296cbec = {};inputsVarIDfa1b83dab296cbec.value2 = result3b83a70f56d61650;inputsVarIDfa1b83dab296cbec.value1 = result159fcd4ad9636241;BitByBit.HS.updateListInputs(inputsVarIDfa1b83dab296cbec);inputsVarIDfa1b83dab296cbec = {...dataVarIDfa1b83dab296cbec, ...inputsVarIDfa1b83dab296cbec};const generatedVarIDfa1b83dab296cbec = BitByBit.HS.executeBasedOnType(inputsVarIDfa1b83dab296cbec, false, (data) => bitbybit.logic.firstDefinedValueGate(data));const resultfa1b83dab296cbec = [{result: generatedVarIDfa1b83dab296cbec, transformers: []}];const dataVarID3f620ee88056b142 = {value1: [undefined], value2: [undefined]};let inputsVarID3f620ee88056b142 = {};inputsVarID3f620ee88056b142.value1 = result2fea879e8707960b;inputsVarID3f620ee88056b142.value2 = resultb0d3442167c1f462;BitByBit.HS.updateListInputs(inputsVarID3f620ee88056b142);inputsVarID3f620ee88056b142 = {...dataVarID3f620ee88056b142, ...inputsVarID3f620ee88056b142};const generatedVarID3f620ee88056b142 = BitByBit.HS.executeBasedOnType(inputsVarID3f620ee88056b142, false, (data) => bitbybit.logic.firstDefinedValueGate(data));const result3f620ee88056b142 = [{result: generatedVarID3f620ee88056b142, transformers: []}];const dataVarIDd2eea41ae19e4810 = {value1: [undefined], value2: [undefined]};let inputsVarIDd2eea41ae19e4810 = {};inputsVarIDd2eea41ae19e4810.value1 = result374bdfa94ec3a9ed;inputsVarIDd2eea41ae19e4810.value2 = resultd5fbea66ccde8205;BitByBit.HS.updateListInputs(inputsVarIDd2eea41ae19e4810);inputsVarIDd2eea41ae19e4810 = {...dataVarIDd2eea41ae19e4810, ...inputsVarIDd2eea41ae19e4810};const generatedVarIDd2eea41ae19e4810 = BitByBit.HS.executeBasedOnType(inputsVarIDd2eea41ae19e4810, false, (data) => bitbybit.logic.firstDefinedValueGate(data));const resultd2eea41ae19e4810 = [{result: generatedVarIDd2eea41ae19e4810, transformers: []}]; const dataVarIDd881bab477c25efc = {radius: [3], center: [[0,0,0]], direction: [[0,1,0]]};let inputsVarIDd881bab477c25efc = {};inputsVarIDd881bab477c25efc.radius = resultfa1b83dab296cbec;BitByBit.HS.updateListInputs(inputsVarIDd881bab477c25efc);inputsVarIDd881bab477c25efc = {...dataVarIDd881bab477c25efc, ...inputsVarIDd881bab477c25efc};const generatedVarIDd881bab477c25efc = await BitByBit.HS.executeBasedOnTypeAsync(inputsVarIDd881bab477c25efc, false, (data) => bitbybit.occt.shapes.wire.createCircleWire(data));const resultd881bab477c25efc = [{result: generatedVarIDd881bab477c25efc, transformers: []}];const dataVarID0a0f433f76572c7f = {x: [24], y: [0], z: [0]};let inputsVarID0a0f433f76572c7f = {};inputsVarID0a0f433f76572c7f.x = resultd2eea41ae19e4810;BitByBit.HS.updateListInputs(inputsVarID0a0f433f76572c7f);inputsVarID0a0f433f76572c7f = {...dataVarID0a0f433f76572c7f, ...inputsVarID0a0f433f76572c7f};const generatedVarID0a0f433f76572c7f = BitByBit.HS.executeBasedOnType(inputsVarID0a0f433f76572c7f, false, (data) => bitbybit.vector.vectorXYZ(data));const result0a0f433f76572c7f = [{result: generatedVarID0a0f433f76572c7f, transformers: []}];const dataVarID04ba46a104dc14f6 = {first: [1], second: [1], operation: [\\"subtract\\"]};let inputsVarID04ba46a104dc14f6 = {};inputsVarID04ba46a104dc14f6.first = resultfa1b83dab296cbec;BitByBit.HS.updateListInputs(inputsVarID04ba46a104dc14f6);inputsVarID04ba46a104dc14f6 = {...dataVarID04ba46a104dc14f6, ...inputsVarID04ba46a104dc14f6};const generatedVarID04ba46a104dc14f6 = BitByBit.HS.executeBasedOnType(inputsVarID04ba46a104dc14f6, false, (data) => bitbybit.math.twoNrOperation(data));const result04ba46a104dc14f6 = [{result: generatedVarID04ba46a104dc14f6, transformers: []}];const dataVarIDbe081af6716a96ac = {first: [1], second: [1], operation: [\\"subtract\\"]};let inputsVarIDbe081af6716a96ac = {};inputsVarIDbe081af6716a96ac.first = result3f620ee88056b142;BitByBit.HS.updateListInputs(inputsVarIDbe081af6716a96ac);inputsVarIDbe081af6716a96ac = {...dataVarIDbe081af6716a96ac, ...inputsVarIDbe081af6716a96ac};const generatedVarIDbe081af6716a96ac = BitByBit.HS.executeBasedOnType(inputsVarIDbe081af6716a96ac, false, (data) => bitbybit.math.twoNrOperation(data));const resultbe081af6716a96ac = [{result: generatedVarIDbe081af6716a96ac, transformers: []}]; const dataVarIDb785169c4e8bf72c = {radius: [1], center: [[0,0,0]], direction: [[0,1,0]]};let inputsVarIDb785169c4e8bf72c = {};inputsVarIDb785169c4e8bf72c.center = result0a0f433f76572c7f;inputsVarIDb785169c4e8bf72c.radius = result3f620ee88056b142;BitByBit.HS.updateListInputs(inputsVarIDb785169c4e8bf72c);inputsVarIDb785169c4e8bf72c = {...dataVarIDb785169c4e8bf72c, ...inputsVarIDb785169c4e8bf72c};const generatedVarIDb785169c4e8bf72c = await BitByBit.HS.executeBasedOnTypeAsync(inputsVarIDb785169c4e8bf72c, false, (data) => bitbybit.occt.shapes.wire.createCircleWire(data));const resultb785169c4e8bf72c = [{result: generatedVarIDb785169c4e8bf72c, transformers: []}];const dataVarID45e7be8b0b629cc3 = {radius: [1], center: [[0,0,0]], direction: [[0,1,0]]};let inputsVarID45e7be8b0b629cc3 = {};inputsVarID45e7be8b0b629cc3.radius = result04ba46a104dc14f6;BitByBit.HS.updateListInputs(inputsVarID45e7be8b0b629cc3);inputsVarID45e7be8b0b629cc3 = {...dataVarID45e7be8b0b629cc3, ...inputsVarID45e7be8b0b629cc3};const generatedVarID45e7be8b0b629cc3 = await BitByBit.HS.executeBasedOnTypeAsync(inputsVarID45e7be8b0b629cc3, false, (data) => bitbybit.occt.shapes.wire.createCircleWire(data));const result45e7be8b0b629cc3 = [{result: generatedVarID45e7be8b0b629cc3, transformers: []}];const dataVarID869c9557989e1ca1 = {radius: [1], center: [[0,0,0]], direction: [[0,1,0]]};let inputsVarID869c9557989e1ca1 = {};inputsVarID869c9557989e1ca1.center = result0a0f433f76572c7f;inputsVarID869c9557989e1ca1.radius = resultbe081af6716a96ac;BitByBit.HS.updateListInputs(inputsVarID869c9557989e1ca1);inputsVarID869c9557989e1ca1 = {...dataVarID869c9557989e1ca1, ...inputsVarID869c9557989e1ca1};const generatedVarID869c9557989e1ca1 = await BitByBit.HS.executeBasedOnTypeAsync(inputsVarID869c9557989e1ca1, false, (data) => bitbybit.occt.shapes.wire.createCircleWire(data));const result869c9557989e1ca1 = [{result: generatedVarID869c9557989e1ca1, transformers: []}]; const dataVarIDed88551749c39d0d = {circle1: [undefined], circle2: [undefined], keepLines: [\\"outside\\"], circleRemainders: [\\"inside\\"], tolerance: [1e-7]};let inputsVarIDed88551749c39d0d = {};inputsVarIDed88551749c39d0d.circle1 = resultd881bab477c25efc;inputsVarIDed88551749c39d0d.circle2 = resultb785169c4e8bf72c;BitByBit.HS.updateListInputs(inputsVarIDed88551749c39d0d);inputsVarIDed88551749c39d0d = {...dataVarIDed88551749c39d0d, ...inputsVarIDed88551749c39d0d};const generatedVarIDed88551749c39d0d = await BitByBit.HS.executeBasedOnTypeAsync(inputsVarIDed88551749c39d0d, false, (data) => bitbybit.occt.shapes.wire.createWireFromTwoCirclesTan(data));const resulted88551749c39d0d = [{result: generatedVarIDed88551749c39d0d, transformers: []}];const dataVarID538de1ea10a98361 = {shape: [undefined]};let inputsVarID538de1ea10a98361 = {};inputsVarID538de1ea10a98361.shape = result45e7be8b0b629cc3;BitByBit.HS.updateListInputs(inputsVarID538de1ea10a98361);inputsVarID538de1ea10a98361 = {...dataVarID538de1ea10a98361, ...inputsVarID538de1ea10a98361};const generatedVarID538de1ea10a98361 = await BitByBit.HS.executeBasedOnTypeAsync(inputsVarID538de1ea10a98361, false, (data) => bitbybit.occt.shapes.wire.reversedWire(data));const result538de1ea10a98361 = [{result: generatedVarID538de1ea10a98361, transformers: []}];const dataVarIDcd5082dd1b9b9886 = {shape: [undefined]};let inputsVarIDcd5082dd1b9b9886 = {};inputsVarIDcd5082dd1b9b9886.shape = result869c9557989e1ca1;BitByBit.HS.updateListInputs(inputsVarIDcd5082dd1b9b9886);inputsVarIDcd5082dd1b9b9886 = {...dataVarIDcd5082dd1b9b9886, ...inputsVarIDcd5082dd1b9b9886};const generatedVarIDcd5082dd1b9b9886 = await BitByBit.HS.executeBasedOnTypeAsync(inputsVarIDcd5082dd1b9b9886, false, (data) => bitbybit.occt.shapes.wire.reversedWire(data));const resultcd5082dd1b9b9886 = [{result: generatedVarIDcd5082dd1b9b9886, transformers: []}];const dataVarID02b0fa4dea7608db = {circle1: [undefined], circle2: [undefined], keepLines: [\\"outside\\"], circleRemainders: [\\"outside\\"], tolerance: [1e-7]};let inputsVarID02b0fa4dea7608db = {};inputsVarID02b0fa4dea7608db.circle1 = resultd881bab477c25efc;inputsVarID02b0fa4dea7608db.circle2 = resultb785169c4e8bf72c;BitByBit.HS.updateListInputs(inputsVarID02b0fa4dea7608db);inputsVarID02b0fa4dea7608db = {...dataVarID02b0fa4dea7608db, ...inputsVarID02b0fa4dea7608db};const generatedVarID02b0fa4dea7608db = await BitByBit.HS.executeBasedOnTypeAsync(inputsVarID02b0fa4dea7608db, false, (data) => bitbybit.occt.shapes.wire.createWireFromTwoCirclesTan(data));const result02b0fa4dea7608db = [{result: generatedVarID02b0fa4dea7608db, transformers: []}]; const dataVarID3f56cfc1a5b6ad40 = {shape: [undefined], face: [undefined], distance: [-0.5], tolerance: [0.1]};let inputsVarID3f56cfc1a5b6ad40 = {};inputsVarID3f56cfc1a5b6ad40.shape = resulted88551749c39d0d;BitByBit.HS.updateListInputs(inputsVarID3f56cfc1a5b6ad40);inputsVarID3f56cfc1a5b6ad40 = {...dataVarID3f56cfc1a5b6ad40, ...inputsVarID3f56cfc1a5b6ad40};const generatedVarID3f56cfc1a5b6ad40 = await BitByBit.HS.executeBasedOnTypeAsync(inputsVarID3f56cfc1a5b6ad40, false, (data) => bitbybit.occt.operations.offset(data));const result3f56cfc1a5b6ad40 = [{result: generatedVarID3f56cfc1a5b6ad40, transformers: []}];const dataVarID2898e135918a95e0 = {};let inputsVarID2898e135918a95e0 = {};inputsVarID2898e135918a95e0.listElements = [resultd881bab477c25efc[0],result538de1ea10a98361[0]];BitByBit.HS.updateListInputs(inputsVarID2898e135918a95e0);inputsVarID2898e135918a95e0 = {...dataVarID2898e135918a95e0, ...inputsVarID2898e135918a95e0};const result2898e135918a95e0 = [{result: [inputsVarID2898e135918a95e0.listElements ? inputsVarID2898e135918a95e0.listElements : []]}];const dataVarID0700b606ef42a629 = {};let inputsVarID0700b606ef42a629 = {};inputsVarID0700b606ef42a629.listElements = [resultb785169c4e8bf72c[0],resultcd5082dd1b9b9886[0]];BitByBit.HS.updateListInputs(inputsVarID0700b606ef42a629);inputsVarID0700b606ef42a629 = {...dataVarID0700b606ef42a629, ...inputsVarID0700b606ef42a629};const result0700b606ef42a629 = [{result: [inputsVarID0700b606ef42a629.listElements ? inputsVarID0700b606ef42a629.listElements : []]}];const dataVarID160601d7ce142fe7 = {shape: [undefined], face: [undefined], distance: [2], tolerance: [0.1]};let inputsVarID160601d7ce142fe7 = {};inputsVarID160601d7ce142fe7.shape = result02b0fa4dea7608db;BitByBit.HS.updateListInputs(inputsVarID160601d7ce142fe7);inputsVarID160601d7ce142fe7 = {...dataVarID160601d7ce142fe7, ...inputsVarID160601d7ce142fe7};const generatedVarID160601d7ce142fe7 = await BitByBit.HS.executeBasedOnTypeAsync(inputsVarID160601d7ce142fe7, false, (data) => bitbybit.occt.operations.offset(data));const result160601d7ce142fe7 = [{result: generatedVarID160601d7ce142fe7, transformers: []}];const dataVarIDd73087dad26d2d2e = {shape: [undefined]};let inputsVarIDd73087dad26d2d2e = {};inputsVarIDd73087dad26d2d2e.shape = result02b0fa4dea7608db;BitByBit.HS.updateListInputs(inputsVarIDd73087dad26d2d2e);inputsVarIDd73087dad26d2d2e = {...dataVarIDd73087dad26d2d2e, ...inputsVarIDd73087dad26d2d2e};const generatedVarIDd73087dad26d2d2e = await BitByBit.HS.executeBasedOnTypeAsync(inputsVarIDd73087dad26d2d2e, false, (data) => bitbybit.occt.shapes.wire.reversedWire(data));const resultd73087dad26d2d2e = [{result: generatedVarIDd73087dad26d2d2e, transformers: []}]; const dataVarID99cc2efef987a6d8 = {shape: [undefined], radius: [0.3], radiusList: [undefined], indexes: [undefined]};let inputsVarID99cc2efef987a6d8 = {};inputsVarID99cc2efef987a6d8.shape = result3f56cfc1a5b6ad40;BitByBit.HS.updateListInputs(inputsVarID99cc2efef987a6d8);inputsVarID99cc2efef987a6d8 = {...dataVarID99cc2efef987a6d8, ...inputsVarID99cc2efef987a6d8};const generatedVarID99cc2efef987a6d8 = await BitByBit.HS.executeBasedOnTypeAsync(inputsVarID99cc2efef987a6d8, false, (data) => bitbybit.occt.fillets.fillet2d(data));const result99cc2efef987a6d8 = [{result: generatedVarID99cc2efef987a6d8, transformers: []}];const dataVarIDdc825ab4ccd37e8f = {shapes: [undefined], planar: [true]};let inputsVarIDdc825ab4ccd37e8f = {};inputsVarIDdc825ab4ccd37e8f.shapes = result2898e135918a95e0;BitByBit.HS.updateListInputs(inputsVarIDdc825ab4ccd37e8f);inputsVarIDdc825ab4ccd37e8f = {...dataVarIDdc825ab4ccd37e8f, ...inputsVarIDdc825ab4ccd37e8f};const generatedVarIDdc825ab4ccd37e8f = await BitByBit.HS.executeBasedOnTypeAsync(inputsVarIDdc825ab4ccd37e8f, false, (data) => bitbybit.occt.shapes.face.createFaceFromWires(data));const resultdc825ab4ccd37e8f = [{result: generatedVarIDdc825ab4ccd37e8f, transformers: []}];const dataVarID58cb13544f3dcbed = {shapes: [undefined], planar: [true]};let inputsVarID58cb13544f3dcbed = {};inputsVarID58cb13544f3dcbed.shapes = result0700b606ef42a629;BitByBit.HS.updateListInputs(inputsVarID58cb13544f3dcbed);inputsVarID58cb13544f3dcbed = {...dataVarID58cb13544f3dcbed, ...inputsVarID58cb13544f3dcbed};const generatedVarID58cb13544f3dcbed = await BitByBit.HS.executeBasedOnTypeAsync(inputsVarID58cb13544f3dcbed, false, (data) => bitbybit.occt.shapes.face.createFaceFromWires(data));const result58cb13544f3dcbed = [{result: generatedVarID58cb13544f3dcbed, transformers: []}];const dataVarID41e4b5a02e7a2ef1 = {};let inputsVarID41e4b5a02e7a2ef1 = {};inputsVarID41e4b5a02e7a2ef1.listElements = [result160601d7ce142fe7[0],resultd73087dad26d2d2e[0]];BitByBit.HS.updateListInputs(inputsVarID41e4b5a02e7a2ef1);inputsVarID41e4b5a02e7a2ef1 = {...dataVarID41e4b5a02e7a2ef1, ...inputsVarID41e4b5a02e7a2ef1};const result41e4b5a02e7a2ef1 = [{result: [inputsVarID41e4b5a02e7a2ef1.listElements ? inputsVarID41e4b5a02e7a2ef1.listElements : []]}];const dataVarID8fcf53b110f80064 = {shape: [undefined]};let inputsVarID8fcf53b110f80064 = {};inputsVarID8fcf53b110f80064.shape = result160601d7ce142fe7;BitByBit.HS.updateListInputs(inputsVarID8fcf53b110f80064);inputsVarID8fcf53b110f80064 = {...dataVarID8fcf53b110f80064, ...inputsVarID8fcf53b110f80064};const generatedVarID8fcf53b110f80064 = await BitByBit.HS.executeBasedOnTypeAsync(inputsVarID8fcf53b110f80064, false, (data) => bitbybit.occt.shapes.edge.getEdges(data));const result8fcf53b110f80064 = [{result: generatedVarID8fcf53b110f80064, transformers: []}]; const dataVarID3006c23e05a1f828 = {shape: [undefined]};let inputsVarID3006c23e05a1f828 = {};inputsVarID3006c23e05a1f828.shape = result99cc2efef987a6d8;BitByBit.HS.updateListInputs(inputsVarID3006c23e05a1f828);inputsVarID3006c23e05a1f828 = {...dataVarID3006c23e05a1f828, ...inputsVarID3006c23e05a1f828};const generatedVarID3006c23e05a1f828 = await BitByBit.HS.executeBasedOnTypeAsync(inputsVarID3006c23e05a1f828, false, (data) => bitbybit.occt.shapes.wire.reversedWire(data));const result3006c23e05a1f828 = [{result: generatedVarID3006c23e05a1f828, transformers: []}];const dataVarID4983b173769cf6dc = {shape: [undefined], direction: [[0,1,0]]};let inputsVarID4983b173769cf6dc = {};inputsVarID4983b173769cf6dc.shape = [resultdc825ab4ccd37e8f[0],result58cb13544f3dcbed[0]];inputsVarID4983b173769cf6dc.direction = result1fa46eaae638c012;BitByBit.HS.updateListInputs(inputsVarID4983b173769cf6dc);inputsVarID4983b173769cf6dc = {...dataVarID4983b173769cf6dc, ...inputsVarID4983b173769cf6dc};const generatedVarID4983b173769cf6dc = await BitByBit.HS.executeBasedOnTypeAsync(inputsVarID4983b173769cf6dc, false, (data) => bitbybit.occt.operations.extrude(data));const result4983b173769cf6dc = [{result: generatedVarID4983b173769cf6dc, transformers: []}];const dataVarID4c5ac7ac119204d7 = {shapes: [undefined], planar: [true]};let inputsVarID4c5ac7ac119204d7 = {};inputsVarID4c5ac7ac119204d7.shapes = result41e4b5a02e7a2ef1;BitByBit.HS.updateListInputs(inputsVarID4c5ac7ac119204d7);inputsVarID4c5ac7ac119204d7 = {...dataVarID4c5ac7ac119204d7, ...inputsVarID4c5ac7ac119204d7};const generatedVarID4c5ac7ac119204d7 = await BitByBit.HS.executeBasedOnTypeAsync(inputsVarID4c5ac7ac119204d7, false, (data) => bitbybit.occt.shapes.face.createFaceFromWires(data));const result4c5ac7ac119204d7 = [{result: generatedVarID4c5ac7ac119204d7, transformers: []}]; const dataVarIDc8eba16a6f7a5405 = {};let inputsVarIDc8eba16a6f7a5405 = {};inputsVarIDc8eba16a6f7a5405.listElements = [resulted88551749c39d0d[0],result3006c23e05a1f828[0]];BitByBit.HS.updateListInputs(inputsVarIDc8eba16a6f7a5405);inputsVarIDc8eba16a6f7a5405 = {...dataVarIDc8eba16a6f7a5405, ...inputsVarIDc8eba16a6f7a5405};const resultc8eba16a6f7a5405 = [{result: [inputsVarIDc8eba16a6f7a5405.listElements ? inputsVarIDc8eba16a6f7a5405.listElements : []]}];const dataVarID20b7bd868043f89a = {shape: [undefined], radius: [0.3], radiusList: [undefined], indexes: [undefined]};let inputsVarID20b7bd868043f89a = {};inputsVarID20b7bd868043f89a.shape = result4983b173769cf6dc;BitByBit.HS.updateListInputs(inputsVarID20b7bd868043f89a);inputsVarID20b7bd868043f89a = {...dataVarID20b7bd868043f89a, ...inputsVarID20b7bd868043f89a};const generatedVarID20b7bd868043f89a = await BitByBit.HS.executeBasedOnTypeAsync(inputsVarID20b7bd868043f89a, false, (data) => bitbybit.occt.fillets.filletEdges(data));const result20b7bd868043f89a = [{result: generatedVarID20b7bd868043f89a, transformers: []}];const dataVarID427fb39ba615cfca = {shape: [undefined], direction: [[0,1,0]]};let inputsVarID427fb39ba615cfca = {};inputsVarID427fb39ba615cfca.shape = result4c5ac7ac119204d7;inputsVarID427fb39ba615cfca.direction = result44c279ae56f3278a;BitByBit.HS.updateListInputs(inputsVarID427fb39ba615cfca);inputsVarID427fb39ba615cfca = {...dataVarID427fb39ba615cfca, ...inputsVarID427fb39ba615cfca};const generatedVarID427fb39ba615cfca = await BitByBit.HS.executeBasedOnTypeAsync(inputsVarID427fb39ba615cfca, false, (data) => bitbybit.occt.operations.extrude(data));const result427fb39ba615cfca = [{result: generatedVarID427fb39ba615cfca, transformers: []}]; const dataVarIDb8cfcf327a5dac40 = {shapes: [undefined], planar: [false]};let inputsVarIDb8cfcf327a5dac40 = {};inputsVarIDb8cfcf327a5dac40.shapes = resultc8eba16a6f7a5405;BitByBit.HS.updateListInputs(inputsVarIDb8cfcf327a5dac40);inputsVarIDb8cfcf327a5dac40 = {...dataVarIDb8cfcf327a5dac40, ...inputsVarIDb8cfcf327a5dac40};const generatedVarIDb8cfcf327a5dac40 = await BitByBit.HS.executeBasedOnTypeAsync(inputsVarIDb8cfcf327a5dac40, false, (data) => bitbybit.occt.shapes.face.createFaceFromWires(data));const resultb8cfcf327a5dac40 = [{result: generatedVarIDb8cfcf327a5dac40, transformers: []}];const dataVarIDd9140f16c46871e7 = {shape: [undefined], translation: [[0,0,0]]};let inputsVarIDd9140f16c46871e7 = {};inputsVarIDd9140f16c46871e7.shape = result20b7bd868043f89a;inputsVarIDd9140f16c46871e7.translation = resultcc6b59d72aab28b0;BitByBit.HS.updateListInputs(inputsVarIDd9140f16c46871e7);inputsVarIDd9140f16c46871e7 = {...dataVarIDd9140f16c46871e7, ...inputsVarIDd9140f16c46871e7};const generatedVarIDd9140f16c46871e7 = await BitByBit.HS.executeBasedOnTypeAsync(inputsVarIDd9140f16c46871e7, false, (data) => bitbybit.occt.transforms.translate(data));const resultd9140f16c46871e7 = [{result: generatedVarIDd9140f16c46871e7, transformers: []}];const dataVarID6fe834ef0612b2ba = {shape: [undefined], edges: [undefined], radius: [0.4]};let inputsVarID6fe834ef0612b2ba = {};inputsVarID6fe834ef0612b2ba.shape = result427fb39ba615cfca;inputsVarID6fe834ef0612b2ba.edges = result8fcf53b110f80064;BitByBit.HS.updateListInputs(inputsVarID6fe834ef0612b2ba);inputsVarID6fe834ef0612b2ba = {...dataVarID6fe834ef0612b2ba, ...inputsVarID6fe834ef0612b2ba};const generatedVarID6fe834ef0612b2ba = await BitByBit.HS.executeBasedOnTypeAsync(inputsVarID6fe834ef0612b2ba, false, (data) => bitbybit.occt.fillets.filletEdgesListOneRadius(data));const result6fe834ef0612b2ba = [{result: generatedVarID6fe834ef0612b2ba, transformers: []}]; const dataVarIDde8ad86a5b5e82e9 = {shape: [undefined], direction: [[0,1,0]]};let inputsVarIDde8ad86a5b5e82e9 = {};inputsVarIDde8ad86a5b5e82e9.shape = resultb8cfcf327a5dac40;inputsVarIDde8ad86a5b5e82e9.direction = result76403e8c4859a474;BitByBit.HS.updateListInputs(inputsVarIDde8ad86a5b5e82e9);inputsVarIDde8ad86a5b5e82e9 = {...dataVarIDde8ad86a5b5e82e9, ...inputsVarIDde8ad86a5b5e82e9};const generatedVarIDde8ad86a5b5e82e9 = await BitByBit.HS.executeBasedOnTypeAsync(inputsVarIDde8ad86a5b5e82e9, false, (data) => bitbybit.occt.operations.extrude(data));const resultde8ad86a5b5e82e9 = [{result: generatedVarIDde8ad86a5b5e82e9, transformers: []}];const dataVarIDc7e0ae671c746898 = {shape: [undefined], translation: [[0,0,0]]};let inputsVarIDc7e0ae671c746898 = {};inputsVarIDc7e0ae671c746898.translation = result70e58b22a8b59c01;inputsVarIDc7e0ae671c746898.shape = result6fe834ef0612b2ba;BitByBit.HS.updateListInputs(inputsVarIDc7e0ae671c746898);inputsVarIDc7e0ae671c746898 = {...dataVarIDc7e0ae671c746898, ...inputsVarIDc7e0ae671c746898};const generatedVarIDc7e0ae671c746898 = await BitByBit.HS.executeBasedOnTypeAsync(inputsVarIDc7e0ae671c746898, false, (data) => bitbybit.occt.transforms.translate(data));const resultc7e0ae671c746898 = [{result: generatedVarIDc7e0ae671c746898, transformers: []}]; const dataVarID96dfe5787b5f40e1 = {shape: [undefined]};let inputsVarID96dfe5787b5f40e1 = {};inputsVarID96dfe5787b5f40e1.shape = resultc7e0ae671c746898;BitByBit.HS.updateListInputs(inputsVarID96dfe5787b5f40e1);inputsVarID96dfe5787b5f40e1 = {...dataVarID96dfe5787b5f40e1, ...inputsVarID96dfe5787b5f40e1};const generatedVarID96dfe5787b5f40e1 = await BitByBit.HS.executeBasedOnTypeAsync(inputsVarID96dfe5787b5f40e1, false, (data) => bitbybit.occt.shapes.face.getFaces(data));const result96dfe5787b5f40e1 = [{result: generatedVarID96dfe5787b5f40e1, transformers: []}];const dataVarID2c559cd7a1361e3f = {};let inputsVarID2c559cd7a1361e3f = {};inputsVarID2c559cd7a1361e3f.listElements = [resultde8ad86a5b5e82e9[0],resultd9140f16c46871e7[0]];BitByBit.HS.updateListInputs(inputsVarID2c559cd7a1361e3f);inputsVarID2c559cd7a1361e3f = {...dataVarID2c559cd7a1361e3f, ...inputsVarID2c559cd7a1361e3f};const result2c559cd7a1361e3f = [{result: [inputsVarID2c559cd7a1361e3f.listElements ? inputsVarID2c559cd7a1361e3f.listElements : []]}]; const dataVarID12a9be907572a23f = {list: [undefined], index: [3], clone: [true]};let inputsVarID12a9be907572a23f = {};inputsVarID12a9be907572a23f.list = result96dfe5787b5f40e1;BitByBit.HS.updateListInputs(inputsVarID12a9be907572a23f);inputsVarID12a9be907572a23f = {...dataVarID12a9be907572a23f, ...inputsVarID12a9be907572a23f};const generatedVarID12a9be907572a23f = BitByBit.HS.executeBasedOnType(inputsVarID12a9be907572a23f, false, (data) => bitbybit.lists.removeItemAtIndex(data));const result12a9be907572a23f = [{result: generatedVarID12a9be907572a23f, transformers: []}];const dataVarID9e0ff270aff7a854 = {shapes: [undefined]};let inputsVarID9e0ff270aff7a854 = {};inputsVarID9e0ff270aff7a854.shapes = result2c559cd7a1361e3f;BitByBit.HS.updateListInputs(inputsVarID9e0ff270aff7a854);inputsVarID9e0ff270aff7a854 = {...dataVarID9e0ff270aff7a854, ...inputsVarID9e0ff270aff7a854};const generatedVarID9e0ff270aff7a854 = await BitByBit.HS.executeBasedOnTypeAsync(inputsVarID9e0ff270aff7a854, false, (data) => bitbybit.occt.shapes.compound.makeCompound(data));const result9e0ff270aff7a854 = [{result: generatedVarID9e0ff270aff7a854, transformers: []}]; const dataVarID5887e9747168fa0a = {shapes: [undefined], tolerance: [1e-7]};let inputsVarID5887e9747168fa0a = {};inputsVarID5887e9747168fa0a.shapes = result12a9be907572a23f;BitByBit.HS.updateListInputs(inputsVarID5887e9747168fa0a);inputsVarID5887e9747168fa0a = {...dataVarID5887e9747168fa0a, ...inputsVarID5887e9747168fa0a};const generatedVarID5887e9747168fa0a = await BitByBit.HS.executeBasedOnTypeAsync(inputsVarID5887e9747168fa0a, false, (data) => bitbybit.occt.shapes.shell.sewFaces(data));const result5887e9747168fa0a = [{result: generatedVarID5887e9747168fa0a, transformers: []}];const dataVarIDb45a842e8eca8ce0 = {entity: [undefined], options: [undefined], babylonMesh: [undefined]};let inputsVarIDb45a842e8eca8ce0 = {};inputsVarIDb45a842e8eca8ce0.entity = result9e0ff270aff7a854;inputsVarIDb45a842e8eca8ce0.options = resultbd6fcbbb0e2ffbca;BitByBit.HS.updateListInputs(inputsVarIDb45a842e8eca8ce0);inputsVarIDb45a842e8eca8ce0 = {...dataVarIDb45a842e8eca8ce0, ...inputsVarIDb45a842e8eca8ce0};const generatedVarIDb45a842e8eca8ce0 = await BitByBit.HS.executeBasedOnTypeAsync(inputsVarIDb45a842e8eca8ce0, false, (data) => bitbybit.draw.drawAnyAsync(data));const resultb45a842e8eca8ce0 = [{result: generatedVarIDb45a842e8eca8ce0, transformers: []}]; const dataVarID49053cbc4a5da0bd = {shape: [undefined], origin: [[0,0,0]], normal: [[0,0,1]]};let inputsVarID49053cbc4a5da0bd = {};inputsVarID49053cbc4a5da0bd.shape = result5887e9747168fa0a;inputsVarID49053cbc4a5da0bd.normal = result1e6ffcf5f2cd5d87;inputsVarID49053cbc4a5da0bd.origin = resultfe050eb4c527b3e9;BitByBit.HS.updateListInputs(inputsVarID49053cbc4a5da0bd);inputsVarID49053cbc4a5da0bd = {...dataVarID49053cbc4a5da0bd, ...inputsVarID49053cbc4a5da0bd};const generatedVarID49053cbc4a5da0bd = await BitByBit.HS.executeBasedOnTypeAsync(inputsVarID49053cbc4a5da0bd, false, (data) => bitbybit.occt.transforms.mirrorAlongNormal(data));const result49053cbc4a5da0bd = [{result: generatedVarID49053cbc4a5da0bd, transformers: []}]; const dataVarID534b3d42ac51ea03 = {};let inputsVarID534b3d42ac51ea03 = {};inputsVarID534b3d42ac51ea03.listElements = [result5887e9747168fa0a[0],result49053cbc4a5da0bd[0]];BitByBit.HS.updateListInputs(inputsVarID534b3d42ac51ea03);inputsVarID534b3d42ac51ea03 = {...dataVarID534b3d42ac51ea03, ...inputsVarID534b3d42ac51ea03};const result534b3d42ac51ea03 = [{result: [inputsVarID534b3d42ac51ea03.listElements ? inputsVarID534b3d42ac51ea03.listElements : []]}]; const dataVarID022e6cb76b8e9a86 = {shapes: [undefined], tolerance: [1e-7]};let inputsVarID022e6cb76b8e9a86 = {};inputsVarID022e6cb76b8e9a86.shapes = result534b3d42ac51ea03;BitByBit.HS.updateListInputs(inputsVarID022e6cb76b8e9a86);inputsVarID022e6cb76b8e9a86 = {...dataVarID022e6cb76b8e9a86, ...inputsVarID022e6cb76b8e9a86};const generatedVarID022e6cb76b8e9a86 = await BitByBit.HS.executeBasedOnTypeAsync(inputsVarID022e6cb76b8e9a86, false, (data) => bitbybit.occt.shapes.shell.sewFaces(data));const result022e6cb76b8e9a86 = [{result: generatedVarID022e6cb76b8e9a86, transformers: []}]; const dataVarIDbd615cffa32608ab = {entity: [undefined], options: [undefined], babylonMesh: [undefined]};let inputsVarIDbd615cffa32608ab = {};inputsVarIDbd615cffa32608ab.entity = result022e6cb76b8e9a86;inputsVarIDbd615cffa32608ab.options = resultcd8a8bb3037c182b;BitByBit.HS.updateListInputs(inputsVarIDbd615cffa32608ab);inputsVarIDbd615cffa32608ab = {...dataVarIDbd615cffa32608ab, ...inputsVarIDbd615cffa32608ab};const generatedVarIDbd615cffa32608ab = await BitByBit.HS.executeBasedOnTypeAsync(inputsVarIDbd615cffa32608ab, false, (data) => bitbybit.draw.drawAnyAsync(data));const resultbd615cffa32608ab = [{result: generatedVarIDbd615cffa32608ab, transformers: []}]; const dataVarID83818272ae3a1818 = {};let inputsVarID83818272ae3a1818 = {};inputsVarID83818272ae3a1818.listElements = [resultbd615cffa32608ab[0],resultb45a842e8eca8ce0[0]];BitByBit.HS.updateListInputs(inputsVarID83818272ae3a1818);inputsVarID83818272ae3a1818 = {...dataVarID83818272ae3a1818, ...inputsVarID83818272ae3a1818};const result83818272ae3a1818 = [{result: [inputsVarID83818272ae3a1818.listElements ? inputsVarID83818272ae3a1818.listElements : []]}]; const dataVarID5e1e936afe3ef71a = {property: [\\"meshes\\"]};let inputsVarID5e1e936afe3ef71a = {};inputsVarID5e1e936afe3ef71a.value = result83818272ae3a1818;BitByBit.HS.updateListInputs(inputsVarID5e1e936afe3ef71a);inputsVarID5e1e936afe3ef71a = {...dataVarID5e1e936afe3ef71a, ...inputsVarID5e1e936afe3ef71a};setBitbybitRunnerResultValue(inputsVarID5e1e936afe3ef71a.property[0], inputsVarID5e1e936afe3ef71a.value[0]); })(BitByBit, bitbybit, bitbybitRunnerResult, bitbybitRunnerInputs, Bit);"}';
}
Also see: Tab Triggers