<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Manipulating the Clipping Plane in VR in VRED Forum</title>
    <link>https://forums.autodesk.com/t5/vred-forum/manipulating-the-clipping-plane-in-vr/m-p/12749036#M575</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I noticed if you go to the link shown at the top of the first URL that Christian mentioned, the scripts can be downloaded from there.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-Dan&lt;/P&gt;</description>
    <pubDate>Thu, 02 May 2024 18:17:46 GMT</pubDate>
    <dc:creator>__daniel.lincoln__</dc:creator>
    <dc:date>2024-05-02T18:17:46Z</dc:date>
    <item>
      <title>Manipulating the Clipping Plane in VR</title>
      <link>https://forums.autodesk.com/t5/vred-forum/manipulating-the-clipping-plane-in-vr/m-p/12715181#M571</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We would like to manipulate the clipping plane during a VR session. Right now someone from outside can change the position and the angle of the clipping plane but it would be much more intuitive if the person with the headset can move the clipping plane. While I was researching regarding this I just saw a help page where it seems like there was a Python code for this (&lt;A href="https://help.autodesk.com/view/VREDPRODUCTS/2022/ENU/?guid=VRED_VR_and_VR_Setup_VR_Menu_html" target="_blank" rel="noopener"&gt;here&lt;/A&gt;). However when I follow the link, it sends me to a page where the only thing I can find is a list of Python codes I can use (&lt;A href="https://help.autodesk.com/view/VREDPRODUCTS/2022/ENU/?guid=VRED_Python_Documentation_Python_API_V1_vrClippingModule_module_html" target="_blank" rel="noopener"&gt;&lt;EM&gt;Module vrClippingModule&lt;/EM&gt;&lt;/A&gt;). I can see that we can build a new tool by using these functions, but it seems like there is already a tool for this. I am attaching below the screenshot of what I can see on the first help page.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anybody help me with this? Is there a tool for this already somewhere?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;Emre&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="toolsmenu_home.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1351118iEB21FB5F661A6D0D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="toolsmenu_home.png" alt="toolsmenu_home.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2024 16:28:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/manipulating-the-clipping-plane-in-vr/m-p/12715181#M571</guid>
      <dc:creator>emre_ergene4YJKG</dc:creator>
      <dc:date>2024-04-17T16:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: Manipulating the Clipping Plane in VR</title>
      <link>https://forums.autodesk.com/t5/vred-forum/manipulating-the-clipping-plane-in-vr/m-p/12746193#M572</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was just about to give up looking into editing the clipping plane dynamically in VR since there was no reply. But today I just saw &lt;A href="https://youtu.be/8aCPgWggwH4?si=X97s0sHXBfICIkkk&amp;amp;t=111" target="_blank" rel="noopener"&gt;this video&lt;/A&gt; on YouTube from 2016, almost 7 years ago, showing this interactive clipping tool, exactly the tool we are looking for.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wonder, has this tool been discontinued? If so, why? Or, is the tool we see in the video something custom made by a certain company?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anybody give me an idea?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;BR /&gt;Emre&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2024 14:53:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/manipulating-the-clipping-plane-in-vr/m-p/12746193#M572</guid>
      <dc:creator>emre_ergene4YJKG</dc:creator>
      <dc:date>2024-05-01T14:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: Manipulating the Clipping Plane in VR</title>
      <link>https://forums.autodesk.com/t5/vred-forum/manipulating-the-clipping-plane-in-vr/m-p/12747675#M573</link>
      <description>&lt;P&gt;Hi, what you see in the video was the first VR Tool provided for Vred. It was not inside Vred buy some python to be added manually.&lt;/P&gt;
&lt;P&gt;From the 2018 or 2019 version it was replaced by the actual out of the box VR menu.&lt;/P&gt;
&lt;P&gt;You can still find it here:&amp;nbsp;&lt;A href="https://www.autodesk.com/support/technical/article/caas/tsarticles/ts/2tj0Q3UeUkNDTWj5zvg5ty.html" target="_blank"&gt;https://www.autodesk.com/support/technical/article/caas/tsarticles/ts/2tj0Q3UeUkNDTWj5zvg5ty.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Note that it was written for Vred 2017, so it will be quite old...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think the bast way is to write your own code to add a new feature to the vr menu following the examples you can find in the help&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.autodesk.com/view/VREDPRODUCTS/2025/ENU/?guid=11Tutorial-VREDPro" target="_blank"&gt;https://help.autodesk.com/view/VREDPRODUCTS/2025/ENU/?guid=11Tutorial-VREDPro&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.autodesk.com/view/VREDPRODUCTS/2025/ENU/?guid=11Tutorial-VREDPro" target="_blank"&gt;https://help.autodesk.com/view/VREDPRODUCTS/2025/ENU/?guid=11Tutorial-VREDPro&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;in Vr Menu section&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best&lt;/P&gt;
&lt;P&gt;Chris&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2024 08:09:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/manipulating-the-clipping-plane-in-vr/m-p/12747675#M573</guid>
      <dc:creator>Christian_Garimberti</dc:creator>
      <dc:date>2024-05-02T08:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: Manipulating the Clipping Plane in VR</title>
      <link>https://forums.autodesk.com/t5/vred-forum/manipulating-the-clipping-plane-in-vr/m-p/12748759#M574</link>
      <description>&lt;P&gt;Hi Christian, thank you for shedding light on the subject, it is very much appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried to download the old VR menu sample files just to have a look but, unfortunately, the links are not working anymore. Looks like we will write our own code from scratch. But I am still puzzled, why such a simple, useful and needed tool is not included on the default VR menu? Especially since there has been one written before.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyway, thanks again for the input.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;BR /&gt;Emre&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2024 16:14:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/manipulating-the-clipping-plane-in-vr/m-p/12748759#M574</guid>
      <dc:creator>emre_ergene4YJKG</dc:creator>
      <dc:date>2024-05-02T16:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: Manipulating the Clipping Plane in VR</title>
      <link>https://forums.autodesk.com/t5/vred-forum/manipulating-the-clipping-plane-in-vr/m-p/12749036#M575</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I noticed if you go to the link shown at the top of the first URL that Christian mentioned, the scripts can be downloaded from there.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-Dan&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2024 18:17:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/manipulating-the-clipping-plane-in-vr/m-p/12749036#M575</guid>
      <dc:creator>__daniel.lincoln__</dc:creator>
      <dc:date>2024-05-02T18:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: Manipulating the Clipping Plane in VR</title>
      <link>https://forums.autodesk.com/t5/vred-forum/manipulating-the-clipping-plane-in-vr/m-p/12750532#M576</link>
      <description>&lt;P&gt;Hi Dan,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Great tip, I could download the file and the script from there. Will give them a go when I'm back at the office.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much,&lt;/P&gt;&lt;P&gt;Emre Ergene&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2024 11:32:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/manipulating-the-clipping-plane-in-vr/m-p/12750532#M576</guid>
      <dc:creator>emre_ergene4YJKG</dc:creator>
      <dc:date>2024-05-03T11:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: Manipulating the Clipping Plane in VR</title>
      <link>https://forums.autodesk.com/t5/vred-forum/manipulating-the-clipping-plane-in-vr/m-p/12984483#M577</link>
      <description>&lt;P&gt;In the attachments only the ,py file is downloadable all others when i try to extract is throwing errors , any ideas ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attachments&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://www.autodesk.com/akn-aknsite-article-attachments/bce78d19-71e7-42b4-bc61-d42b54f49a93.004" target="_blank" rel="noopener"&gt;VRED_OpenVR_Scripts+Collaboration.zip.004&lt;/A&gt;&lt;SPAN class=""&gt;(26.27 MB)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://www.autodesk.com/akn-aknsite-article-attachments/67f98485-61b4-4134-9c82-64fa93b7f430.002" target="_blank" rel="noopener"&gt;VRED_OpenVR_Scripts+Collaboration.zip.002&lt;/A&gt;&lt;SPAN class=""&gt;(95 MB)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://www.autodesk.com/akn-aknsite-article-attachments/3187253c-2794-4f41-b4bb-4ee46925271b.003" target="_blank" rel="noopener"&gt;VRED_OpenVR_Scripts+Collaboration.zip.003&lt;/A&gt;&lt;SPAN class=""&gt;(95 MB)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://www.autodesk.com/akn-aknsite-article-attachments/bd8e9f4e-6f7c-4efa-ad08-061281025588.001" target="_blank" rel="noopener"&gt;VRED_OpenVR_Scripts+Collaboration.zip.001&lt;/A&gt;&lt;SPAN class=""&gt;(95 MB)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://www.autodesk.com/akn-aknsite-article-attachments/cca0288d-67a6-4202-943f-fb1c0b32cfcb.py" target="_blank" rel="noopener"&gt;VRED_OpenVR_Scripts+Collaboration.py&lt;/A&gt;&lt;SPAN class=""&gt;(0.02 MB)&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Tue, 27 Aug 2024 17:32:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/manipulating-the-clipping-plane-in-vr/m-p/12984483#M577</guid>
      <dc:creator>vredeye</dc:creator>
      <dc:date>2024-08-27T17:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: Manipulating the Clipping Plane in VR</title>
      <link>https://forums.autodesk.com/t5/vred-forum/manipulating-the-clipping-plane-in-vr/m-p/12984556#M578</link>
      <description>&lt;P&gt;Hi, select all .zip files, then right mouse options, '~Zip', 'Extract Here' should create a .vpb file.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Aug 2024 17:51:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/manipulating-the-clipping-plane-in-vr/m-p/12984556#M578</guid>
      <dc:creator>__daniel.lincoln__</dc:creator>
      <dc:date>2024-08-27T17:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: Manipulating the Clipping Plane in VR</title>
      <link>https://forums.autodesk.com/t5/vred-forum/manipulating-the-clipping-plane-in-vr/m-p/12984814#M579</link>
      <description>&lt;P&gt;yes using 7zip to unzip but getting an error&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kpmkhaja2_0-1724789073413.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1402648iDE055A515767157A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kpmkhaja2_0-1724789073413.png" alt="kpmkhaja2_0-1724789073413.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Aug 2024 20:04:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/manipulating-the-clipping-plane-in-vr/m-p/12984814#M579</guid>
      <dc:creator>vredeye</dc:creator>
      <dc:date>2024-08-27T20:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: Manipulating the Clipping Plane in VR</title>
      <link>https://forums.autodesk.com/t5/vred-forum/manipulating-the-clipping-plane-in-vr/m-p/12984941#M580</link>
      <description>&lt;P&gt;You are selecting 4 files, then unzip?&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="zip_example.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1402670i38CFC8A7D07B9784/image-size/large?v=v2&amp;amp;px=999" role="button" title="zip_example.png" alt="zip_example.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Aug 2024 21:13:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/manipulating-the-clipping-plane-in-vr/m-p/12984941#M580</guid>
      <dc:creator>__daniel.lincoln__</dc:creator>
      <dc:date>2024-08-27T21:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: Manipulating the Clipping Plane in VR</title>
      <link>https://forums.autodesk.com/t5/vred-forum/manipulating-the-clipping-plane-in-vr/m-p/12985919#M581</link>
      <description>&lt;P&gt;yes did that , thanks i got the .vpb file thanks&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2024 08:43:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/manipulating-the-clipping-plane-in-vr/m-p/12985919#M581</guid>
      <dc:creator>kpmkhajaC26TK</dc:creator>
      <dc:date>2024-08-28T08:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: Manipulating the Clipping Plane in VR</title>
      <link>https://forums.autodesk.com/t5/vred-forum/manipulating-the-clipping-plane-in-vr/m-p/12988613#M582</link>
      <description>&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;not sure if this is the correct platform to ask ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;does this code work as shown in the video ? --&amp;nbsp;&lt;A href="https://www.youtube.com/watch?v=8aCPgWggwH4" target="_blank"&gt;https://www.youtube.com/watch?v=8aCPgWggwH4&lt;/A&gt;&lt;/P&gt;&lt;P&gt;especially the "Sectioning" part ? where the user clips the car ?&lt;/P&gt;&lt;P&gt;as i am also analysing the code to develop another functionality is this the code where the sectioning or clipping happens ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;def controller0Moved():
    leftNode.setTransformMatrix( controller0.getWorldMatrix(), false)
    oldPosMenuRotate =getTransformNodeRotation(menuRotate)
    oldPosMenuScale=getTransformNodeScale(menuScale)
    touchPos = controller0.getTouchpadPosition()
    moveScaleSideways = -2.0 * touchPos.x() *touchPos.x() *touchPos.x()
    moveScaleForward = -0.05 * touchPos.y() * touchPos.y() * touchPos.y() *touchPos.y()*touchPos.y()
    setTransformNodeRotation(menuRotate, 0, 0, moveScaleSideways+oldPosMenuRotate.z())
    size = moveScaleForward + oldPosMenuScale.x()
    if size &amp;lt; 1.25 and size &amp;gt;0.75:
        setTransformNodeScale(menuScale, size, size, size)&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 29 Aug 2024 09:03:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/manipulating-the-clipping-plane-in-vr/m-p/12988613#M582</guid>
      <dc:creator>kpmkhajaC26TK</dc:creator>
      <dc:date>2024-08-29T09:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: Manipulating the Clipping Plane in VR</title>
      <link>https://forums.autodesk.com/t5/vred-forum/manipulating-the-clipping-plane-in-vr/m-p/13006529#M583</link>
      <description>&lt;P&gt;Hello world,&lt;/P&gt;&lt;P&gt;the code snippet you provided is just the update of the controller model and some menu stuff according to the input data of the htc vive controller input. The sectioning itself happens on line ~434&lt;/P&gt;&lt;LI-CODE lang="python"&gt;    if tool == 4:
        if controller1.isTouchpadPressed():
            touchPos1 = controller1.getTouchpadPosition()
            if touchPos1.y() &amp;gt; -0.2:
                cMatrix = controller1.getWorldMatrix()
                clipPos = Pnt3f( cMatrix[3], cMatrix[7], cMatrix[11])
                clipNor = Vec3f( cMatrix[2], cMatrix[6], cMatrix[10])
                setClippingPlane(clipPos, clipNor, false)
            else:
                enableClippingPlane(false)&lt;/LI-CODE&gt;&lt;P&gt;The script is very old and depending on your input controllers it may need some adjustment. If you need some further help with this i can take a short look at your setup.&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;vreduardt&lt;/P&gt;</description>
      <pubDate>Sat, 07 Sep 2024 12:59:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/manipulating-the-clipping-plane-in-vr/m-p/13006529#M583</guid>
      <dc:creator>Eduardt_AlbergEZ998</dc:creator>
      <dc:date>2024-09-07T12:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: Manipulating the Clipping Plane in VR</title>
      <link>https://forums.autodesk.com/t5/vred-forum/manipulating-the-clipping-plane-in-vr/m-p/13013883#M584</link>
      <description>&lt;P&gt;yes figured it out the sectioning happens by default but only that i encountered this error&lt;/P&gt;&lt;P&gt;"&lt;SPAN&gt; File "&amp;lt;string&amp;gt;", line 428&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;SyntaxError: name 'moveSel' is used prior to global declaration" ,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But when i sorted it out i.e i declared at top , or even i commented out , the script seems to work.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Do we need to declare here movesel at all , not sure but any way script works&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks for the support&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2024 12:18:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/manipulating-the-clipping-plane-in-vr/m-p/13013883#M584</guid>
      <dc:creator>vredeye</dc:creator>
      <dc:date>2024-09-11T12:18:28Z</dc:date>
    </item>
  </channel>
</rss>

