- Posted by
- You are a legend. I am currently doing it manually since the code folding alone helps a ton. I will however definitely use your script soon. I just dont know yet If I should revert to an older version, or wait a little in the hopes that they fix it, so that I can use it with the newest version.Posted in Scripts
-   Topics
-   Views
- MJH-B
Oct 06, 2022
- 1. the comment ;TIME_ELAPSED:XXXXXXXXX always marks the last line of a layer. 2. I think its better to use the time elapsed comment as last line for the last layer block. ;End of Gcode could be used but there is no need to as the command between the last TIME_ELAPSED and End of Gcode are always exac...Posted in Scripts
-   Topics
-   Views
- MJH-B
Sep 28, 2022
- Thank you, but I'm afraid it's only working under certain circumstances. I have tested it, and it's exchanging the layers as it should, but it seems that it only copies part of a layer if said layer has too many lines. I have tested a file where the lines one layer contains get fewer the higher the ...Posted in Scripts
-   Topics
-   Views
- MJH-B
Sep 27, 2022
- 1: It is always every fourth layer 2: They always have the exact same number of layers 3: It might be useful in the future. Right now a hard coded layer exchange of layers 3,7,11,15,19,23,...(it's not starting with four because layers count from 0) would suffice. The two files where the script/macro...Posted in Scripts
-   Topics
-   Views
- MJH-B
Sep 22, 2022
- Thank you, but the shortcut Ctrl+Add is more than enough. That lets me take a quick look at it before I fold it all.Posted in Syntax Highlighting
-   Topics
-   Views
- MJH-B
Sep 21, 2022
- The main reason why I need the layer blocks in G-code files folded is that I have to exchange certain layers with ones from other files. Let's say I have two G-code files that contain the same number of layers, with just slightly different machine movements within these layers. I now want to exchang...Posted in Scripts
-   Topics
-   Views
- MJH-B
Sep 21, 2022
- This must be the best support I have ever gotten for anything. I have chosen to use the first wordfile and try to tweak it a little by myself to hopefully get a better understanding on how it works. There are different kinds of 'Flavour' of gcode depending on the system your machine is running on. ...Posted in Syntax Highlighting
-   Topics
-   Views
- MJH-B
Sep 19, 2022
- I will be honest I am having a real hard time getting it to work. I have tried to write a very basic wordfile based on my needs. It is just not working. Shouldnt be something like this enough for what I am trying to achieve? /L22"GCode" Line Comment = ; File Extensions = gcode /Open Comment Fold Str...Posted in Syntax Highlighting
-   Topics
-   Views
- MJH-B
Sep 16, 2022
- semicolon is a comment line in G-code, indeed.Posted in Syntax Highlighting
-   Topics
-   Views
- MJH-B
Sep 16, 2022
- I cant seem to get it to work properly. I have looked into wordfiles and changed up the html one with the code snipped you provided to do the folding, but it doesnt do anything at all. The gcode I am working with looks like this: [...] G0 X425.468 Y128.376 G0 X426.122 Y127.23 G0 X426.966 Y126.214 G...Posted in Syntax Highlighting
-   Topics
-   Views
- MJH-B
Sep 15, 2022
- Thank you so much. I will work through it tomorrow and get back to you once I got it working or if I should have any further questions.Posted in Syntax Highlighting
-   Topics
-   Views
- MJH-B
Sep 13, 2022
- Hi, I'm trying to figure out how I can generate collapsible code blocks. I work a lot with G-code for 3D printing and it would be a big help if I were able to tell UE to generate collapsible blocks via specific words. Let´s say I have a G-code file that contains 300 layers for 3D printer to print. E...Posted in Syntax Highlighting
-   Topics
-   Views
- MJH-B
Sep 12, 2022