Skip to content

yagodorea/katana

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Katana - Rust-based 3D slicer

[Work in progress]

This workspace contains 3 programs:

  1. katana-core - Application that processes STLs and slices them
  2. katana-cli - CLI interface for katana-core
  3. katana-viewer - GUI application based on eframe (for the interface) and glow (for GPU rendering with OpenGL) to visualize the slices.

Katana demo

Getting started

  • cargo build
  • cargo run -p katana-viewer -- stls/liver.stl

TODO list

  • SLT parsing (bin and ASCII)
  • Parameterizes slicing and toolpathing powered by nalgebra and i_overlay
  • Rectilinear infill
  • GPU-rendered visualizer built on eframe and glow
  • Calculate travel moves and segment connections
    • Fix issue where all layer travels start from 0,0
  • Horizontal slider
    • Render scrubber nozzle
  • G-code export
    • Add BambuSlicer compatibility
  • UI overhaul
    • Select file to slice
    • Add "slice" button (default open just mesh)
    • Add controls in UI for slicing params
    • Split status info in a separate collapsible box
  • Add head bed rendering and model translation + rotation before slicing
  • Port to browser-compatible
  • Add more infill patterns
  • Add support for supports
  • Retraction
  • Seam placement
  • Skirts
  • Brims
  • Prime tower

Bugs to fix

  • Fix origin point of exported G-code
  • Fix slicing artifacts
    • Surfaces below max z don't get surface infill
    • Holes in the top layer get covered by surface infill
    • Liver slice artifact on layer 280

Rendering performance improvements

  • Implement instanced rendering to avoid loading 20gb of triangle meshes into memory
  • Use impostor rendering to render instances with 1 quad each instead of tens of vertices
  • Migrate renderer to WebGPU!
    • Implement wgpu performance improvements

Rendering quality improvements

  • Rendering toolpaths with thickness
  • Fix bug where filaments are clipped by next layer
  • Hide tube insides with ball geometry
    • Fix issue where smooth curves look like a bunch of balls
    • Replace tubes with rhombuses following Bambu approach

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors