Spaces:
Sleeping
Sleeping
Update server.js
Browse files
server.js
CHANGED
|
@@ -148,18 +148,13 @@ app.post('/expand-stroke-fill', (req, res) => {
|
|
| 148 |
// 复刻你本地成功的指令链
|
| 149 |
const actions = [
|
| 150 |
`file-open:${inputFile}`,
|
| 151 |
-
|
| 152 |
-
|
| 153 |
-
|
| 154 |
-
// ?? 新增:强制填充
|
| 155 |
-
'object-set-property:fill,#000000',
|
| 156 |
-
'object-set-property:fill-opacity,1',
|
| 157 |
|
| 158 |
-
// ?? 原有逻辑
|
| 159 |
-
'object-stroke-to-path',
|
| 160 |
|
|
|
|
|
|
|
| 161 |
|
| 162 |
-
'
|
| 163 |
|
| 164 |
'path-union',
|
| 165 |
|
|
|
|
| 148 |
// 复刻你本地成功的指令链
|
| 149 |
const actions = [
|
| 150 |
`file-open:${inputFile}`,
|
| 151 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 152 |
|
|
|
|
|
|
|
| 153 |
|
| 154 |
+
'selection-duplicate', // 复制
|
| 155 |
+
'object-stroke-to-path', // 转轮廓
|
| 156 |
|
| 157 |
+
'select-all',
|
| 158 |
|
| 159 |
'path-union',
|
| 160 |
|