Reply To: Look and Feel of REVOLVEs

Home Forums Problems and solutions in GDL 3D modelling Look and Feel of REVOLVEs Reply To: Look and Feel of REVOLVEs

#4497
Péter Baksa
Keymaster

Hi,

REVOLVE was designed to work with curved profiles, use status code 2 on sharp edges,

roty -90
material mat
revolve{2} 10, 0, 360, 4+8, mat,
		0,	1,	2,	mat,	! sharp edge
		0,	2,	1,	mat,	! smooth edge, contour not shown
		0.02,	2.05,	1,	mat,
		0.05,	2.08,	1,	mat,
		0.1,	2.1,	0,	mat,	! smooth edge, contour shown
		0.9,	2.1,	0,	mat,
		0.95,	2.08,	1,	mat,
		0.98,	2.05,	1,	mat,
		1,	2,	1,	mat,
		1,	1,	2,	mat

del 1

This means you can’t have a sharp edge without a contour.

Péter Baksa
Library Platform, Software Engineer
GRAPHISOFT SE