Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IfcOpenShell/IfcOpenShell
/ r
Function
r
src/ifcopenshell-python/ifcopenshell/geom/occ_utils.py:215–216 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
213
ais.SetMaterial(material)
214
215
def
r():
216
return
random.random() * 0.3 + 0.7
217
218
clr = Quantity.Quantity_Color(r(), r(), r(), Quantity.Quantity_TOC_RGB)
219
ais.SetColor(clr)
Callers
3
display_shape
Function · 0.70
taxonomy.h
File · 0.50
test_file_gc
Function · 0.50
Calls
no outgoing calls
Tested by
1
test_file_gc
Function · 0.40