From 93aca2664eb3ae9ad00719095f38d0c7954e839a Mon Sep 17 00:00:00 2001 From: chuongmep <31106432+chuongmep@users.noreply.github.com> Date: Sun, 17 Mar 2024 22:48:59 +0800 Subject: [PATCH] Update 09. Explore SVF - Export SVF Viewer.ipynb --- .../09. Explore SVF - Export SVF Viewer.ipynb | 194 +++++++----------- 1 file changed, 75 insertions(+), 119 deletions(-) diff --git a/APSToolkitPython/Tutorials/09. Explore SVF - Export SVF Viewer.ipynb b/APSToolkitPython/Tutorials/09. Explore SVF - Export SVF Viewer.ipynb index fe248ac..0d31d47 100644 --- a/APSToolkitPython/Tutorials/09. Explore SVF - Export SVF Viewer.ipynb +++ b/APSToolkitPython/Tutorials/09. Explore SVF - Export SVF Viewer.ipynb @@ -134,11 +134,11 @@ }, { "cell_type": "code", - "execution_count": 5, + "execution_count": 48, "metadata": {}, "outputs": [], "source": [ - "urn = \"dXJuOmFkc2sud2lwcHJvZDpmcy5maWxlOnZmLnRfTFFVUDZoU3l5UXo5bm1sTE1FUHc_dmVyc2lvbj02\"" + "urn = \"dXJuOmFkc2sud2lwcHJvZDpmcy5maWxlOnZmLk9kOHR4RGJLU1NlbFRvVmcxb2MxVkE_dmVyc2lvbj0yOA\"" ] }, { @@ -150,7 +150,7 @@ }, { "cell_type": "code", - "execution_count": 6, + "execution_count": 49, "metadata": {}, "outputs": [], "source": [ @@ -159,7 +159,7 @@ }, { "cell_type": "code", - "execution_count": 13, + "execution_count": 50, "metadata": {}, "outputs": [], "source": [ @@ -168,34 +168,22 @@ }, { "cell_type": "code", - "execution_count": 38, + "execution_count": 51, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ - "d2ec690f-6c36-33df-081a-59bc7c213c51\n", + "a4e4238d-a839-5b6a-ad55-42f5e125f820\n", "application/autodesk-svf\n", - "mats/metal/external.dependency/simple_metal_mtl_break_pattern.jpg\n", - "mats/metal/external.dependency/simple_metal_mtl_brush_pattern.jpg\n", - "mats/metal/external.dependency/simple_metal_mtl_checkerplate_pattern.jpg\n", - "mats/metal/external.dependency/simple_metal_mtl_diamondplate_pattern.jpg\n", - "3/mats/plastic_course_bump.png\n", - "1/mats/metals.ornamental metals.aluminum.brushed.random.png\n", - "3/mats/galvanized_small_anisdir.png\n", - "3/mats/galvanized_small_color_svf_tex_mod.jpg\n", - "3/mats/galvanized_small_color.jpg\n", - "3/mats/galvanized_small_rough.png\n", - "3/mats/galvanized_small_spec.png\n", - "3/mats/metals.metal fabrications.metal stairs.galvanized.png\n", "../../objects_attrs.json.gz\n", "../../objects_vals.json.gz\n", "../../objects_ids.json.gz\n", "../../objects_viewables.json.gz\n", "../../objects_offs.json.gz\n", "../../objects_avs.json.gz\n", - "ProteinMaterials.json.gz\n", + "Materials.json.gz\n", "CameraDefinitions.bin\n", "LightDefinitions.bin\n", "0.pf\n", @@ -204,28 +192,12 @@ "3.pf\n", "4.pf\n", "5.pf\n", - "6.pf\n", - "7.pf\n", - "8.pf\n", - "9.pf\n", - "10.pf\n", - "11.pf\n", - "12.pf\n", - "13.pf\n", - "14.pf\n", - "15.pf\n", - "16.pf\n", - "17.pf\n", - "18.pf\n", - "19.pf\n", - "20.pf\n", "GeometryMetadata.pf\n", "FragmentList.pack\n", "CameraList.bin\n", "LightList.bin\n", "InstanceTree.bin\n", - "Set.bin\n", - "Materials.json.gz\n" + "Set.bin\n" ] } ], @@ -240,51 +212,16 @@ }, { "cell_type": "code", - "execution_count": 16, + "execution_count": 52, "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Unsupported material definition: Generic\n", - "Unsupported material definition: Generic\n", - "Unsupported material definition: Generic\n", - "Unsupported material definition: Metal\n", - "Unsupported material definition: Generic\n", - "Unsupported material definition: PlasticVinyl\n", - "Unsupported material definition: Generic\n", - "Unsupported material definition: PlasticVinyl\n", - "Unsupported material definition: Generic\n", - "Unsupported material definition: Generic\n", - "Unsupported material definition: Generic\n", - "Unsupported material definition: Generic\n", - "Unsupported material definition: Glazing\n", - "Unsupported material definition: Generic\n", - "Unsupported material definition: Generic\n", - "Unsupported material definition: Generic\n", - "Unsupported material definition: Glazing\n", - "Unsupported material definition: Glazing\n", - "Unsupported material definition: PlasticVinyl\n", - "Unsupported material definition: Metal\n", - "Unsupported material definition: PrismMetal\n", - "Unsupported material definition: Metal\n", - "Unsupported material definition: Generic\n", - "Unsupported material definition: Generic\n", - "Unsupported material definition: Generic\n", - "Unsupported material definition: Generic\n", - "Unsupported material definition: Metal\n", - "Unsupported material definition: Metal\n" - ] - } - ], + "outputs": [], "source": [ "contents = svfReader.read_contents(manifests_item)" ] }, { "cell_type": "code", - "execution_count": 40, + "execution_count": 58, "metadata": {}, "outputs": [ { @@ -332,65 +269,32 @@ "
15200 rows × 1 columns
\n", "" ], "text/plain": [ - " 0\n", - "0