mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 21:09:00 +08:00
CURA-4400 added docs to new functions
This commit is contained in:
parent
859ac88357
commit
16cebe35ef
@ -78,6 +78,7 @@ class CuraSceneNode(SceneNode):
|
|||||||
1.0
|
1.0
|
||||||
]
|
]
|
||||||
|
|
||||||
|
## Return if the provided bbox collides with the bbox of this scene node
|
||||||
def collidesWithBbox(self, check_bbox):
|
def collidesWithBbox(self, check_bbox):
|
||||||
bbox = self.getBoundingBox()
|
bbox = self.getBoundingBox()
|
||||||
|
|
||||||
@ -87,6 +88,7 @@ class CuraSceneNode(SceneNode):
|
|||||||
|
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
## Return if any area collides with the convex hull of this scene node
|
||||||
def collidesWithArea(self, areas):
|
def collidesWithArea(self, areas):
|
||||||
convex_hull = self.callDecoration("getConvexHull")
|
convex_hull = self.callDecoration("getConvexHull")
|
||||||
if convex_hull:
|
if convex_hull:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user