This file is indexed.

/usr/share/k3d/scripts/user_properties.py is in k3d-data 0.8.0.3-3build1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#python

import k3d

context.document.start_change_set()
try:
	node = k3d.plugin.create("Null", context.document)
	node.name = "User Properties Test"

	k3d.property.create(node, "k3d::bool_t", "bool", "Boolean", "Boolean user property")
	k3d.property.create(node, "k3d::color", "color", "Color", "Color user property")
	k3d.property.create(node, "k3d::double_t", "double", "Double", "Double user property")
	k3d.property.create(node, "k3d::int32_t", "integer", "Integer", "Integer user property")	
	k3d.property.create(node, "k3d::matrix4", "matrix4", "Matrix4", "Matrix4 user property")	
	k3d.property.create(node, "k3d::string_t", "string", "String", "String user property")	
	k3d.property.create(node, "k3d::point3", "point3", "Point3", "Point user property")

	k3d.property.ri.create_attribute(node, "k3d::int32_t", "render", "ri_attribute_integer", "RenderMan Integer", "RenderMan Integer Attribute")
	k3d.property.ri.create_attribute(node, "k3d::double_t", "render", "ri_attribute_real", "RenderMan Real", "RenderMan Real Attribute")
	k3d.property.ri.create_attribute(node, "k3d::string_t", "render", "ri_attribute_string", "RenderMan String", "RenderMan String Attribute")
	k3d.property.ri.create_attribute(node, "k3d::point3", "render", "ri_attribute_point", "RenderMan Point", "RenderMan Point Attribute")
	k3d.property.ri.create_attribute(node, "k3d::vector3", "render2", "ri_attribute_vector", "RenderMan Vector", "RenderMan Vector Attribute")
	k3d.property.ri.create_attribute(node, "k3d::color", "render2", "ri_attribute_color", "RenderMan Color", "RenderMan Color Attribute")
	k3d.property.ri.create_attribute(node, "k3d::point4", "render2", "ri_attribute_hpoint", "RenderMan HPoint", "RenderMan HPoint Attribute")
	k3d.property.ri.create_attribute(node, "k3d::matrix4", "render2", "ri_attribute_matrix", "RenderMan Matrix", "RenderMan Matrix Attribute")

	node.string = "Howdy, World!"

	context.document.finish_change_set("User Property Sample")

except:
	context.document.cancel_change_set()
	raise