AlanMattano
(Soaring Stars lab)
January 16, 2020, 4:29pm
1
A place where to find common custom buttons made by Rhinoceros 3D users
Feel free to place here your custom Rhino buttons. A way not to lose the custom code, just in case overwritten by the new install.
Rendered
Left tooltip:
Set the Display mode to “Rendered”.
Command:
'_SetDisplayMode _Viewport=_Active _Mode=_Rendered
Points Toggle
Left tooltip:
Toggle showing or hiding object control points
Command:
! _-RunPythonScript (
import rhinoscriptsyntax as rs
def toggle_control_points():
ids = rs.GetObjects("Select objects", preselect=True)
if not ids: return
for id in ids:
if rs.ObjectGripsOn(id):
rs.EnableObjectGrips(id, False)
else:
rs.EnableObjectGrips(id, True)
toggle_control_points()
)
Show UV Editor
Left tooltip:
Select a mesh and show the UV texture mapping Editor in one click on Top view always in the same place.
Command:
! _NextViewportToTop
_UVEditor
2,2
4
4
enter
MeshFromRender
Left tooltip:
Convert to Mesh extracting render mesh
Command:
! _ExtractRenderMesh _Hide
RenderMesh
Left tooltip:
Show display the Render Mesh
Command:
! _ShowRenderMesh
Right tooltip:
Hide the Render Mesh
Command:
! _HideRenderMesh
.
AlanMattano
(Soaring Stars lab)
January 16, 2020, 4:59pm
2
Export Import Buttons
Blender
Left tooltip:
Export OBJ to Blender
Command:
! -_Export _GeometryOnly=_Yes _SaveTextures=_No _SaveNotes=_No _SaveSmall=_Yes
"X:\DoNotMove\Rhino-Blender\mesh.obj"
VertexWelding=Unmodified YUp=Yes enter enter
Right tooltip:
Import OBJ from Blender
Command:
! -_Import
"X:\DoNotMove\Rhino-Blender\mesh.obj"
MapYtoZ=Yes
enter
Rizom
Left tooltip:
Export OBJ to RizomUV
Command:
! -_Export _GeometryOnly=_Yes _SaveTextures=_No _SaveNotes=_No _SaveSmall=_Yes
"C:\Users\...\AppData\Local\RhinoRizomUV.obj"
VertexWelding=Unmodified YUp=Yes enter enter
Right tooltip:
Delete and Import OBJ from RizomUV
Command:
!Delete
-_Import
"C:\Users\...\AppData\Local\RhinoRizomUV.obj"
MapYtoZ=Yes
enter
Painter
Left tooltip:
Export FBX to Substance Painter
Command:
! -_Export _GeometryOnly=_Yes _SaveTextures=_No _SaveNotes=_No _SaveSmall=_Yes
"X:\DoNotMove\Painter\mesh.fbx"
ExportNurbsObjectsAs=Mesh ExportMaterialsAs=Phong YUp=No ExportFileAs=Version7Binary enter enter
Right tooltip:
Import OBJ from Painter
Command:
! -_Import
"X:\DoNotMove\Painter\mesh.obj"
MapYtoZ=Yes
enter
Unity
Left tooltip:
Export FBX To Unity
Command:
! -_Export _GeometryOnly=_Yes _SaveTextures=_No _SaveNotes=_No _SaveSmall=_Yes
"X:\Your Unity PROYECT Path Assets\Models\Folder\filename.fbx"
ExportNurbsObjectsAs=Mesh ExportMaterialsAs=Phong YUp=Yes ExportFileAs=Version7Binary enter enter