Painted panel door 2
painted-panel-door-2
dresses opening:swing
— and nothing else. Appearance is invisible to the drawing set, so adding this changes no
plan, no section and no elevation.
- 16of 500 meshes
- 5slots
- 1finish
Drag to orbit · scroll to zoom
$surface
$surface:panel
$surface:panelEdge
$frame
$hardware
This definition leaves
$surface and $surface:panel and $surface:panelEdge and $frame and $hardware
open, and a look line fills them. Every combination is one body — same
geometry, same selector, same sheets — so the block below rewrites itself as you pick.
Only materials are slottable: a size would have to agree with the plan, so it stays on
the entity.
Paste this
Every part: the 4 materialdefs the body resolves to, then the definition. Copying the lookdef alone still compiles and still validates — it just renders grey.
{"t":"materialdef","id":"pack-opening-blue","of":"paint","value":42,"accent":"#607888","body":{"roughness":0.64}}
{"t":"materialdef","id":"pal-steel","of":"steel","value":72}
{"t":"materialdef","id":"pal-steel-dark","of":"steel","value":20}
{"t":"materialdef","id":"pal-white","of":"paint","value":92}
{"t":"lookdef","id":"painted-panel-door-2","for":"opening:swing","desc":"Painted door with raised panels and traditional rails.","slots":{"surface":"pack-opening-blue","surface:panel":"pack-opening-blue","surface:panelEdge":"pal-steel-dark","frame":"pal-white","hardware":"pal-steel"},"note":"Standalone painted swing doorset with a slim frame, panelled leaf, hinges and lever. Relief stays on the leaf; no wall or casing context is modeled.","body":{"type":"Group","children":[{"type":"Mesh","material":"$frame","geometry":{"type":"RoundedBoxGeometry","width":1,"height":0.055,"depth":0.12,"radius":0.014,"segments":3},"position":[0,1.03,0]},{"type":"Mesh","material":"$frame","geometry":{"type":"RoundedBoxGeometry","width":0.065,"height":1.95,"depth":0.12,"radius":0.014,"segments":3},"position":[-0.47,0.98,0]},{"type":"Mesh","material":"$frame","geometry":{"type":"RoundedBoxGeometry","width":0.065,"height":1.95,"depth":0.12,"radius":0.014,"segments":3},"position":[0.47,0.98,0]},{"type":"Mesh","material":"$surface","geometry":{"type":"RoundedBoxGeometry","width":0.84,"height":1.82,"depth":0.055,"radius":0.012,"segments":3},"position":[0,0.94,0.025]},{"type":"Mesh","material":"$surface:panel","geometry":{"type":"RoundedBoxGeometry","width":0.31,"height":0.64,"depth":0.018,"radius":0.018,"segments":3},"position":[-0.21,0.49,0.063]},{"type":"Mesh","material":"$surface:panelEdge","geometry":{"type":"RoundedBoxGeometry","width":0.35,"height":0.68,"depth":0.01,"radius":0.022,"segments":3},"position":[-0.21,0.49,0.052]},{"type":"Mesh","material":"$surface:panel","geometry":{"type":"RoundedBoxGeometry","width":0.31,"height":0.64,"depth":0.018,"radius":0.018,"segments":3},"position":[-0.21,1.37,0.063]},{"type":"Mesh","material":"$surface:panelEdge","geometry":{"type":"RoundedBoxGeometry","width":0.35,"height":0.68,"depth":0.01,"radius":0.022,"segments":3},"position":[-0.21,1.37,0.052]},{"type":"Mesh","material":"$surface:panel","geometry":{"type":"RoundedBoxGeometry","width":0.31,"height":0.64,"depth":0.018,"radius":0.018,"segments":3},"position":[0.21,0.49,0.063]},{"type":"Mesh","material":"$surface:panelEdge","geometry":{"type":"RoundedBoxGeometry","width":0.35,"height":0.68,"depth":0.01,"radius":0.022,"segments":3},"position":[0.21,0.49,0.052]},{"type":"Mesh","material":"$surface:panel","geometry":{"type":"RoundedBoxGeometry","width":0.31,"height":0.64,"depth":0.018,"radius":0.018,"segments":3},"position":[0.21,1.37,0.063]},{"type":"Mesh","material":"$surface:panelEdge","geometry":{"type":"RoundedBoxGeometry","width":0.35,"height":0.68,"depth":0.01,"radius":0.022,"segments":3},"position":[0.21,1.37,0.052]},{"type":"Mesh","material":"$hardware","geometry":{"type":"RoundedBoxGeometry","width":0.2,"height":0.025,"depth":0.025,"radius":0.008,"segments":3},"position":[0.25,0.92,0.078]},{"type":"Mesh","material":"$hardware","geometry":{"type":"CylinderGeometry","radiusTop":0.035,"radiusBottom":0.035,"height":0.025,"radialSegments":16},"position":[0.34,0.92,0.078],"rotation":[1.5707963267948966,0,0]},{"type":"Mesh","material":"$hardware","geometry":{"type":"RoundedBoxGeometry","width":0.025,"height":0.12,"depth":0.018,"radius":0.006,"segments":3},"position":[-0.43,0.42,0.078]},{"type":"Mesh","material":"$hardware","geometry":{"type":"RoundedBoxGeometry","width":0.025,"height":0.12,"depth":0.018,"radius":0.006,"segments":3},"position":[-0.43,1.42,0.078]}]},"preview":{"projection":"perspective","azimuth":58,"elevation":12,"fov":34,"margin":1.04}}
Or take the whole pack, which brings every entry and every material at once:
cat packs/openings.ndjson model.ndjson > dressed.ndjson
Download openings pack
23 KB · NDJSON ↓