Reply To: Aligning REVOLVE and BPRISM geometry

Home Forums Problems and solutions in GDL 3D modelling Aligning REVOLVE and BPRISM geometry Reply To: Aligning REVOLVE and BPRISM geometry

#18488
shaun coomber
Participant

Right, my next problem is that REVOLVE{2} is missing the top and base surfaces, which were present with REVOLVE. Image attached, and example GDL below. Any ideas on this would be appreciated…

! Attributes

BUILDING_MATERIAL shellMaterial
n = REQUEST{2} (“Building_Material_info”, shellMaterial, “gs_bmat_surface”, shellSurface)

! Dimensions

diskWidth = 0.500
diskHeight = 0.200
lipWidth = 0.100

! REVOLVE

PUT 0, 0.5*diskWidth, 2,
0.5*diskHeight, 0.5*diskWidth + lipWidth, 2,
diskHeight, 0.5*diskWidth, 2

ROTY -90
REVOLVE NSP/3, 360, 15, GET(NSP)
DEL 1

! REVOLVE{2}

PUT 0, 0.5*diskWidth, 2, shellSurface,
0.5*diskHeight, 0.5*diskWidth + lipWidth, 2, shellSurface,
diskHeight, 0.5*diskWidth, 2, shellSurface

ADDZ 1
ROTY -90
REVOLVE{2} NSP/4, 0, 360, 15, shellSurface, GET(NSP)
DEL 2

Attachments: