@toolpath/tool-drawing 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +45 -4
- package/dist/{chunk-UBENO6GN.js → chunk-WYHJGR7P.js} +21 -13
- package/dist/clearance/index.d.ts +10 -32
- package/dist/clearance/index.js +1 -8
- package/dist/geometry/index.d.ts +44 -78
- package/dist/geometry/index.js +1 -1
- package/dist/index.d.ts +83 -132
- package/dist/index.js +293 -352
- package/dist/{sheet-D0LSO7qP.d.ts → sheet-DicKQYfF.d.ts} +10 -0
- package/package.json +4 -1
|
@@ -161,6 +161,15 @@ declare const SHEETS: {
|
|
|
161
161
|
readonly ink: "#3f4650";
|
|
162
162
|
readonly centre: "#15181c";
|
|
163
163
|
readonly dimension: "#606a76";
|
|
164
|
+
/**
|
|
165
|
+
* The dimension the reader is pointing at.
|
|
166
|
+
*
|
|
167
|
+
* **Not a colour the tool is already drawn in** (Paul, 2026-09-02): the
|
|
168
|
+
* flutes are gold and a struck section is red, so a highlight in either
|
|
169
|
+
* would read as a property of the metal rather than as a pointer. Blue is
|
|
170
|
+
* on neither the tool nor the holder, and it carries on both sheets.
|
|
171
|
+
*/
|
|
172
|
+
readonly accent: "#0284c7";
|
|
164
173
|
readonly body: "#c4c8ce";
|
|
165
174
|
readonly flutes: "#e6bf59";
|
|
166
175
|
readonly holder: "#9aa2ad";
|
|
@@ -171,6 +180,7 @@ declare const SHEETS: {
|
|
|
171
180
|
readonly ink: "#c7cdd6";
|
|
172
181
|
readonly centre: "#e8ebef";
|
|
173
182
|
readonly dimension: "#8d97a4";
|
|
183
|
+
readonly accent: "#38bdf8";
|
|
174
184
|
readonly body: "#5b626c";
|
|
175
185
|
readonly flutes: "#c9a44b";
|
|
176
186
|
readonly holder: "#474d57";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@toolpath/tool-drawing",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "2D elevation drawing of a cutting tool and its holder",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"engines": {
|
|
@@ -43,6 +43,9 @@
|
|
|
43
43
|
"README.md"
|
|
44
44
|
],
|
|
45
45
|
"sideEffects": false,
|
|
46
|
+
"dependencies": {
|
|
47
|
+
"@toolpath/tool-support": "^0.1.0"
|
|
48
|
+
},
|
|
46
49
|
"peerDependencies": {
|
|
47
50
|
"react": "^19.0.0",
|
|
48
51
|
"react-dom": "^19.0.0"
|