<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
I recorded a script to try to understand how to export a time series of an isosurface as .x3d files so I can muck with them using blender. But when I look at the script, the crucial bit of exporting the .x3d did not get captured. Is that part not scriptable?
How can I go about finding out for myself which file formats can be exported from python scripts, if any?
<div>Thanks</div>
<div><br>
</div>
<div>Here is the script that got captured: </div>
<div><br>
</div>
<div>
<div style="margin: 0px; "><!--StartFragment-->try: paraview.simple</div>
<div style="margin: 0px; ">except: from paraview.simple import *</div>
<div style="margin: 0px; ">paraview.simple._DisableFirstRenderCameraReset()</div>
<div style="margin: 0px; "><br>
</div>
<div style="margin: 0px; ">plot_raw = VisItMirandaReader( FileName='/nfs/tmp2/rcook/miranda/IRM_512_r1/plot.raw' )</div>
<div style="margin: 0px; "><br>
</div>
<div style="margin: 0px; ">AnimationScene2 = GetAnimationScene()</div>
<div style="margin: 0px; ">AnimationScene1 = GetAnimationScene()</div>
<div style="margin: 0px; ">plot_raw.CellArrays = []</div>
<div style="margin: 0px; ">plot_raw.Materials = []</div>
<div style="margin: 0px; ">plot_raw.Meshes = ['mesh']</div>
<div style="margin: 0px; ">plot_raw.PointArrays = []</div>
<div style="margin: 0px; "><br>
</div>
<div style="margin: 0px; ">AnimationScene2.EndTime = 110.0</div>
<div style="margin: 0px; ">AnimationScene2.PlayMode = 'Snap To TimeSteps'</div>
<div style="margin: 0px; "><br>
</div>
<div style="margin: 0px; ">AnimationScene1.EndTime = 110.0</div>
<div style="margin: 0px; ">AnimationScene1.PlayMode = 'Snap To TimeSteps'</div>
<div style="margin: 0px; "><br>
</div>
<div style="margin: 0px; ">RenderView2 = GetRenderView()</div>
<div style="margin: 0px; ">DataRepresentation4 = Show()</div>
<div style="margin: 0px; ">DataRepresentation4.Representation = 'Outline'</div>
<div style="margin: 0px; ">DataRepresentation4.ScaleFactor = 51.200000000000003</div>
<div style="margin: 0px; ">DataRepresentation4.EdgeColor = [0.0, 0.0, 0.50000762951094835]</div>
<div style="margin: 0px; ">DataRepresentation4.SelectionCellFieldDataArrayName = 'density'</div>
<div style="margin: 0px; "><br>
</div>
<div style="margin: 0px; ">plot_raw.CellArrays = ['density']</div>
<div style="margin: 0px; "><br>
</div>
<div style="margin: 0px; ">CellDatatoPointData2 = CellDatatoPointData()</div>
<div style="margin: 0px; "><br>
</div>
<div style="margin: 0px; ">RenderView2.CameraFocalPoint = [255.5, 255.5, -0.5]</div>
<div style="margin: 0px; ">RenderView2.CameraClippingRange = [829.67380753909174, 2829.4767488865327]</div>
<div style="margin: 0px; ">RenderView2.CameraPosition = [-979.92119013571846, 1113.4340644820502, -820.67547187352602]</div>
<div style="margin: 0px; "><br>
</div>
<div style="margin: 0px; ">DataRepresentation5 = Show()</div>
<div style="margin: 0px; ">DataRepresentation5.EdgeColor = [0.0, 0.0, 0.50000762951094835]</div>
<div style="margin: 0px; ">DataRepresentation5.SelectionPointFieldDataArrayName = 'density'</div>
<div style="margin: 0px; ">DataRepresentation5.SelectionCellFieldDataArrayName = 'density'</div>
<div style="margin: 0px; ">DataRepresentation5.Representation = 'Outline'</div>
<div style="margin: 0px; ">DataRepresentation5.ScaleFactor = 51.200000000000003</div>
<div style="margin: 0px; "><br>
</div>
<div style="margin: 0px; ">DataRepresentation4.Visibility = 0</div>
<div style="margin: 0px; "><br>
</div>
<div style="margin: 0px; ">Contour2 = Contour( PointMergeMethod="Uniform Binning" )</div>
<div style="margin: 0px; "><br>
</div>
<div style="margin: 0px; ">Contour2.PointMergeMethod = "Uniform Binning"</div>
<div style="margin: 0px; ">Contour2.ContourBy = ['POINTS', 'density']</div>
<div style="margin: 0px; ">Contour2.Isosurfaces = [2.0]</div>
<div style="margin: 0px; "><br>
</div>
<div style="margin: 0px; ">DataRepresentation6 = Show()</div>
<div style="margin: 0px; ">DataRepresentation6.ScaleFactor = 51.200000000000003</div>
<div style="margin: 0px; ">DataRepresentation6.EdgeColor = [0.0, 0.0, 0.50000762951094835]</div>
<div style="margin: 0px; ">DataRepresentation6.SelectionPointFieldDataArrayName = 'Normals'</div>
<div style="margin: 0px; ">DataRepresentation6.SelectionCellFieldDataArrayName = 'density'</div>
<div style="margin: 0px; "><br>
</div>
<div style="margin: 0px; ">AnimationScene2.AnimationTime = 10.0</div>
<div style="margin: 0px; "><br>
</div>
<div style="margin: 0px; ">RenderView2.CameraViewUp = [-0.80853642549145055, -0.58010037415785698, 0.098754263479722132]</div>
<div style="margin: 0px; ">RenderView2.CacheKey = 10.0</div>
<div style="margin: 0px; ">RenderView2.CameraPosition = [402.40688029765732, -227.93136313665994, -1637.4840153022406]</div>
<div style="margin: 0px; ">RenderView2.CameraClippingRange = [1504.1196765479444, 1981.483268233957]</div>
<div style="margin: 0px; ">RenderView2.ViewTime = 10.0</div>
<div style="margin: 0px; ">RenderView2.RemoteRenderThreshold = 2.0</div>
<div style="margin: 0px; ">RenderView2.UseCache = 0</div>
<div style="margin: 0px; ">RenderView2.CameraFocalPoint = [255.5, 255.49999999999989, -0.49999999999999883]</div>
<div style="margin: 0px; "><br>
</div>
<div style="margin: 0px; ">Render()</div>
<div style="margin: 0px; "><br>
<!--EndFragment--></div>
<div apple-content-edited="true"><span class="Apple-style-span" style="border-collapse: separate; font-size: 13px; border-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Monaco; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Monaco; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Monaco; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Monaco; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Monaco; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Monaco; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Monaco; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; ">
<div>-- </div>
<div>✐Richard Cook </div>
<div>✇ Lawrence Livermore National Laboratory</div>
<div>Bldg-453 Rm-4024, Mail Stop L-557 </div>
<div>7000 East Avenue, Livermore, CA, 94550, USA</div>
<div>☎ (office) (925) 423-9605 </div>
<div>☎ (fax) (925) 423-6961</div>
<div>---</div>
<div>Information Management & Graphics Grp., Services & Development Div., Integrated Computing & Communications Dept.</div>
<div>(opinions expressed herein are mine and not those of LLNL)</div>
<br class="Apple-interchange-newline">
</span></span></span></span></span></span></span><br class="Apple-interchange-newline">
</span></div>
<br>
</div>
</body>
</html>