Changes for page Макрос для формирования карты высот
Last modified by writer on 2025/07/15 19:27
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,14 +1,10 @@ 1 -{{info}} 2 -**This page didn't translate yet. You can see the original page.** 3 -{{/info}} 1 +For certain tasks (for example, PCB milling) it becomes necessary to scan the surface with subsequent correction of unevenness in Z. 4 4 5 - Дляопределённыхзадач(например,фрезеровкипечатныхплат)возникаетнеобходимостьсканированияповерхностиспоследующейкорректировкойнеровностейпоZ.3 +A height map is prepared using a macro (show example below) and the G-code is modified based on this height map. 6 6 7 - Картавысотподготавливаетсяспомощьюмакроса(примерниже),инаосновеэтойкартывысот модифицируетсяG-код.5 +You can generate a G-code with new coordinates, for example, in the G-Code Ripper program. 8 8 9 -Сформировать G-код с готовыми координатами можно, например, в программе G-Code Ripper. 10 - 11 -{{code}} 7 +{{code language="lua"}} 12 12 function m155() 13 13 local XWidth = 70 14 14 local YWidth = 50 ... ... @@ -18,7 +18,7 @@ 18 18 local StepY = 15 19 19 local Feed = 50 20 20 local TipHeight = 0 21 - local ProbeFilename = "C:\temp\probe.txt" 17 + local ProbeFilename = "C:\\temp\\probe.txt" 22 22 23 23 PushCurrentDistanceMode() 24 24 PushCurrentMotionMode() ... ... @@ -88,4 +88,4 @@ 88 88 end 89 89 {{/code}} 90 90 91 -**[[ Скачатьмакрос>>attach:M155.pm]]**87 +**[[Download macro>>attach:M155.pm]]**