I’d like to be able to control the # of layers my sweep mesh makes when I’m sweeping a meshed surface into a volume. The doco at Creating Volumes says
include_mesh : This option will sweep the source surface and existing mesh into a meshed 3D solid. The mesh size is automatically computed using the Default auto interval specification.
I know I can adjust the Set Auto Size Default <value> but that isn’t the same as the interval, which I can’t seem to find a way to change. Is there some var I can set to control the interval?
Something like getting half as many mesh layers when doing
cubit.cmd('create surface circle radius 0.1 zplane ')
cubit.cmd('undo group begin')
cubit.cmd('surface 1 interval ')
cubit.cmd('mesh surface 1 ')
cubit.cmd('undo group end')
cubit.cmd('sweep surface 1 perpendicular distance 0.5 include_mesh keep ')
To my knowledge there isn’t a way to do this when using the described approach for creating the 3D volume. There is, however, a different approach that does allow you to do this: create the BREP first, then mesh with a sweep, specifying the number of intervals on the linking curves.
Hi, thanks for the reply! This didn’t quite work for me on my geometry (the linking curve part) but it did inspire a solution that works well: instead of just sweeping the surface into a volume I created a curve to sweep around and I could set the interval of the curve then mesh a surface then the volume. Thanks again!