How to set the line width of a model in slice display?

How to set the line width of a modle in slice display by python?

@lassoan@Juicy@jamesobutler @jcfr @pieper
Like this:

@lassoan@Juicy@jamesobutler @jcfr @pieper

I try:


the line width fo the modle is changed in 3d slice with line frame only…

Yes, that is how it is supposed to work. If you need the model of a larger diameter needle, screw, etc. then you can create or load a model of a larger object or apply a scaling transform to your the model (linear transform of a 4x4 diagonal matrix, with values >1.0 in one or more of the first 3 values, and 1.0 as the last value).