Skip to content

jellespijker/curaengine-lldb-debug

Repository files navigation

curaengine-lldb-debug

LLDB debugging tools (such as pretty printers) for CuraEngine

GitHub Logo

Also easy Polygon viewing possible. If you have tool like Klipper it is possible to set actions for certain cut snippets that match a regex pattern. Create the following regular expression to match against ((^.+\s=)|(\s\[.+$)) and add an action with the output handling flag Ignore set, containing the following Command echo %s | python <directory_containing>/debug_poly.py This is currently only tested on Linux running KDE with Clion. make sure you have numpy and matplotlib installed.

GitHub Logo

Currently implemented

  • cura::Polygons
  • cura::Temperature
  • cura::Velocity
  • cura::Acceleration
  • cura::LayerIndex
  • cura::Ratio
  • cura::AngleDegrees
  • cura::Point3
  • cura::Point
  • cura::AABB3D
  • cura::ExtruderTrain
  • cura::LayerPlan (partially implemented)
  • cura::WallToolPaths
  • cura::ExtrusionJunction
  • cura::ExtrusionLine
  • cura::BeadingStrategy::Beading
  • cura::SkeletalTrapezoidation::graph_t
  • boost::polygon::voronoi_vertex

Instructions

Add the following to your ~/.ldbinit

settings set target.load-cwd-lldbinit true

Create a .ldbinit file in the root of your CuraEngine directory containing the following:

command script import <path to your curaengine-lldb-debug repo>/curaengine.py

Usefull sources:

online:

local:

  • /opt/clion/bin/lldb/renderers/lldb_formatters

About

LLDB debugging tools (such as pretty printers) for CuraEngine

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages