Skip to content

Conversation

@bakedPotatoLord
Copy link
Collaborator

add CSV import and export button. Handles CSV validation, and escaping of , and " characters

image

@bakedPotatoLord bakedPotatoLord self-assigned this Nov 25, 2025
@bakedPotatoLord bakedPotatoLord changed the base branch from master to rel-4.5 November 25, 2025 22:48
@stewartoallen
Copy link
Contributor

instead of adding two new import/export buttons, I would add a single csv checkbox to the right which controls import/export format ... or a drop-down with csv and km which might be a little more explicit

@bakedPotatoLord
Copy link
Collaborator Author

Is there an existing dropdown component I could use for this?

@stewartoallen
Copy link
Contributor

sure. something like src/kiri/core/init.js line 1051

        animesh:          newSelect(LANG.op_anim_s, {title: LANG.op_anim_l, action: aniMeshSave, modes:CAM}, "animesh"),

creates a pulldown and "animesh" is the key into:

src/kiri/core/consts.js LISTS var which constrains the valid values. there is a little additional save/restore logic which you can trace from the action.

@bakedPotatoLord
Copy link
Collaborator Author

How's this?

image

@stewartoallen
Copy link
Contributor

Since this controls import and export, I would strike the word "export"

Screenshot 2025-11-27 at 11 22 36 AM

@bakedPotatoLord
Copy link
Collaborator Author

done!

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cnc CNC / CAM mode enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants