MCPcopy Index your code
hub / github.com/CadQuery/cadquery / toTuple

Method toTuple

cadquery/occ_impl/shapes.py:2019–2022  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2017 self.X, self.Y, self.Z = self.toTuple()
2018
2019 def toTuple(self) -> tuple[float, float, float]:
2020
2021 geom_point = BRep_Tool.Pnt_s(self.wrapped)
2022 return (geom_point.X(), geom_point.Y(), geom_point.Z())
2023
2024 def Center(self) -> Vector:
2025 """

Callers 4

__init__Method · 0.95
CenterMethod · 0.95
isInsideMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected