mrachinskiy / jewelcraft

Blender add-on for jewelry design
GNU General Public License v3.0
460 stars 57 forks source link

Please Add Design Report in JSON Format Option in Preferences #64

Closed sureshM470 closed 2 months ago

sureshM470 commented 3 months ago

IMPORTANT If error occurs on add-on installation or activation you probably trying to install add-on repository instead of release, check how to install guide (on the main page) for proper installation process.

Please complete the following information Operating system: Windows 11 Blender version: 4.2 Add-on version: 2.16.0

Describe the bug Design Report support only HTML file, Please Add support for JSON reports.

Screenshots If applicable, add screenshots to help explain your problem.

mrachinskiy commented 3 months ago

Could you please tell me more about your workflow and why you need specifically JSON report?

sureshM470 commented 3 months ago

I'm looking to generate json design reports , so I can use json to upload to my designs database.

On Fri, 19 Jul, 2024, 9:31 am Mikhail Rachinskiy, @.***> wrote:

Could you please tell me more about your workflow and why you need specifically JSON report?

— Reply to this email directly, view it on GitHub https://github.com/mrachinskiy/jewelcraft/issues/64#issuecomment-2238070514, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL4BHWXKXDW7GLUURBMJSHLZNCFP5AVCNFSM6AAAAABLDNHNYOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZYGA3TANJRGQ . You are receiving this because you authored the thread.Message ID: @.***>

mrachinskiy commented 3 months ago

Yeah, I'll add the option in the next feature release.

sureshM470 commented 3 months ago

Thanks

On Sat, 20 Jul, 2024, 12:05 pm Mikhail Rachinskiy, @.***> wrote:

Yeah, I'll add the option in the next feature release.

— Reply to this email directly, view it on GitHub https://github.com/mrachinskiy/jewelcraft/issues/64#issuecomment-2240956987, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL4BHWUE5XR6WVNSIGQ4FT3ZNIAJJAVCNFSM6AAAAABLDNHNYOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBQHE2TMOJYG4 . You are receiving this because you authored the thread.Message ID: @.***>

mrachinskiy commented 2 months ago

What structure would you want this to be? Right now, it's like this:

{
    "gems": [
        [
            "Diamond",
            "Round",
            "5.0",
            0.457,
            1,
            0.457
        ],
        [
            "Topaz",
            "Round",
            "2.2",
            0.039,
            6,
            0.234
        ],
        [
            "Topaz",
            "Round",
            "1.8",
            0.022,
            4,
            0.088
        ]
    ]
}
sureshM470 commented 2 months ago

can we have something like this: { "gems": [ { "stone": "Diamond", "cut": "Round", "size":"5.0" }, { "stone": "Topaz", "cut": "Round", "size":"2.2" } ] }

mrachinskiy commented 2 months ago

Would that be good enough?

{
    "metadata": {
        "Project": "Awesome Ring",
        "Date": "2024-08-04"
    },
    "gems": [
        {
            "stone": "Diamond",
            "cut": "Round",
            "size": "5.0",
            "ct": 0.457,
            "qty": 1,
            "ct_sum": 0.457
        },
        {
            "stone": "Topaz",
            "cut": "Round",
            "size": "2.2",
            "ct": 0.039,
            "qty": 6,
            "ct_sum": 0.234
        },
        {
            "stone": "Topaz",
            "cut": "Round",
            "size": "1.8",
            "ct": 0.022,
            "qty": 4,
            "ct_sum": 0.088
        }
    ],
    "materials": {
        "Yellow Gold 24K": "3.2 g"
    },
    "notes": {
        "Ring Size (Diameter)": "16.0 mm",
        "Shank Dimensions": "18.78 × 2.77 × 21.08 mm"
    }
}
sureshM470 commented 2 months ago

Yes

On Sun, 4 Aug, 2024, 9:57 pm Mikhail Rachinskiy, @.***> wrote:

Would that be good enough?

{ "metadata": { "Project": "Awesome Ring", "Date": "2024-08-04" }, "gems": [ { "stone": "Diamond", "cut": "Round", "size": "5.0", "ct": 0.457, "qty": 1, "ct_sum": 0.457 }, { "stone": "Topaz", "cut": "Round", "size": "2.2", "ct": 0.039, "qty": 6, "ct_sum": 0.234 }, { "stone": "Topaz", "cut": "Round", "size": "1.8", "ct": 0.022, "qty": 4, "ct_sum": 0.088 } ], "materials": { "Yellow Gold 24K": "3.2 g" }, "notes": { "Ring Size (Diameter)": "16.0 mm", "Shank Dimensions": "18.78 × 2.77 × 21.08 mm" } }

— Reply to this email directly, view it on GitHub https://github.com/mrachinskiy/jewelcraft/issues/64#issuecomment-2267597580, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL4BHWW67M6TXZK5E6P7ALLZPZJA3AVCNFSM6AAAAABLDNHNYOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRXGU4TONJYGA . You are receiving this because you authored the thread.Message ID: @.***>

mrachinskiy commented 2 months ago

JSON export feature will be available in next release.