meerk40t 0.9.3001__py2.py3-none-any.whl → 0.9.7010__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- meerk40t/__init__.py +1 -1
- meerk40t/balormk/balor_params.py +167 -167
- meerk40t/balormk/clone_loader.py +457 -457
- meerk40t/balormk/controller.py +1566 -1512
- meerk40t/balormk/cylindermod.py +64 -0
- meerk40t/balormk/device.py +966 -1959
- meerk40t/balormk/driver.py +778 -591
- meerk40t/balormk/galvo_commands.py +1195 -0
- meerk40t/balormk/gui/balorconfig.py +237 -111
- meerk40t/balormk/gui/balorcontroller.py +191 -184
- meerk40t/balormk/gui/baloroperationproperties.py +116 -115
- meerk40t/balormk/gui/corscene.py +845 -0
- meerk40t/balormk/gui/gui.py +179 -147
- meerk40t/balormk/livelightjob.py +466 -382
- meerk40t/balormk/mock_connection.py +131 -109
- meerk40t/balormk/plugin.py +133 -135
- meerk40t/balormk/usb_connection.py +306 -301
- meerk40t/camera/__init__.py +1 -1
- meerk40t/camera/camera.py +514 -397
- meerk40t/camera/gui/camerapanel.py +1241 -1095
- meerk40t/camera/gui/gui.py +58 -58
- meerk40t/camera/plugin.py +441 -399
- meerk40t/ch341/__init__.py +27 -27
- meerk40t/ch341/ch341device.py +628 -628
- meerk40t/ch341/libusb.py +595 -589
- meerk40t/ch341/mock.py +171 -171
- meerk40t/ch341/windriver.py +157 -157
- meerk40t/constants.py +13 -0
- meerk40t/core/__init__.py +1 -1
- meerk40t/core/bindalias.py +550 -539
- meerk40t/core/core.py +47 -47
- meerk40t/core/cutcode/cubiccut.py +73 -73
- meerk40t/core/cutcode/cutcode.py +315 -312
- meerk40t/core/cutcode/cutgroup.py +141 -137
- meerk40t/core/cutcode/cutobject.py +192 -185
- meerk40t/core/cutcode/dwellcut.py +37 -37
- meerk40t/core/cutcode/gotocut.py +29 -29
- meerk40t/core/cutcode/homecut.py +29 -29
- meerk40t/core/cutcode/inputcut.py +34 -34
- meerk40t/core/cutcode/linecut.py +33 -33
- meerk40t/core/cutcode/outputcut.py +34 -34
- meerk40t/core/cutcode/plotcut.py +335 -335
- meerk40t/core/cutcode/quadcut.py +61 -61
- meerk40t/core/cutcode/rastercut.py +168 -148
- meerk40t/core/cutcode/waitcut.py +34 -34
- meerk40t/core/cutplan.py +1843 -1316
- meerk40t/core/drivers.py +330 -329
- meerk40t/core/elements/align.py +801 -669
- meerk40t/core/elements/branches.py +1844 -1507
- meerk40t/core/elements/clipboard.py +229 -219
- meerk40t/core/elements/element_treeops.py +4561 -2837
- meerk40t/core/elements/element_types.py +125 -105
- meerk40t/core/elements/elements.py +4329 -3617
- meerk40t/core/elements/files.py +117 -64
- meerk40t/core/elements/geometry.py +473 -224
- meerk40t/core/elements/grid.py +467 -316
- meerk40t/core/elements/materials.py +158 -94
- meerk40t/core/elements/notes.py +50 -38
- meerk40t/core/elements/offset_clpr.py +933 -912
- meerk40t/core/elements/offset_mk.py +963 -955
- meerk40t/core/elements/penbox.py +339 -267
- meerk40t/core/elements/placements.py +300 -83
- meerk40t/core/elements/render.py +785 -687
- meerk40t/core/elements/shapes.py +2618 -2092
- meerk40t/core/elements/trace.py +651 -563
- meerk40t/core/elements/tree_commands.py +415 -409
- meerk40t/core/elements/undo_redo.py +116 -58
- meerk40t/core/elements/wordlist.py +319 -200
- meerk40t/core/exceptions.py +9 -9
- meerk40t/core/laserjob.py +220 -220
- meerk40t/core/logging.py +63 -63
- meerk40t/core/node/blobnode.py +83 -86
- meerk40t/core/node/bootstrap.py +105 -103
- meerk40t/core/node/branch_elems.py +40 -31
- meerk40t/core/node/branch_ops.py +45 -38
- meerk40t/core/node/branch_regmark.py +48 -41
- meerk40t/core/node/cutnode.py +29 -32
- meerk40t/core/node/effect_hatch.py +375 -257
- meerk40t/core/node/effect_warp.py +398 -0
- meerk40t/core/node/effect_wobble.py +441 -309
- meerk40t/core/node/elem_ellipse.py +404 -309
- meerk40t/core/node/elem_image.py +1082 -801
- meerk40t/core/node/elem_line.py +358 -292
- meerk40t/core/node/elem_path.py +259 -201
- meerk40t/core/node/elem_point.py +129 -102
- meerk40t/core/node/elem_polyline.py +310 -246
- meerk40t/core/node/elem_rect.py +376 -286
- meerk40t/core/node/elem_text.py +445 -418
- meerk40t/core/node/filenode.py +59 -40
- meerk40t/core/node/groupnode.py +138 -74
- meerk40t/core/node/image_processed.py +777 -766
- meerk40t/core/node/image_raster.py +156 -113
- meerk40t/core/node/layernode.py +31 -31
- meerk40t/core/node/mixins.py +135 -107
- meerk40t/core/node/node.py +1427 -1304
- meerk40t/core/node/nutils.py +117 -114
- meerk40t/core/node/op_cut.py +462 -335
- meerk40t/core/node/op_dots.py +296 -251
- meerk40t/core/node/op_engrave.py +414 -311
- meerk40t/core/node/op_image.py +755 -369
- meerk40t/core/node/op_raster.py +787 -522
- meerk40t/core/node/place_current.py +37 -40
- meerk40t/core/node/place_point.py +329 -126
- meerk40t/core/node/refnode.py +58 -47
- meerk40t/core/node/rootnode.py +225 -219
- meerk40t/core/node/util_console.py +48 -48
- meerk40t/core/node/util_goto.py +84 -65
- meerk40t/core/node/util_home.py +61 -61
- meerk40t/core/node/util_input.py +102 -102
- meerk40t/core/node/util_output.py +102 -102
- meerk40t/core/node/util_wait.py +65 -65
- meerk40t/core/parameters.py +709 -707
- meerk40t/core/planner.py +875 -785
- meerk40t/core/plotplanner.py +656 -652
- meerk40t/core/space.py +120 -113
- meerk40t/core/spoolers.py +706 -705
- meerk40t/core/svg_io.py +1836 -1549
- meerk40t/core/treeop.py +534 -445
- meerk40t/core/undos.py +278 -124
- meerk40t/core/units.py +784 -680
- meerk40t/core/view.py +393 -322
- meerk40t/core/webhelp.py +62 -62
- meerk40t/core/wordlist.py +513 -504
- meerk40t/cylinder/cylinder.py +247 -0
- meerk40t/cylinder/gui/cylindersettings.py +41 -0
- meerk40t/cylinder/gui/gui.py +24 -0
- meerk40t/device/__init__.py +1 -1
- meerk40t/device/basedevice.py +322 -123
- meerk40t/device/devicechoices.py +50 -0
- meerk40t/device/dummydevice.py +163 -128
- meerk40t/device/gui/defaultactions.py +618 -602
- meerk40t/device/gui/effectspanel.py +114 -0
- meerk40t/device/gui/formatterpanel.py +253 -290
- meerk40t/device/gui/warningpanel.py +337 -260
- meerk40t/device/mixins.py +13 -13
- meerk40t/dxf/__init__.py +1 -1
- meerk40t/dxf/dxf_io.py +766 -554
- meerk40t/dxf/plugin.py +47 -35
- meerk40t/external_plugins.py +79 -79
- meerk40t/external_plugins_build.py +28 -28
- meerk40t/extra/cag.py +112 -116
- meerk40t/extra/coolant.py +403 -0
- meerk40t/extra/encode_detect.py +198 -0
- meerk40t/extra/ezd.py +1165 -1165
- meerk40t/extra/hershey.py +835 -340
- meerk40t/extra/imageactions.py +322 -316
- meerk40t/extra/inkscape.py +630 -622
- meerk40t/extra/lbrn.py +424 -424
- meerk40t/extra/outerworld.py +284 -0
- meerk40t/extra/param_functions.py +1542 -1556
- meerk40t/extra/potrace.py +257 -253
- meerk40t/extra/serial_exchange.py +118 -0
- meerk40t/extra/updater.py +602 -453
- meerk40t/extra/vectrace.py +147 -146
- meerk40t/extra/winsleep.py +83 -83
- meerk40t/extra/xcs_reader.py +597 -0
- meerk40t/fill/fills.py +781 -335
- meerk40t/fill/patternfill.py +1061 -1061
- meerk40t/fill/patterns.py +614 -567
- meerk40t/grbl/control.py +87 -87
- meerk40t/grbl/controller.py +990 -903
- meerk40t/grbl/device.py +1081 -768
- meerk40t/grbl/driver.py +989 -771
- meerk40t/grbl/emulator.py +532 -497
- meerk40t/grbl/gcodejob.py +783 -767
- meerk40t/grbl/gui/grblconfiguration.py +373 -298
- meerk40t/grbl/gui/grblcontroller.py +485 -271
- meerk40t/grbl/gui/grblhardwareconfig.py +269 -153
- meerk40t/grbl/gui/grbloperationconfig.py +105 -0
- meerk40t/grbl/gui/gui.py +147 -116
- meerk40t/grbl/interpreter.py +44 -44
- meerk40t/grbl/loader.py +22 -22
- meerk40t/grbl/mock_connection.py +56 -56
- meerk40t/grbl/plugin.py +294 -264
- meerk40t/grbl/serial_connection.py +93 -88
- meerk40t/grbl/tcp_connection.py +81 -79
- meerk40t/grbl/ws_connection.py +112 -0
- meerk40t/gui/__init__.py +1 -1
- meerk40t/gui/about.py +2042 -296
- meerk40t/gui/alignment.py +1644 -1608
- meerk40t/gui/autoexec.py +199 -0
- meerk40t/gui/basicops.py +791 -670
- meerk40t/gui/bufferview.py +77 -71
- meerk40t/gui/busy.py +170 -133
- meerk40t/gui/choicepropertypanel.py +1673 -1469
- meerk40t/gui/consolepanel.py +706 -542
- meerk40t/gui/devicepanel.py +687 -581
- meerk40t/gui/dialogoptions.py +110 -107
- meerk40t/gui/executejob.py +316 -306
- meerk40t/gui/fonts.py +90 -90
- meerk40t/gui/functionwrapper.py +252 -0
- meerk40t/gui/gui_mixins.py +729 -0
- meerk40t/gui/guicolors.py +205 -182
- meerk40t/gui/help_assets/help_assets.py +218 -201
- meerk40t/gui/helper.py +154 -0
- meerk40t/gui/hersheymanager.py +1430 -846
- meerk40t/gui/icons.py +3422 -2747
- meerk40t/gui/imagesplitter.py +555 -508
- meerk40t/gui/keymap.py +354 -344
- meerk40t/gui/laserpanel.py +892 -806
- meerk40t/gui/laserrender.py +1470 -1232
- meerk40t/gui/lasertoolpanel.py +805 -793
- meerk40t/gui/magnetoptions.py +436 -0
- meerk40t/gui/materialmanager.py +2917 -0
- meerk40t/gui/materialtest.py +1722 -1694
- meerk40t/gui/mkdebug.py +646 -359
- meerk40t/gui/mwindow.py +163 -140
- meerk40t/gui/navigationpanels.py +2605 -2467
- meerk40t/gui/notes.py +143 -142
- meerk40t/gui/opassignment.py +414 -410
- meerk40t/gui/operation_info.py +310 -299
- meerk40t/gui/plugin.py +494 -328
- meerk40t/gui/position.py +714 -669
- meerk40t/gui/preferences.py +901 -650
- meerk40t/gui/propertypanels/attributes.py +1461 -1131
- meerk40t/gui/propertypanels/blobproperty.py +117 -114
- meerk40t/gui/propertypanels/consoleproperty.py +83 -80
- meerk40t/gui/propertypanels/gotoproperty.py +77 -0
- meerk40t/gui/propertypanels/groupproperties.py +223 -217
- meerk40t/gui/propertypanels/hatchproperty.py +489 -469
- meerk40t/gui/propertypanels/imageproperty.py +2244 -1384
- meerk40t/gui/propertypanels/inputproperty.py +59 -58
- meerk40t/gui/propertypanels/opbranchproperties.py +82 -80
- meerk40t/gui/propertypanels/operationpropertymain.py +1890 -1638
- meerk40t/gui/propertypanels/outputproperty.py +59 -58
- meerk40t/gui/propertypanels/pathproperty.py +389 -380
- meerk40t/gui/propertypanels/placementproperty.py +1214 -383
- meerk40t/gui/propertypanels/pointproperty.py +140 -136
- meerk40t/gui/propertypanels/propertywindow.py +313 -181
- meerk40t/gui/propertypanels/rasterwizardpanels.py +996 -912
- meerk40t/gui/propertypanels/regbranchproperties.py +76 -0
- meerk40t/gui/propertypanels/textproperty.py +770 -755
- meerk40t/gui/propertypanels/waitproperty.py +56 -55
- meerk40t/gui/propertypanels/warpproperty.py +121 -0
- meerk40t/gui/propertypanels/wobbleproperty.py +255 -204
- meerk40t/gui/ribbon.py +2468 -2210
- meerk40t/gui/scene/scene.py +1100 -1051
- meerk40t/gui/scene/sceneconst.py +22 -22
- meerk40t/gui/scene/scenepanel.py +439 -349
- meerk40t/gui/scene/scenespacewidget.py +365 -365
- meerk40t/gui/scene/widget.py +518 -505
- meerk40t/gui/scenewidgets/affinemover.py +215 -215
- meerk40t/gui/scenewidgets/attractionwidget.py +315 -309
- meerk40t/gui/scenewidgets/bedwidget.py +120 -97
- meerk40t/gui/scenewidgets/elementswidget.py +137 -107
- meerk40t/gui/scenewidgets/gridwidget.py +785 -745
- meerk40t/gui/scenewidgets/guidewidget.py +765 -765
- meerk40t/gui/scenewidgets/laserpathwidget.py +66 -66
- meerk40t/gui/scenewidgets/machineoriginwidget.py +86 -86
- meerk40t/gui/scenewidgets/nodeselector.py +28 -28
- meerk40t/gui/scenewidgets/rectselectwidget.py +589 -346
- meerk40t/gui/scenewidgets/relocatewidget.py +33 -33
- meerk40t/gui/scenewidgets/reticlewidget.py +83 -83
- meerk40t/gui/scenewidgets/selectionwidget.py +2952 -2756
- meerk40t/gui/simpleui.py +357 -333
- meerk40t/gui/simulation.py +2431 -2094
- meerk40t/gui/snapoptions.py +208 -203
- meerk40t/gui/spoolerpanel.py +1227 -1180
- meerk40t/gui/statusbarwidgets/defaultoperations.py +480 -353
- meerk40t/gui/statusbarwidgets/infowidget.py +520 -483
- meerk40t/gui/statusbarwidgets/opassignwidget.py +356 -355
- meerk40t/gui/statusbarwidgets/selectionwidget.py +172 -171
- meerk40t/gui/statusbarwidgets/shapepropwidget.py +754 -236
- meerk40t/gui/statusbarwidgets/statusbar.py +272 -260
- meerk40t/gui/statusbarwidgets/statusbarwidget.py +268 -270
- meerk40t/gui/statusbarwidgets/strokewidget.py +267 -251
- meerk40t/gui/themes.py +200 -78
- meerk40t/gui/tips.py +591 -0
- meerk40t/gui/toolwidgets/circlebrush.py +35 -35
- meerk40t/gui/toolwidgets/toolcircle.py +248 -242
- meerk40t/gui/toolwidgets/toolcontainer.py +82 -77
- meerk40t/gui/toolwidgets/tooldraw.py +97 -90
- meerk40t/gui/toolwidgets/toolellipse.py +219 -212
- meerk40t/gui/toolwidgets/toolimagecut.py +25 -132
- meerk40t/gui/toolwidgets/toolline.py +39 -144
- meerk40t/gui/toolwidgets/toollinetext.py +79 -236
- meerk40t/gui/toolwidgets/toollinetext_inline.py +296 -0
- meerk40t/gui/toolwidgets/toolmeasure.py +160 -216
- meerk40t/gui/toolwidgets/toolnodeedit.py +2088 -2074
- meerk40t/gui/toolwidgets/toolnodemove.py +92 -94
- meerk40t/gui/toolwidgets/toolparameter.py +754 -668
- meerk40t/gui/toolwidgets/toolplacement.py +108 -108
- meerk40t/gui/toolwidgets/toolpoint.py +68 -59
- meerk40t/gui/toolwidgets/toolpointlistbuilder.py +294 -0
- meerk40t/gui/toolwidgets/toolpointmove.py +183 -0
- meerk40t/gui/toolwidgets/toolpolygon.py +288 -403
- meerk40t/gui/toolwidgets/toolpolyline.py +38 -196
- meerk40t/gui/toolwidgets/toolrect.py +211 -207
- meerk40t/gui/toolwidgets/toolrelocate.py +72 -72
- meerk40t/gui/toolwidgets/toolribbon.py +598 -113
- meerk40t/gui/toolwidgets/tooltabedit.py +546 -0
- meerk40t/gui/toolwidgets/tooltext.py +98 -89
- meerk40t/gui/toolwidgets/toolvector.py +213 -204
- meerk40t/gui/toolwidgets/toolwidget.py +39 -39
- meerk40t/gui/usbconnect.py +98 -91
- meerk40t/gui/utilitywidgets/buttonwidget.py +18 -18
- meerk40t/gui/utilitywidgets/checkboxwidget.py +90 -90
- meerk40t/gui/utilitywidgets/controlwidget.py +14 -14
- meerk40t/gui/utilitywidgets/cyclocycloidwidget.py +343 -340
- meerk40t/gui/utilitywidgets/debugwidgets.py +148 -0
- meerk40t/gui/utilitywidgets/handlewidget.py +27 -27
- meerk40t/gui/utilitywidgets/harmonograph.py +450 -447
- meerk40t/gui/utilitywidgets/openclosewidget.py +40 -40
- meerk40t/gui/utilitywidgets/rotationwidget.py +54 -54
- meerk40t/gui/utilitywidgets/scalewidget.py +75 -75
- meerk40t/gui/utilitywidgets/seekbarwidget.py +183 -183
- meerk40t/gui/utilitywidgets/togglewidget.py +142 -142
- meerk40t/gui/utilitywidgets/toolbarwidget.py +8 -8
- meerk40t/gui/wordlisteditor.py +985 -931
- meerk40t/gui/wxmeerk40t.py +1444 -1169
- meerk40t/gui/wxmmain.py +5578 -4112
- meerk40t/gui/wxmribbon.py +1591 -1076
- meerk40t/gui/wxmscene.py +1635 -1453
- meerk40t/gui/wxmtree.py +2410 -2089
- meerk40t/gui/wxutils.py +1769 -1099
- meerk40t/gui/zmatrix.py +102 -102
- meerk40t/image/__init__.py +1 -1
- meerk40t/image/dither.py +429 -0
- meerk40t/image/imagetools.py +2778 -2269
- meerk40t/internal_plugins.py +150 -130
- meerk40t/kernel/__init__.py +63 -12
- meerk40t/kernel/channel.py +259 -212
- meerk40t/kernel/context.py +538 -538
- meerk40t/kernel/exceptions.py +41 -41
- meerk40t/kernel/functions.py +463 -414
- meerk40t/kernel/jobs.py +100 -100
- meerk40t/kernel/kernel.py +3809 -3571
- meerk40t/kernel/lifecycles.py +71 -71
- meerk40t/kernel/module.py +49 -49
- meerk40t/kernel/service.py +147 -147
- meerk40t/kernel/settings.py +383 -343
- meerk40t/lihuiyu/controller.py +883 -876
- meerk40t/lihuiyu/device.py +1181 -1069
- meerk40t/lihuiyu/driver.py +1466 -1372
- meerk40t/lihuiyu/gui/gui.py +127 -106
- meerk40t/lihuiyu/gui/lhyaccelgui.py +377 -363
- meerk40t/lihuiyu/gui/lhycontrollergui.py +741 -651
- meerk40t/lihuiyu/gui/lhydrivergui.py +470 -446
- meerk40t/lihuiyu/gui/lhyoperationproperties.py +238 -237
- meerk40t/lihuiyu/gui/tcpcontroller.py +226 -190
- meerk40t/lihuiyu/interpreter.py +53 -53
- meerk40t/lihuiyu/laserspeed.py +450 -450
- meerk40t/lihuiyu/loader.py +90 -90
- meerk40t/lihuiyu/parser.py +404 -404
- meerk40t/lihuiyu/plugin.py +101 -102
- meerk40t/lihuiyu/tcp_connection.py +111 -109
- meerk40t/main.py +231 -165
- meerk40t/moshi/builder.py +788 -781
- meerk40t/moshi/controller.py +505 -499
- meerk40t/moshi/device.py +495 -442
- meerk40t/moshi/driver.py +862 -696
- meerk40t/moshi/gui/gui.py +78 -76
- meerk40t/moshi/gui/moshicontrollergui.py +538 -522
- meerk40t/moshi/gui/moshidrivergui.py +87 -75
- meerk40t/moshi/plugin.py +43 -43
- meerk40t/network/console_server.py +102 -57
- meerk40t/network/kernelserver.py +10 -9
- meerk40t/network/tcp_server.py +142 -140
- meerk40t/network/udp_server.py +103 -77
- meerk40t/network/web_server.py +390 -0
- meerk40t/newly/controller.py +1158 -1144
- meerk40t/newly/device.py +874 -732
- meerk40t/newly/driver.py +540 -412
- meerk40t/newly/gui/gui.py +219 -188
- meerk40t/newly/gui/newlyconfig.py +116 -101
- meerk40t/newly/gui/newlycontroller.py +193 -186
- meerk40t/newly/gui/operationproperties.py +51 -51
- meerk40t/newly/mock_connection.py +82 -82
- meerk40t/newly/newly_params.py +56 -56
- meerk40t/newly/plugin.py +1214 -1246
- meerk40t/newly/usb_connection.py +322 -322
- meerk40t/rotary/gui/gui.py +52 -46
- meerk40t/rotary/gui/rotarysettings.py +240 -232
- meerk40t/rotary/rotary.py +202 -98
- meerk40t/ruida/control.py +291 -91
- meerk40t/ruida/controller.py +138 -1088
- meerk40t/ruida/device.py +672 -231
- meerk40t/ruida/driver.py +534 -472
- meerk40t/ruida/emulator.py +1494 -1491
- meerk40t/ruida/exceptions.py +4 -4
- meerk40t/ruida/gui/gui.py +71 -76
- meerk40t/ruida/gui/ruidaconfig.py +239 -72
- meerk40t/ruida/gui/ruidacontroller.py +187 -184
- meerk40t/ruida/gui/ruidaoperationproperties.py +48 -47
- meerk40t/ruida/loader.py +54 -52
- meerk40t/ruida/mock_connection.py +57 -109
- meerk40t/ruida/plugin.py +124 -87
- meerk40t/ruida/rdjob.py +2084 -945
- meerk40t/ruida/serial_connection.py +116 -0
- meerk40t/ruida/tcp_connection.py +146 -0
- meerk40t/ruida/udp_connection.py +73 -0
- meerk40t/svgelements.py +9671 -9669
- meerk40t/tools/driver_to_path.py +584 -579
- meerk40t/tools/geomstr.py +5583 -4680
- meerk40t/tools/jhfparser.py +357 -292
- meerk40t/tools/kerftest.py +904 -890
- meerk40t/tools/livinghinges.py +1168 -1033
- meerk40t/tools/pathtools.py +987 -949
- meerk40t/tools/pmatrix.py +234 -0
- meerk40t/tools/pointfinder.py +942 -942
- meerk40t/tools/polybool.py +940 -940
- meerk40t/tools/rasterplotter.py +1660 -547
- meerk40t/tools/shxparser.py +989 -901
- meerk40t/tools/ttfparser.py +726 -446
- meerk40t/tools/zinglplotter.py +595 -593
- {meerk40t-0.9.3001.dist-info → meerk40t-0.9.7010.dist-info}/LICENSE +21 -21
- {meerk40t-0.9.3001.dist-info → meerk40t-0.9.7010.dist-info}/METADATA +150 -139
- meerk40t-0.9.7010.dist-info/RECORD +445 -0
- {meerk40t-0.9.3001.dist-info → meerk40t-0.9.7010.dist-info}/WHEEL +1 -1
- {meerk40t-0.9.3001.dist-info → meerk40t-0.9.7010.dist-info}/top_level.txt +0 -1
- {meerk40t-0.9.3001.dist-info → meerk40t-0.9.7010.dist-info}/zip-safe +1 -1
- meerk40t/balormk/elementlightjob.py +0 -159
- meerk40t-0.9.3001.dist-info/RECORD +0 -437
- test/bootstrap.py +0 -63
- test/test_cli.py +0 -12
- test/test_core_cutcode.py +0 -418
- test/test_core_elements.py +0 -144
- test/test_core_plotplanner.py +0 -397
- test/test_core_viewports.py +0 -312
- test/test_drivers_grbl.py +0 -108
- test/test_drivers_lihuiyu.py +0 -443
- test/test_drivers_newly.py +0 -113
- test/test_element_degenerate_points.py +0 -43
- test/test_elements_classify.py +0 -97
- test/test_elements_penbox.py +0 -22
- test/test_file_svg.py +0 -176
- test/test_fill.py +0 -155
- test/test_geomstr.py +0 -1523
- test/test_geomstr_nodes.py +0 -18
- test/test_imagetools_actualize.py +0 -306
- test/test_imagetools_wizard.py +0 -258
- test/test_kernel.py +0 -200
- test/test_laser_speeds.py +0 -3303
- test/test_length.py +0 -57
- test/test_lifecycle.py +0 -66
- test/test_operations.py +0 -251
- test/test_operations_hatch.py +0 -57
- test/test_ruida.py +0 -19
- test/test_spooler.py +0 -22
- test/test_tools_rasterplotter.py +0 -29
- test/test_wobble.py +0 -133
- test/test_zingl.py +0 -124
- {test → meerk40t/cylinder}/__init__.py +0 -0
- /meerk40t/{core/element_commands.py → cylinder/gui/__init__.py} +0 -0
- {meerk40t-0.9.3001.dist-info → meerk40t-0.9.7010.dist-info}/entry_points.txt +0 -0
meerk40t/newly/plugin.py
CHANGED
@@ -1,1246 +1,1214 @@
|
|
1
|
-
"""
|
2
|
-
Newly Device Plugin
|
3
|
-
|
4
|
-
"""
|
5
|
-
|
6
|
-
|
7
|
-
def plugin(kernel, lifecycle):
|
8
|
-
if lifecycle == "plugins":
|
9
|
-
from meerk40t.newly.gui import gui
|
10
|
-
|
11
|
-
return [gui.plugin]
|
12
|
-
elif lifecycle == "invalidate":
|
13
|
-
try:
|
14
|
-
import usb.core # pylint: disable=unused-import
|
15
|
-
import usb.util # pylint: disable=unused-import
|
16
|
-
except ImportError:
|
17
|
-
print("Newly plugin could not load because pyusb is not installed.")
|
18
|
-
return True
|
19
|
-
if lifecycle == "register":
|
20
|
-
from meerk40t.newly.device import NewlyDevice
|
21
|
-
|
22
|
-
speed_chart = [
|
23
|
-
{
|
24
|
-
"speed": 100,
|
25
|
-
"acceleration_length": 8,
|
26
|
-
"backlash": 0,
|
27
|
-
"corner_speed": 20,
|
28
|
-
},
|
29
|
-
{
|
30
|
-
"speed": 200,
|
31
|
-
"acceleration_length": 10,
|
32
|
-
"backlash": 0,
|
33
|
-
"corner_speed": 20,
|
34
|
-
},
|
35
|
-
{
|
36
|
-
"speed": 300,
|
37
|
-
"acceleration_length": 14,
|
38
|
-
"backlash": 0,
|
39
|
-
"corner_speed": 20,
|
40
|
-
},
|
41
|
-
{
|
42
|
-
"speed": 400,
|
43
|
-
"acceleration_length": 16,
|
44
|
-
"backlash": 0,
|
45
|
-
"corner_speed": 20,
|
46
|
-
},
|
47
|
-
{
|
48
|
-
"speed": 500,
|
49
|
-
"acceleration_length": 18,
|
50
|
-
"backlash": 0,
|
51
|
-
"corner_speed": 20,
|
52
|
-
},
|
53
|
-
]
|
54
|
-
|
55
|
-
_ = kernel.translation
|
56
|
-
kernel.register("provider/device/newly", NewlyDevice)
|
57
|
-
kernel.register(
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
"
|
62
|
-
"
|
63
|
-
"
|
64
|
-
"
|
65
|
-
"
|
66
|
-
"choices": [
|
67
|
-
{
|
68
|
-
"attr": "label",
|
69
|
-
"default": "RayLaser/U-SET",
|
70
|
-
},
|
71
|
-
{
|
72
|
-
"attr": "bedwidth",
|
73
|
-
"default": "900mm",
|
74
|
-
},
|
75
|
-
{
|
76
|
-
"attr": "bedheight",
|
77
|
-
"default": "600mm",
|
78
|
-
},
|
79
|
-
{"attr": "axis", "default": 1},
|
80
|
-
{"attr": "pos_mode", "default": 1},
|
81
|
-
{"attr": "source", "default": "Older CO2"},
|
82
|
-
],
|
83
|
-
},
|
84
|
-
)
|
85
|
-
kernel.register(
|
86
|
-
"dev_info/g3v8-beijing",
|
87
|
-
{
|
88
|
-
"provider": "provider/device/newly",
|
89
|
-
"friendly_name": _("Beijing SZTaiming"),
|
90
|
-
"extended_info": _("Older CO2 Laser running the NewlyDraw software"),
|
91
|
-
"priority": 5,
|
92
|
-
"family": _("
|
93
|
-
"
|
94
|
-
|
95
|
-
|
96
|
-
"
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
"
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
"
|
105
|
-
|
106
|
-
},
|
107
|
-
{"attr": "
|
108
|
-
{"attr": "
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
"
|
117
|
-
"
|
118
|
-
"
|
119
|
-
"
|
120
|
-
"
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
},
|
135
|
-
{"attr": "
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
"
|
145
|
-
"
|
146
|
-
"
|
147
|
-
"
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
"
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
"
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
},
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
"
|
173
|
-
"
|
174
|
-
"
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
{
|
180
|
-
"attr": "
|
181
|
-
"default": "
|
182
|
-
},
|
183
|
-
{
|
184
|
-
"attr": "
|
185
|
-
"default": "
|
186
|
-
},
|
187
|
-
{
|
188
|
-
"attr": "
|
189
|
-
"default":
|
190
|
-
},
|
191
|
-
{
|
192
|
-
"attr": "
|
193
|
-
"default":
|
194
|
-
},
|
195
|
-
{
|
196
|
-
"attr": "
|
197
|
-
"default":
|
198
|
-
},
|
199
|
-
{
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
"
|
211
|
-
"
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
"
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
"
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
"
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
"
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
"
|
235
|
-
|
236
|
-
},
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
"
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
"
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
"
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
"
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
"
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
{
|
332
|
-
"attr": "
|
333
|
-
"default": "
|
334
|
-
},
|
335
|
-
{
|
336
|
-
"attr": "
|
337
|
-
"default":
|
338
|
-
},
|
339
|
-
{
|
340
|
-
"attr": "
|
341
|
-
"default":
|
342
|
-
},
|
343
|
-
{
|
344
|
-
"attr": "
|
345
|
-
"default":
|
346
|
-
},
|
347
|
-
{
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
"
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
"
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
"
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
"
|
383
|
-
|
384
|
-
},
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
"
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
"
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
"
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
{
|
484
|
-
"attr": "
|
485
|
-
"default":
|
486
|
-
},
|
487
|
-
{
|
488
|
-
"attr": "
|
489
|
-
"default":
|
490
|
-
},
|
491
|
-
{
|
492
|
-
"attr": "
|
493
|
-
"default":
|
494
|
-
},
|
495
|
-
{
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
"
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
"
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
"
|
531
|
-
|
532
|
-
},
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
{
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
|
571
|
-
|
572
|
-
|
573
|
-
|
574
|
-
|
575
|
-
|
576
|
-
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
"
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
"
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
"
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
"
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
|
621
|
-
|
622
|
-
|
623
|
-
|
624
|
-
|
625
|
-
|
626
|
-
|
627
|
-
"
|
628
|
-
|
629
|
-
|
630
|
-
|
631
|
-
|
632
|
-
|
633
|
-
|
634
|
-
|
635
|
-
|
636
|
-
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
{
|
643
|
-
"attr": "
|
644
|
-
"default":
|
645
|
-
},
|
646
|
-
{
|
647
|
-
|
648
|
-
|
649
|
-
|
650
|
-
|
651
|
-
|
652
|
-
|
653
|
-
|
654
|
-
|
655
|
-
|
656
|
-
|
657
|
-
|
658
|
-
|
659
|
-
|
660
|
-
"
|
661
|
-
|
662
|
-
|
663
|
-
|
664
|
-
|
665
|
-
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
|
670
|
-
|
671
|
-
|
672
|
-
|
673
|
-
|
674
|
-
|
675
|
-
|
676
|
-
|
677
|
-
"
|
678
|
-
|
679
|
-
|
680
|
-
|
681
|
-
"
|
682
|
-
|
683
|
-
|
684
|
-
|
685
|
-
"
|
686
|
-
|
687
|
-
},
|
688
|
-
|
689
|
-
|
690
|
-
|
691
|
-
|
692
|
-
|
693
|
-
|
694
|
-
|
695
|
-
|
696
|
-
|
697
|
-
|
698
|
-
|
699
|
-
|
700
|
-
{
|
701
|
-
"attr": "
|
702
|
-
"default":
|
703
|
-
},
|
704
|
-
{
|
705
|
-
|
706
|
-
|
707
|
-
|
708
|
-
|
709
|
-
|
710
|
-
|
711
|
-
|
712
|
-
|
713
|
-
|
714
|
-
|
715
|
-
|
716
|
-
|
717
|
-
|
718
|
-
|
719
|
-
|
720
|
-
|
721
|
-
|
722
|
-
|
723
|
-
|
724
|
-
|
725
|
-
|
726
|
-
|
727
|
-
|
728
|
-
|
729
|
-
|
730
|
-
|
731
|
-
|
732
|
-
|
733
|
-
|
734
|
-
|
735
|
-
|
736
|
-
|
737
|
-
|
738
|
-
|
739
|
-
|
740
|
-
|
741
|
-
|
742
|
-
|
743
|
-
|
744
|
-
|
745
|
-
|
746
|
-
|
747
|
-
"
|
748
|
-
|
749
|
-
|
750
|
-
|
751
|
-
|
752
|
-
|
753
|
-
|
754
|
-
|
755
|
-
|
756
|
-
|
757
|
-
|
758
|
-
|
759
|
-
|
760
|
-
|
761
|
-
|
762
|
-
|
763
|
-
|
764
|
-
|
765
|
-
|
766
|
-
|
767
|
-
|
768
|
-
|
769
|
-
|
770
|
-
|
771
|
-
|
772
|
-
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
|
781
|
-
|
782
|
-
|
783
|
-
|
784
|
-
|
785
|
-
|
786
|
-
|
787
|
-
|
788
|
-
|
789
|
-
|
790
|
-
|
791
|
-
|
792
|
-
|
793
|
-
|
794
|
-
|
795
|
-
|
796
|
-
|
797
|
-
|
798
|
-
{
|
799
|
-
|
800
|
-
|
801
|
-
|
802
|
-
|
803
|
-
|
804
|
-
|
805
|
-
|
806
|
-
|
807
|
-
|
808
|
-
|
809
|
-
|
810
|
-
|
811
|
-
|
812
|
-
"
|
813
|
-
|
814
|
-
|
815
|
-
|
816
|
-
"
|
817
|
-
|
818
|
-
|
819
|
-
|
820
|
-
|
821
|
-
|
822
|
-
|
823
|
-
|
824
|
-
|
825
|
-
|
826
|
-
|
827
|
-
|
828
|
-
|
829
|
-
|
830
|
-
|
831
|
-
|
832
|
-
|
833
|
-
|
834
|
-
|
835
|
-
|
836
|
-
|
837
|
-
|
838
|
-
|
839
|
-
|
840
|
-
|
841
|
-
|
842
|
-
|
843
|
-
|
844
|
-
{
|
845
|
-
"attr": "
|
846
|
-
"default":
|
847
|
-
},
|
848
|
-
{
|
849
|
-
"attr": "
|
850
|
-
"default":
|
851
|
-
},
|
852
|
-
{
|
853
|
-
|
854
|
-
|
855
|
-
|
856
|
-
|
857
|
-
|
858
|
-
|
859
|
-
|
860
|
-
|
861
|
-
|
862
|
-
|
863
|
-
|
864
|
-
|
865
|
-
|
866
|
-
|
867
|
-
|
868
|
-
|
869
|
-
|
870
|
-
|
871
|
-
|
872
|
-
|
873
|
-
|
874
|
-
|
875
|
-
|
876
|
-
|
877
|
-
|
878
|
-
|
879
|
-
"
|
880
|
-
|
881
|
-
|
882
|
-
|
883
|
-
"
|
884
|
-
|
885
|
-
|
886
|
-
|
887
|
-
|
888
|
-
|
889
|
-
|
890
|
-
|
891
|
-
|
892
|
-
|
893
|
-
|
894
|
-
|
895
|
-
|
896
|
-
|
897
|
-
|
898
|
-
|
899
|
-
|
900
|
-
|
901
|
-
|
902
|
-
|
903
|
-
|
904
|
-
|
905
|
-
|
906
|
-
|
907
|
-
|
908
|
-
|
909
|
-
|
910
|
-
|
911
|
-
|
912
|
-
|
913
|
-
|
914
|
-
|
915
|
-
|
916
|
-
|
917
|
-
|
918
|
-
|
919
|
-
|
920
|
-
|
921
|
-
|
922
|
-
|
923
|
-
|
924
|
-
|
925
|
-
|
926
|
-
|
927
|
-
|
928
|
-
|
929
|
-
|
930
|
-
|
931
|
-
|
932
|
-
|
933
|
-
|
934
|
-
|
935
|
-
|
936
|
-
|
937
|
-
|
938
|
-
|
939
|
-
|
940
|
-
|
941
|
-
|
942
|
-
|
943
|
-
|
944
|
-
"
|
945
|
-
|
946
|
-
|
947
|
-
|
948
|
-
"
|
949
|
-
|
950
|
-
|
951
|
-
|
952
|
-
"
|
953
|
-
|
954
|
-
|
955
|
-
|
956
|
-
|
957
|
-
|
958
|
-
|
959
|
-
|
960
|
-
|
961
|
-
|
962
|
-
|
963
|
-
|
964
|
-
|
965
|
-
|
966
|
-
"
|
967
|
-
"
|
968
|
-
|
969
|
-
|
970
|
-
|
971
|
-
|
972
|
-
{
|
973
|
-
"attr": "
|
974
|
-
"default": "
|
975
|
-
},
|
976
|
-
{
|
977
|
-
"attr": "
|
978
|
-
"default": "
|
979
|
-
},
|
980
|
-
{
|
981
|
-
"attr": "
|
982
|
-
"default":
|
983
|
-
},
|
984
|
-
{
|
985
|
-
|
986
|
-
|
987
|
-
|
988
|
-
|
989
|
-
|
990
|
-
|
991
|
-
|
992
|
-
|
993
|
-
|
994
|
-
|
995
|
-
|
996
|
-
|
997
|
-
|
998
|
-
|
999
|
-
|
1000
|
-
|
1001
|
-
|
1002
|
-
|
1003
|
-
|
1004
|
-
|
1005
|
-
|
1006
|
-
|
1007
|
-
"
|
1008
|
-
|
1009
|
-
|
1010
|
-
|
1011
|
-
"
|
1012
|
-
|
1013
|
-
|
1014
|
-
|
1015
|
-
"
|
1016
|
-
|
1017
|
-
|
1018
|
-
|
1019
|
-
|
1020
|
-
|
1021
|
-
|
1022
|
-
|
1023
|
-
|
1024
|
-
|
1025
|
-
|
1026
|
-
|
1027
|
-
|
1028
|
-
|
1029
|
-
|
1030
|
-
|
1031
|
-
|
1032
|
-
|
1033
|
-
|
1034
|
-
|
1035
|
-
|
1036
|
-
|
1037
|
-
|
1038
|
-
|
1039
|
-
|
1040
|
-
|
1041
|
-
|
1042
|
-
|
1043
|
-
|
1044
|
-
|
1045
|
-
|
1046
|
-
|
1047
|
-
|
1048
|
-
|
1049
|
-
|
1050
|
-
|
1051
|
-
|
1052
|
-
|
1053
|
-
|
1054
|
-
|
1055
|
-
|
1056
|
-
|
1057
|
-
|
1058
|
-
|
1059
|
-
|
1060
|
-
|
1061
|
-
|
1062
|
-
|
1063
|
-
|
1064
|
-
|
1065
|
-
|
1066
|
-
{
|
1067
|
-
|
1068
|
-
|
1069
|
-
|
1070
|
-
|
1071
|
-
|
1072
|
-
|
1073
|
-
|
1074
|
-
|
1075
|
-
|
1076
|
-
|
1077
|
-
|
1078
|
-
|
1079
|
-
|
1080
|
-
"
|
1081
|
-
|
1082
|
-
|
1083
|
-
|
1084
|
-
"
|
1085
|
-
|
1086
|
-
|
1087
|
-
|
1088
|
-
"
|
1089
|
-
|
1090
|
-
|
1091
|
-
|
1092
|
-
"
|
1093
|
-
|
1094
|
-
|
1095
|
-
|
1096
|
-
|
1097
|
-
|
1098
|
-
|
1099
|
-
|
1100
|
-
|
1101
|
-
|
1102
|
-
|
1103
|
-
|
1104
|
-
|
1105
|
-
|
1106
|
-
"
|
1107
|
-
"
|
1108
|
-
|
1109
|
-
|
1110
|
-
|
1111
|
-
|
1112
|
-
{
|
1113
|
-
"attr": "
|
1114
|
-
"default": "
|
1115
|
-
},
|
1116
|
-
{
|
1117
|
-
"attr": "
|
1118
|
-
"default": "
|
1119
|
-
},
|
1120
|
-
{
|
1121
|
-
"attr": "
|
1122
|
-
"default":
|
1123
|
-
},
|
1124
|
-
{
|
1125
|
-
"attr": "
|
1126
|
-
"default": 1,
|
1127
|
-
},
|
1128
|
-
{
|
1129
|
-
|
1130
|
-
|
1131
|
-
|
1132
|
-
|
1133
|
-
|
1134
|
-
|
1135
|
-
|
1136
|
-
|
1137
|
-
|
1138
|
-
|
1139
|
-
"
|
1140
|
-
"
|
1141
|
-
"
|
1142
|
-
|
1143
|
-
|
1144
|
-
|
1145
|
-
|
1146
|
-
|
1147
|
-
"
|
1148
|
-
|
1149
|
-
|
1150
|
-
|
1151
|
-
"
|
1152
|
-
|
1153
|
-
|
1154
|
-
|
1155
|
-
"
|
1156
|
-
|
1157
|
-
|
1158
|
-
|
1159
|
-
"
|
1160
|
-
|
1161
|
-
|
1162
|
-
|
1163
|
-
|
1164
|
-
|
1165
|
-
|
1166
|
-
|
1167
|
-
|
1168
|
-
|
1169
|
-
|
1170
|
-
|
1171
|
-
|
1172
|
-
|
1173
|
-
|
1174
|
-
|
1175
|
-
|
1176
|
-
|
1177
|
-
|
1178
|
-
|
1179
|
-
|
1180
|
-
|
1181
|
-
|
1182
|
-
|
1183
|
-
|
1184
|
-
|
1185
|
-
|
1186
|
-
|
1187
|
-
|
1188
|
-
|
1189
|
-
|
1190
|
-
|
1191
|
-
|
1192
|
-
|
1193
|
-
|
1194
|
-
|
1195
|
-
|
1196
|
-
|
1197
|
-
|
1198
|
-
|
1199
|
-
|
1200
|
-
|
1201
|
-
|
1202
|
-
|
1203
|
-
|
1204
|
-
|
1205
|
-
|
1206
|
-
|
1207
|
-
|
1208
|
-
|
1209
|
-
|
1210
|
-
|
1211
|
-
|
1212
|
-
|
1213
|
-
|
1214
|
-
|
1215
|
-
"family": _("Older CO2-Laser"),
|
1216
|
-
"family_priority": 15,
|
1217
|
-
"choices": [
|
1218
|
-
{
|
1219
|
-
"attr": "label",
|
1220
|
-
"default": "xinxing",
|
1221
|
-
},
|
1222
|
-
{
|
1223
|
-
"attr": "bedwidth",
|
1224
|
-
"default": "900mm",
|
1225
|
-
},
|
1226
|
-
{
|
1227
|
-
"attr": "bedheight",
|
1228
|
-
"default": "600mm",
|
1229
|
-
},
|
1230
|
-
{
|
1231
|
-
"attr": "axis",
|
1232
|
-
"default": 1,
|
1233
|
-
},
|
1234
|
-
{
|
1235
|
-
"attr": "pos_mode",
|
1236
|
-
"default": 1,
|
1237
|
-
},
|
1238
|
-
{"attr": "source", "default": "Older CO2"},
|
1239
|
-
],
|
1240
|
-
},
|
1241
|
-
)
|
1242
|
-
|
1243
|
-
elif lifecycle == "preboot":
|
1244
|
-
prefix = "newly"
|
1245
|
-
for d in kernel.settings.section_startswith(prefix):
|
1246
|
-
kernel.root(f"service device start -p {d} {prefix}\n")
|
1
|
+
"""
|
2
|
+
Newly Device Plugin
|
3
|
+
|
4
|
+
"""
|
5
|
+
|
6
|
+
|
7
|
+
def plugin(kernel, lifecycle):
|
8
|
+
if lifecycle == "plugins":
|
9
|
+
from meerk40t.newly.gui import gui
|
10
|
+
|
11
|
+
return [gui.plugin]
|
12
|
+
elif lifecycle == "invalidate":
|
13
|
+
try:
|
14
|
+
import usb.core # pylint: disable=unused-import
|
15
|
+
import usb.util # pylint: disable=unused-import
|
16
|
+
except ImportError:
|
17
|
+
print("Newly plugin could not load because pyusb is not installed.")
|
18
|
+
return True
|
19
|
+
if lifecycle == "register":
|
20
|
+
from meerk40t.newly.device import NewlyDevice
|
21
|
+
|
22
|
+
speed_chart = [
|
23
|
+
{
|
24
|
+
"speed": 100,
|
25
|
+
"acceleration_length": 8,
|
26
|
+
"backlash": 0,
|
27
|
+
"corner_speed": 20,
|
28
|
+
},
|
29
|
+
{
|
30
|
+
"speed": 200,
|
31
|
+
"acceleration_length": 10,
|
32
|
+
"backlash": 0,
|
33
|
+
"corner_speed": 20,
|
34
|
+
},
|
35
|
+
{
|
36
|
+
"speed": 300,
|
37
|
+
"acceleration_length": 14,
|
38
|
+
"backlash": 0,
|
39
|
+
"corner_speed": 20,
|
40
|
+
},
|
41
|
+
{
|
42
|
+
"speed": 400,
|
43
|
+
"acceleration_length": 16,
|
44
|
+
"backlash": 0,
|
45
|
+
"corner_speed": 20,
|
46
|
+
},
|
47
|
+
{
|
48
|
+
"speed": 500,
|
49
|
+
"acceleration_length": 18,
|
50
|
+
"backlash": 0,
|
51
|
+
"corner_speed": 20,
|
52
|
+
},
|
53
|
+
]
|
54
|
+
|
55
|
+
_ = kernel.translation
|
56
|
+
kernel.register("provider/device/newly", NewlyDevice)
|
57
|
+
kernel.register("provider/friendly/newly", ("Older CO2-Laser (NewlyDraw)", 5))
|
58
|
+
kernel.register(
|
59
|
+
"dev_info/g3v8-raylaser",
|
60
|
+
{
|
61
|
+
"provider": "provider/device/newly",
|
62
|
+
"friendly_name": _("RayLaser/U-SET"),
|
63
|
+
"extended_info": _("Older CO2 Laser running the NewlyDraw software"),
|
64
|
+
"priority": 5,
|
65
|
+
"family": _("Newly CO2-Laser"),
|
66
|
+
"choices": [
|
67
|
+
{
|
68
|
+
"attr": "label",
|
69
|
+
"default": "RayLaser/U-SET",
|
70
|
+
},
|
71
|
+
{
|
72
|
+
"attr": "bedwidth",
|
73
|
+
"default": "900mm",
|
74
|
+
},
|
75
|
+
{
|
76
|
+
"attr": "bedheight",
|
77
|
+
"default": "600mm",
|
78
|
+
},
|
79
|
+
{"attr": "axis", "default": 1},
|
80
|
+
{"attr": "pos_mode", "default": 1},
|
81
|
+
{"attr": "source", "default": "Older CO2"},
|
82
|
+
],
|
83
|
+
},
|
84
|
+
)
|
85
|
+
kernel.register(
|
86
|
+
"dev_info/g3v8-beijing",
|
87
|
+
{
|
88
|
+
"provider": "provider/device/newly",
|
89
|
+
"friendly_name": _("Beijing SZTaiming"),
|
90
|
+
"extended_info": _("Older CO2 Laser running the NewlyDraw software"),
|
91
|
+
"priority": 5,
|
92
|
+
"family": _("Newly CO2-Laser"),
|
93
|
+
"choices": [
|
94
|
+
{
|
95
|
+
"attr": "label",
|
96
|
+
"default": "Beijing SZTaiming",
|
97
|
+
},
|
98
|
+
{
|
99
|
+
"attr": "bedwidth",
|
100
|
+
"default": "900mm",
|
101
|
+
},
|
102
|
+
{
|
103
|
+
"attr": "bedheight",
|
104
|
+
"default": "600mm",
|
105
|
+
},
|
106
|
+
{"attr": "axis", "default": 1},
|
107
|
+
{"attr": "pos_mode", "default": 1},
|
108
|
+
{"attr": "source", "default": "Older CO2"},
|
109
|
+
],
|
110
|
+
},
|
111
|
+
)
|
112
|
+
kernel.register(
|
113
|
+
"dev_info/g3v8-gama",
|
114
|
+
{
|
115
|
+
"provider": "provider/device/newly",
|
116
|
+
"friendly_name": _("Gama"),
|
117
|
+
"extended_info": _("Older CO2 Laser running the NewlyDraw software"),
|
118
|
+
"priority": 5,
|
119
|
+
"family": _("Newly CO2-Laser"),
|
120
|
+
"choices": [
|
121
|
+
{
|
122
|
+
"attr": "label",
|
123
|
+
"default": "Gama",
|
124
|
+
},
|
125
|
+
{
|
126
|
+
"attr": "bedwidth",
|
127
|
+
"default": "900mm",
|
128
|
+
},
|
129
|
+
{
|
130
|
+
"attr": "bedheight",
|
131
|
+
"default": "600mm",
|
132
|
+
},
|
133
|
+
{"attr": "axis", "default": 1},
|
134
|
+
{"attr": "pos_mode", "default": 1},
|
135
|
+
{"attr": "source", "default": "Older CO2"},
|
136
|
+
],
|
137
|
+
},
|
138
|
+
)
|
139
|
+
kernel.register(
|
140
|
+
"dev_info/g3v8-gama",
|
141
|
+
{
|
142
|
+
"provider": "provider/device/newly",
|
143
|
+
"friendly_name": _("Cybertech ltd - u-set"),
|
144
|
+
"extended_info": _("Older CO2 Laser running the NewlyDraw software"),
|
145
|
+
"priority": 5,
|
146
|
+
"family": _("Newly CO2-Laser"),
|
147
|
+
"choices": [
|
148
|
+
{
|
149
|
+
"attr": "label",
|
150
|
+
"default": "Cybertech",
|
151
|
+
},
|
152
|
+
{
|
153
|
+
"attr": "bedwidth",
|
154
|
+
"default": "900mm",
|
155
|
+
},
|
156
|
+
{
|
157
|
+
"attr": "bedheight",
|
158
|
+
"default": "600mm",
|
159
|
+
},
|
160
|
+
{"attr": "axis", "default": 1},
|
161
|
+
{"attr": "pos_mode", "default": 1},
|
162
|
+
{"attr": "source", "default": "Older CO2"},
|
163
|
+
],
|
164
|
+
},
|
165
|
+
)
|
166
|
+
kernel.register(
|
167
|
+
"dev_info/g3v8-artsign-u",
|
168
|
+
{
|
169
|
+
"provider": "provider/device/newly",
|
170
|
+
"friendly_name": _("Artsign JSM-40U/3040U/3060U"),
|
171
|
+
"extended_info": _("Older CO2 Laser running the NewlyDraw software"),
|
172
|
+
"priority": 5,
|
173
|
+
"family": _("Newly CO2-Laser"),
|
174
|
+
"choices": [
|
175
|
+
{
|
176
|
+
"attr": "label",
|
177
|
+
"default": "Artsign",
|
178
|
+
},
|
179
|
+
{
|
180
|
+
"attr": "bedwidth",
|
181
|
+
"default": "308mm",
|
182
|
+
},
|
183
|
+
{
|
184
|
+
"attr": "bedheight",
|
185
|
+
"default": "220mm",
|
186
|
+
},
|
187
|
+
{
|
188
|
+
"attr": "axis",
|
189
|
+
"default": 3,
|
190
|
+
},
|
191
|
+
{
|
192
|
+
"attr": "pos_mode",
|
193
|
+
"default": 0,
|
194
|
+
},
|
195
|
+
{
|
196
|
+
"attr": "speedchart",
|
197
|
+
"default": speed_chart,
|
198
|
+
},
|
199
|
+
{"attr": "source", "default": "Older CO2"},
|
200
|
+
],
|
201
|
+
},
|
202
|
+
)
|
203
|
+
kernel.register(
|
204
|
+
"dev_info/g3v8-artsign-n",
|
205
|
+
{
|
206
|
+
"provider": "provider/device/newly",
|
207
|
+
"friendly_name": _("Artsign JSM-40N/3040N/3060N"),
|
208
|
+
"extended_info": _("Older CO2 Laser running the NewlyDraw software"),
|
209
|
+
"priority": 5,
|
210
|
+
"family": _("Newly CO2-Laser"),
|
211
|
+
"choices": [
|
212
|
+
{
|
213
|
+
"attr": "label",
|
214
|
+
"default": "Artsign",
|
215
|
+
},
|
216
|
+
{
|
217
|
+
"attr": "bedwidth",
|
218
|
+
"default": "308mm",
|
219
|
+
},
|
220
|
+
{
|
221
|
+
"attr": "bedheight",
|
222
|
+
"default": "220mm",
|
223
|
+
},
|
224
|
+
{
|
225
|
+
"attr": "axis",
|
226
|
+
"default": 3,
|
227
|
+
},
|
228
|
+
{
|
229
|
+
"attr": "pos_mode",
|
230
|
+
"default": 0,
|
231
|
+
},
|
232
|
+
{
|
233
|
+
"attr": "speedchart",
|
234
|
+
"default": speed_chart,
|
235
|
+
},
|
236
|
+
{"attr": "source", "default": "Older CO2"},
|
237
|
+
],
|
238
|
+
},
|
239
|
+
)
|
240
|
+
kernel.register(
|
241
|
+
"dev_info/g3v8-light-tech",
|
242
|
+
{
|
243
|
+
"provider": "provider/device/newly",
|
244
|
+
"friendly_name": _("Light Technology LH40U/3040U/3060U"),
|
245
|
+
"extended_info": _("Older CO2 Laser running the NewlyDraw software"),
|
246
|
+
"priority": 5,
|
247
|
+
"family": _("Newly CO2-Laser"),
|
248
|
+
"choices": [
|
249
|
+
{
|
250
|
+
"attr": "label",
|
251
|
+
"default": "Light Technology",
|
252
|
+
},
|
253
|
+
{
|
254
|
+
"attr": "bedwidth",
|
255
|
+
"default": "308mm",
|
256
|
+
},
|
257
|
+
{
|
258
|
+
"attr": "bedheight",
|
259
|
+
"default": "220mm",
|
260
|
+
},
|
261
|
+
{
|
262
|
+
"attr": "axis",
|
263
|
+
"default": 3,
|
264
|
+
},
|
265
|
+
{
|
266
|
+
"attr": "pos_mode",
|
267
|
+
"default": 0,
|
268
|
+
},
|
269
|
+
{
|
270
|
+
"attr": "speedchart",
|
271
|
+
"default": speed_chart,
|
272
|
+
},
|
273
|
+
{"attr": "source", "default": "Older CO2"},
|
274
|
+
],
|
275
|
+
},
|
276
|
+
)
|
277
|
+
kernel.register(
|
278
|
+
"dev_info/g3v8-greatsign",
|
279
|
+
{
|
280
|
+
"provider": "provider/device/newly",
|
281
|
+
"friendly_name": _("Greatsign LE40U/3040U/3060U"),
|
282
|
+
"extended_info": _("Older CO2 Laser running the NewlyDraw software"),
|
283
|
+
"priority": 5,
|
284
|
+
"family": _("Newly CO2-Laser"),
|
285
|
+
"choices": [
|
286
|
+
{
|
287
|
+
"attr": "label",
|
288
|
+
"default": "Greatsign",
|
289
|
+
},
|
290
|
+
{
|
291
|
+
"attr": "bedwidth",
|
292
|
+
"default": "308mm",
|
293
|
+
},
|
294
|
+
{
|
295
|
+
"attr": "bedheight",
|
296
|
+
"default": "220mm",
|
297
|
+
},
|
298
|
+
{
|
299
|
+
"attr": "axis",
|
300
|
+
"default": 3,
|
301
|
+
},
|
302
|
+
{
|
303
|
+
"attr": "pos_mode",
|
304
|
+
"default": 0,
|
305
|
+
},
|
306
|
+
{
|
307
|
+
"attr": "speedchart",
|
308
|
+
"default": speed_chart,
|
309
|
+
},
|
310
|
+
{"attr": "source", "default": "Older CO2"},
|
311
|
+
],
|
312
|
+
},
|
313
|
+
)
|
314
|
+
kernel.register(
|
315
|
+
"dev_info/g3v8-helo",
|
316
|
+
{
|
317
|
+
"provider": "provider/device/newly",
|
318
|
+
"friendly_name": _("Helo Lasergraviermaschine-HLG 40N"),
|
319
|
+
"extended_info": _("Older CO2 Laser running the NewlyDraw software"),
|
320
|
+
"priority": 5,
|
321
|
+
"family": _("Newly CO2-Laser"),
|
322
|
+
"choices": [
|
323
|
+
{
|
324
|
+
"attr": "label",
|
325
|
+
"default": "Helo",
|
326
|
+
},
|
327
|
+
{
|
328
|
+
"attr": "bedwidth",
|
329
|
+
"default": "308mm",
|
330
|
+
},
|
331
|
+
{
|
332
|
+
"attr": "bedheight",
|
333
|
+
"default": "220mm",
|
334
|
+
},
|
335
|
+
{
|
336
|
+
"attr": "axis",
|
337
|
+
"default": 3,
|
338
|
+
},
|
339
|
+
{
|
340
|
+
"attr": "pos_mode",
|
341
|
+
"default": 0,
|
342
|
+
},
|
343
|
+
{
|
344
|
+
"attr": "speedchart",
|
345
|
+
"default": speed_chart,
|
346
|
+
},
|
347
|
+
{"attr": "source", "default": "Older CO2"},
|
348
|
+
],
|
349
|
+
},
|
350
|
+
)
|
351
|
+
kernel.register(
|
352
|
+
"dev_info/g3v8-workline",
|
353
|
+
{
|
354
|
+
"provider": "provider/device/newly",
|
355
|
+
"friendly_name": _("Workline laser"),
|
356
|
+
"extended_info": _("Older CO2 Laser running the NewlyDraw software"),
|
357
|
+
"priority": 5,
|
358
|
+
"family": _("Newly CO2-Laser"),
|
359
|
+
"choices": [
|
360
|
+
{
|
361
|
+
"attr": "label",
|
362
|
+
"default": "Workline",
|
363
|
+
},
|
364
|
+
{
|
365
|
+
"attr": "bedwidth",
|
366
|
+
"default": "308mm",
|
367
|
+
},
|
368
|
+
{
|
369
|
+
"attr": "bedheight",
|
370
|
+
"default": "220mm",
|
371
|
+
},
|
372
|
+
{
|
373
|
+
"attr": "axis",
|
374
|
+
"default": 3,
|
375
|
+
},
|
376
|
+
{
|
377
|
+
"attr": "pos_mode",
|
378
|
+
"default": 0,
|
379
|
+
},
|
380
|
+
{
|
381
|
+
"attr": "speedchart",
|
382
|
+
"default": speed_chart,
|
383
|
+
},
|
384
|
+
{"attr": "source", "default": "Older CO2"},
|
385
|
+
],
|
386
|
+
},
|
387
|
+
)
|
388
|
+
kernel.register(
|
389
|
+
"dev_info/g3v8-hpc",
|
390
|
+
{
|
391
|
+
"provider": "provider/device/newly",
|
392
|
+
"friendly_name": _("HPC LASER-LS 3020"),
|
393
|
+
"extended_info": _("Older CO2 Laser running the NewlyDraw software"),
|
394
|
+
"priority": 5,
|
395
|
+
"family": _("Newly CO2-Laser"),
|
396
|
+
"choices": [
|
397
|
+
{
|
398
|
+
"attr": "label",
|
399
|
+
"default": "HPC",
|
400
|
+
},
|
401
|
+
{
|
402
|
+
"attr": "bedwidth",
|
403
|
+
"default": "308mm",
|
404
|
+
},
|
405
|
+
{
|
406
|
+
"attr": "bedheight",
|
407
|
+
"default": "220mm",
|
408
|
+
},
|
409
|
+
{
|
410
|
+
"attr": "axis",
|
411
|
+
"default": 3,
|
412
|
+
},
|
413
|
+
{
|
414
|
+
"attr": "pos_mode",
|
415
|
+
"default": 0,
|
416
|
+
},
|
417
|
+
{
|
418
|
+
"attr": "speedchart",
|
419
|
+
"default": speed_chart,
|
420
|
+
},
|
421
|
+
{"attr": "source", "default": "Older CO2"},
|
422
|
+
],
|
423
|
+
},
|
424
|
+
)
|
425
|
+
kernel.register(
|
426
|
+
"dev_info/g3v8-sicono",
|
427
|
+
{
|
428
|
+
"provider": "provider/device/newly",
|
429
|
+
"friendly_name": _("Sicano - SIC-L40B"),
|
430
|
+
"extended_info": _("Older CO2 Laser running the NewlyDraw software"),
|
431
|
+
"priority": 5,
|
432
|
+
"family": _("Newly CO2-Laser"),
|
433
|
+
"choices": [
|
434
|
+
{
|
435
|
+
"attr": "label",
|
436
|
+
"default": "Sicono",
|
437
|
+
},
|
438
|
+
{
|
439
|
+
"attr": "bedwidth",
|
440
|
+
"default": "308mm",
|
441
|
+
},
|
442
|
+
{
|
443
|
+
"attr": "bedheight",
|
444
|
+
"default": "220mm",
|
445
|
+
},
|
446
|
+
{
|
447
|
+
"attr": "axis",
|
448
|
+
"default": 3,
|
449
|
+
},
|
450
|
+
{
|
451
|
+
"attr": "pos_mode",
|
452
|
+
"default": 0,
|
453
|
+
},
|
454
|
+
{
|
455
|
+
"attr": "speedchart",
|
456
|
+
"default": speed_chart,
|
457
|
+
},
|
458
|
+
{"attr": "source", "default": "Older CO2"},
|
459
|
+
],
|
460
|
+
},
|
461
|
+
)
|
462
|
+
kernel.register(
|
463
|
+
"dev_info/g3v8-rabbit",
|
464
|
+
{
|
465
|
+
"provider": "provider/device/newly",
|
466
|
+
"friendly_name": _("Rabbit - Rabbit40B"),
|
467
|
+
"extended_info": _("Older CO2 Laser running the NewlyDraw software"),
|
468
|
+
"priority": 5,
|
469
|
+
"family": _("Newly CO2-Laser"),
|
470
|
+
"choices": [
|
471
|
+
{
|
472
|
+
"attr": "label",
|
473
|
+
"default": "Rabbit",
|
474
|
+
},
|
475
|
+
{
|
476
|
+
"attr": "bedwidth",
|
477
|
+
"default": "308mm",
|
478
|
+
},
|
479
|
+
{
|
480
|
+
"attr": "bedheight",
|
481
|
+
"default": "220mm",
|
482
|
+
},
|
483
|
+
{
|
484
|
+
"attr": "axis",
|
485
|
+
"default": 3,
|
486
|
+
},
|
487
|
+
{
|
488
|
+
"attr": "pos_mode",
|
489
|
+
"default": 0,
|
490
|
+
},
|
491
|
+
{
|
492
|
+
"attr": "speedchart",
|
493
|
+
"default": speed_chart,
|
494
|
+
},
|
495
|
+
{"attr": "source", "default": "Older CO2"},
|
496
|
+
],
|
497
|
+
},
|
498
|
+
)
|
499
|
+
kernel.register(
|
500
|
+
"dev_info/g3v8-zl",
|
501
|
+
{
|
502
|
+
"provider": "provider/device/newly",
|
503
|
+
"friendly_name": _("ZL Tech - ZL40B"),
|
504
|
+
"extended_info": _("Older CO2 Laser running the NewlyDraw software"),
|
505
|
+
"priority": 5,
|
506
|
+
"family": _("Newly CO2-Laser"),
|
507
|
+
"choices": [
|
508
|
+
{
|
509
|
+
"attr": "label",
|
510
|
+
"default": "ZL",
|
511
|
+
},
|
512
|
+
{
|
513
|
+
"attr": "bedwidth",
|
514
|
+
"default": "308mm",
|
515
|
+
},
|
516
|
+
{
|
517
|
+
"attr": "bedheight",
|
518
|
+
"default": "220mm",
|
519
|
+
},
|
520
|
+
{
|
521
|
+
"attr": "axis",
|
522
|
+
"default": 3,
|
523
|
+
},
|
524
|
+
{
|
525
|
+
"attr": "pos_mode",
|
526
|
+
"default": 0,
|
527
|
+
},
|
528
|
+
{
|
529
|
+
"attr": "speedchart",
|
530
|
+
"default": speed_chart,
|
531
|
+
},
|
532
|
+
{"attr": "source", "default": "Older CO2"},
|
533
|
+
],
|
534
|
+
},
|
535
|
+
)
|
536
|
+
kernel.register(
|
537
|
+
"dev_info/g3v8-jinan-suke",
|
538
|
+
{
|
539
|
+
"provider": "provider/device/newly",
|
540
|
+
"friendly_name": _("Jinan Suke"),
|
541
|
+
"extended_info": _("Older CO2 Laser running the NewlyDraw software"),
|
542
|
+
"priority": 5,
|
543
|
+
"family": _("Newly CO2-Laser"),
|
544
|
+
"choices": [
|
545
|
+
{
|
546
|
+
"attr": "label",
|
547
|
+
"default": "Jinan-Suke",
|
548
|
+
},
|
549
|
+
{
|
550
|
+
"attr": "bedwidth",
|
551
|
+
"default": "308mm",
|
552
|
+
},
|
553
|
+
{
|
554
|
+
"attr": "bedheight",
|
555
|
+
"default": "220mm",
|
556
|
+
},
|
557
|
+
{
|
558
|
+
"attr": "axis",
|
559
|
+
"default": 3,
|
560
|
+
},
|
561
|
+
{
|
562
|
+
"attr": "pos_mode",
|
563
|
+
"default": 0,
|
564
|
+
},
|
565
|
+
{
|
566
|
+
"attr": "speedchart",
|
567
|
+
"default": speed_chart,
|
568
|
+
},
|
569
|
+
{"attr": "source", "default": "Older CO2"},
|
570
|
+
],
|
571
|
+
},
|
572
|
+
)
|
573
|
+
kernel.register(
|
574
|
+
"dev_info/g3v8-jinan-jinweik",
|
575
|
+
{
|
576
|
+
"provider": "provider/device/newly",
|
577
|
+
"friendly_name": _("Jinan Jinweik - Laser B"),
|
578
|
+
"extended_info": _("Older CO2 Laser running the NewlyDraw software"),
|
579
|
+
"priority": 5,
|
580
|
+
"family": _("Newly CO2-Laser"),
|
581
|
+
"choices": [
|
582
|
+
{
|
583
|
+
"attr": "label",
|
584
|
+
"default": "Jinan-Jinweik",
|
585
|
+
},
|
586
|
+
{
|
587
|
+
"attr": "bedwidth",
|
588
|
+
"default": "600mm",
|
589
|
+
},
|
590
|
+
{
|
591
|
+
"attr": "bedheight",
|
592
|
+
"default": "400mm",
|
593
|
+
},
|
594
|
+
{
|
595
|
+
"attr": "axis",
|
596
|
+
"default": 3,
|
597
|
+
},
|
598
|
+
{
|
599
|
+
"attr": "pos_mode",
|
600
|
+
"default": 1,
|
601
|
+
},
|
602
|
+
{
|
603
|
+
"attr": "board",
|
604
|
+
"default": 1,
|
605
|
+
},
|
606
|
+
{
|
607
|
+
"attr": "z_type",
|
608
|
+
"default": 2,
|
609
|
+
},
|
610
|
+
{
|
611
|
+
"attr": "z_dir",
|
612
|
+
"default": 0,
|
613
|
+
},
|
614
|
+
],
|
615
|
+
},
|
616
|
+
)
|
617
|
+
kernel.register(
|
618
|
+
"dev_info/g3v8-lion",
|
619
|
+
{
|
620
|
+
"provider": "provider/device/newly",
|
621
|
+
"friendly_name": _("Lion laser"),
|
622
|
+
"extended_info": _("Older CO2 Laser running the NewlyDraw software"),
|
623
|
+
"priority": 5,
|
624
|
+
"family": _("Newly CO2-Laser"),
|
625
|
+
"choices": [
|
626
|
+
{
|
627
|
+
"attr": "label",
|
628
|
+
"default": "Lion",
|
629
|
+
},
|
630
|
+
{
|
631
|
+
"attr": "bedwidth",
|
632
|
+
"default": "900mm",
|
633
|
+
},
|
634
|
+
{
|
635
|
+
"attr": "bedheight",
|
636
|
+
"default": "600mm",
|
637
|
+
},
|
638
|
+
{
|
639
|
+
"attr": "axis",
|
640
|
+
"default": 1,
|
641
|
+
},
|
642
|
+
{
|
643
|
+
"attr": "pos_mode",
|
644
|
+
"default": 1,
|
645
|
+
},
|
646
|
+
{"attr": "source", "default": "Older CO2"},
|
647
|
+
],
|
648
|
+
},
|
649
|
+
)
|
650
|
+
kernel.register(
|
651
|
+
"dev_info/g3v8-villa",
|
652
|
+
{
|
653
|
+
"provider": "provider/device/newly",
|
654
|
+
"friendly_name": _("Villa L. & Figlio S.R.L. - Laser B"),
|
655
|
+
"extended_info": _("Older CO2 Laser running the NewlyDraw software"),
|
656
|
+
"priority": 5,
|
657
|
+
"family": _("Newly CO2-Laser"),
|
658
|
+
"choices": [
|
659
|
+
{
|
660
|
+
"attr": "label",
|
661
|
+
"default": "LaserB",
|
662
|
+
},
|
663
|
+
{
|
664
|
+
"attr": "bedwidth",
|
665
|
+
"default": "600mm",
|
666
|
+
},
|
667
|
+
{
|
668
|
+
"attr": "bedheight",
|
669
|
+
"default": "400mm",
|
670
|
+
},
|
671
|
+
{
|
672
|
+
"attr": "axis",
|
673
|
+
"default": 3,
|
674
|
+
},
|
675
|
+
{
|
676
|
+
"attr": "pos_mode",
|
677
|
+
"default": 1,
|
678
|
+
},
|
679
|
+
{
|
680
|
+
"attr": "z_type",
|
681
|
+
"default": 2,
|
682
|
+
},
|
683
|
+
{
|
684
|
+
"attr": "z_dir",
|
685
|
+
"default": 0,
|
686
|
+
},
|
687
|
+
{"attr": "source", "default": "Older CO2"},
|
688
|
+
],
|
689
|
+
},
|
690
|
+
)
|
691
|
+
kernel.register(
|
692
|
+
"dev_info/g3v8-amc",
|
693
|
+
{
|
694
|
+
"provider": "provider/device/newly",
|
695
|
+
"friendly_name": _("AMC CO damascus - Laser B"),
|
696
|
+
"extended_info": _("Older CO2 Laser running the NewlyDraw software"),
|
697
|
+
"priority": 5,
|
698
|
+
"family": _("Newly CO2-Laser"),
|
699
|
+
"choices": [
|
700
|
+
{
|
701
|
+
"attr": "label",
|
702
|
+
"default": "LaserB",
|
703
|
+
},
|
704
|
+
{
|
705
|
+
"attr": "bedwidth",
|
706
|
+
"default": "600mm",
|
707
|
+
},
|
708
|
+
{
|
709
|
+
"attr": "bedheight",
|
710
|
+
"default": "400mm",
|
711
|
+
},
|
712
|
+
{
|
713
|
+
"attr": "board",
|
714
|
+
"default": 1,
|
715
|
+
},
|
716
|
+
{
|
717
|
+
"attr": "axis",
|
718
|
+
"default": 3,
|
719
|
+
},
|
720
|
+
{
|
721
|
+
"attr": "pos_mode",
|
722
|
+
"default": 1,
|
723
|
+
},
|
724
|
+
{
|
725
|
+
"attr": "z_type",
|
726
|
+
"default": 2,
|
727
|
+
},
|
728
|
+
{
|
729
|
+
"attr": "z_dir",
|
730
|
+
"default": 0,
|
731
|
+
},
|
732
|
+
{"attr": "source", "default": "Older CO2"},
|
733
|
+
],
|
734
|
+
},
|
735
|
+
)
|
736
|
+
kernel.register(
|
737
|
+
"dev_info/g3v8-ruijie",
|
738
|
+
{
|
739
|
+
"provider": "provider/device/newly",
|
740
|
+
"friendly_name": _("Jinan Ruijie - Laser U"),
|
741
|
+
"extended_info": _("Older CO2 Laser running the NewlyDraw software"),
|
742
|
+
"priority": 5,
|
743
|
+
"family": _("Newly CO2-Laser"),
|
744
|
+
"choices": [
|
745
|
+
{
|
746
|
+
"attr": "label",
|
747
|
+
"default": "LaserU",
|
748
|
+
},
|
749
|
+
{
|
750
|
+
"attr": "bedwidth",
|
751
|
+
"default": "900mm",
|
752
|
+
},
|
753
|
+
{
|
754
|
+
"attr": "bedheight",
|
755
|
+
"default": "600mm",
|
756
|
+
},
|
757
|
+
{
|
758
|
+
"attr": "axis",
|
759
|
+
"default": 1,
|
760
|
+
},
|
761
|
+
{
|
762
|
+
"attr": "pos_mode",
|
763
|
+
"default": 1,
|
764
|
+
},
|
765
|
+
{"attr": "source", "default": "Older CO2"},
|
766
|
+
],
|
767
|
+
},
|
768
|
+
)
|
769
|
+
kernel.register(
|
770
|
+
"dev_info/g3v8-mini",
|
771
|
+
{
|
772
|
+
"provider": "provider/device/newly",
|
773
|
+
"friendly_name": _("Mini Laser - USB"),
|
774
|
+
"extended_info": _("Older CO2 Laser running the NewlyDraw software"),
|
775
|
+
"priority": 5,
|
776
|
+
"family": _("Newly CO2-Laser"),
|
777
|
+
"choices": [
|
778
|
+
{
|
779
|
+
"attr": "label",
|
780
|
+
"default": "Mini Laser",
|
781
|
+
},
|
782
|
+
{
|
783
|
+
"attr": "bedwidth",
|
784
|
+
"default": "900mm",
|
785
|
+
},
|
786
|
+
{
|
787
|
+
"attr": "bedheight",
|
788
|
+
"default": "600mm",
|
789
|
+
},
|
790
|
+
{
|
791
|
+
"attr": "axis",
|
792
|
+
"default": 1,
|
793
|
+
},
|
794
|
+
{
|
795
|
+
"attr": "pos_mode",
|
796
|
+
"default": 1,
|
797
|
+
},
|
798
|
+
{"attr": "source", "default": "Older CO2"},
|
799
|
+
],
|
800
|
+
},
|
801
|
+
)
|
802
|
+
kernel.register(
|
803
|
+
"dev_info/g3v8-xinyi",
|
804
|
+
{
|
805
|
+
"provider": "provider/device/newly",
|
806
|
+
"friendly_name": _("Jinan Xinyi - USB"),
|
807
|
+
"extended_info": _("Older CO2 Laser running the NewlyDraw software"),
|
808
|
+
"priority": 5,
|
809
|
+
"family": _("Newly CO2-Laser"),
|
810
|
+
"choices": [
|
811
|
+
{
|
812
|
+
"attr": "label",
|
813
|
+
"default": "Mini Laser",
|
814
|
+
},
|
815
|
+
{
|
816
|
+
"attr": "bedwidth",
|
817
|
+
"default": "900mm",
|
818
|
+
},
|
819
|
+
{
|
820
|
+
"attr": "bedheight",
|
821
|
+
"default": "600mm",
|
822
|
+
},
|
823
|
+
{
|
824
|
+
"attr": "axis",
|
825
|
+
"default": 1,
|
826
|
+
},
|
827
|
+
{
|
828
|
+
"attr": "pos_mode",
|
829
|
+
"default": 1,
|
830
|
+
},
|
831
|
+
{"attr": "source", "default": "Older CO2"},
|
832
|
+
],
|
833
|
+
},
|
834
|
+
)
|
835
|
+
kernel.register(
|
836
|
+
"dev_info/g3v8-weifang",
|
837
|
+
{
|
838
|
+
"provider": "provider/device/newly",
|
839
|
+
"friendly_name": _("Weifang Tiangong - Laser B"),
|
840
|
+
"extended_info": _("Older CO2 Laser running the NewlyDraw software"),
|
841
|
+
"priority": 5,
|
842
|
+
"family": _("Newly CO2-Laser"),
|
843
|
+
"choices": [
|
844
|
+
{
|
845
|
+
"attr": "label",
|
846
|
+
"default": "LaserB",
|
847
|
+
},
|
848
|
+
{
|
849
|
+
"attr": "bedwidth",
|
850
|
+
"default": "900mm",
|
851
|
+
},
|
852
|
+
{
|
853
|
+
"attr": "bedheight",
|
854
|
+
"default": "600mm",
|
855
|
+
},
|
856
|
+
{
|
857
|
+
"attr": "axis",
|
858
|
+
"default": 1,
|
859
|
+
},
|
860
|
+
{
|
861
|
+
"attr": "pos_mode",
|
862
|
+
"default": 1,
|
863
|
+
},
|
864
|
+
{"attr": "source", "default": "Older CO2"},
|
865
|
+
],
|
866
|
+
},
|
867
|
+
)
|
868
|
+
kernel.register(
|
869
|
+
"dev_info/g3v8-duowei",
|
870
|
+
{
|
871
|
+
"provider": "provider/device/newly",
|
872
|
+
"friendly_name": _("Duowei Laser - Laser U"),
|
873
|
+
"extended_info": _("Older CO2 Laser running the NewlyDraw software"),
|
874
|
+
"priority": 5,
|
875
|
+
"family": _("Newly CO2-Laser"),
|
876
|
+
"choices": [
|
877
|
+
{
|
878
|
+
"attr": "label",
|
879
|
+
"default": "LaserU",
|
880
|
+
},
|
881
|
+
{
|
882
|
+
"attr": "bedwidth",
|
883
|
+
"default": "900mm",
|
884
|
+
},
|
885
|
+
{
|
886
|
+
"attr": "bedheight",
|
887
|
+
"default": "600mm",
|
888
|
+
},
|
889
|
+
{
|
890
|
+
"attr": "axis",
|
891
|
+
"default": 1,
|
892
|
+
},
|
893
|
+
{
|
894
|
+
"attr": "pos_mode",
|
895
|
+
"default": 1,
|
896
|
+
},
|
897
|
+
{"attr": "source", "default": "Older CO2"},
|
898
|
+
],
|
899
|
+
},
|
900
|
+
)
|
901
|
+
kernel.register(
|
902
|
+
"dev_info/g3v8-duowei",
|
903
|
+
{
|
904
|
+
"provider": "provider/device/newly",
|
905
|
+
"friendly_name": _("Weifang Tiangong - Laser B"),
|
906
|
+
"extended_info": _("Older CO2 Laser running the NewlyDraw software"),
|
907
|
+
"priority": 5,
|
908
|
+
"family": _("Newly CO2-Laser"),
|
909
|
+
"choices": [
|
910
|
+
{
|
911
|
+
"attr": "label",
|
912
|
+
"default": "LaserB",
|
913
|
+
},
|
914
|
+
{
|
915
|
+
"attr": "bedwidth",
|
916
|
+
"default": "900mm",
|
917
|
+
},
|
918
|
+
{
|
919
|
+
"attr": "bedheight",
|
920
|
+
"default": "600mm",
|
921
|
+
},
|
922
|
+
{
|
923
|
+
"attr": "axis",
|
924
|
+
"default": 1,
|
925
|
+
},
|
926
|
+
{
|
927
|
+
"attr": "pos_mode",
|
928
|
+
"default": 1,
|
929
|
+
},
|
930
|
+
{"attr": "source", "default": "Older CO2"},
|
931
|
+
],
|
932
|
+
},
|
933
|
+
)
|
934
|
+
kernel.register(
|
935
|
+
"dev_info/g3v8-dagong",
|
936
|
+
{
|
937
|
+
"provider": "provider/device/newly",
|
938
|
+
"friendly_name": _("Jinan DaGong - TLU series"),
|
939
|
+
"extended_info": _("Older CO2 Laser running the NewlyDraw software"),
|
940
|
+
"priority": 5,
|
941
|
+
"family": _("Newly CO2-Laser"),
|
942
|
+
"choices": [
|
943
|
+
{
|
944
|
+
"attr": "label",
|
945
|
+
"default": "DaGong",
|
946
|
+
},
|
947
|
+
{
|
948
|
+
"attr": "bedwidth",
|
949
|
+
"default": "1000mm",
|
950
|
+
},
|
951
|
+
{
|
952
|
+
"attr": "bedheight",
|
953
|
+
"default": "800mm",
|
954
|
+
},
|
955
|
+
{
|
956
|
+
"attr": "axis",
|
957
|
+
"default": 1,
|
958
|
+
},
|
959
|
+
{"attr": "source", "default": "Older CO2"},
|
960
|
+
],
|
961
|
+
},
|
962
|
+
)
|
963
|
+
kernel.register(
|
964
|
+
"dev_info/g3v8-senfeng",
|
965
|
+
{
|
966
|
+
"provider": "provider/device/newly",
|
967
|
+
"friendly_name": _("Jinan Senfeng - Laser U"),
|
968
|
+
"extended_info": _("Older CO2 Laser running the NewlyDraw software"),
|
969
|
+
"priority": 5,
|
970
|
+
"family": _("Newly CO2-Laser"),
|
971
|
+
"choices": [
|
972
|
+
{
|
973
|
+
"attr": "label",
|
974
|
+
"default": "Senfeng",
|
975
|
+
},
|
976
|
+
{
|
977
|
+
"attr": "bedwidth",
|
978
|
+
"default": "900mm",
|
979
|
+
},
|
980
|
+
{
|
981
|
+
"attr": "bedheight",
|
982
|
+
"default": "600mm",
|
983
|
+
},
|
984
|
+
{
|
985
|
+
"attr": "axis",
|
986
|
+
"default": 1,
|
987
|
+
},
|
988
|
+
{
|
989
|
+
"attr": "pos_mode",
|
990
|
+
"default": 1,
|
991
|
+
},
|
992
|
+
{"attr": "source", "default": "Older CO2"},
|
993
|
+
],
|
994
|
+
},
|
995
|
+
)
|
996
|
+
kernel.register(
|
997
|
+
"dev_info/g3v8-lecai-laser",
|
998
|
+
{
|
999
|
+
"provider": "provider/device/newly",
|
1000
|
+
"friendly_name": _("ZhengZhou LeCai - LC Laser"),
|
1001
|
+
"extended_info": _("Older CO2 Laser running the NewlyDraw software"),
|
1002
|
+
"priority": 5,
|
1003
|
+
"family": _("Newly CO2-Laser"),
|
1004
|
+
"choices": [
|
1005
|
+
{
|
1006
|
+
"attr": "label",
|
1007
|
+
"default": "LCLaser",
|
1008
|
+
},
|
1009
|
+
{
|
1010
|
+
"attr": "bedwidth",
|
1011
|
+
"default": "900mm",
|
1012
|
+
},
|
1013
|
+
{
|
1014
|
+
"attr": "bedheight",
|
1015
|
+
"default": "600mm",
|
1016
|
+
},
|
1017
|
+
{
|
1018
|
+
"attr": "axis",
|
1019
|
+
"default": 1,
|
1020
|
+
},
|
1021
|
+
{
|
1022
|
+
"attr": "pos_mode",
|
1023
|
+
"default": 1,
|
1024
|
+
},
|
1025
|
+
{"attr": "source", "default": "Older CO2"},
|
1026
|
+
],
|
1027
|
+
},
|
1028
|
+
)
|
1029
|
+
kernel.register(
|
1030
|
+
"dev_info/g3v8-lecai-plasma",
|
1031
|
+
{
|
1032
|
+
"provider": "provider/device/newly",
|
1033
|
+
"friendly_name": _("ZhengZhou LeCai - LC Plasma"),
|
1034
|
+
"extended_info": _("Older CO2 Laser running the NewlyDraw software"),
|
1035
|
+
"priority": 5,
|
1036
|
+
"family": _("Newly CO2-Laser"),
|
1037
|
+
"choices": [
|
1038
|
+
{
|
1039
|
+
"attr": "label",
|
1040
|
+
"default": "LCPlasma",
|
1041
|
+
},
|
1042
|
+
{
|
1043
|
+
"attr": "bedwidth",
|
1044
|
+
"default": "2500mm",
|
1045
|
+
},
|
1046
|
+
{
|
1047
|
+
"attr": "bedheight",
|
1048
|
+
"default": "1300mm",
|
1049
|
+
},
|
1050
|
+
{
|
1051
|
+
"attr": "axis",
|
1052
|
+
"default": 1,
|
1053
|
+
},
|
1054
|
+
{
|
1055
|
+
"attr": "pos_mode",
|
1056
|
+
"default": 1,
|
1057
|
+
},
|
1058
|
+
{
|
1059
|
+
"attr": "z_type",
|
1060
|
+
"default": 1,
|
1061
|
+
},
|
1062
|
+
{
|
1063
|
+
"attr": "z_dir",
|
1064
|
+
"default": 0,
|
1065
|
+
},
|
1066
|
+
{"attr": "source", "default": "Older CO2"},
|
1067
|
+
],
|
1068
|
+
},
|
1069
|
+
)
|
1070
|
+
kernel.register(
|
1071
|
+
"dev_info/g3v8-jinli",
|
1072
|
+
{
|
1073
|
+
"provider": "provider/device/newly",
|
1074
|
+
"friendly_name": _("Wuhan Jinli - JL Cylinder"),
|
1075
|
+
"extended_info": _("Older CO2 Laser running the NewlyDraw software"),
|
1076
|
+
"priority": 5,
|
1077
|
+
"family": _("Newly CO2-Laser"),
|
1078
|
+
"choices": [
|
1079
|
+
{
|
1080
|
+
"attr": "label",
|
1081
|
+
"default": "JLCylinder",
|
1082
|
+
},
|
1083
|
+
{
|
1084
|
+
"attr": "bedwidth",
|
1085
|
+
"default": "900mm",
|
1086
|
+
},
|
1087
|
+
{
|
1088
|
+
"attr": "bedheight",
|
1089
|
+
"default": "600mm",
|
1090
|
+
},
|
1091
|
+
{
|
1092
|
+
"attr": "axis",
|
1093
|
+
"default": 1,
|
1094
|
+
},
|
1095
|
+
{
|
1096
|
+
"attr": "pos_mode",
|
1097
|
+
"default": 1,
|
1098
|
+
},
|
1099
|
+
{"attr": "source", "default": "Older CO2"},
|
1100
|
+
],
|
1101
|
+
},
|
1102
|
+
)
|
1103
|
+
kernel.register(
|
1104
|
+
"dev_info/g3v8-evertech",
|
1105
|
+
{
|
1106
|
+
"provider": "provider/device/newly",
|
1107
|
+
"friendly_name": _("DongGuan EverTech - ETL3525 Laser"),
|
1108
|
+
"extended_info": _("Older CO2 Laser running the NewlyDraw software"),
|
1109
|
+
"priority": 5,
|
1110
|
+
"family": _("Newly CO2-Laser"),
|
1111
|
+
"choices": [
|
1112
|
+
{
|
1113
|
+
"attr": "label",
|
1114
|
+
"default": "EverTech",
|
1115
|
+
},
|
1116
|
+
{
|
1117
|
+
"attr": "bedwidth",
|
1118
|
+
"default": "900mm",
|
1119
|
+
},
|
1120
|
+
{
|
1121
|
+
"attr": "bedheight",
|
1122
|
+
"default": "600mm",
|
1123
|
+
},
|
1124
|
+
{
|
1125
|
+
"attr": "axis",
|
1126
|
+
"default": 1,
|
1127
|
+
},
|
1128
|
+
{
|
1129
|
+
"attr": "pos_mode",
|
1130
|
+
"default": 1,
|
1131
|
+
},
|
1132
|
+
{"attr": "source", "default": "Older CO2"},
|
1133
|
+
],
|
1134
|
+
},
|
1135
|
+
)
|
1136
|
+
kernel.register(
|
1137
|
+
"dev_info/g3v8-anwei",
|
1138
|
+
{
|
1139
|
+
"provider": "provider/device/newly",
|
1140
|
+
"friendly_name": _("Wuhan Anwei - AW-U"),
|
1141
|
+
"extended_info": _("Older CO2 Laser running the NewlyDraw software"),
|
1142
|
+
"priority": 5,
|
1143
|
+
"family": _("Newly CO2-Laser"),
|
1144
|
+
"choices": [
|
1145
|
+
{
|
1146
|
+
"attr": "label",
|
1147
|
+
"default": "AW-U",
|
1148
|
+
},
|
1149
|
+
{
|
1150
|
+
"attr": "bedwidth",
|
1151
|
+
"default": "600mm",
|
1152
|
+
},
|
1153
|
+
{
|
1154
|
+
"attr": "bedheight",
|
1155
|
+
"default": "400mm",
|
1156
|
+
},
|
1157
|
+
{
|
1158
|
+
"attr": "w_dpi",
|
1159
|
+
"default": 803,
|
1160
|
+
},
|
1161
|
+
{
|
1162
|
+
"attr": "h_dpi",
|
1163
|
+
"default": 803,
|
1164
|
+
},
|
1165
|
+
{
|
1166
|
+
"attr": "axis",
|
1167
|
+
"default": 1,
|
1168
|
+
},
|
1169
|
+
{
|
1170
|
+
"attr": "pos_mode",
|
1171
|
+
"default": 3,
|
1172
|
+
},
|
1173
|
+
{"attr": "source", "default": "Older CO2"},
|
1174
|
+
],
|
1175
|
+
},
|
1176
|
+
)
|
1177
|
+
kernel.register(
|
1178
|
+
"dev_info/g3v8-xinxing",
|
1179
|
+
{
|
1180
|
+
"provider": "provider/device/newly",
|
1181
|
+
"friendly_name": _("Liaocheng Xinxing - U"),
|
1182
|
+
"extended_info": _("Older CO2 Laser running the NewlyDraw software"),
|
1183
|
+
"priority": 5,
|
1184
|
+
"family": _("Newly CO2-Laser"),
|
1185
|
+
"choices": [
|
1186
|
+
{
|
1187
|
+
"attr": "label",
|
1188
|
+
"default": "xinxing",
|
1189
|
+
},
|
1190
|
+
{
|
1191
|
+
"attr": "bedwidth",
|
1192
|
+
"default": "900mm",
|
1193
|
+
},
|
1194
|
+
{
|
1195
|
+
"attr": "bedheight",
|
1196
|
+
"default": "600mm",
|
1197
|
+
},
|
1198
|
+
{
|
1199
|
+
"attr": "axis",
|
1200
|
+
"default": 1,
|
1201
|
+
},
|
1202
|
+
{
|
1203
|
+
"attr": "pos_mode",
|
1204
|
+
"default": 1,
|
1205
|
+
},
|
1206
|
+
{"attr": "source", "default": "Older CO2"},
|
1207
|
+
],
|
1208
|
+
},
|
1209
|
+
)
|
1210
|
+
|
1211
|
+
elif lifecycle == "preboot":
|
1212
|
+
prefix = "newly"
|
1213
|
+
for d in kernel.settings.section_startswith(prefix):
|
1214
|
+
kernel.root(f"service device start -p {d} {prefix}\n")
|