f3d icon indicating copy to clipboard operation
f3d copied to clipboard

Add regex based grouping logic

Open mwestphal opened this issue 1 year ago • 7 comments

Is your feature request related to a problem? Please describe. With the addition of a grouping logic (--multi-file-mode) in https://github.com/f3d-app/f3d/pull/1609, it would be nice to have more grouping logic possibilities.

Describe the solution you'd like We currently support all and single, but a new regex mode could be added, associated with another option, --multi-file-regex.

Here is how it could work:

Regex: (.*.obj)|(.*.gltf) Files:

file1.gltf
file2.gltf
file.obj
file2.obj

Results: Two group of files: Group1:

file1.gltf
file2.gltf

Group2:

file.obj
file2.obj

The command line would look like this:

./bin/f3d file1.gltf file2.gltf file.obj file2.obj --multi-file-mode=regex --multi-file-regex=(.*.obj)|(.*.gltf)

mwestphal avatar Oct 06 '24 10:10 mwestphal

May I please be assigned to this? @mwestphal

yankadeshkovski avatar Feb 15 '25 13:02 yankadeshkovski

Sure!

mwestphal avatar Feb 15 '25 13:02 mwestphal

Hi @yankadeshkovski , how is it going ? Need any help ? :)

mwestphal avatar Feb 22 '25 09:02 mwestphal

Sorry, haven't been able to put in a lot of time yet. I had a busy week. Might be able get some work done today.

yankadeshkovski avatar Feb 22 '25 11:02 yankadeshkovski

No worries :)

mwestphal avatar Feb 22 '25 19:02 mwestphal

Hi @yankadeshkovski

Do you need any help moving forward ?

mwestphal avatar Mar 01 '25 11:03 mwestphal

Removing assignee as asked by @yankadeshkovski

mwestphal avatar Mar 10 '25 05:03 mwestphal