Простенький код:
PHP:
скопировать код в буфер обмена
скопировать код в буфер обмена
- $inptData = " <shape>
- <appearance>
- <material diffuseColor='0.3412 0.8824 0.7765'></material>
- </appearance>
- <indexedFaceSet>
- <coordinate USE='Verticals-COORD'></coordinate>
- </indexedFaceSet>
- </shape>
- <shape>
- <appearance>
- <material diffuseColor='0.3412 0.8824 0.7765'></material>
- </appearance>
- <indexedFaceSet>
- <coordinate USE='Verticals-COORD'></coordinate>
- </indexedFaceSet>
- </shape>
- <shape>
- <appearance>
- <material diffuseColor='0.3412 0.8824 0.7765'></material>
- </appearance>
- <indexedFaceSet>
- <coordinate USE='Verticals-COORD'></coordinate>
- </indexedFaceSet>
- </shape>";