Skip to content

Commit da88e1e

Browse files
committed
Split the sidebar into three parts and rename the add-on CADshot (1.13.0)
Three parts - A Part switcher at the top of the sidebar picks Clay, Patches or Variants; every panel polls on it, so Clay never shows a texture control and Patches never shows a camera one - Top-level panels per part: Clay 8, Patches 6, Variants 11, in place of one stack of 18 that showed everything at once - The part writes through to render_mode, pool_variants and pool_patches rather than replacing them, so the renderer, the command line, the manifest and provenance need not know parts exist; it fires only on a change, so Clay can still be set to Full or Both from its own Output panel - Lighting, the ground and the base material poll on needs_lighting() rather than on the part: clay carries Workbench's own studio light and the ground is hidden for any non-Full render, so they show only when something in the run is lit by the scene - Products holds the render list, and in Variants each product's own material choice, which is what decides whether it takes a draw - Camera protocols, annotations, drawings, randomization and the manifest moved into one collapsed Dataset & research section - The guide is written per part Material patches as a part of their own - Render All plans patch jobs with no product, no camera and no stage, so patches gained the progress bar, the time left, Esc, Skip Existing and manifest rows the standalone operator lacked - Texture Size is hidden for patches, which show one repeat filling the frame whatever size the real part would be - part = PATCHES runs from a job file with no inputs at all Pre-flight - The Patches part is no longer asked about products, cameras, views, naming clashes or lighting - New error: patches with Workbench as the engine and the Cycles add-on off, which used to raise mid-run when the stand-in swap to Cycles had nothing to swap to Rename - bl_info, the sidebar tab, panel labels, the status bar, console prefixes, the manifest's tool field and the citation say CADshot - The add-on folder, the MV_ collections, the mv. operator names and the lighting preset folder keep theirs, so blend files and job files written before the rename open unchanged Documentation - README: a Three parts section, Workflow reordered to follow the panels (Products, Standardize, Views, Stage, Texture Pool, Output), troubleshooting for a hidden panel and a missing Stage control, and a sentence in Orient Products that had lost its start Tests - test_parts.py: the write-through, which panels each part polls in, every draw() run through a layout shim, patches rendered with no product in the scene, mode-aware pre-flight, and a patches-only job file through the command line
1 parent 0004b89 commit da88e1e

5 files changed

Lines changed: 1325 additions & 620 deletions

File tree

‎CITATION.cff‎

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,28 @@
11
cff-version: 1.2.0
22
message: "If you use MultiView Product Renderer in your research, please cite it as below."
3-
title: "MultiView Product Renderer"
3+
title: "CADshot"
44
type: software
55
authors:
66
- given-names: Danyal
77
family-names: Sarfraz
8-
version: 1.12.0
8+
version: 1.13.0
99
license: MIT
1010
repository-code: "https://github.com/Danyals-code/Addon-for-MultiView-Rendering-AMVR"
1111
abstract: >-
12-
A Blender add-on that turns CAD (STEP, IGES) and mesh files into standardized
13-
multi-view image sets and datasets: canonical camera rigs or published
14-
protocols, studio lighting, clay, line-art, depth, normal and part-ID passes,
15-
camera poses, COCO and BOP annotations, vector engineering drawings, seeded
16-
randomization, and a provenance manifest with Croissant metadata.
12+
A Blender add-on that turns CAD (STEP, IGES) and mesh files into three kinds of
13+
standardized image set: multiple clay views of a product's form, patches of the
14+
materials in a texture pool, and products rendered across every combination of
15+
view and texture. Canonical camera rigs or published protocols, studio lighting,
16+
clay, line-art, depth, normal and part-ID passes, camera poses, COCO and BOP
17+
annotations, vector engineering drawings, seeded randomization, and a provenance
18+
manifest with Croissant metadata. Formerly MultiView Product Renderer.
1719
keywords:
1820
- Blender
1921
- CAD
2022
- STEP
2123
- multi-view rendering
24+
- material patches
25+
- CMF
2226
- synthetic data
2327
- dataset generation
2428
- engineering drawings

0 commit comments

Comments
 (0)