Center Dot Character in macros
-
@phaedrux The macro creates a few hundred short macros which support a system I developed to control printer settings on a feature level (solid fill, infill, supports, etc.) rather than just a layer level. So, you can set your outer perimeter to use a different fan setting than solid fill, for example.
-
@donstauffer said in Center Dot Character in macros:
I developed to control printer settings on a feature level (solid fill, infill, supports, etc.) rather than just a layer level.
That sounds amazing. That was the killer feature of the E3D slicer for me. Fine grained control over settings per feature.
Do you have any more details out there anywhere?
-
@phaedrux I just finished it the day before yesterday and the documentation isn't done yet. So this is really new. It's intended for use with Simplify3D but I think any slicer that has a Layer Change script and the ability to insert before each feature would work. I'll post something when I have it documented and maybe tested a little more.
As for the center dot, I distilled it down to this: In VBA, if you make a 2-character string with character codes 194 and 183, outputting it the usual way works:
Private Const CENTER_DOT_CHAR As String = "·"
or
Private Const CENTER_DOT_CHAR As String = Chr(194); Chr(183)EDIT: The second one won't work unless you remove the "Const" and break it into a declaration and an assignment, I just realized.
Print #1, ";"; CENTER_DOT_CHAR
But you can't use the VBA String() function to duplicate it because it will only duplicate the first character of a string, so you have to use a loop. That's it.
-
@phaedrux This took me forever because it's been through several complete rewrites.
The concept is tested, but the latest rewrite is not yet, although I did go through the macro it generates and checked that it's doing what I wanted. So in theory, this should work. I'll post more information when I have updates.
There is a Word document with it. The first 4 pages of it are reasonably good. The rest is garbage that includes false starts at documentation and old stuff that has changed. But the first 4 pages should give you an idea what this does and how it works.
The guts is in the Excel spreadsheet in the form of a VBA macro that writes one HUGE GCode macro for you to upload to your printer and run. That macro creates all the other GCode macros which are needed.
https://drive.google.com/file/d/1Jh4fO95Y5pp5moa_8uJQQ0AG0cifJVMD/view?usp=sharing
-
@donstauffer this is great! Reminds me of some of the capabilities of FullControl and it's web based spiritual successor GCode Designer ...
-
@donstauffer that file with no file extension, what is it? I tried renaming it to .zip but that didn't work.
-
@oliof I'm not sure. There are 4 files, and 2 of them are inside a folder named "Programs". Could it be the folder you're looking at?
FeatureSettings.docx
FeaturesSettings.xlsmInside Programs folder:
ReplaceWithQuotes.BAT
sed-4.2.1-setup.exeAll that is zipped up into FeatureSettings.zip. Security should be set to "anyone with link can view." So you should be able to get everything.
-
@oliof Maybe you were trying to look at the single file I uploaded a couple months ago. It's been deleted, but the Excel spreadsheet has a VBA macro called WriteMacros that will recreate it on your hard drive.
-
@donstauffer it worked now. No idea what Google Drive was up to.
-
@phaedrux Demo video.