Giter Club home page Giter Club logo

Comments (2)

AndrewEllis93 avatar AndrewEllis93 commented on August 11, 2024

from ellis-superslicer-profiles.

kesor avatar kesor commented on August 11, 2024

Actually, I am pretty much sure that this is unrelated to anything. Since it just adds a new line that starts with ; and that is a comment line ...

In my own configuration I moved all the comment lines to be inside the conditions, which I believe results in a slightly smaller g-code (one line less of gcode comments).

feature_gcode = {if extrusion_role =~ /ExternalPerimeter/}\n; Extrusion Role: External perimeter\nSET_VELOCITY_LIMIT ACCEL=1000 ACCEL_TO_DECEL=1000 SQUARE_CORNER_VELOCITY=8\n{elsif e
xtrusion_role=~/Perimeter/}\n; Perimeter\nSET_VELOCITY_LIMIT ACCEL=2000 ACCEL_TO_DECEL=2000 SQUARE_CORNER_VELOCITY=8\n{elsif extrusion_role=~/OverhangPerimeter/}\n; Extrusion Role: O
verhang perimeter\nSET_VELOCITY_LIMIT ACCEL=2000 ACCEL_TO_DECEL=2000 SQUARE_CORNER_VELOCITY=8\n{elsif extrusion_role=~/InternalInfill/}\n; Extrusion Role: Internal infill\nSET_VELOCI
TY_LIMIT ACCEL=5600 ACCEL_TO_DECEL=7000 SQUARE_CORNER_VELOCITY=8\n{elsif extrusion_role=~/TopSolidInfill/}\n; Extrusion Role: Top solid infill\nSET_VELOCITY_LIMIT ACCEL=2000 ACCEL_TO
_DECEL=2000 SQUARE_CORNER_VELOCITY=8\n{elsif extrusion_role=~/SolidInfill/}\n; Extrusion Role: Solid infill\nSET_VELOCITY_LIMIT ACCEL=4000 ACCEL_TO_DECEL=4000 SQUARE_CORNER_VELOCITY=
8\n{elsif extrusion_role=~/BridgeInfill/}\n; Extrusion Role: Bridge infill\nSET_VELOCITY_LIMIT ACCEL=5000 ACCEL_TO_DECEL=5000 SQUARE_CORNER_VELOCITY=8\n{elsif extrusion_role=~/GapFil
l/}\n; Extrusion Role: Gap fill\nSET_VELOCITY_LIMIT ACCEL=2000 ACCEL_TO_DECEL=2000 SQUARE_CORNER_VELOCITY=8\n{elsif extrusion_role=~/Skirt/}\n; Extrusion Role: Skirt\nSET_VELOCITY_LI
MIT ACCEL=7000 ACCEL_TO_DECEL=7000 SQUARE_CORNER_VELOCITY=8\n{elsif extrusion_role=~/SupportMaterial/}\n; Extrusion Role: Support material\nSET_VELOCITY_LIMIT ACCEL=7000 ACCEL_TO_DEC
EL=7000 SQUARE_CORNER_VELOCITY=8\n{elsif extrusion_role=~/SupportMaterialInterface/}\n; Extrusion Role: Support material interface\nSET_VELOCITY_LIMIT ACCEL=7000 ACCEL_TO_DECEL=7000
SQUARE_CORNER_VELOCITY=8\n{elsif extrusion_role=~/ThinWall/}\n; Extrusion Role: Thin walls\nSET_VELOCITY_LIMIT ACCEL=2000 ACCEL_TO_DECEL=2000 SQUARE_CORNER_VELOCITY=8\n{else}\n; Extr
usion Role: Other\nSET_VELOCITY_LIMIT ACCEL=4444 ACCEL_TO_DECEL=4444 SQUARE_CORNER_VELOCITY=8\n{endif}

from ellis-superslicer-profiles.

Related Issues (20)

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.