mirror of
https://github.com/gumyr/build123d.git
synced 2025-12-06 02:30:55 -08:00
Fixing typing
Some checks are pending
benchmarks / benchmarks (macos-13, 3.12) (push) Waiting to run
benchmarks / benchmarks (macos-14, 3.12) (push) Waiting to run
benchmarks / benchmarks (ubuntu-latest, 3.12) (push) Waiting to run
benchmarks / benchmarks (windows-latest, 3.12) (push) Waiting to run
Upload coverage reports to Codecov / run (push) Waiting to run
pylint / lint (3.10) (push) Waiting to run
Run type checker / typecheck (3.10) (push) Waiting to run
Run type checker / typecheck (3.13) (push) Waiting to run
Wheel building and publishing / Build wheel on ubuntu-latest (push) Waiting to run
Wheel building and publishing / upload_pypi (push) Blocked by required conditions
tests / tests (macos-13, 3.10) (push) Waiting to run
tests / tests (macos-13, 3.13) (push) Waiting to run
tests / tests (macos-14, 3.10) (push) Waiting to run
tests / tests (macos-14, 3.13) (push) Waiting to run
tests / tests (ubuntu-latest, 3.10) (push) Waiting to run
tests / tests (ubuntu-latest, 3.13) (push) Waiting to run
tests / tests (windows-latest, 3.10) (push) Waiting to run
tests / tests (windows-latest, 3.13) (push) Waiting to run
Some checks are pending
benchmarks / benchmarks (macos-13, 3.12) (push) Waiting to run
benchmarks / benchmarks (macos-14, 3.12) (push) Waiting to run
benchmarks / benchmarks (ubuntu-latest, 3.12) (push) Waiting to run
benchmarks / benchmarks (windows-latest, 3.12) (push) Waiting to run
Upload coverage reports to Codecov / run (push) Waiting to run
pylint / lint (3.10) (push) Waiting to run
Run type checker / typecheck (3.10) (push) Waiting to run
Run type checker / typecheck (3.13) (push) Waiting to run
Wheel building and publishing / Build wheel on ubuntu-latest (push) Waiting to run
Wheel building and publishing / upload_pypi (push) Blocked by required conditions
tests / tests (macos-13, 3.10) (push) Waiting to run
tests / tests (macos-13, 3.13) (push) Waiting to run
tests / tests (macos-14, 3.10) (push) Waiting to run
tests / tests (macos-14, 3.13) (push) Waiting to run
tests / tests (ubuntu-latest, 3.10) (push) Waiting to run
tests / tests (ubuntu-latest, 3.13) (push) Waiting to run
tests / tests (windows-latest, 3.10) (push) Waiting to run
tests / tests (windows-latest, 3.13) (push) Waiting to run
This commit is contained in:
parent
aecc71dac2
commit
1b69032211
1 changed files with 4 additions and 0 deletions
|
|
@ -53,6 +53,7 @@ from build123d.topology import (
|
||||||
Face,
|
Face,
|
||||||
ShapeList,
|
ShapeList,
|
||||||
Sketch,
|
Sketch,
|
||||||
|
Vertex,
|
||||||
Wire,
|
Wire,
|
||||||
tuplify,
|
tuplify,
|
||||||
topo_explore_common_vertex,
|
topo_explore_common_vertex,
|
||||||
|
|
@ -782,12 +783,15 @@ class Triangle(BaseSketchObject):
|
||||||
self.vertex_A = topo_explore_common_vertex(
|
self.vertex_A = topo_explore_common_vertex(
|
||||||
self.edge_b, self.edge_c
|
self.edge_b, self.edge_c
|
||||||
) #: vertex 'A'
|
) #: vertex 'A'
|
||||||
|
assert isinstance(self.vertex_A, Vertex)
|
||||||
self.vertex_A.topo_parent = self
|
self.vertex_A.topo_parent = self
|
||||||
self.vertex_B = topo_explore_common_vertex(
|
self.vertex_B = topo_explore_common_vertex(
|
||||||
self.edge_a, self.edge_c
|
self.edge_a, self.edge_c
|
||||||
) #: vertex 'B'
|
) #: vertex 'B'
|
||||||
|
assert isinstance(self.vertex_B, Vertex)
|
||||||
self.vertex_B.topo_parent = self
|
self.vertex_B.topo_parent = self
|
||||||
self.vertex_C = topo_explore_common_vertex(
|
self.vertex_C = topo_explore_common_vertex(
|
||||||
self.edge_a, self.edge_b
|
self.edge_a, self.edge_b
|
||||||
) #: vertex 'C'
|
) #: vertex 'C'
|
||||||
|
assert isinstance(self.vertex_C, Vertex)
|
||||||
self.vertex_C.topo_parent = self
|
self.vertex_C.topo_parent = self
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue