bimtex

trees

Fruit tree

fruit-tree dresses tree:fruit — and nothing else. Appearance is invisible to the drawing set, so adding this changes no plan, no section and no elevation.

  • 44of 500 meshes
  • 3slots
  • 1finish

Drag to orbit · scroll to zoom

The build. Made here, now, by the same interpreter a model gets.
Fruit tree, shown as a photorealistic visual reference
The reference. AI-generated, not bimtex output — the authored input this body was written against.
$foliage:leaf
$bark
$foliage:fruit

This definition leaves $foliage:leaf and $bark and $foliage:fruit 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 3 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-apple-fruit","of":"paint","value":42,"accent":"#9f2e34","body":{"flatShading":true}}
{"t":"materialdef","id":"pack-dark-bark","of":"timber","value":20,"accent":"#463a30"}
{"t":"materialdef","id":"pal-leaf-pale","of":"foliage","value":58}
{"t":"lookdef","id":"fruit-tree","for":"tree:fruit","desc":"Orchard fruit tree with low branching, a rounded crown, and visible red fruit placed along the canopy edge.","slots":{"foliage:leaf":"pal-leaf-pale","bark":"pack-dark-bark","foliage:fruit":"pack-apple-fruit"},"preview":{"projection":"perspective","azimuth":-36,"elevation":14,"fov":30,"margin":1.03},"body":{"type":"Group","children":[{"type":"Mesh","material":"$bark","geometry":{"type":"LatheGeometry","profile":[[0,0],[0.3,0],[0.24,0.38],[0.17,1.7],[0,2.1]],"segments":18}},{"type":"Mesh","material":"$bark","geometry":{"type":"TubeGeometry","path":[[0,1.25,0],[-0.625,2.05,0.0912],[-1.75,3.05,0.228]],"radius":0.09,"radialSegments":8,"tubularSegments":14}},{"type":"Mesh","material":"$bark","geometry":{"type":"TubeGeometry","path":[[0,1.3,0],[0.6875,2,0.1368],[1.8125,3,0.399]],"radius":0.09,"radialSegments":8,"tubularSegments":14}},{"type":"Mesh","material":"$bark","geometry":{"type":"TubeGeometry","path":[[0,1.45,0],[0.1,2.3,-0.6612],[0.375,3.2,-1.425]],"radius":0.075,"radialSegments":8,"tubularSegments":14}},{"type":"Mesh","material":"$bark","geometry":{"type":"TubeGeometry","path":[[0,1.55,0],[-0.15,2.35,0.627],[-0.4375,3.25,1.368]],"radius":0.07,"radialSegments":8,"tubularSegments":14}},{"type":"Group","position":[0,3.45,0],"rotation":[0.2,0.5,0.1],"children":[{"type":"Mesh","material":"$foliage:leaf","geometry":{"type":"IcosahedronGeometry","radius":1,"detail":2},"position":[-0.571536,0,0],"scale":[0.783821,0.459,0.615859],"rotation":[0.08,0.22,-0.08]},{"type":"Mesh","material":"$foliage:leaf","geometry":{"type":"IcosahedronGeometry","radius":1,"detail":2},"position":[0.571536,0.0918,0.1188],"scale":[0.783821,0.45288,0.598752],"rotation":[-0.06,0.74,0.1]},{"type":"Mesh","material":"$foliage:leaf","geometry":{"type":"IcosahedronGeometry","radius":1,"detail":2},"position":[0,-0.16065,-0.16632],"scale":[0.740275,0.4284,0.581645],"rotation":[0.1,1.18,-0.05]}]},{"type":"Group","position":[-1.6,3.28,0.171],"rotation":[0.5,1.1,0.2],"children":[{"type":"Mesh","material":"$foliage:leaf","geometry":{"type":"IcosahedronGeometry","radius":1,"detail":2},"position":[-0.42336,0,0],"scale":[0.580608,0.3996,0.48149],"rotation":[0.08,0.22,-0.08]},{"type":"Mesh","material":"$foliage:leaf","geometry":{"type":"IcosahedronGeometry","radius":1,"detail":2},"position":[0.42336,0.07992,0.09288],"scale":[0.580608,0.394272,0.468115],"rotation":[-0.06,0.74,0.1]},{"type":"Mesh","material":"$foliage:leaf","geometry":{"type":"IcosahedronGeometry","radius":1,"detail":2},"position":[0,-0.13986,-0.130032],"scale":[0.548352,0.37296,0.45474],"rotation":[0.1,1.18,-0.05]}]},{"type":"Group","position":[1.625,3.2,0.3876],"rotation":[0.9,1.6,-0.15],"children":[{"type":"Mesh","material":"$foliage:leaf","geometry":{"type":"IcosahedronGeometry","radius":1,"detail":2},"position":[-0.431827,0,0],"scale":[0.59222,0.3888,0.492687],"rotation":[0.08,0.22,-0.08]},{"type":"Mesh","material":"$foliage:leaf","geometry":{"type":"IcosahedronGeometry","radius":1,"detail":2},"position":[0.431827,0.07776,0.09504],"scale":[0.59222,0.383616,0.479002],"rotation":[-0.06,0.74,0.1]},{"type":"Mesh","material":"$foliage:leaf","geometry":{"type":"IcosahedronGeometry","radius":1,"detail":2},"position":[0,-0.13608,-0.133056],"scale":[0.559319,0.36288,0.465316],"rotation":[0.1,1.18,-0.05]}]},{"type":"Group","position":[0.4375,3.35,-1.2312],"rotation":[1.2,0.7,0.3],"children":[{"type":"Mesh","material":"$foliage:leaf","geometry":{"type":"IcosahedronGeometry","radius":1,"detail":2},"position":[-0.381024,0,0],"scale":[0.522547,0.378,0.470292],"rotation":[0.08,0.22,-0.08]},{"type":"Mesh","material":"$foliage:leaf","geometry":{"type":"IcosahedronGeometry","radius":1,"detail":2},"position":[0.381024,0.0756,0.09072],"scale":[0.522547,0.37296,0.457229],"rotation":[-0.06,0.74,0.1]},{"type":"Mesh","material":"$foliage:leaf","geometry":{"type":"IcosahedronGeometry","radius":1,"detail":2},"position":[0,-0.1323,-0.127008],"scale":[0.493517,0.3528,0.444165],"rotation":[0.1,1.18,-0.05]}]},{"type":"Group","position":[-0.475,3.42,1.1856],"rotation":[0.4,2,-0.2],"children":[{"type":"Mesh","material":"$foliage:leaf","geometry":{"type":"IcosahedronGeometry","radius":1,"detail":2},"position":[-0.372557,0,0],"scale":[0.510935,0.3672,0.459095],"rotation":[0.08,0.22,-0.08]},{"type":"Mesh","material":"$foliage:leaf","geometry":{"type":"IcosahedronGeometry","radius":1,"detail":2},"position":[0.372557,0.07344,0.08856],"scale":[0.510935,0.362304,0.446342],"rotation":[-0.06,0.74,0.1]},{"type":"Mesh","material":"$foliage:leaf","geometry":{"type":"IcosahedronGeometry","radius":1,"detail":2},"position":[0,-0.12852,-0.123984],"scale":[0.48255,0.34272,0.43359],"rotation":[0.1,1.18,-0.05]}]},{"type":"Group","position":[0.9,4.02,-0.2052],"rotation":[1.4,1,0.2],"children":[{"type":"Mesh","material":"$foliage:leaf","geometry":{"type":"IcosahedronGeometry","radius":1,"detail":1},"position":[-0.338688,0,0],"scale":[0.464486,0.3564,0.414305],"rotation":[0.08,0.22,-0.08]},{"type":"Mesh","material":"$foliage:leaf","geometry":{"type":"IcosahedronGeometry","radius":1,"detail":1},"position":[0.338688,0.07128,0.07992],"scale":[0.464486,0.351648,0.402797],"rotation":[-0.06,0.74,0.1]},{"type":"Mesh","material":"$foliage:leaf","geometry":{"type":"IcosahedronGeometry","radius":1,"detail":1},"position":[0,-0.12474,-0.111888],"scale":[0.438682,0.33264,0.391288],"rotation":[0.1,1.18,-0.05]}]},{"type":"Group","position":[-0.85,4.08,0.2052],"rotation":[0.8,2.4,-0.1],"children":[{"type":"Mesh","material":"$foliage:leaf","geometry":{"type":"IcosahedronGeometry","radius":1,"detail":1},"position":[-0.347155,0,0],"scale":[0.476099,0.3672,0.425503],"rotation":[0.08,0.22,-0.08]},{"type":"Mesh","material":"$foliage:leaf","geometry":{"type":"IcosahedronGeometry","radius":1,"detail":1},"position":[0.347155,0.07344,0.08208],"scale":[0.476099,0.362304,0.413683],"rotation":[-0.06,0.74,0.1]},{"type":"Mesh","material":"$foliage:leaf","geometry":{"type":"IcosahedronGeometry","radius":1,"detail":1},"position":[0,-0.12852,-0.114912],"scale":[0.449649,0.34272,0.401864],"rotation":[0.1,1.18,-0.05]}]},{"type":"Mesh","material":"$foliage:fruit","geometry":{"type":"SphereGeometry","radius":0.12,"widthSegments":14,"heightSegments":10},"position":[-1.775,3.06,0.8208]},{"type":"Mesh","material":"$foliage:fruit","geometry":{"type":"SphereGeometry","radius":0.12,"widthSegments":14,"heightSegments":10},"position":[-1.275,3.55,1.1628]},{"type":"Mesh","material":"$foliage:fruit","geometry":{"type":"SphereGeometry","radius":0.12,"widthSegments":14,"heightSegments":10},"position":[-0.65,3.02,1.3452]},{"type":"Mesh","material":"$foliage:fruit","geometry":{"type":"SphereGeometry","radius":0.12,"widthSegments":14,"heightSegments":10},"position":[-0.1,3.7,1.2768]},{"type":"Mesh","material":"$foliage:fruit","geometry":{"type":"SphereGeometry","radius":0.12,"widthSegments":14,"heightSegments":10},"position":[0.6,3.16,1.1628]},{"type":"Mesh","material":"$foliage:fruit","geometry":{"type":"SphereGeometry","radius":0.12,"widthSegments":14,"heightSegments":10},"position":[1.2,3.66,0.9348]},{"type":"Mesh","material":"$foliage:fruit","geometry":{"type":"SphereGeometry","radius":0.12,"widthSegments":14,"heightSegments":10},"position":[1.75,3.08,0.7068]},{"type":"Mesh","material":"$foliage:fruit","geometry":{"type":"SphereGeometry","radius":0.12,"widthSegments":14,"heightSegments":10},"position":[-0.9,4.02,0.8208]},{"type":"Mesh","material":"$foliage:fruit","geometry":{"type":"SphereGeometry","radius":0.12,"widthSegments":14,"heightSegments":10},"position":[0.275,4.18,0.7752]},{"type":"Mesh","material":"$foliage:fruit","geometry":{"type":"SphereGeometry","radius":0.12,"widthSegments":14,"heightSegments":10},"position":[0.975,4.04,0.5928]},{"type":"Mesh","material":"$foliage:fruit","geometry":{"type":"SphereGeometry","radius":0.16,"widthSegments":14,"heightSegments":10},"position":[-2.025,3.25,0.057]},{"type":"Mesh","material":"$foliage:fruit","geometry":{"type":"SphereGeometry","radius":0.16,"widthSegments":14,"heightSegments":10},"position":[2.025,3.18,0.1368]},{"type":"Mesh","material":"$foliage:fruit","geometry":{"type":"SphereGeometry","radius":0.16,"widthSegments":14,"heightSegments":10},"position":[-1.5,4.05,-0.7068]},{"type":"Mesh","material":"$foliage:fruit","geometry":{"type":"SphereGeometry","radius":0.16,"widthSegments":14,"heightSegments":10},"position":[1.475,3.92,0.798]},{"type":"Mesh","material":"$foliage:fruit","geometry":{"type":"SphereGeometry","radius":0.16,"widthSegments":14,"heightSegments":10},"position":[-0.3125,4.52,-0.8208]},{"type":"Mesh","material":"$foliage:fruit","geometry":{"type":"SphereGeometry","radius":0.16,"widthSegments":14,"heightSegments":10},"position":[0.525,4.46,0.8436]},{"type":"Mesh","material":"$foliage:fruit","geometry":{"type":"SphereGeometry","radius":0.16,"widthSegments":14,"heightSegments":10},"position":[-1.125,2.92,-0.8892]},{"type":"Mesh","material":"$foliage:fruit","geometry":{"type":"SphereGeometry","radius":0.16,"widthSegments":14,"heightSegments":10},"position":[1.1,2.9,0.9348]}]}}

Or take the whole pack, which brings every entry and every material at once:

cat packs/trees.ndjson model.ndjson > dressed.ndjson
Download trees pack 245 KB · NDJSON ↓