Skip to content

Python package

ra.texture_3d

3D textures applied to surfaces.

import rhinoartisan as ra

Wraps ArtisanPlugin.Scripting.Texture3DApi.

Functions

Function
create()texture_path optional image file (grayscale heightmap); omitted = the default texture.

ra.texture_3d.create()

ra.texture_3d.create(surface_id: IdLike, texture_path=None, u=None, v=None, height=None, rotation=None) -> str

texture_path optional image file (grayscale heightmap); omitted = the default texture. Defaults: 1x1 repeats, relief height 0.6, resolution 0.5. Returns the id of the textured object.

ParameterType
surface_idIdLikerequired
texture_pathstroptional — None = the tool default
uintoptional — None = the tool default
vintoptional — None = the tool default
heightfloatoptional — None = the tool default
rotationfloatoptional — None = the tool default