Skip to content

Fix gcode generation when using tabs#1

Open
mv1005 wants to merge 1 commit intocdot:masterfrom
mv1005:fix-tabs-generation
Open

Fix gcode generation when using tabs#1
mv1005 wants to merge 1 commit intocdot:masterfrom
mv1005:fix-tabs-generation

Conversation

@mv1005
Copy link

@mv1005 mv1005 commented Feb 14, 2026

This fixes the following error:

Uncaught TypeError: tab.combinedGeometry is undefined
GcodeGenerationViewModel.js:261:20

It occured when adding a holding tab to the geometry. The issue was caused by refactoring to #private syntax (commit 4a979bf), which made TabGeometry.combinedGeometry inaccessible.

This commit solves the issue by adding a getter method returning the offset geometry.

This fixes the following error:

```
Uncaught TypeError: tab.combinedGeometry is undefined
GcodeGenerationViewModel.js:261:20
```

It occured when adding a holding tab to the geometry. The issue was
caused by refactoring to #private syntax (commit 4a979bf), which made
`TabGeometry.combinedGeometry` inaccessible.

This commit solves the issue by adding a getter method returning the
offset geometry.
@mv1005 mv1005 force-pushed the fix-tabs-generation branch from a522794 to 17c81a1 Compare February 15, 2026 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments