Is it possible to macro rendermesh settings?

I’m curious how possible it is to make macros for rendermesh settings.

Is it possible to make a macro for specific settings?

I deal with this alot with colleagues who are not very good about controlling it.

I want to get them to run a macro or something, so I’m looking into this.

These are the common settings I like, for small object inch units:
image
sometimes I change maximum angle to like 10 deg.

We commonly look at files with holes that are like 0.09375" dia., and they look aweful with coarse settings, so I think if I could get them to run a macro, it would be nice. :sweat_smile:

Here’s part of it, after the rendermesh adjustment:

!_selpolysrfs _explode _selsrfs _refreshshade _rebuildedges _enter _join _enter _showedges _enter

To make it better though I’d like to get the rendermesh settings automated. :face_holding_back_tears:

maybe starts something like:

!-DocumentProperties _Mesh _JaggedSeams=No _PackTexture=Yes _Refine=Yes _SimplePlanes=Yes _AdvancedOptions _Density=1 _Grid=16 _Angle=15.0 _AspectRatio=0 _Distance=0.0001 _MaxEdgeLength=0 _MinimumEdgeLength=0.0001 _Enter _Enter _Enter … :thinking:


hmm I think that worked…

lemme know if there’s a better way. :beers:

using chatgpt:

! _-DocumentProperties _Mesh _AdvancedOptions
_JaggedSeams=No _PackTexture=Yes _Refine=Yes _SimplePlanes=Yes
_Density=1 _Grid=16 _Angle=15 _Distance=0.0001 _MaxEdgeLength=0 _MinimumEdgeLength=0.0001
_Enter
:thinking:

wait did you guys fix the tool tips :smiley:

chatgpt forgot _enter _enter …

revision:

!
_-DocumentProperties _Mesh
_JaggedSeams=No
_PackTexture=Yes
_Refine=Yes
_SimplePlanes=Yes
_AdvancedOptions
_Density=1
_Grid=16
_Angle=15.0
_AspectRatio=0
_Distance=0.0001
_MaxEdgeLength=0
_MinimumEdgeLength=0.0001
_Enter
_Enter
_Enter

I think someone tought me how not to have to use 3 enters but I forgot. :grimacing: … can’t find the thread.

You can replace multiple final Enter commands with one EnterEnd.
-wim

1 Like

Note that in Rhino 8, once set initially, you can save custom mesh settings with a name:

You can also export them and import them into another installation.

2 Likes