Repository navigation
The CAD engine on a click. Obsidian's installer brings main.js, manifest.json and styles.css only, so until now a STEP, IGES or BREP part stayed unopened until occt-import-js.wasm was copied in by hand. The first CAD part without it now asks, once for the vault, whether to download it; every such part, and the settings tab, keep a Download the CAD engine button. The download is one request, to this version's own release on GitHub, and the file is kept only when its SHA-256 is the one this version pins. A copy put in the plugin folder by hand is used when its checksum is that one too; another version's file, or a broken copy, offers the download again.
A second name for the block. ```engineering-3d works exactly as ```3d. Obsidian gives a block's name to one plugin only, and a plugin that asked for a name already taken stopped loading; now a name another plugin has when this one loads (3D Codeblocks also uses 3d) is left to it, and the settings say so. Obsidian loads plugins in the order they were turned on, so a new setting, Draw 3d blocks, leaves 3d to the other plugin either way.
Large CAD parts ask first. OpenCascade reads a part on Obsidian's own thread, about 1.3 to 1.8 s per MB on a desktop computer. A part larger than 5 MB (a setting; 0 never asks) says its size and the pause to expect, and is read on a click. Without the engine, a part says so first, and is not read until the engine is there.
The description and the README say what it reads, its one network request, its known limits and what it works with.
Install from this release: main.js, manifest.json and styles.css into <your vault>/.obsidian/plugins/engineering-3d-viewer/; the CAD engine, occt-import-js.wasm, is downloaded on a click the first time a STEP, IGES or BREP part opens, or can be put beside them by hand.