Nagisa Inviato 20 Maggio 2017 Inviato 20 Maggio 2017 Sorry for my bad English expression. I didn't set to 0%, I set to 100%, same fpf, but different version zcode result differently. fpf only 3 statement: V1.5.0.2&previous version zcode after load: V.1.7.2.1 & V1.8 zcode after load, only last 3 layers, and drop to 0%. V1.9&V1.10 zcode after load, perfect. Cita
0xdeadbeef Inviato 20 Maggio 2017 Autore Inviato 20 Maggio 2017 I'm a bit clueless about your first example. For the 2nd one I assume Z-Suite created a 0% command at this position which ZTool didn't remove. When I think about it, it probably was a bad idea to keep the 0% entries. So I uploaded a new version 1.03c which removes all existing fan commands and adds a 0% entry automatically at the end. This will most probably help with the 2nd example. Actually I can't see how it would help with the first example. If it won't, could you upload the zcode file somewhere? 1 Cita
Nagisa Inviato 21 Maggio 2017 Inviato 21 Maggio 2017 OK. Second have been fixed. 0.0.9.6.zcode 1.3.0.zcode 1.5.0.1.zcode 1.7.2.1.zcode 1.8.0.zcode Cita
0xdeadbeef Inviato 21 Maggio 2017 Autore Inviato 21 Maggio 2017 Ah, OK, stupid me, I forgot the layer command was only introduced in Z-Suite 1.6. Falsely remembered it was in 1.5.x. So in a nutshell, the current (simple) algorithm copies all the commands for the original ZCode in a new one but removes all fan commands. While doing that, it checks for layer commands to see if the current layer fits the next one from the loaded fan profile. In that case, it creates a new fan command (with the value from the profile) after the layer command. Now as ZCode creates with Z-Suite < 1.6.x doesn't contain layer commands, this results in removing all fan speed commands but no new commands being added. Now you might ask how saving the profiles works if there are no layer commands. Answer is that ZTool (and g2z) detects layers automatically if older ZCode or G-Code is loaded. When I think about it, this should make it possible to also handle loading fan speed profiles for older ZCode. Need to take a look at it. It's a while that I implemented that part. [EDIT] I implemented a workaround for ZCode created by older Z-Suite versions which didn't create layer commands. -> 1.0.4 All your examples work now. Note though that the one created with 1.8.x suffers a bit from storing only one fan speed per layer. However, allowing multiple fan speeds per layer would lead to lots of problems in handling. Like how to define this in a simple text file etc. 1 Cita
Nagisa Inviato 22 Maggio 2017 Inviato 22 Maggio 2017 All versions have been fixed. Thanks for your great work, beef. Cita
0xdeadbeef Inviato 22 Maggio 2017 Autore Inviato 22 Maggio 2017 I need to add that there could still be issues with ZCode from Z-Suite 1.6.x at least when trying to set the fan speed in raft layers. Problem is that Z-Suite 1.6 sits somewhere in the middle between the older ZCode style without any layer information and the newer ones with layer commands for each layer (including raft layers) since Z-Suite 1.6 creates layer commands only for model layers (not for raft layers). Now ZTool still tries to autodetect these layers to be able to display them in the preview. As a side effect, a (theoretical?) fan command within a raft layer would be stored when exporting the fan speed profile. But as there are no layer commands for the raft and ZCode from v1.6 is handled by the algorithm for the newer ZCode format, changing the fan speed within the raft will fail. I'm not sure if I'm motivated to rework the fan speed loading again to add another workaround. Most probably nobody will ever notice this glitch anyway. 1 Cita
Nagisa Inviato 23 Maggio 2017 Inviato 23 Maggio 2017 Actually my computer have some problem, can't run 1.6.x, so I didn't test 1.6.x. Z-Suite is very weak and too many limitation, I do more S3D and Ztool test recently, it's very powerful, especially editing g-code can make everything, I really enjoy it, so I think good convert function is more useful and important. Cita
Nagisa Inviato 29 Maggio 2017 Inviato 29 Maggio 2017 Preview issue? I set 50% fan for 6th layer in S3D, it's correct in g-code. But in ZTool preview, the fan start from "Layer 4/15" (5th layer, 0 is the 1st layer, total 16 layers) Cita
0xdeadbeef Inviato 29 Maggio 2017 Autore Inviato 29 Maggio 2017 Without checking in detail, I would assume this is due to a certain difference of where S3D defines the start of the layer and where my parsers does. Since I don't want to rely on layer comments (and can't in certain conditions), my import algorithm detects Z movements and adds a ZCode layer command before the Z move that moved up to the new layer. So if S3D adds a fan command just before that Z move, my algorithm will instead define it as last command of the previous layer. Which is I think exactly what happens here. Secondly, the fan speed and Z positions displayed in certain views have a slightly different meaning. So if the Z move didn't happen yet when the fan command is requested, the Z position is correct since it still applies to the last layer - even if this is the very last command (from my algorithm's point of view). The fan graph displays the maximum Z position reached for each fan command. In the preview window the upper Z/Fan are for the actual command. Since the command slider is at 100% by default, this is the Z position and fan speed after the last command for this layer. The line shows the maximum fan speed as "Fan:" and the maximum Z position as "Z:" for the given layer. So if the fan speed command is interpreted as last command of the previous layer instead of the first command of the current layer, this would explain the above display: In layer 4, the 50% command is the last command and also the maximum value, so both values are ~50% In layer 5, the fan speed at the end of the layer is 0% (so it's 0% at the beginning of layer 6), but the maximum is still 50% since this is the entry value. BTW: admittedly, displaying "/15" if there are really 16 layers seems a bit confusing. It's means as the maximum value though, not as the number of layers. Also note that Z-Suite > 1.6 creates negative layers for the raft. So the number of layers is e.g. 8 increments higher than the maximum layer. In this case displaying "182/200" for the uppermost layer seems much worse than displaying "200/200" for the maximum even if there are really 208 or so layers in sum. Cita
0xdeadbeef Inviato 21 Giugno 2017 Autore Inviato 21 Giugno 2017 1.0.5 Added support for Z-PLA Pro and Z-ASA Pro and firmware 1.1.1. Reduced minimum extruder temperature to 160°C Cita
Messaggi raccomandati
Partecipa alla conversazione
Puoi pubblicare ora e registrarti più tardi. Se hai un account, accedi ora per pubblicarlo con il tuo account.