Code Monkey home page Code Monkey logo

klipper-fastgyroidinfill's People

Contributors

romrider avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

klipper-fastgyroidinfill's Issues

OrcaSlicer issue

I tried adding your script into orca slicer and am having no luck with it working not sure if its my end or the fact that its not compatible with orca at all. This is my error.

Post-processing script C:\python.exe on file
C:\Users\danbo\AppData\Local\Temp/orcaslicer_model/Tue_Dec_12/05_36_52#13440#32/Metad
ata.13440.0.gcode.pp failed.
Error code: -1073741515

Thanks Dan

Unable to overwrite previously exported Gcode of the same name with SuperSlicer

Unable to export Gcode file if I have already exported a previously sliced file of the same name. I believe this is due to the .sqv.bak file that is saved along with the Gcode file. If I delete the previous .sqv.bak I am then able to export with the post processing script.

Post-processing script C:\Python310\python.exe C:\Users\acste\Documents\FastGyroidInfill.py on file C:\Users\acste\Desktop\3D printing\GCode\Eevee_Switch_Stand.gcode failed.
Error code: 1

Running script in CMD

Traceback (most recent call last):
File "C:\Users\acste\Documents\FastGyroidInfill.py", line 16, in
os.rename(sourceFile, destFile+".sqv.bak")
WindowsError: [Error 183] Cannot create a file when that file already exists

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\acste\Documents\FastGyroidInfill.py", line 17, in
except FileExistsError:
NameError: name 'FileExistsError' is not defined

Unable to save variable.

Hello, I have added everything from the description to the configuration file and when I want to set the value for SQV Infill I have the same message as in the attached screenshot. I used SET_INFILL_SQV SQV=<15> and also SET_INFILL_SQV SQV=15

Screenshot_20211210-074906_Chrome

Can't use the Cura script on Cura for Linux (Appimage version)

Hi! I tried copying the fastGyroidInfill.py file to the folders:
$HOME/.config/cura/5.2/scripts/fastGyroidInfill.py
$HOME.local/share/cura/5.2/scripts/fastGyroidInfill.py
No way to find it on PostProccessing menu with both places.
Just a few lines in cura.log:

2022-12-16 22:04:59,915 - DEBUG - [MainThread] PostProcessingPlugin.PostProcessingPlugin.loadScripts [206]: Begin loading of script: UsePreviousProbeMeasurements
2022-12-16 22:04:59,917 - ERROR - [MainThread] PostProcessingPlugin.PostProcessingPlugin.loadScripts [221]: Exception: Exception occurred while loading post processing plugin: module 'PostProcessingPlugin.PostProcessingPlugin.fastGyroidInfill' has no attribute 'fastGyroidInfill'
2022-12-16 22:04:59,918 - ERROR - [MainThread] PostProcessingPlugin.PostProcessingPlugin.loadScripts [221]: Traceback (most recent call last):
2022-12-16 22:04:59,918 - ERROR - [MainThread] PostProcessingPlugin.PostProcessingPlugin.loadScripts [221]:   File "/tmp/.mount_UltimaIF7CeR/share/cura/plugins/PostProcessingPlugin/PostProcessingPlugin.py", line 204, in loadScripts
2022-12-16 22:04:59,918 - ERROR - [MainThread] PostProcessingPlugin.PostProcessingPlugin.loadScripts [221]:     loaded_class = getattr(loaded_script, script_name)
2022-12-16 22:04:59,919 - ERROR - [MainThread] PostProcessingPlugin.PostProcessingPlugin.loadScripts [221]: AttributeError: module 'PostProcessingPlugin.PostProcessingPlugin.fastGyroidInfill' has no attribute 'fastGyroidInfill'

NOTE (FYI): both folders works for the plugin and let the same lines in log file.

Dupplicating an item in cura, for each layers, the first infill is slower than the others

Hi,
First, thank you for your work !

I'm encountering an issue.
In cura, I have inserted a stl and I have duplicated it. I inserted another stl and I multiplied it by 3.

When printing, I have noticed that the first infill was slower than the others

In the generated gcode I have seen that for each layer, the first _USE_INFILL_SQV is followed by _USE_NORMAL_SQV 2 lines lower.

Bellow an extract of the gcode file for the Layer 4 (can be read like that LineNumberInTheGCodeFile TheLineContent)
22849-G0 X133.38 Y93.288
22850-G0 X111.797 Y13.815
22851-;TIME_ELAPSED:1491.242617
22852:;LAYER:4
22853-;TYPE:FILL
22854:_USE_INFILL_SQV
22855:;MESH:Spool_holder_body.stl
22856:_USE_NORMAL_SQV
22857-G1 F1500 E3396.51827
22858-G1 F10800 X111.879 Y13.755 E3396.52165
22859-G1 X112.28 Y13.569 E3396.53635

26741-G1 X132.468 Y13.1 E3488.21096
26742-G0 F9000 X132.437 Y13.5
26743-G1 F1500 E3481.71096
26744:;MESH:Spool_holder_body.stl(1)
26745-G0 F9000 X133.38 Y15.08
26746-G0 X136.12 Y15.08
26747-G0 X136.26 Y15.08
26748-;TYPE:FILL
26749:_USE_INFILL_SQV
26750-G1 F1500 E3488.21096
26751-G1 F10800 X136.34 Y15.016 E3488.21437
26752-G1 X136.741 Y14.5 E3488.23611

30575-G0 F9000 X136.759 Y13.242
30576-G0 X136.603 Y12.762
30577-;TYPE:WALL-OUTER
30578:_USE_NORMAL_SQV
30579-G1 F4500 X137.002 Y12.7 E3547.86313
30580-G1 X156.998 Y12.7 E3548.5282
30581-G1 X157.399 Y12.763 E3548.5417

30629-G1 X136.729 Y13.147 E3579.83717
30630-G0 F9000 X136.851 Y13.534
30631-G1 F1500 E3573.33717
30632:;MESH:6004_Spool_holder_bearing_center_rod.stl(3)
30633-G0 F9000 X157.88 Y113.638
30634-G0 X159.165 Y113.638
30635-G0 X164.337 Y113.606
30636-G0 X165.236 Y114.566
30637-G0 X168.16 Y113.638
30638-;TYPE:FILL
30639:_USE_INFILL_SQV
30640-G1 F1500 E3579.83717
30641-G1 F10800 X168.019 Y113.819 E3579.8448
30642-G1 X167.618 Y114.267 E3579.8648

30722-G0 F9000 X167.108 Y113.835
30723-G0 X166.963 Y113.357
30724-;TYPE:WALL-OUTER
30725:_USE_NORMAL_SQV
30726-G1 F4500 X167.456 Y113.217 E3580.80788
30727-G1 X167.973 Y113.101 E3580.8255
30728-G1 X168.494 Y113.014 E3580.84307

31089-G1 X167.562 Y115.263 E3587.81074
31090-G0 F9000 X167.444 Y114.881
31091-G1 F1500 E3581.31074
31092:;MESH:6004_Spool_holder_bearing_center_rod.stl(2)
31093-G0 F9000 X164.943 Y116.639
31094-G0 X163.894 Y117.697
31095-G0 X163.068 Y118.938

31104-G0 X165.929 Y135.265
31105-G0 X165.244 Y135.801
31106-;TYPE:FILL
31107:_USE_INFILL_SQV
31108-G1 F1500 E3587.81074
31109-G1 F10800 X165.613 Y136.275 E3587.83072
31110-G1 X166.014 Y136.723 E3587.85071

31185-G0 F9000 X167.353 Y134.817
31186-G0 X167.227 Y134.333
31187-;TYPE:WALL-OUTER
31188:_USE_NORMAL_SQV
31189-G1 F4500 X167.749 Y134.2 E3588.72099
31190-G1 X168.268 Y134.101 E3588.73856
31191-G1 X168.798 Y134.029 E3588.75635

31556-G1 X167.7 Y136.277 E3595.72302
31557-G0 F9000 X167.588 Y135.894
31558-G1 F1500 E3589.22302
31559:;MESH:6004_Spool_holder_bearing_center_rod.stl
31560-G0 F9000 X165.06 Y137.609
31561-G0 X163.993 Y138.65
31562-G0 X163.148 Y139.877

31571-G0 X169.05 Y155.533
31572-G0 X168.779 Y155.706
31573-;TYPE:FILL
31574:_USE_INFILL_SQV
31575-G1 F1500 E3595.72302
31576-G1 F10800 X168.42 Y156.168 E3595.74248
31577-G1 X168.019 Y156.489 E3595.75956

31656-G0 F9000 X167.565 Y155.874
31657-G0 X167.44 Y155.377
31658-;TYPE:WALL-OUTER
31659:_USE_NORMAL_SQV
31660-G1 F4500 X167.957 Y155.261 E3596.67458
31661-G1 X168.478 Y155.174 E3596.69215
31662-G1 X169.005 Y155.116 E3596.70978

32024-G1 X168.265 Y157.239 E3603.67687
32025-G0 F9000 X168.185 Y156.848
32026-G1 F1500 E3597.17687
32027:;MESH:6004_Spool_holder_bearing_center_rod.stl(1)
32028-G0 F9000 X169.05 Y155.533
32029-G0 X168.961 Y154.252
32030-G0 X165.899 Y153.267

32048-G0 X169.801 Y110.548
32049-G0 X169.143 Y110.381
32050-;TYPE:FILL
32051:_USE_INFILL_SQV
32052-G1 F1500 E3603.67687
32053-G1 F10800 X169.222 Y110.292 E3603.68083
32054-G1 X169.623 Y109.995 E3603.69743

32135-G0 X166.364 Y92.941
32136-G0 X166.184 Y92.475
32137-;TYPE:WALL-OUTER
32138:_USE_NORMAL_SQV
32139-G1 F4500 X166.694 Y92.284 E3604.47483
32140-G1 X167.191 Y92.13 E3604.49214
32141-G1 X167.713 Y91.997 E3604.51005

32521-G0 X133.38 Y93.291
32522-G0 X111.803 Y13.78
32523-;TIME_ELAPSED:1595.761266
32524:;LAYER:5
32525-;TYPE:FILL
32526:_USE_INFILL_SQV
32527:;MESH:Spool_holder_body.stl
32528:_USE_NORMAL_SQV
32529-G1 F1500 E3611.47661
32530-G1 F10800 X111.879 Y13.737 E3611.47952
32531-G1 X112.28 Y13.611 E3611.4935

AV_6004_Spool_holder_bearing_center_rod.gcode.zip

exporting in cura 5.1 doesn´t generate extra gcode

hi,
Slicing in cura 5.1 is not working in my environement, also using cura 5.0 too, doesnt work, using prusaslicer, also 2.5 alpha is flawless.

once you slice, gcode is not adding all SQV code needed

Thanks

MCU overload

Hello, i tried the script, that is fonctionnal, but i was facing à random error:

When i try to increase over around 30mm/s the square corner velocity, my klipper speeder-pad crash randomly saying : overload CPU.

I tried with a big print and 40% infill and 300 mm/s global speed so i think he has to calculate too much angles in too short time and the CPU can't follow.
ps: I,m working on a Flsun-V400

So i'm using ZigZag infill now :'(

i,m gooing to the limits of the machine :D

If anyone have suggestion except replacing my speeder-pad XD

SuperSlicer error

Post-processing script C:\Users\FranciscoFernandes\AppData\Local\Programs\Python\Python310\python.exe C:\Users\FranciscoFernandes\Desktop\SuperSlicer_2.4.58.2_win64_220401\FastGyroidInfill.py on file C:\Users\FRANCI~1\AppData\Local\Temp.15524.gcode.pp failed.
Error code: 1
what is the solution?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.