Repository navigation
Releases
1.2.0
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.
1.1.1
Robots exported from SolidWorks keep their meshes. A package:// name stopped at its first space, so a URDF whose package is named after its assembly (as SolidWorks' URDF exporter names it) lost every visual and collision mesh, with no warning. A package name may now hold spaces and percent escapes (package://Arm%20Assembly/meshes/…): the folder is looked for under the name decoded and trimmed, and the URDF's own spelling is kept for its meshes.
Install as before: main.js, manifest.json and styles.css, with occt-import-js.wasm beside them for STEP, IGES and BREP parts.
1.1.0
A live figure in a note. A new ```figure block shows a self-contained HTML page, such as the interactive figures the Anatomy skill builds, inside a note:
```figure
id: shake-table
height: 660
```id:takes<id>/<id>.htmlfrom the new Figures folder setting, and<id>-dark.htmlin a dark theme when it is there;theme: lightortheme: darkfixes one, andfile: <path>names a page directly.- The page is read once and shown in a frame whose sandbox allows its scripts and nothing else, so it reaches nothing of Obsidian's or the vault's. It needs no server: it works offline, and on a phone when the folder is in the vault. A folder on this computer works on a computer only.
- It is shown again in the other page when the theme changes.
Install as before: main.js, manifest.json and styles.css, with occt-import-js.wasm beside them for STEP, IGES and BREP parts.
1.0.0
The first public release of Engineering 3D Viewer: parts, scans and robots inside Obsidian.
- Meshes: STL, OBJ, PLY, 3MF, glTF/GLB and Collada, with their own colours.
- Point clouds: PCL's PCD (ASCII, binary and compressed) and XYZ, coloured by their own colours or by height.
- Robots: URDF and xacro, a slider for every joint within its limits, each link's frame, and the collision shapes on a button;
package://meshes are found beside the URDF, in the folders you name, or anywhere in the vault. - CAD parts: STEP, IGES and BREP through OpenCascade (occt-import-js), with the colours of the file's faces.
- Open a file in a tab, embed it like an image (
![[arm.urdf#joints=elbow=30]]), or show it in a```3dblock with its options. On a computer, a block can also read a file outside the vault.
Install: main.js, manifest.json and styles.css into <your vault>/.obsidian/plugins/engineering-3d-viewer/. For STEP, IGES and BREP, also put occt-import-js.wasm (OpenCascade, about 7.6 MB, LGPL 2.1) in the same folder: Obsidian's installer fetches only the first three, and the settings tab says whether the engine is there. Needs Obsidian 1.13 or later. THIRD-PARTY-NOTICES.md lists every library inside and its licence.