-
1 Attachment(s)
Hey, this is fun. With your files, I discovered an issue with the BFB generation. :) I forgot to put a space between M108 and S<val>, so it came out as M108S40, for example, then the subsequent decoding would fail. :) That's what I get for writing code while sleepy.
Anyway, added a routine to fix any pressure lines that I discover with that issue and fix them.
Here is the latest signed version of all the utilities, including the extractor. https://drive.google.com/open?id=1gd...mhQ_f28-DhOI6e
- - - - - - - - - -
And I also fixed the exception you were seeing as well.
-
Something went wrong. We went back to Norton deleting files.
-
1 Attachment(s)
Well that is just frustrating. I wish I had a trial norton license so that I could do some testing before I sent it to you.
New version posted, https://drive.google.com/open?id=1gd...mhQ_f28-DhOI6e
This has the signed binaries too.... (Just discovered that I have a norton subscription through my internet provider ...) Lets see if I can see this on my Win10VM
- - - - - - - - - -
I have now seen this on my norton installation on my VM after downloading. This seems like an issue with the "new"ness of the files. Hmm, maybe I need build all of this into an installer...
Attachment 3303
Is this what you were seeing?
- - - - - - - - - -
What I found is that if I download the MSI installer, and run it, I get the Norton File Insight display that allows me to "trust" the publisher. I am then able to run each executable without that display popping up or the Windows 10 display that pops up to stop you from running this...
What I don't want to do is to go spend $400 or more per year to have a signed certificate. This whole scenario is starting to feel like a way to get people to pay money to run apps....
-
1 Attachment(s)
Yep, you're starting to understand M$ :p
No, that error is benign. It is the one where the files are permanently quarantined and restricted for use.
Okay, Win7 opened Cube3Editor with only the Download Insight you posted. I can bypass that and it only does it once (per version).
- - - - - - - - - -
testing the rest ;p
- - - - - - - - - -
Mine is Comcast provided Norton.
This is what I get on Win10
Attachment 3304
- - - - - - - - - -
No joy on Win10. Will try Win7 some more.
-
I am finding that dll, well, maybe I should just trim it down to what I need rather than the entire DLL......
-
Oh not just that one. It took out a host of files and now I get the bouncy castle error again.
I can run v.7 without issue.
-
Well, ugh. Just ugh. I am not sure how to proceed. I can get them to run on my Windows 10VM which also has Norton as supplied by Comcast. I just have to allow Windows and then Norton to allow it to run.
https://drive.google.com/open?id=1gd...mhQ_f28-DhOI6e
Latest version with everything self-signed. You are still going to get those popups because it is not officially signed with a certificate from a Certificate Authority.
I wonder if there is a way for you to export your Norton Settings so that I can import them for testing. Or maybe you install Visual Studio 2019 Community edition, download my project from github as well as the BouncyCastle and SourceGrid projects and build it yourself. :) I never really thought about distributing my own software ...
- - - - - - - - - -
I am in the process of getting a code signing certificate just so that we can get past this, and so that if anyone else wants to use this software with their cubes. I don't know how long this process takes, but hopefully not long. (I found a reasonably priced solution, but this still feels like a scam for the individual developer who just wants to create tools for himself and his friends...)
-
3 Attachment(s)
I run Norton plain Jane. Not a lot of options.
I suspect it has to do with pre-loading software where there are two different versions of the same file and that sets off Norton.
The normal warnings don't bother me as they only annoy once. This one is debilitating.
I don't know what you did different in one round when it was solved because I changed nothing else.
I can move forward on Windows 7 until we figure this out.
- - - - - - - - - -
This is looking better...
I renamed all the old files with a prefix "_"... and copied the latest (11) to my desktop.
Ran the editor and it worked after the normal hooplah.
Ran the c3sg.exe an same warnings and all worked as it was suppose to.
Norton did not go off on its own and start deleting things. So this one is also stable.
Just to capture the process to bypass signatures on W10 w/ Norton is as follows:
Start the Cube3Editor.exe
Receive this message -
Attachment 3305
upper left; More Info... and you get this -
Attachment 3306
Select Run Anyway and Norton takes over with this -
Attachment 3307
With a final selection to run anyway, this is is now valid to run on the PC without further disturbances.
So yes, this is normal and acceptable.
What is not normal is Norton deleting files at will. Something to do with prefetch or simply having multiple versions of the same file on the PC.
- - - - - - - - - -
Now we are making headway!
Got the batch file to work after some boneheaded errors.
Still not quite sure how to interface with the editor. It is not returning data as expected.
Maybe give me a tutorial on how to change a set scenario...
Create an Ekocycle print file...
Convert the temps down to 250C...
And replace the retraction settings to "minus 75"
Save to .cube3
I noticed we could not open the cubescr file when the editor is open.
Also could not generate a cubescr file from within the editor, or at least, couldn't find the file if it generated one.
Setup is all cubeutil files in one folder and dragging files from the desktop.
I do not subscribe to filenames with spaces so that is not a test I will be performing.
-
Great tests!
So for the editor -- the command line for the editor to apply the script file is cube3editor <cube file> <cubescr file>
When you say "replace the retraction settings to minus 75" you go into the retraction tab and change say 400 to 325, right?
While I don't normally subscribe to spaces in filenames, I have to plan for them. :)
- - - - - - - - - -
Oh, and I think I mapped the script generator from the Cube3Edit UI to Ctrl-G (or check the file menu). I will check in a couple of hours.
-
1 Attachment(s)
Yep, That is a typical routine I run on Ekocycle files to run non-3DS ABS or PETG on Cube3. This is also the best solution I know for 3rd party ABS.
I noted that %1 works for the source .cube3 file dropped onto the batch file. That makes for excellent recipe management. If you know you have a simple standard routine, it can capture only the required changes in a static .cubescr file... I'm assuming. I'll give that try for my next test.
From a technical standpoint, I assume I can have additional "swap" statements in the .cubescr file and it will simply ignore them if they do not exist. That way you can capture single L or R or Both extruder prints with the same .cubescr file.
The command set that this is useful for is a generic retraction reduction routine that is useful with 4mm bowden tube setups which have less springiness than the stock tubes. This is one reason for the "blobs" and can manage them better than the stock slicer ever did.
Okay, more testing...
- - - - - - - - - -
fat-finger'd tommydee did that! Sorry.
I'm getting exception errors using the batch routine. One error was a blank line at EOF in the .cubescr. Fixed that and another pops up. It only seems to work if you change nothing :o
Using the editor is working. I noticed the source .cube3 file is replaced and a backup is created. Had read only on my source print file and it didn't like that, obviously :p
Findings... If a material is specified for 'sidewalk:' (and probably for supports) it also should be changed (assuming it will confuse the printer).
Percentage is still not working. 98% of 255 returns 255 in the editor.
- - - - - - - - - -
Batch editor is working. The error was down to retraction settings in the .cubescr file...
C:\user-pc\yadayada.\Cube3Utils11\Cube3Editor.exe testcube_EKO12201.cube3 testcube_EKO12201.CUBESCR
cubeFile = 'testcube_EKO12201.cube3'
scriptFile = 'testcube_EKO12201.CUBESCR'
Unhandled Exception: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(T Key key)
at BitForByteSupport.BitFromByte.updateRetractionStar tLines(Int32 index, String retractCmd)
at Cube3Editor.MainEditor.UpdateStartRetractions(Grid gridStartRetracts)
at Cube3Editor.RetractionStartChangedEvent.OnValueCha nged(CellContext sender, EventArgs e)
at SourceGrid.Cells.Controllers.ControllerContainer.O nValueChanged(CellContext sender, EventArgs e)
at SourceGrid.Cells.Controllers.CellEventDispatcher.O nValueChanged(CellContext sender, EventArgs e)
at SourceGrid.Cells.Controllers.ControllerContainer.O nValueChanged(CellContext sender, EventArgs e)
at SourceGrid.Cells.Models.ValueModel.SetValue(CellCo ntext cellContext, Object newValue)
at SourceGrid.Cells.Cell.set_Value(Object value)
at Cube3Editor.MainEditor.CommandLineLoad(String newFWStr, String newMinFWStr, String newPrinterModel, String newMCE1, String newMCE2, String newMCE3, List`1 tempMods, List`1 retractStartMods, List`1 retractStopMods, List`1 pressureMods)
at Cube3Editor.Program.Main(String[] args)
...
So changing the machine type worked fine; changing material worked fine; hanging temperatures worked fine;...restractions popped this error up.
I've got this test down on a routine so let me get back to the good output and complete the test.
...edit; and yes, the extruder pressure works in batch file mode (command line mode).
One more test... M227 or M228? :)
...that's odd! I got them all to work! I was zeroing in on one of four entries and one failed but worked a second time around.
- - - - - - - - - -
attaching test files...