From 8a31b3bc50c5368f36b715c4ae3810e542f9a7f4 Mon Sep 17 00:00:00 2001 From: bakedpotatolord Date: Wed, 18 Jun 2025 17:07:54 -0600 Subject: [PATCH] run formatter --- docs/kiri-moto/engine-apis.md | 15 +++++----- docs/mesh-tool.md | 2 +- docs/sidebars.js | 54 ++++++++++++++++------------------- 3 files changed, 33 insertions(+), 38 deletions(-) diff --git a/docs/kiri-moto/engine-apis.md b/docs/kiri-moto/engine-apis.md index cd3eaf2e..58746409 100644 --- a/docs/kiri-moto/engine-apis.md +++ b/docs/kiri-moto/engine-apis.md @@ -43,13 +43,12 @@ you can view some example of how to use the engine [here](https://grid.space/kir If a listener is set via `setListener(fn)`, it will be called with events such as: -- `{ loaded, vertices }` — when an STL file is loaded -- `{ parsed, vertices }` — when raw data is parsed -- `{ slice: msg }` — when slicing is complete -- `{ prepare: { update } }` — during toolpath preparation -- `{ prepare: { done: true } }` — when preparation is complete -- `{ export: { segment } }` — during G-code segment export -- `{ export: { done } }` — when export is finished +- `{ loaded, vertices }` — when an STL file is loaded +- `{ parsed, vertices }` — when raw data is parsed +- `{ slice: msg }` — when slicing is complete +- `{ prepare: { update } }` — during toolpath preparation +- `{ prepare: { done: true } }` — when preparation is complete +- `{ export: { segment } }` — during G-code segment export +- `{ export: { done } }` — when export is finished These allow for building progress indicators or responding to processing stages. - diff --git a/docs/mesh-tool.md b/docs/mesh-tool.md index 0aeb299f..fba30fb9 100644 --- a/docs/mesh-tool.md +++ b/docs/mesh-tool.md @@ -10,7 +10,7 @@ id: mesh-tool [Mesh:Tool](https://grid.space/mesh) is an intentionally simplified tool designed to address the most common cases of mesh editing and repair. It is under active development with new features daily or weekly. This means the docs can get out of date quickly. -Mesh:Tool is part of the [Grid.Apps GitHub Repo](https://github.com/GridSpace/grid-apps) and is Open Source under the [MIT License](https://en.wikipedia.org/wiki/MIT\_License). It runs entirely in browser, is not connected to the cloud, and does not collect or share any model data. [Desktop builds](https://github.com/GridSpace/grid-apps/releases) are available whiel start in the Slicer view. Use the central drop-menu to switch to Mesh:Tool. +Mesh:Tool is part of the [Grid.Apps GitHub Repo](https://github.com/GridSpace/grid-apps) and is Open Source under the [MIT License](https://en.wikipedia.org/wiki/MIT_License). It runs entirely in browser, is not connected to the cloud, and does not collect or share any model data. [Desktop builds](https://github.com/GridSpace/grid-apps/releases) are available whiel start in the Slicer view. Use the central drop-menu to switch to Mesh:Tool. Browse the Mesh:Tool [video playlist](https://www.youtube.com/playlist?list=PLRoVgyRoWZps84Scj5wQ2LYK-wMu-7r0L) on YouTube diff --git a/docs/sidebars.js b/docs/sidebars.js index 968fda51..429f8036 100644 --- a/docs/sidebars.js +++ b/docs/sidebars.js @@ -3,7 +3,6 @@ const sidebars = { { type: "doc", id: "index", - }, { type: "category", @@ -14,8 +13,8 @@ const sidebars = { type: "category", label: "Kiri Moto", link: { - type: 'doc', - id: 'kiri-moto/index', + type: "doc", + id: "kiri-moto/index", }, items: [ "kiri-moto/interface", @@ -31,17 +30,17 @@ const sidebars = { { type: "category", label: "CAM Mode", - link:{ - type: 'doc', - id: 'kiri-moto/CAM/index', + link: { + type: "doc", + id: "kiri-moto/CAM/index", }, - items:[ + items: [ "kiri-moto/CAM/processOpts", "kiri-moto/CAM/machines", "kiri-moto/CAM/tools", "kiri-moto/CAM/ops", ], - } + }, ], }, { @@ -52,39 +51,37 @@ const sidebars = { type: "category", label: "GridBot", link: { - type: 'doc', - id: 'gridbot/index', + type: "doc", + id: "gridbot/index", }, - items: [ - "gridbot/bom", - ] - } + items: ["gridbot/bom"], + }, ], }, { - type: 'category', - label: 'Community', + type: "category", + label: "Community", collapsed: false, items: [ { - type: 'link', - label: 'Forums', - href: 'https://forum.grid.space', + type: "link", + label: "Forums", + href: "https://forum.grid.space", }, { - type: 'link', - label: 'Discord', - href: 'https://discord.gg/suyCCgr', + type: "link", + label: "Discord", + href: "https://discord.gg/suyCCgr", }, { - type: 'link', - label: 'GitHub', - href: 'https://github.com/GridSpace/grid-apps', + type: "link", + label: "GitHub", + href: "https://github.com/GridSpace/grid-apps", }, { - type: 'link', - label: 'BlueSky', - href: 'https://bsky.app/profile/grid.space', + type: "link", + label: "BlueSky", + href: "https://bsky.app/profile/grid.space", }, ], }, @@ -104,4 +101,3 @@ const sidebars = { }; module.exports = sidebars; -