Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
{
	objects: {
		id: "54dd1d25-4c58-4af2-96a1-1d26fa440177",
		name: "Element",
		type: "IFCWall",
		division: "10074EEF-9418-4D64-9C6D-23932835A7F1",
		division,
		parent: null,
		attributes: {
			general: {
				name: "<PP>Wall layer",
				valid: true
			},
			quantity: {
				length: 8523.27,
				width: 300,
				height: 2500,
				volume: 6392448992.508584,
				area: 21308163.308361948
			},
			<...>,
		},
		children: <child_objects>}

	},
	{...},
	...
}

For the project topology the depth of the tree will be filtered till the node type "subproject".

...

Code Block
{
	colors: [123414, 9817413, ....],
	objects: [
		{
			id: "54dd1d25-4c58-4af2-96a1-1d26fa440177",
			name: "Element",
			type: "IFCWall",
			division: "10074EEF-9418-4D64-9C6D-23932835A7F1",
			division,
			parent: null,
			attributes: {
				general: {
					name: "<PP>Wall layer",
					valid: true
				},
				quantity: {
					length: 8523.27,
					width: 300,
					height: 2500,
					volume: 6392448992.508584,
					area: 21308163.308361948
				},
				<...>,
				geometry: {
					mesh: {<mesh_type_geometry>}
				}
			},
			children: <child_objects>
		},
		{...},
		...
	],
}

...

Code Block
{
	elementcount: 14312,
	viewbox: {
		x: 827364,
		y: 23765,
		z: 2974652,
		with: 827346,
		height: 2873456,
		depth: 1726354
	},
	colors: [123414, 9817413, ....],
	objects: [
		{
			id: "54dd1d25-4c58-4af2-96a1-1d26fa440177",
			name: "Element",
			type: "IFCWall",
			division: "10074EEF-9418-4D64-9C6D-23932835A7F1",
			division,
			parent: null,
			attributes: {
				general: {
					name: "<PP>Wall layer",
					valid: true
				},
				quantity: {
					length: 8523.27,
					width: 300,
					height: 2500,
					volume: 6392448992.508584,
					area: 21308163.308361948
				},
				<...>,
				geometry: {
					threejs: {<threejs_type_geometry>}
				}
			},
			children: <child_objects>
		},
		{...},
		...
	],
}

...