3D打印机
文章平均质量分 95
lee_test
曾经我也是靠脸吃饭的,后来差点饿死才放弃的。
啥也不会,比葫芦画瓢
展开
-
Marlin固件电机控制部分stepper.cpp
贝塞尔曲线生成,Bresenham算法实现/** * Marlin 3D Printer Firmware * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] * * Based on Sprinter and grbl. * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm * * This program is free so原创 2020-10-30 00:02:25 · 2415 阅读 · 0 评论 -
基于Marlin实现的Bresenham算法
(Taken from (https://www.cs.helsinki.fi/group/goa/mallinnus/lines/bresenh.html)The basic Bresenham algorithm:Consider drawing a line on a raster grid where we restrict the allowable slopes of the line to the range 0 <= m <= 1If we further restrict翻译 2020-10-28 23:01:21 · 678 阅读 · 0 评论