Wat is het VSJ-bestandsformaat?
Een .vsj-bestand is een scène-opslagbestand gemaakt door ViewSTL, een gratis online 3D-modelviewer van Omri Rips, en door de bijbehorende ViewStl JavaScript-plugin. De naam staat voor ViewStl JSON, en het bestand is precies dat: een JSON-document in platte tekst dat de status van een 3D-scène beschrijft.
Binnenin legt een .vsj-bestand vast hoe de scène eruit moet zien in plaats van wat deze bevat. Opgeslagen waarden omvatten canvasinstellingen zoals hoogte en achtergrondkleur, de camerastatus (positie, up-vector en doel) en een reeks modellen. Elk modelitem bewaart de bronbestandsnaam samen met weergavekenmerken zoals kleur en transparantie. De viewer schrijft dit bestand via de functie save_scene, die de JSON downloadt met de standaardnaam 1.vsj.
Eén detail is het belangrijkst. Een .vsj-bestand bevat geen mesh-geometrie. Het verwijst naar externe .stl- of .obj-bestanden op naam, dus die bestanden moeten nog steeds beschikbaar zijn om de scène te kunnen renderen. Wanneer u wilt dat geometrie en scènestatus samen reizen, biedt ViewSTL het gerelateerde .vsb-formaat, een ZIP-archief dat een json.data.vsj-item bundelt met de STL-modellen die het nodig heeft.
Beveiliging & veiligheid
RISICO: LOWA .vsj file is plain-text JSON with no executable code, macros or scripts, so opening one cannot by itself harm your system. The only practical concern is that it references external STL/OBJ files by name; if those are missing the scene will not render fully. Editing the JSON by hand can break the syntax and stop ViewSTL from loading it, so keep a backup before making changes.
Formaatdetails
in een notendopProgramma's die VSJ-bestanden openen
.vsj file to view its raw JSON text, though large single-line files may be hard to read. .vsj file to restore the saved scene; keep the referenced STL/OBJ files in the same location so the geometry loads. .vsj file and rebuild the camera, canvas and model settings. .vsj file as text to read or hand-edit its JSON keys (canvas, camera, models); VS Code formats and validates the JSON. .vsj file through the Open Model icon in any browser to reopen the saved scene. .vsj file to restore the scene. .vsj file onto the viewer to rebuild the saved camera, background and model colors in the browser. Technische details
diepe specificaties| Encoding | UTF-8 plain text (JSON) |
| Byte order | N/A (text format) |
| Container | JSON object |
| Compression | None (the compressed counterpart is the .vsb ZIP file) |
| Typical size | A few hundred bytes to a few kilobytes; the file stores scene settings only, not mesh geometry |
| Structure | A single JSON object holding the state of a ViewSTL scene: canvas settings (such as canvas height and background color), camera state (position, up vector and target), and an array of model entries. Each model entry references the source geometry by filename and stores display attributes such as color, transparency and visibility. |
| Integrity | None; integrity depends on valid JSON syntax |
| Platforms | Windows, macOS, Linux, Web browser |
| Notes | A .vsj file records how a scene should be displayed but does not embed the 3D mesh. It points at external .stl or .obj files by name, so those source files must be available for the scene to render. To bundle geometry and scene state together, ViewSTL uses the .vsb format, a ZIP archive that contains a json.data.vsj entry plus the referenced STL models. |
| Created By | The save_scene() method of the ViewSTL online viewer and the ViewStl JavaScript plugin |
| Default Filename | 1.vsj is the default name produced by save_scene() |
| Specificatie | www.viewstl.com |
VSJ conversies
Community V&A
gevraagd door gebruikersNog geen vragen - wees de eerste om iets te vragen over VSJ-bestanden.
Veelgestelde vragen
Hoe open ik een VSJ-bestand?
.vsj-bestand. De viewer leest de JSON en herstelt de opgeslagen camera, achtergrond en modelkleuren. Zorg ervoor dat de STL- of OBJ-bestanden waarnaar wordt verwezen beschikbaar zijn, omdat de geometrie in die bestanden leeft, niet in de .vsj.Bevat een VSJ-bestand het 3D-model?
.vsj-bestand slaat alleen scène-instellingen op zoals canvas, camera en weergaveopties per model. Het verwijst naar de eigenlijke mesh-bestanden op naam. Als u geometrie en scènestatus in één bestand nodig heeft, gebruik dan in plaats daarvan het .vsb-formaat.Wat is het verschil tussen VSJ en VSB?
.vsj is de scènebeschrijving in platte tekst JSON. .vsb is een ZIP-archief dat dezelfde scène-JSON bevat (als json.data.vsj) plus de STL-modellen, zodat een enkel .vsb-bestand zelfstandig en draagbaar is.Kan ik een VSJ-bestand bewerken in een tekstverwerker?
Waarom toont mijn VSJ-scène geen modellen?
.vsj verwijst alleen naar externe modelbestanden via de bestandsnaam. Als die STL- of OBJ-bestanden ontbreken of in een andere map staan, laadt de scène met de instellingen maar zonder geometrie. Herstel de bronbestanden of gebruik in plaats daarvan een .vsb-bundel.Welk programma maakt VSJ-bestanden?
.vsj-bestand (standaardnaam 1.vsj).