diff --git a/assets/snapmaker-solidworksCAM-configuration/Marlin.ctl b/assets/snapmaker-solidworksCAM-configuration/Marlin.ctl new file mode 100644 index 0000000..5865f98 Binary files /dev/null and b/assets/snapmaker-solidworksCAM-configuration/Marlin.ctl differ diff --git a/assets/snapmaker-solidworksCAM-configuration/Marlin.lng b/assets/snapmaker-solidworksCAM-configuration/Marlin.lng new file mode 100644 index 0000000..4d29e5f --- /dev/null +++ b/assets/snapmaker-solidworksCAM-configuration/Marlin.lng @@ -0,0 +1,120 @@ +program stop :0001: +optional stop :0002: +DRILLING :0003: +SPOT_DRILLING :0004: +PECKING :0005: +TAPPING :0006: +BORING :0007: +HIGH_SPEED_PECKING :0008: +VARIABLE_PECKING :0009: +REVERSE_TAPPING :0010: +REAMING :0011: +REAMING_DWELL :0012: +BORE_DWELL :0013: +BACK_BORING :0014: +FINE_BORING :0015: +MILL_LACE :0016: +MILL_POCKET :0017: +MILL_PROFILING :0018: +MILL_MISC :0019: +MILL_UV_CUT :0020: +MILL_SLICE_CUT :0021: +MILL_ROUGH_CUT :0022: +MILL_CURVE_CUT :0023: +MILL_TOPO_CUT :0024: +MILL_FREEFORM_CUT :0025: +MILL_PENCIL_CUT :0026: +MILL_MACRO :0027: +Post Program Stop :0028: +Machine Name :0029: + :0030: +Controller Type :0031: + :0032: +Z Home :0033: + :0034: +Traverse Rate :0035: + :0036: +System License Number :0037: + :0038: +System License Expiration :0039: + :0040: + :0041: + :0042: +Tool's Safety X position :0043: +ENTER X coord for Safe Space :0044: +Tool's Safety Y position :0045: +ENTER Y coord for Safe Space :0046: +Tool's Safety Z position :0047: +ENTER Z coord for Safe Space :0048: +Max X Acceleration :0049: +ENTER Max X Acceleration :0050: +Max Y Acceleration :0051: +ENTER Max Y Acceleration :0052: +Max Z Acceleration :0053: +ENTER Max Z Acceleration :0054: +Max X Feedrate :0055: +ENTER Max X Feedrate :0056: +Max Y Feedrate :0057: +ENTER Max Y Feedrate :0058: +Max Z Feedrate :0059: +ENTER Max Z Feedrate :0060: +Absolute Incremental :0061: +SELECT Absolute Incremental :0062: +Absolute :0063: +Incremental :0064: +Work Coordinate 54 - 59 :0065: +ENTER Work Coordinate 54 - 59 :0066: +Coolant :0067: +SELECT Coolant :0068: +Off :0069: +Flood :0070: +Mist :0071: +Through Hole :0072: +Sub Work Coordinate 1 - 1 :0073: +ENTER Sub Work Coordinate 1 - 100 :0074: +Dwell :0075: +ENTER Dwell :0076: +Shift Amount :0077: +ENTER Shift Amount :0078: +Compensation :0079: +SELECT Compensation :0080: +On :0081: +Off :0082: +Left :0083: +Right :0084: +Program/Optional Stop :0085: +SELECT Program/Optional Stop :0086: +Program Stop :0087: +Optional Stop :0088: +Program number :0089: +ENTER Program number :0090: +Material :0091: +ENTER Material Type :0092: +Part Thickness :0093: +ENTER Part Thickness :0094: +5axis Arc Deviation :0095: +ENTER 5axis Arc Deviation :0096: +Fixture Offset :0097: +ENTER Fixture Offset :0098: +Tool Holder Length :0099: +ENTER Tool Holder Length :0100: +Sign Angle A :0101: +SELECT Sign Angle A :0102: +A+ :0103: +A- :0104: +Rigid Tap On or Off :0105: +SELECT Rigid Tap On or Off :0106: +On :0107: +Off :0108: +|(|MACHINE= :0109: +|) :0110: +|(|CONTROLLER= :0111: +|) :0112: +|(|PART|NAME= :0113: +|) :0114: +|(|PROGRAM|NUMBER= :0115: +|) :0116: +|(|MATERIAL= :0117: +|) :0118: +|(|THICKNESS= :0119: +|) :0120: diff --git a/assets/snapmaker-solidworksCAM-configuration/README.md b/assets/snapmaker-solidworksCAM-configuration/README.md new file mode 100644 index 0000000..34a724d --- /dev/null +++ b/assets/snapmaker-solidworksCAM-configuration/README.md @@ -0,0 +1,48 @@ +# Informations : + +This folder contains the **.CTL** file to load a Marlin compatible (hence Snapmaker compatible as it is based on Marlin flavored GCode) postprocessor on Solidworks CAM. + +This ressource was originally found here : + +https://www.thingiverse.com/thing:4097176 + +All credits to DarkAlchemist, licensed under cc-nc-sa. + +# Usage : + +To install, in solidworks CAM : + +1. Launch solidworks and go to **SolidworksCAM tab** + + In case you don't see it, try to see if it is available by right-clicking the tab region under the main top-ribbon, and check if SolidworksCAM is present and not checked. If so, check it. ( It however still may not be available depending on your licence options )![activate_solidworks_CAM_tab](images_docs/activate_solidworks_CAM_tab.PNG) + +2. Select the CNC solidworks gestion tab in the left-pannel :![Setting_location](images_docs/Setting_location.PNG) + +3. Right click on **Machine**, and select **"Edit definition" :**![edit_machineconfig_solidworksCAM](images_docs/edit_machineconfig_solidworksCAM.PNG) + +4. In the **pop-up window**, select the **post-processing tab**, and select **Browse** to choose the **.ctl** file you downloaded :![post_processing_edition](images_docs/post_processing_edition.PNG) + +5. Choose the Marlin.ctl file you downloaded. Click open, and then click "select" in the Machine configuration previous Window.![ctl_file_select](images_docs/ctl_file_select.PNG) + +It is now done for the installation. + + +When you export your .cnc programs off of SolidworksCAM, you just need to open them with any text based editor (like Notepad++). There is only two steps here : + +remove the top parts in grey on the images below : (Gcode unreadable by Snapmaker in CNC mode based on their docs) : + +![remove_GCODE-top1](images_docs/remove_GCODE-top1.PNG) + +![remove_GCODE-top2](images_docs/remove_GCODE-top2.PNG) + +and change M3 line with S12000 parameter to M3 line with P100 parameter ([Explanation of M3 command usage by snapmaker firmware](https://github.com/Snapmaker/snapmaker_cnc_post_process/blob/master/gcode_reference.md#m3)) + +![change_GCODE-M3](images_docs/change_GCODE-M3.PNG) + + +The .cnc files will then be loadable in Snapmaker Luban or SnapmakerJS and executeable by the Snapmaker controller. + +(sucessfully tested on a snapmaker 2.0 A250 with firmware V1.10.1) + +No issues on "run boundary" function noticed. + diff --git a/assets/snapmaker-solidworksCAM-configuration/images_docs/Setting_location.PNG b/assets/snapmaker-solidworksCAM-configuration/images_docs/Setting_location.PNG new file mode 100644 index 0000000..4d53310 Binary files /dev/null and b/assets/snapmaker-solidworksCAM-configuration/images_docs/Setting_location.PNG differ diff --git a/assets/snapmaker-solidworksCAM-configuration/images_docs/activate_solidworks_CAM_tab.PNG b/assets/snapmaker-solidworksCAM-configuration/images_docs/activate_solidworks_CAM_tab.PNG new file mode 100644 index 0000000..41136c3 Binary files /dev/null and b/assets/snapmaker-solidworksCAM-configuration/images_docs/activate_solidworks_CAM_tab.PNG differ diff --git a/assets/snapmaker-solidworksCAM-configuration/images_docs/change_GCODE-M3.PNG b/assets/snapmaker-solidworksCAM-configuration/images_docs/change_GCODE-M3.PNG new file mode 100644 index 0000000..090e7f5 Binary files /dev/null and b/assets/snapmaker-solidworksCAM-configuration/images_docs/change_GCODE-M3.PNG differ diff --git a/assets/snapmaker-solidworksCAM-configuration/images_docs/configurations_solidworksCAM.PNG b/assets/snapmaker-solidworksCAM-configuration/images_docs/configurations_solidworksCAM.PNG new file mode 100644 index 0000000..ec526dc Binary files /dev/null and b/assets/snapmaker-solidworksCAM-configuration/images_docs/configurations_solidworksCAM.PNG differ diff --git a/assets/snapmaker-solidworksCAM-configuration/images_docs/ctl_file_select.PNG b/assets/snapmaker-solidworksCAM-configuration/images_docs/ctl_file_select.PNG new file mode 100644 index 0000000..dd0d421 Binary files /dev/null and b/assets/snapmaker-solidworksCAM-configuration/images_docs/ctl_file_select.PNG differ diff --git a/assets/snapmaker-solidworksCAM-configuration/images_docs/edit_machineconfig_solidworksCAM.PNG b/assets/snapmaker-solidworksCAM-configuration/images_docs/edit_machineconfig_solidworksCAM.PNG new file mode 100644 index 0000000..b6a92de Binary files /dev/null and b/assets/snapmaker-solidworksCAM-configuration/images_docs/edit_machineconfig_solidworksCAM.PNG differ diff --git a/assets/snapmaker-solidworksCAM-configuration/images_docs/post_processing_edition.PNG b/assets/snapmaker-solidworksCAM-configuration/images_docs/post_processing_edition.PNG new file mode 100644 index 0000000..8154d6f Binary files /dev/null and b/assets/snapmaker-solidworksCAM-configuration/images_docs/post_processing_edition.PNG differ diff --git a/assets/snapmaker-solidworksCAM-configuration/images_docs/remove_GCODE-top1.PNG b/assets/snapmaker-solidworksCAM-configuration/images_docs/remove_GCODE-top1.PNG new file mode 100644 index 0000000..72ec4f7 Binary files /dev/null and b/assets/snapmaker-solidworksCAM-configuration/images_docs/remove_GCODE-top1.PNG differ diff --git a/assets/snapmaker-solidworksCAM-configuration/images_docs/remove_GCODE-top2.PNG b/assets/snapmaker-solidworksCAM-configuration/images_docs/remove_GCODE-top2.PNG new file mode 100644 index 0000000..7fe1ab2 Binary files /dev/null and b/assets/snapmaker-solidworksCAM-configuration/images_docs/remove_GCODE-top2.PNG differ