MCPcopy
hub / github.com/CadQuery/cadquery / locate

Method locate

cadquery/occ_impl/shapes.py:1230–1237  ·  view source on GitHub ↗

Apply a location in absolute sense to self.

(self: T, loc: Location)

Source from the content-addressed store, hash-verified

1228 return Location(self.wrapped.Location())
1229
1230 def locate(self: T, loc: Location) -> T:
1231 """
1232 Apply a location in absolute sense to self.
1233 """
1234
1235 self.wrapped.Location(loc.wrapped)
1236
1237 return self
1238
1239 def located(self: T, loc: Location) -> T:
1240 """

Callers 3

toCompoundMethod · 0.80
testLocatedMovedMethod · 0.80
testEachpointMethod · 0.80

Calls

no outgoing calls

Tested by 2

testLocatedMovedMethod · 0.64
testEachpointMethod · 0.64