create a print: uploading OpenSCAD Preset files (.json) - impossible?!?
I just tried to upload OpenSCAD files with customized content / presets. When the scad file is named "project_name.scad" the presets are saved as "project_name.json".
I can upload *.scad, but I can NOT upload *.json .. ? The presets are important. Without it it's like e.g. PrusaSlicer without Presets.. It can't be... What have I missed?
It's not one of the file types the website allows to be uploaded. A kludge is to rename it to .txt and then in your description tell folks to rename it to .json after download.
Formerly known on this forum as @fuchsr -- until all hell broke loose with the forum software...
.
Yes, that it is not allowed to upload is obvious, also the trick with the .json.txt I figured it out myself and have already used it. It was more of a complaint or bug report. OpenSCAD is open source, strong recommendation to work with for technical parts... Why can't you upload presets for it? .json can't do anything - can it?
Just zip attachments
It's an old security measure. Just archive (zip) up any attachments.
and miscellaneous other tech projects
He is intelligent, but not experienced. His pattern indicates two dimensional thinking. -- Spock in Star Trek: The Wrath of Khan
no: ZIP attachments not accepted when it contains .json
What do you mean with "old"? An old evergreen but needed issue, or an old lazy mistake without attention to fix?
It's an old security measure. Just archive (zip) up any attachments.
No, it is the same: zip archive is not accepted when it contains a .json file!
Yes, zip only works as a workaround on the forum pages not on the model pages. Would be great if more file types were supported but I suspect json falls in the edge case category and may no get much attention.
Formerly known on this forum as @fuchsr -- until all hell broke loose with the forum software...
~ OpenSCAD not supported ?
So on prusaprinters.org I can not upload an OpenSCAD(*) file. That's a bummer. How to get 'them' you to get the attention for this Bug?
I heard Joseph Prusa is a Fan open OpenSCAD - doesn't he know Presets?
If there is something about .json files then I would accept it. But I doubt and the responses don't sound like this either.
*) .scad files yes, but .json is produced in OpenSCAD when you save a Preset. This data can not included differently. So it is an part of OpenSCAD output.
RE:
so I'd guess that the guideline is to put the OpenSCAD (& .JSON) code on github, instead here on prusaprinter, just some ready made .STL and the link to github?
since anyway there is little chance that a working online "Customizer" will pop up here or on thingiverse anytime soon
RE: create a print: uploading OpenSCAD Preset files (.json) - impossible?!?
What I would do is change the file extension from .json to .txt, upload it, and add a note in the instructions section to switch it back to .json after downloading. This saves you and others a round trip to GitHub, which for the uninitiated may be daunting.
Formerly known on this forum as @fuchsr -- until all hell broke loose with the forum software...