bimtex

trees

Plain round tree 2

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

  • 38of 500 meshes
  • 2slots
  • 2finishes

Drag to orbit · scroll to zoom

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

This definition leaves $foliage and $bark 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 2 materialdefs the body resolves to, then the definition. Copying the lookdef alone still compiles and still validates — it just renders grey.

{"t":"materialdef","id":"pal-leaf-pale","of":"foliage","value":58}
{"t":"materialdef","id":"pal-timber-dark","of":"timber","value":42}
{"t":"lookdef","id":"plain-round-tree-2","for":"tree","desc":"Generic shade tree with an open branching trunk and a soft but legible round crown.","slots":{"foliage":"pal-leaf-pale","bark":"pal-timber-dark"},"body":{"type":"Group","children":[{"type":"Mesh","material":"$bark","geometry":{"type":"LatheGeometry","profile":[[0,0],[0.38,0],[0.3,0.28],[0.2,0.72],[0.15,1.8],[0.11,2.65],[0,2.9]],"segments":20}},{"type":"Mesh","material":"$bark","geometry":{"type":"TubeGeometry","path":[[0,0.12,0],[-0.2496,0.06,0.0576],[-0.52,0,0.12]],"radius":0.08,"radialSegments":9,"tubularSegments":16,"curve":"spline"}},{"type":"Mesh","material":"$bark","geometry":{"type":"TubeGeometry","path":[[0,0.12,0],[0.24,0.06,-0.06720000000000001],[0.5,0,-0.14]],"radius":0.08,"radialSegments":9,"tubularSegments":16,"curve":"spline"}},{"type":"Mesh","material":"$bark","geometry":{"type":"TubeGeometry","path":[[0,0.12,0],[-0.08639999999999999,0.06,-0.192],[-0.18,0,-0.4]],"radius":0.07,"radialSegments":9,"tubularSegments":16,"curve":"spline"}},{"type":"Mesh","material":"$bark","geometry":{"type":"TubeGeometry","path":[[0,1.75,0],[-0.52,2.35,0.08],[-1.12,3,0.22]],"radius":0.09,"radialSegments":9,"tubularSegments":16,"curve":"spline"}},{"type":"Mesh","material":"$bark","geometry":{"type":"TubeGeometry","path":[[0,1.82,0],[0.55,2.38,0.1],[1.1,3.05,0.25]],"radius":0.09,"radialSegments":9,"tubularSegments":16,"curve":"spline"}},{"type":"Mesh","material":"$bark","geometry":{"type":"TubeGeometry","path":[[0,2,0],[-0.18,2.6,-0.42],[-0.5,3.35,-0.82]],"radius":0.075,"radialSegments":9,"tubularSegments":16,"curve":"spline"}},{"type":"Mesh","material":"$bark","geometry":{"type":"TubeGeometry","path":[[0,2.08,0],[0.22,2.7,0.38],[0.58,3.4,0.78]],"radius":0.075,"radialSegments":9,"tubularSegments":16,"curve":"spline"}},{"type":"Group","position":[0,3.5,0],"rotation":[0.1,0.3,0],"children":[{"type":"Mesh","material":"$foliage","geometry":{"type":"IcosahedronGeometry","radius":1,"detail":2},"position":[-0.3528,0,0],"scale":[1.04328,0.819375,0.9108],"rotation":[0.08,0.22,-0.08]},{"type":"Mesh","material":"$foliage","geometry":{"type":"IcosahedronGeometry","radius":1,"detail":2},"position":[0.3528,0.076,0.11],"scale":[1.04328,0.80845,0.8855],"rotation":[-0.06,0.74,0.1]},{"type":"Mesh","material":"$foliage","geometry":{"type":"IcosahedronGeometry","radius":1,"detail":2},"position":[0,-0.133,-0.154],"scale":[0.98532,0.76475,0.8602],"rotation":[0.1,1.18,-0.05]}]},{"type":"Group","position":[-1.311,3.4,0.05],"rotation":[0.3,1.1,0.1],"children":[{"type":"Mesh","material":"$foliage","geometry":{"type":"IcosahedronGeometry","radius":1,"detail":2},"position":[-0.28896,0,0],"scale":[0.854496,0.67275,0.746856],"rotation":[0.08,0.22,-0.08]},{"type":"Mesh","material":"$foliage","geometry":{"type":"IcosahedronGeometry","radius":1,"detail":2},"position":[0.28896,0.0624,0.0902],"scale":[0.854496,0.66378,0.72611],"rotation":[-0.06,0.74,0.1]},{"type":"Mesh","material":"$foliage","geometry":{"type":"IcosahedronGeometry","radius":1,"detail":2},"position":[0,-0.1092,-0.12628],"scale":[0.807024,0.6279,0.705364],"rotation":[0.1,1.18,-0.05]}]},{"type":"Group","position":[1.311,3.42,0.08],"rotation":[0.2,2,-0.08],"children":[{"type":"Mesh","material":"$foliage","geometry":{"type":"IcosahedronGeometry","radius":1,"detail":2},"position":[-0.29568,0,0],"scale":[0.874368,0.67275,0.765072],"rotation":[0.08,0.22,-0.08]},{"type":"Mesh","material":"$foliage","geometry":{"type":"IcosahedronGeometry","radius":1,"detail":2},"position":[0.29568,0.0624,0.0924],"scale":[0.874368,0.66378,0.74382],"rotation":[-0.06,0.74,0.1]},{"type":"Mesh","material":"$foliage","geometry":{"type":"IcosahedronGeometry","radius":1,"detail":2},"position":[0,-0.1092,-0.12936],"scale":[0.825792,0.6279,0.722568],"rotation":[0.1,1.18,-0.05]}]},{"type":"Group","position":[-0.72105,4.15,-0.12],"rotation":[0.4,2.9,0.08],"children":[{"type":"Mesh","material":"$foliage","geometry":{"type":"IcosahedronGeometry","radius":1,"detail":2},"position":[-0.27552,0,0],"scale":[0.814752,0.621,0.710424],"rotation":[0.08,0.22,-0.08]},{"type":"Mesh","material":"$foliage","geometry":{"type":"IcosahedronGeometry","radius":1,"detail":2},"position":[0.27552,0.0576,0.0858],"scale":[0.814752,0.61272,0.69069],"rotation":[-0.06,0.74,0.1]},{"type":"Mesh","material":"$foliage","geometry":{"type":"IcosahedronGeometry","radius":1,"detail":2},"position":[0,-0.1008,-0.12012],"scale":[0.769488,0.5796,0.670956],"rotation":[0.1,1.18,-0.05]}]},{"type":"Group","position":[0.72105,4.18,0.12],"rotation":[0.2,3.8,-0.06],"children":[{"type":"Mesh","material":"$foliage","geometry":{"type":"IcosahedronGeometry","radius":1,"detail":2},"position":[-0.28224,0,0],"scale":[0.834624,0.629625,0.72864],"rotation":[0.08,0.22,-0.08]},{"type":"Mesh","material":"$foliage","geometry":{"type":"IcosahedronGeometry","radius":1,"detail":2},"position":[0.28224,0.0584,0.088],"scale":[0.834624,0.62123,0.7084],"rotation":[-0.06,0.74,0.1]},{"type":"Mesh","material":"$foliage","geometry":{"type":"IcosahedronGeometry","radius":1,"detail":2},"position":[0,-0.1022,-0.1232],"scale":[0.788256,0.58765,0.68816],"rotation":[0.1,1.18,-0.05]}]},{"type":"Group","position":[-1.50765,4.02,0.25],"rotation":[0.3,4.7,0.06],"children":[{"type":"Mesh","material":"$foliage","geometry":{"type":"IcosahedronGeometry","radius":1,"detail":2},"position":[-0.2184,0,0],"scale":[0.64584,0.50025,0.582912],"rotation":[0.08,0.22,-0.08]},{"type":"Mesh","material":"$foliage","geometry":{"type":"IcosahedronGeometry","radius":1,"detail":2},"position":[0.2184,0.0464,0.0704],"scale":[0.64584,0.49358,0.56672],"rotation":[-0.06,0.74,0.1]},{"type":"Mesh","material":"$foliage","geometry":{"type":"IcosahedronGeometry","radius":1,"detail":2},"position":[0,-0.0812,-0.09856],"scale":[0.60996,0.4669,0.550528],"rotation":[0.1,1.18,-0.05]}]},{"type":"Group","position":[1.54698,4,-0.18],"rotation":[0.2,5.6,-0.05],"children":[{"type":"Mesh","material":"$foliage","geometry":{"type":"IcosahedronGeometry","radius":1,"detail":2},"position":[-0.22512,0,0],"scale":[0.665712,0.5175,0.59202],"rotation":[0.08,0.22,-0.08]},{"type":"Mesh","material":"$foliage","geometry":{"type":"IcosahedronGeometry","radius":1,"detail":2},"position":[0.22512,0.048,0.0715],"scale":[0.665712,0.5106,0.575575],"rotation":[-0.06,0.74,0.1]},{"type":"Mesh","material":"$foliage","geometry":{"type":"IcosahedronGeometry","radius":1,"detail":2},"position":[0,-0.084,-0.1001],"scale":[0.628728,0.483,0.55913],"rotation":[0.1,1.18,-0.05]}]},{"type":"Group","position":[0,4.62,0],"rotation":[0.3,0.8,0.04],"children":[{"type":"Mesh","material":"$foliage","geometry":{"type":"IcosahedronGeometry","radius":1,"detail":2},"position":[-0.252,0,0],"scale":[0.7452,0.53475,0.655776],"rotation":[0.08,0.22,-0.08]},{"type":"Mesh","material":"$foliage","geometry":{"type":"IcosahedronGeometry","radius":1,"detail":2},"position":[0.252,0.0496,0.0792],"scale":[0.7452,0.52762,0.63756],"rotation":[-0.06,0.74,0.1]},{"type":"Mesh","material":"$foliage","geometry":{"type":"IcosahedronGeometry","radius":1,"detail":2},"position":[0,-0.0868,-0.11088],"scale":[0.7038,0.4991,0.619344],"rotation":[0.1,1.18,-0.05]}]},{"type":"Group","position":[-0.32775,3,0.68],"rotation":[0.2,1.7,-0.04],"children":[{"type":"Mesh","material":"$foliage","geometry":{"type":"IcosahedronGeometry","radius":1,"detail":2},"position":[-0.24192,0,0],"scale":[0.715392,0.53475,0.619344],"rotation":[0.08,0.22,-0.08]},{"type":"Mesh","material":"$foliage","geometry":{"type":"IcosahedronGeometry","radius":1,"detail":2},"position":[0.24192,0.0496,0.0748],"scale":[0.715392,0.52762,0.60214],"rotation":[-0.06,0.74,0.1]},{"type":"Mesh","material":"$foliage","geometry":{"type":"IcosahedronGeometry","radius":1,"detail":2},"position":[0,-0.0868,-0.10472],"scale":[0.675648,0.4991,0.584936],"rotation":[0.1,1.18,-0.05]}]},{"type":"Group","position":[0.41952,3.08,-0.7],"rotation":[0.3,2.6,0.05],"children":[{"type":"Mesh","material":"$foliage","geometry":{"type":"IcosahedronGeometry","radius":1,"detail":2},"position":[-0.2352,0,0],"scale":[0.69552,0.5175,0.601128],"rotation":[0.08,0.22,-0.08]},{"type":"Mesh","material":"$foliage","geometry":{"type":"IcosahedronGeometry","radius":1,"detail":2},"position":[0.2352,0.048,0.0726],"scale":[0.69552,0.5106,0.58443],"rotation":[-0.06,0.74,0.1]},{"type":"Mesh","material":"$foliage","geometry":{"type":"IcosahedronGeometry","radius":1,"detail":2},"position":[0,-0.084,-0.10164],"scale":[0.65688,0.483,0.567732],"rotation":[0.1,1.18,-0.05]}]}]},"preview":{"projection":"perspective","azimuth":-36,"elevation":14,"fov":30,"margin":1.03}}

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 ↓