Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

*.3dja format for 'print3d'? #33

Open
SammyForReal opened this issue Jul 6, 2023 · 9 comments
Open

*.3dja format for 'print3d'? #33

SammyForReal opened this issue Jul 6, 2023 · 9 comments

Comments

@SammyForReal
Copy link
Contributor

So originally, there only were the .2dj and .3dj format for 3d and 2d prints. The community later made an .2dja format for bigger posters and it actually got implemented in the print2d software too. (See #23)

I now was wondering if a .3dja format would make sense to support in the print3d program too.
At this point, we could probably also try to figure out how to combine both programs (print2d and print3d) into one as there wouldn't be any big differences in both implementations. (Maybe within aliases for backwards compatibility?)

It also got mentioned once that making both programs acting the same way (at least in what they are showing on terminal) is on todo too, so this would be the perfect moment to do so actually.

I am opening this issue to get feedback about this and if it is something someone (like me) could make an PR for.

@Wojbie
Copy link
Contributor

Wojbie commented Jul 6, 2023

I am sorry .3dja ? I was not aware community even standardized 3dja format yet? Could you link example software that creates .3dja files?

@SammyForReal
Copy link
Contributor Author

Maybe I was not clear enough sorry. No there is no .3dja file, this issue is about if we should introduce this standard however to make this process more similar to .2dja files and easier for multi-structure prints as well.

@MasonGulu
Copy link

Support was added for 2dja because my solution to downloading multiple 2djs was to toss them in a single file as a 2dja. It ended up becoming a fairly popular way of managing multiple posters and support was PRd in.

With that background, there's no existing software that has attempted a format like 3dja, so it currently doesn't exist.

@Magicmaan
Copy link

3d models work pretty differently. It isn't just a set of pixels to then randomly segment into different blocks. We'd need to make a lua program (or blockbench plugin perhaps) that is able to segment a larger model into the 16x16 chunks. But yeah, it'd be sick to have a 3dja format or something to be able to print multiblocks with ease

@SammyForReal
Copy link
Contributor Author

Yeah the question is what are the specifications for such a format.

But I agree that this could get usefull. I would start implementing that to the sam3dj plugin on blockbench.

@bananasov
Copy link

Yeah the question is what are the specifications for such a format.

But I agree that this could get usefull. I would start implementing that to the sam3dj plugin on blockbench.

You could just take a page out of .2djas book and just have an array of objects inside a field just like 2dja, of course with the needed metadata such as title, tooltip and etcetera.

@dimaguy
Copy link

dimaguy commented Mar 30, 2024

I've written out a 3dja format definition for CCSMB (CCSMB/Standards#30), maybe it could be used for print3d if supported by the community

@scmcgowen
Copy link

@dimaguy
Copy link

dimaguy commented Mar 30, 2024

I also wrote one earlier
https://gist.github.com/scmcgowen/c245c527ad286281b7f5198bdce102ae

Yours looks fine and probably somewhat compatible with mine(didnt look too thoroughly) but it's lacking the optimizations Ive thought of.
If you've done a proper implementation already I could give a hand with it

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants