SynDaverCO / symple-slicer

A web-based slicer for 3D printers using the Cura Engine
GNU Affero General Public License v3.0
21 stars 9 forks source link

Unable to generate Gcode with supports #190

Closed synsuiter closed 2 years ago

synsuiter commented 2 years ago

Describe the bug Upon slicing a normal model with a normally applied Machine and Material profile, BUT THEN enabling the SUPPORTS the slicer generated 0 lines of code.

Details

To Reproduce Steps to reproduce the behavior:

  1. Apply a profile
  2. Load a model
  3. Activate supports
  4. slice and see redult

Screenshots Pictures Below

added-suport with-supports_sliced

synsuiter commented 2 years ago

s-log-001 s-log-002

synsuiter commented 2 years ago

Here is what I have found, I was unable to get SS to give me a toml file that included these settings, despite requesting all info from our Advanced settings options).

These are the very same settings that are causing an issue when generating the slice.

"adhesion_extruder_nr":... ........... "skirt_brim_extruder_nr": { "label": "Skirt/Brim Extruder", "description": "The extruder train to use for printing the skirt or brim. This is used in multi-extrusion.", "type": "extruder", "default_value": "0", "value": "adhesion_extruder_nr", "enabled": "extruders_enabled_count > 1 and (resolveOrValue('adhesion_type') == 'skirt' or resolveOrValue('adhesion_type') == 'brim' or resolveOrValue('prime_tower_brim_enable'))", "settable_per_mesh": false, "settable_per_extruder": false }, "raft_base_extruder_nr": { "label": "Raft Base Extruder", "description": "The extruder train to use for printing the first layer of the raft. This is used in multi-extrusion.", "type": "extruder", "default_value": "0", "value": "adhesion_extruder_nr", "enabled": "extruders_enabled_count > 1 and resolveOrValue('adhesion_type') == 'raft'", "settable_per_mesh": false, "settable_per_extruder": false }, "raft_interface_extruder_nr": { "label": "Raft Middle Extruder", "description": "The extruder train to use for printing the middle layer of the raft. This is used in multi-extrusion.", "type": "extruder", "default_value": "0", "value": "adhesion_extruder_nr", "enabled": "extruders_enabled_count > 1 and resolveOrValue('adhesion_type') == 'raft'", "settable_per_mesh": false, "settable_per_extruder": false }, "raft_surface_extruder_nr": { "label": "Raft Top Extruder", "description": "The extruder train to use for printing the top layer(s) of the raft. This is used in multi-extrusion.", "type": "extruder", "default_value": "0", "value": "adhesion_extruder_nr", "enabled": "extruders_enabled_count > 1 and resolveOrValue('adhesion_type') == 'raft'", "settable_per_mesh": false, "settable_per_extruder": false }

==================================================================================

"raft_interface_layers": { "label": "Raft Middle Layers", "description": "The number of layers between the base and the surface of the raft. These comprise the main thickness of the raft. Increasing this creates a thicker, sturdier raft.", "type": "int", "default_value": 1, "minimum_value": "0", "maximum_value_warning": "10", "enabled": "resolveOrValue('adhesion_type') == 'raft'", "settable_per_mesh": false, "settable_per_extruder": true, "limit_to_extruder": "raft_interface_extruder_nr" },

marciot commented 2 years ago

@synsuiter: This appears to be a problem with CuraEngine requiring "support_enabled" to be presented in the command line before certain other settings. I have created a ticket upstream.

https://github.com/Ultimaker/CuraEngine/issues/1763

We can work around this on our end, although there is a posibility other settings may have similar requirements.

marciot commented 2 years ago

@synsuiter: Can this be closed?

synsuiter commented 2 years ago

Indeed, Issue has been resolved. Gracias