Jump to content

saga

Dormant
  • Posts

    3
  • Joined

  • Last visited

    Never

Posts posted by saga

  1. Hello, everyone. I am trying to used curaengine to generate a gcode.

    OS win8 pro;

    compiler visual studio 2010;

    I found when I use debug way to compile the program, it always went wrong. The command line window stopped at wrote layers. And then a warning dialog show that vector subscript out of range. I understand this usually comes with an improper setting of vector, but don't know where.

    Has anyone ever met with the same problem with me? I will appreciate it if you can give me some instruction and thank you very much.

     

  2. Hello,everyone. I am a newbie to curaengine. I taped the this to the command line:

    curatest -v -o d://test.gcode d://test.stl

    and here are the results:

    Default config 'default.cfg' not used

    Loading d://test.stl from disk...

    Loaded from disk in 0.031s

    Analyzing and optimizing model...

    Face counts: 900 -> 900 100.0%

    Vertex counts: 2700 -> 440 16.3%

    Size: 50.800000 47.938000 3.175000

    vMin: 77.100000 78.531000 0.000000

    vMax: 127.900000 126.469000 3.175000

    vMin: -25.400000 -23.969000 0.000000

    vMax: 25.400000 23.969000 3.175000

    Matrix: 1.000000 0.000000 0.000000

    Matrix: 0.000000 1.000000 0.000000

    Matrix: 0.000000 0.000000 1.000000

    Optimize model 0.016s

    Slicing model...

    Layer count: 30

    Sliced model in 0.016s

    Generating support map...

    Generating layer parts...

    Generated layer parts in 0.015s

    Generated inset in 0.016s

    Generated up/down skin in 0.109s

    Wrote layers in 0.00s.

    Total time elapsed 0.20s.

    Print time: 0

    Filament: 0

    Filament2: 0

     

    Obviously the layerthickness can be read, but why it shows that default config not used? And the gcode I got is not complete either.

     

    ;Generated with Cura_SteamEngine DEV

    M109 S210 ;Heatup to 210C

    G21 ;metric values

    G90 ;absolute positioning

    G28 ;Home

    G1 Z15.0 F300 ;move the platform down 15mm

    G92 E0 ;zero the extruded length

    G1 F200 E5 ;extrude 5mm of feed stock

    G92 E0 ;zero the extruded length again

     

    ;Layer count: 30

    ;LAYER:0

    M127 T0

    G0 F9000 X70.800 Y72.231 Z0.300

    ;LAYER:1

    M126 T0 ; value = 127

    ;LAYER:2

    M126 T0 ; value = 255

    ;LAYER:3

    ;LAYER:4

    ;LAYER:5

    ;LAYER:6

    ;LAYER:7

    ;LAYER:8

    ;LAYER:9

    ;LAYER:10

    ;LAYER:11

    ;LAYER:12

    ;LAYER:13

    ;LAYER:14

    ;LAYER:15

    ;LAYER:16

    ;LAYER:17

    ;LAYER:18

    ;LAYER:19

    ;LAYER:20

    ;LAYER:21

    ;LAYER:22

    ;LAYER:23

    ;LAYER:24

    ;LAYER:25

    ;LAYER:26

    ;LAYER:27

    ;LAYER:28

    ;LAYER:29

    M127 T0

    G1 F2700 E-4.50000

    G0 F9000 X70.800 Y72.231 Z8.175

    M104 S0 ;extruder heater off

    M140 S0 ;heated bed heater off (if you have it)

    G91 ;relative positioning

    G1 E-1 F300 ;retract the filament a bit before lifting the nozzle, to release some of the pressure

    G1 Z+0.5 E-5 X-20 Y-20 F9000 ;move Z up a bit and retract filament even more

    G28 X0 Y0 ;move X/Y to min endstops, so the head is out of the way

    M84 ;steppers off

    G90 ;absolute positioning

     

    I pondered the error must be the readsettings function in setting.cpp, which is a paradox due to the layerthickness item. Can anyone tell me where I went wrong and how to write my own config files?

     

    Thank you very muck.

     

×
×
  • Create New...