latest :)

This commit is contained in:
lovebird 2025-03-11 23:32:39 +01:00
parent 92f1c750ef
commit 63bb9fbb43
2251 changed files with 1239859 additions and 0 deletions

7
systems/flexibot/.gitignore vendored Normal file
View File

@ -0,0 +1,7 @@
/node_modules
/coverage
*.log
.DS_Store
~$*.SLDDRW
~$*.SLDPRT
~$*.SLDASM

View File

@ -0,0 +1,4 @@
./docs
./scripts
./tests
./incoming

View File

@ -0,0 +1,54 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.grunt = void 0;
const read_1 = require("@plastichub/fs/read");
const product_1 = require("./product");
const getProducts = (branch) => {
const conf = (0, read_1.sync)("./config/machines.json", "json") || {};
if (branch) {
conf['all'] = [...conf["extruders"]];
return conf[branch] || [];
}
else {
return Object.values(conf).flat();
}
};
const grunt = (grunt) => {
grunt.initConfig({
pkg: grunt.file.readJSON("package.json"),
sshexec: {
update: {
debug: true,
verbose: true,
commands: 'sh update-osr.sh'
}
}
});
grunt.loadNpmTasks('grunt-parallel');
grunt.loadNpmTasks("grunt-extend-config");
const product_laser_tasks = [];
const product_cad_tasks = [];
const productTasks = (items) => {
items.forEach((i) => {
(0, product_1.productCADTask)(grunt, i, {}, product_cad_tasks);
//productLaserTask(grunt, i, {}, product_laser_tasks)
});
};
const _products = getProducts(grunt.option('branch') || "current");
productTasks(_products);
grunt.registerTask('products_update', [
'products-cad',
//'products-laser'
]);
grunt.registerTask('products_sync', [
// 'sshexec:update'
]);
grunt.registerTask('products_full', [
'products_update',
'products_sync'
]);
require("@plastichub/osr-tasks").initConfig(grunt, {});
};
exports.grunt = grunt;
module.exports = exports.grunt;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiR3J1bnRmaWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsidGFza3MvR3J1bnRmaWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUNBLDhDQUFrRDtBQUdsRCx1Q0F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gIHByb2R1Y3RDQURUYXNrXG59IGZyb20gJy4vcHJvZHVjdCdcblxuXG5jb25zdCBnZXRQcm9kdWN0cyA9IChicmFuY2g6IHN0cmluZykgPT4ge1xuICAgIGNvbnN0IGNvbmYgPSByZWFkKFwiLi9jb25maWcvbWFjaGluZXMuanNvblwiLCBcImpzb25cIikgfHwge31cbiAgICBpZiAoYnJhbmNoKSB7XG4gICAgICAgIGNvbmZbJ2FsbCddID0gWy4uLmNvbmZbXCJleHRydWRlcnNcIl1dXG4gICAgICAgIHJldHVybiBjb25mW2JyYW5jaF0gfHwgW11cbiAgICB9IGVsc2Uge1xuICAgICAgICByZXR1cm4gT2JqZWN0LnZhbHVlcyhjb25mKS5mbGF0KClcbiAgICB9XG59XG5cbmV4cG9ydCBjb25zdCBncnVudCA9IChncnVudCkgPT4ge1xuICAgIGdydW50LmluaXRDb25maWcoe1xuICAgICAgICBwa2c6IGdydW50LmZpbGUucmVhZEpTT04oXCJwYWNrYWdlLmpzb25cIiksXG4gICAgICAgIHNzaGV4ZWM6IHtcbiAgICAgICAgICAgIHVwZGF0ZToge1xuICAgICAgICAgICAgICAgIGRlYnVnOiB0cnVlLFxuICAgICAgICAgICAgICAgIHZlcmJvc2U6IHRydWUsXG4gICAgICAgICAgICAgICAgY29tbWFuZHM6ICdzaCB1cGRhdGUtb3NyLnNoJ1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfSlcblxuICAgIFxuICAgIGdydW50LmxvYWROcG1UYXNrcygnZ3J1bnQtcGFyYWxsZWwnKVxuICAgIGdydW50LmxvYWROcG1UYXNrcyhcImdydW50LWV4dGVuZC1jb25maWdcIilcblxuICAgIGNvbnN0IHByb2R1Y3RfbGFzZXJfdGFza3MgPSBbXVxuICAgIGNvbnN0IHByb2R1Y3RfY2FkX3Rhc2tzID0gW11cbiAgICBcblxuICAgIGNvbnN0IHByb2R1Y3RUYXNrcyA9IChpdGVtcykgPT4ge1xuICAgICAgICBpdGVtcy5mb3JFYWNoKChpKSA9PiB7XG4gICAgICAgICAgICBwcm9kdWN0Q0FEVGFzayhncnVudCwgaSwge30sIHByb2R1Y3RfY2FkX3Rhc2tzKVxuICAgICAgICAgICAgLy9wcm9kdWN0TGFzZXJUYXNrKGdydW50LCBpLCB7fSwgcHJvZHVjdF9sYXNlcl90YXNrcykgICAgICAgICAgICBcbiAgICAgICAgfSlcbiAgICB9XG5cbiAgICBjb25zdCBfcHJvZHVjdHMgPSBnZXRQcm9kdWN0cyhncnVudC5vcHRpb24oJ2JyYW5jaCcpIHx8IFwiY3VycmVudFwiKVxuICAgIHByb2R1Y3RUYXNrcyhfcHJvZHVjdHMpXG4gICAgXG4gICAgZ3J1bnQucmVnaXN0ZXJUYXNrKCdwcm9kdWN0c191cGRhdGUnLCBbXG4gICAgICAgICdwcm9kdWN0cy1jYWQnLFxuICAgICAgICAvLydwcm9kdWN0cy1sYXNlcidcbiAgICBdKVxuXG4gICAgZ3J1bnQucmVnaXN0ZXJUYXNrKCdwcm9kdWN0c19zeW5jJywgW1xuICAgICAgICAvLyAnc3NoZXhlYzp1cGRhdGUnXG4gICAgXSlcblxuICAgIGdydW50LnJlZ2lzdGVyVGFzaygncHJvZHVjdHNfZnVsbCcsIFtcbiAgICAgICAgJ3Byb2R1Y3RzX3VwZGF0ZScsXG4gICAgICAgICdwcm9kdWN0c19zeW5jJ1xuICAgIF0pXG5cbiAgICByZXF1aXJlKFwiQHBsYXN0aWNodWIvb3NyLXRhc2tzXCIpLmluaXRDb25maWcoZ3J1bnQsIHt9KVxufTtcblxubW9kdWxlLmV4cG9ydHMgPSBncnVudCJdfQ==

9
systems/flexibot/LICENSE Normal file
View File

@ -0,0 +1,9 @@
Copyright (c) <year> <owner> All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

View File

@ -0,0 +1,68 @@
# Flexi Print
- [Forum Tracker](https://forum.osr-plastic.org/t/flexi-print/)
## References
- [https://www.dls-schmiersysteme.de/FlexxPump-400-DLS/235-411-210 - HWIN](https://www.dls-schmiersysteme.de/FlexxPump-400-DLS/235-411-210)
- [https://www.fruugo.es/one-set-lubricating-oil-pump-hand-actuated-cnc-router-electromagnetic-lubrication-pump-lubricator-s/E](https://www.fruugo.es/one-set-lubricating-oil-pump-hand-actuated-cnc-router-electromagnetic-lubrication-pump-lubricator-s/E)
-[https://www.central-lubrication.com/Lubrication-systems_1](https://www.central-lubrication.com/Lubrication-systems_1)
- [https://cncbote.de/en/product/yeong-dien-mfe-302fw-t4p-central-lubrication/ - TM-302-FW](https://cncbote.de/en/product/yeong-dien-mfe-302fw-t4p-central-lubrication/)
### 4th Axis - Print (Low End / Opensource)
- https://all3dp.com/4/prusa-4-axis-3d-printing/
- https://reprap.org/forum/read.php?180,530001
- https://hackaday.com/2022/03/13/5-axis-3d-printing-for-the-rest-of-us/
- https://www.diabasemachines.com/post/top-5-benefits-of-rotary-3d-printing-or-4-axis-3d-printing
- https://reprap.org/forum/read.php?1,824119,824341
- https://lauras3dprintingprojects.wordpress.com/rotary-3d-printer/
- R360 - https://github.com/kory75/Marlin_360
- https://forum.linuxcnc.org/additive-manufacturing
- [Marlin 5axis](https://github.com/DerAndere1/Marlin)
- [Marlin Fusion - 360 Post](https://github.com/flyfisher604/mpcnc_post_processor/blob/master/MPCNC.cps)
- [Slicers, tools, ...](https://xyzdims.com/)
- [3D Printing: Penta Axis (PAX) / 5 Axis Printing Option Draft](https://xyzdims.com/2021/02/08/3d-printing-penta-axis-pax-5-axis-printing-option/)
- [Universal slicing](https://xyzdims.com/3d-printing/universalslicing/)
### Misc - Software & Libraries
- [OpenSCAD - JS](https://github.com/Spiritdude/OpenSCAD.jscad)
- [Fusion 360 - Sample Mill Turning](https://a360.co/3qdRdAo)
- [AI toolpaths for robots](https://ai-build.com/)
### STM - 446ZE
- [buildroot\share\PlatformIO\variants\MARLIN_F446ZE\variant.h](buildroot\share\PlatformIO\variants\MARLIN_F446ZE\variant.h)
### Tests & Setup
## References - Suppliers (industrial)
- [Fusion 360 - Sample Mill Turning](https://a360.co/3qdRdAo)
## Parts
- [SFU2005 - 1500mm - EBay](https://www.ebay.es/itm/313477317601?var=612322375062)
- [HGH20-1500 mm - EBay](https://www.ebay.es/itm/274741722317)
- [CEAD - Extrusion Heads](https://ceadgroup.com/)
- [Weber - Twin Extruders](https://www.hansweber.de/produkte-services/extrusion/baureihen/weber-konische-doppelschnecken)
- [MD - MDPH2 - Pellet Head Extruder](https://massivedimension.com/products/mdphe-v1-pellet-head-extruder-system)
- [dyzedesign Hotends & parts](https://dyzedesign.com/)
- [Wire-Laser Metal 3D Printing](https://meltio3d.com/)
- [Q5D - Manufacturing Cell](https://q5d.com/haas/technical-details/)
- [Pellet Extruder](https://extrudinaire.com/extrudinaire-pellet-extruder/)
## HMI - TFT / OLED
- [4D](https://4dsystems.com.au/products/4d-clearcore-adaptor/)
## Servos & Controllers
- [ClearPath - Nema23](https://teknic.com/model-info/CPM-SDSK-2321S-RLN/?model_voltage=75VDC)
- [ClearPath - Encoder Feedback - FPGA](https://www.cnczone.com/forums/servo-motors-drives/337240-possible-clearpath-servos-provide-encoder-feedback.html)
- [ClearPath - Nema34](https://teknic.com/model-info/CPM-SDHP-3446P-ELN/?model_voltage=75VDC)
- [ClearPath Cables](https://teknic.com/clearpath-accessories-guide/accessories-guide-sd-dc/#power-supplies)
- [Clear - Core - Motion Controller](https://teknic.com/products/io-motion-controller/)
- [DynaMotion - Windows Only - Shitty DotNet SDK](https://www.dynomotion.com/)

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,37 @@
[
{
"File Path": "C:\\Users\\mc007\\Desktop\\ph3\\products\\products\\sheetpress\\components\\sprcb-650\\cad\\200_PressPlate-Global-650.SLDASM",
"IsLaser": "1"
},
{
"File Path": "C:\\Users\\mc007\\Desktop\\ph3\\products\\products\\sheetpress\\components\\sprcb-650\\cad\\303_TriMount_x8_5mm_FERRO.SLDPRT"
},
{
"File Path": "C:\\Users\\mc007\\Desktop\\ph3\\products\\products\\sheetpress\\components\\sprcb-650\\cad\\304_SideMount_x4_5mm_FERRO.SLDPRT"
},
{
"File Path": "C:\\Users\\mc007\\Desktop\\ph3\\products\\products\\sheetpress\\components\\sprcb-650\\cad\\201_PlateCoverTri_x8_1mm_INOX.SLDPRT"
},
{
"File Path": "C:\\Users\\mc007\\Desktop\\ph3\\products\\products\\sheetpress\\components\\sprcb-650\\cad\\8_Rib_x2_5mm_FERRO.SLDPRT"
},
{
"File Path": "C:\\Users\\mc007\\Desktop\\ph3\\products\\products\\sheetpress\\components\\sprcb-650\\cad\\7_Rib_x2_5mm_FERRO.SLDPRT"
},
{
"File Path": "C:\\Users\\mc007\\Desktop\\ph3\\products\\products\\sheetpress\\components\\sprcb-650\\cad\\6_Side_x2_5mm_FERRO.SLDPRT"
},
{
"File Path": "C:\\Users\\mc007\\Desktop\\ph3\\products\\products\\sheetpress\\components\\sprcb-650\\cad\\7_Side_x2_5mm_FERRO.SLDPRT"
},
{
"File Path": "C:\\Users\\mc007\\Desktop\\ph3\\products\\products\\sheetpress\\components\\sprcb-650\\cad\\Lower Platen Matrix Assembly Light.SLDASM",
"IsLaser": "1"
},
{
"File Path": "C:\\Users\\mc007\\Desktop\\ph3\\products\\products\\sheetpress\\components\\sprcb-650\\cad\\sp-artition-cell.SLDPRT"
},
{
"File Path": "C:\\Users\\mc007\\Desktop\\ph3\\products\\products\\sheetpress\\components\\sprcb-650\\cad\\20_80_60.SLDPRT"
}
]

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

BIN
systems/flexibot/cad/inc/pellet-extruder/grabcad/pulsar.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
systems/flexibot/cad/inc/sfu2005/SKF_CAD_MODEL_SKF_30302.zip (Stored with Git LFS) Normal file

Binary file not shown.

BIN
systems/flexibot/cad/inc/sfu2005/bfk-resizable.zip (Stored with Git LFS) Normal file

Binary file not shown.

BIN
systems/flexibot/cad/inc/sfu2005/screw-bracket-sfu-1.zip (Stored with Git LFS) Normal file

Binary file not shown.

BIN
systems/flexibot/cad/inc/sfu2005/sfu-screw-nut-resizable.zip (Stored with Git LFS) Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,7 @@
{
"Default": {},
"Lydia-v36": {},
"L37-Printhead": {},
"AR4": {},
"bt30-atc": {}
}

BIN
systems/flexibot/cad/storch-150/cad/Global-Storch-150.STEP (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1 @@
{}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,142 @@
#! hsmkernel
# This is a generated file - do NOT edit
#
# Generator: HSMWorks 2023 R0.44039
# Date: 18-7-2023 11:43:14
# Host: DESKTOP-AHHEV4G
# Document: table-y-support-plate.SLDASM
# Operation: 2D Pocket1
import hsmkernel as kernel
from hsmkernel import Arc
class Job(kernel.Operation):
def onRun(self):
contourClearing2D1 = kernel.ContourClearing2DOp(self, "contourClearing2D1")
# tool definition
contourClearing2D1.setParameter("cutterDiameter", 10.0)
contourClearing2D1.setParameter("cornerRadius", 0.0)
contourClearing2D1.setParameter("taperAngle", 0.0)
contourClearing2D1.setParameter("fluteLength", 25.0)
contourClearing2D1.setParameter("shoulderLength", 25.0)
contourClearing2D1.setParameter("bodyLength", 27.5)
contourClearing2D1.setParameter("shaftDiameter", 10.0)
contourClearing2D1.setParameter("shaft", '[[0, 5], [2.5, 5]]')
contourClearing2D1.setParameter("holder", '[[0, 19.05], [3.7592, 25.019], [24.9936, 25.019], [24.9936, 19.939], [29.464, 19.939], [31.75, 22.225], [42.545, 22.225], [43.815, 23.495], [43.815, 31.0134], [44.577, 31.7754], [48.26, 31.7754], [50.2666, 28.1305], [53.2638, 28.1305], [55.2704, 31.7754], [58.9026, 31.7754], [59.6646, 31.0134], [59.6646, 22.225], [62.8396, 22.225]]')
# general
contourClearing2D1.setParameter("tolerance", 0.1)
contourClearing2D1.setParameter("smoothTransitions", True)
contourClearing2D1.setParameter("machiningBoundaryOffset", 0.0)
contourClearing2D1.setParameter("contourZ", -30.0)
# contour offset
contourClearing2D1.setParameter("applyFinalSmoothingDeviation", False)
contourClearing2D1.setParameter("maximumFinishingSteps", 0)
contourClearing2D1.setParameter("finishingSmoothingDeviation", 0.0)
contourClearing2D1.setParameter("maximumFinishingStepover", 1.0)
contourClearing2D1.setParameter("minimumFinishingStepover", 0.25)
contourClearing2D1.setParameter("roughingSmoothingDeviation", 0.1)
contourClearing2D1.setParameter("maximumRoughingStepover", 3.0)
contourClearing2D1.setParameter("minimumRoughingStepover", 0.3)
contourClearing2D1.setParameter("ensureCutRadius", 4.875)
# roughing passes
contourClearing2D1.setParameter("spiralCircularPockets", True)
# finishing passes
contourClearing2D1.setParameter("repeatPass", False)
contourClearing2D1.setParameter("finishingOverlap", 0.0)
# compensation
contourClearing2D1.setParameter("rightCompensation", False)
contourClearing2D1.setParameter("bothWays", True)
contourClearing2D1.setParameter("finishingCompensationType", 0)
contourClearing2D1.setParameter("compensationDeltaRadius", 0.0)
contourClearing2D1.setParameter("stockHeightAbsolute", True)
contourClearing2D1.setParameter("stockHeight", 0.0)
contourClearing2D1.setParameter("depthAbsolute", False)
contourClearing2D1.setParameter("depth", 0.0)
# multiple depths
contourClearing2D1.setParameter("maximumStepdown", 10.0)
contourClearing2D1.setParameter("finishLevels", 0)
contourClearing2D1.setParameter("finishZStepdown", 0.2)
contourClearing2D1.setParameter("onlyFinishFinal", False)
contourClearing2D1.setParameter("evenZSteps", False)
contourClearing2D1.setParameter("wallTaperAngle", 0.0)
contourClearing2D1.setParameter("orderByStep", False)
contourClearing2D1.setParameter("preserveOrder", False)
# global stock to leave
contourClearing2D1.setParameter("radialStockToLeave", 0.0)
contourClearing2D1.setParameter("axialStockToLeave", 0.0)
# fragments
contourClearing2D1.setParameter("minimumFragmentLength", 0.0)
contourClearing2D1.setParameter("fragmentExtensionDistance", 0.0)
# ordering
contourClearing2D1.setParameter("linkByZLevel", False)
contourClearing2D1.setParameter("linkDirection", 0)
contourClearing2D1.setParameter("orderByIslands", False)
# linking
contourClearing2D1.setParameter("zClearance", 45.0)
contourClearing2D1.setParameter("zClearanceAbsolute", True)
contourClearing2D1.setParameter("zRetract", 35.0)
contourClearing2D1.setParameter("zRetractAbsolute", True)
contourClearing2D1.setParameter("useZFeed", True)
contourClearing2D1.setParameter("zFeed", 5.0)
contourClearing2D1.setParameter("zFeedAbsolute", True)
contourClearing2D1.setParameter("retractStrategy", 0)
contourClearing2D1.setParameter("allowRapidRetract", True)
contourClearing2D1.setParameter("safeDistance", 2.0)
contourClearing2D1.setParameter("stayDownDistance", 50.0)
contourClearing2D1.setParameter("liftHeight", 0.0)
contourClearing2D1.setParameter("thinningTolerance", 0.001)
# ramping
contourClearing2D1.setParameter("rampZClearance", 2.5)
contourClearing2D1.setParameter("maximumRampZStepdown", 25.0)
contourClearing2D1.setParameter("helicalRampDiameter", 0.0)
contourClearing2D1.setParameter("maximumRampAngle", 2.0)
contourClearing2D1.setParameter("minimumRampDiameter", 0.0)
contourClearing2D1.setParameter("allowPlunging", True)
contourClearing2D1.setParameter("allowHelicalRamps", False)
contourClearing2D1.setParameter("allowNonSmoothContourRamps", False)
contourClearing2D1.setParameter("allowContourRamps", False)
contourClearing2D1.setParameter("allowZigZagRamps", False)
contourClearing2D1.setParameter("smoothRamp", False)
# leads
contourClearing2D1.setParameter("leadInRadius", 1.0)
contourClearing2D1.setParameter("leadOutRadius", 1.0)
contourClearing2D1.setParameter("leadInVerticalRadius", 1.0)
contourClearing2D1.setParameter("leadOutVerticalRadius", 1.0)
contourClearing2D1.setParameter("leadInSweep", 90.0)
contourClearing2D1.setParameter("leadOutSweep", 90.0)
contourClearing2D1.setParameter("leadInDistance", 1.0)
contourClearing2D1.setParameter("leadOutDistance", 1.0)
contourClearing2D1.setParameter("leadInPerpendicular", False)
contourClearing2D1.setParameter("leadOutPerpendicular", False)
contour2 = [
(16.299999999999898, -395.80000000004316),
Arc(16.299999999999898, -395.80000000004316, 22.799999999999898, -395.80000000004316, False),
]
contourClearing2D1.addContour(contour2)
contour3 = [
(572.30000000000007, -395.80000000004316),
Arc(572.30000000000007, -395.80000000004316, 578.79999999999995, -395.80000000004316, False),
]
contourClearing2D1.addContour(contour3)
contour4 = [
(572.29999999999984, -95.800000000047248),
Arc(572.29999999999984, -95.800000000047248, 578.79999999999973, -95.800000000047248, False),
]
contourClearing2D1.addContour(contour4)
contour5 = [
(16.299999999999898, -95.800000000047248),
Arc(16.299999999999898, -95.800000000047248, 22.799999999999898, -95.800000000047248, False),
]
contourClearing2D1.addContour(contour5)
contourClearing2D1.setParameter("passesGUID", "'{5a675d4e-05e4-4b1a-ab53-e0b81400838b}'")
contourClearing2D1.run()
if __name__ == '__main__':
job = Job()
job.run()

View File

@ -0,0 +1,132 @@
#! hsmkernel
# This is a generated file - do NOT edit
#
# Generator: HSMWorks 2023 R0.44039
# Date: 18-7-2023 12:30:14
# Host: DESKTOP-AHHEV4G
# Document: table-y-support-plate.SLDASM
# Operation: 2D Contour1
import hsmkernel as kernel
from hsmkernel import Arc
class Job(kernel.Operation):
def onRun(self):
contour2D1 = kernel.Contour2DOp(self, "contour2D1")
# tool definition
contour2D1.setParameter("cutterDiameter", 20.0)
contour2D1.setParameter("cornerRadius", 0.0)
contour2D1.setParameter("taperAngle", 0.0)
contour2D1.setParameter("fluteLength", 25.0)
contour2D1.setParameter("shoulderLength", 25.0)
contour2D1.setParameter("bodyLength", 27.5)
contour2D1.setParameter("shaftDiameter", 20.0)
contour2D1.setParameter("shaft", '[[0, 10], [2.5, 10]]')
contour2D1.setParameter("holder", '[[0, 19.05], [3.7592, 25.019], [24.9936, 25.019], [24.9936, 19.939], [29.464, 19.939], [31.75, 22.225], [42.545, 22.225], [43.815, 23.495], [43.815, 31.0134], [44.577, 31.7754], [48.26, 31.7754], [50.2666, 28.1305], [53.2638, 28.1305], [55.2704, 31.7754], [58.9026, 31.7754], [59.6646, 31.0134], [59.6646, 22.225], [62.8396, 22.225]]')
# general
contour2D1.setParameter("tolerance", 0.01)
contour2D1.setParameter("smoothTransitions", True)
contour2D1.setParameter("machiningBoundaryOffset", 0.0)
contour2D1.setParameter("contourZ", -30.0)
# contour offset
contour2D1.setParameter("applyFinalSmoothingDeviation", False)
contour2D1.setParameter("maximumFinishingSteps", 1)
contour2D1.setParameter("finishingSmoothingDeviation", 0.0)
contour2D1.setParameter("maximumFinishingStepover", 2.0)
contour2D1.setParameter("minimumFinishingStepover", 0.5)
contour2D1.setParameter("roughingSmoothingDeviation", 0.1)
contour2D1.setParameter("maximumRoughingSteps", 0)
contour2D1.setParameter("maximumRoughingStepover", 19.0)
contour2D1.setParameter("minimumRoughingStepover", 1.9)
contour2D1.setParameter("ensureCutRadius", 9.75)
contour2D1.setParameter("approachMode", 0)
contour2D1.setParameter("spiralCircularPockets", True)
# finishing passes
contour2D1.setParameter("repeatPass", False)
contour2D1.setParameter("finishingOverlap", 0.0)
# compensation
contour2D1.setParameter("rightCompensation", False)
contour2D1.setParameter("bothWays", False)
contour2D1.setParameter("finishingCompensationType", 0)
contour2D1.setParameter("compensationDeltaRadius", 0.0)
contour2D1.setParameter("stockHeightAbsolute", True)
contour2D1.setParameter("stockHeight", 0.0)
contour2D1.setParameter("depthAbsolute", True)
contour2D1.setParameter("depth", -31.0)
# multiple depths
contour2D1.setParameter("maximumStepdown", 0.0)
contour2D1.setParameter("finishLevels", 0)
contour2D1.setParameter("finishZStepdown", 0.0)
contour2D1.setParameter("onlyFinishFinal", False)
contour2D1.setParameter("evenZSteps", False)
contour2D1.setParameter("wallTaperAngle", 0.0)
contour2D1.setParameter("orderByStep", False)
contour2D1.setParameter("preserveOrder", False)
contour2D1.setParameter("backoffDistance", 0.0)
contour2D1.setParameter("cornerMode", 0)
# leads
contour2D1.setParameter("leadInRadius", 2.0)
contour2D1.setParameter("leadOutRadius", 2.0)
contour2D1.setParameter("leadInVerticalRadius", 2.0)
contour2D1.setParameter("leadOutVerticalRadius", 2.0)
contour2D1.setParameter("leadInSweep", 90.0)
contour2D1.setParameter("leadOutSweep", 90.0)
contour2D1.setParameter("leadInDistance", 2.0)
contour2D1.setParameter("leadOutDistance", 2.0)
contour2D1.setParameter("leadInPerpendicular", False)
contour2D1.setParameter("leadOutPerpendicular", False)
# global stock to leave
contour2D1.setParameter("radialStockToLeave", 0.0)
contour2D1.setParameter("axialStockToLeave", 0.0)
# fragments
contour2D1.setParameter("minimumFragmentLength", 0.0)
contour2D1.setParameter("fragmentExtensionDistance", 0.0)
# ordering
contour2D1.setParameter("linkByZLevel", False)
contour2D1.setParameter("linkDirection", 0)
contour2D1.setParameter("orderByIslands", True)
# linking
contour2D1.setParameter("zClearance", 60.0)
contour2D1.setParameter("zClearanceAbsolute", True)
contour2D1.setParameter("zRetract", 50.0)
contour2D1.setParameter("zRetractAbsolute", True)
contour2D1.setParameter("useZFeed", True)
contour2D1.setParameter("zFeed", 5.0)
contour2D1.setParameter("zFeedAbsolute", True)
contour2D1.setParameter("retractStrategy", 0)
contour2D1.setParameter("allowRapidRetract", True)
contour2D1.setParameter("safeDistance", 2.0)
contour2D1.setParameter("stayDownDistance", 50.0)
contour2D1.setParameter("liftHeight", 0.0)
contour2D1.setParameter("thinningTolerance", 0.0001)
# ramping
contour2D1.setParameter("rampZClearance", 0.0)
contour2D1.setParameter("maximumRampZStepdown", 25.0)
contour2D1.setParameter("helicalRampDiameter", 0.0)
contour2D1.setParameter("maximumRampAngle", 2.0)
contour2D1.setParameter("minimumRampDiameter", 0.0)
contour2D1.setParameter("allowPlunging", True)
contour2D1.setParameter("allowHelicalRamps", False)
contour2D1.setParameter("allowNonSmoothContourRamps", False)
contour2D1.setParameter("allowContourRamps", False)
contour2D1.setParameter("allowZigZagRamps", False)
contour2D1.setParameter("smoothRamp", False)
contour2D1.setParameter("leadEndDistance", 0.0)
contour2D1.setParameter("alwaysMakeContourRamp", False)
contour2 = [
(0.80000000000006821, -500.79999999999995),
(0.80000000000006821, -0.79999999999995453),
(600.80000000000007, -0.79999999999995453),
(600.79999999999995, -500.79999999999995),
(0.80000000000006821, -500.79999999999995),
]
contour2D1.addContour(contour2)
contour2D1.setParameter("passesGUID", "'{25d0178c-3b27-49ae-96fe-2c149b7808a5}'")
contour2D1.run()
if __name__ == '__main__':
job = Job()
job.run()

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More