cone_1_00.x3d source
<?xml version="1.0" encoding="UTF-8"?>

<X3D>
<Scene>
<Viewpoint/>
<NavigationInfo
type='
"EXAMINE"'
/>

<Group DEF='Gp'>
</Group>

<Script DEF='Sc'>
<field accessType='outputOnly' type='MFNode' name='children'/>
<![CDATA[ecmascript:

function initialize() {

var coneStr = 'Shape { geometry Cone {} }';

children[0] = new SFNode ( coneStr );

}

]]>
</Script>

<ROUTE fromNode='Sc' fromField='children' toNode='Gp' toField='children'/>
</Scene>
</X3D>