Community
VRED Forum
Welcome to Autodesk’s VRED Forums. Share your knowledge, ask questions, and explore popular VRED topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Exclude from clipping plane

9 REPLIES 9
SOLVED
Reply
Message 1 of 10
Anonymous
831 Views, 9 Replies

Exclude from clipping plane

Hi guys,

I have a scene with an office building and a car in front of the building. I would like to use clipping plane only on the car, so I would like to exclude the building from the plane.

Does anyone know if this is possible?

Regards
Yang

9 REPLIES 9
Message 2 of 10
Christian_Garimberti
in reply to: Anonymous

Hi,

create a new clipping plane node an put the car inside of it.

this clipping plane will act only on the car.

 

Chris

Christian Garimberti
Technical Manager and Visualization Enthusiast
Qs Informatica S.r.l. | Qs Infor S.r.l. | My Website
Facebook | Instagram | Youtube | LinkedIn

EESignature

Message 3 of 10

Hello @Anonymous,

 

correct, as @Christian_Garimberti wrote, create a new clipping plane for the car. Please find more information about the clipping planes here:  Using the Clipping Plane

 

Hope this helps!

 

Best regards,

Patrick

 

“https://damassets.autodesk.net/content/dam/autodesk/logos/autodesk-logo-primary-rgb-black-small_forum.png”
Message 4 of 10
Anonymous
in reply to: patrick.schock

Thanks Chris,

Thanks Patrick,

 

I have experimented with the way you mentioned about the put the clipping plane on top of the target folder. But I wonder, if I use coding to create the clipping plane:

 

enableClippingPlane(true)

 

Can I still add limitation to this clipping plane created by coding, or position this clipping onto the folder I want to clip by coding?

 

Thank you.

Yang

Message 5 of 10
Christian_Garimberti
in reply to: Anonymous

ClippingPlane is not the same thing of  ClipPlanes.

You have to create and manage CipPlanes.

You can get an already created clipplane with the findNode("<node name>")

 

i think you can use all the vrnodeptr methods and functions

file:///C:/Program%20Files/Autodesk/VREDPro-11.3/doc/vrNodePtr.vrNodePtr-class.html

 

Chris

 

 

Christian Garimberti
Technical Manager and Visualization Enthusiast
Qs Informatica S.r.l. | Qs Infor S.r.l. | My Website
Facebook | Instagram | Youtube | LinkedIn

EESignature

Message 6 of 10
sinje_thiedemann
in reply to: Anonymous

Hi Yang,

 

creating a new ClipPlane node with Python:

 

clipPlane = createNode("ClipPlane")
updateScenegraph(True) # Scenegraph GUI refresh

 

 

Add your target node as a child to the clip plane node:

clippedGeo = findNode("MyGeo")
clipPlane.addChild(clippedGeo)

 

To enable the ClipPlane node (btw, it is already enabled by default):

 

 

findNode("ClipPlane").fields().setBool("on", True)

 

 

To change the transformation, either use the member functions of vrNodePtr, or use any of the setTransformNode... functions found in vrNodeUtils (e.g. setTransformNodeTranslation, setTransformNodeRotation).

 

findNode("ClipPlane").setTranslation(10, 20, 30)
# or
setTransformNodeTranslation(findNode("ClipPlane"), 10, 20, 30, False)

 

Hope this helps to get you started

Sinje

 

 

Message 7 of 10
Anonymous
in reply to: sinje_thiedemann

Hello Sinje,

Thanks for the detailed explanation, it works perfect to what I would like to do, and it opens more possibilities for the experience.

 

Regards,

Yang

Message 8 of 10
vredeye
in reply to: sinje_thiedemann

Hi

 

With Clip Plane could we also rotate and show the clipping contours and grid visualisation ? 

 

Thanks

Message 9 of 10
Christian_Garimberti
in reply to: Anonymous

No, clipplanes are only to cut geos.

What you want to do, contours and grid, are features of the Clipping Plane tool.

 

Best

Chris

 

Christian Garimberti
Technical Manager and Visualization Enthusiast
Qs Informatica S.r.l. | Qs Infor S.r.l. | My Website
Facebook | Instagram | Youtube | LinkedIn

EESignature

Message 10 of 10
vredeye
in reply to: Anonymous

ok thanks

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report