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
Solved! Go to Solution.
Solved by sinje_thiedemann. Go to Solution.
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
![]()
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
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
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
![]()
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
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
Hi
With Clip Plane could we also rotate and show the clipping contours and grid visualisation ?
Thanks
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
![]()
Can't find what you're looking for? Ask the community or share your knowledge.