Skip to content

Commit

Permalink
check gcode
Browse files Browse the repository at this point in the history
  • Loading branch information
aradermacher committed Apr 29, 2024
1 parent 7b53da3 commit 658ba2c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions amworkflow/gcode/gcode.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ def __init__(
# Coefficient of rectifying the feedrate, as well as the line width
self.tool_number = tool_number
# Tool number
print('check ckeck', feedrate)
self.feedrate = feedrate
# Feed rate
self.density = density
Expand Down
6 changes: 3 additions & 3 deletions examples/toy/dodo_toy.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@
"standard": "ConcretePrinter", # Standard of the printer firmware
"coordinate_system": "absolute", # Coordinate system of the printer firmware
"nozzle_diameter": 0.4, # Diameter of the nozzle in mm
"kappa": 1, # Parameter for the calculation of the extrusion width
#"kappa": 100, # Parameter for the calculation of the extrusion width
"tool_number": 0, # Tool number of the extruder. Expected to be an integer
"feedrate": 1800,
#"feedrate": 1800,
}

# simulation parameters needs to be in pint units!!
Expand Down Expand Up @@ -105,7 +105,7 @@ def task_gcode():

in_file_points = OUTPUT / f"{OUTPUT_NAME}.csv"
out_file_gcode = OUTPUT / f"{OUTPUT_NAME}.gcode"

print('check',params_gcode)
gcd = GcodeFromPoints(**params_gcode)

return {
Expand Down

0 comments on commit 658ba2c

Please sign in to comment.