mirror of
https://github.com/gumyr/build123d.git
synced 2025-12-05 18:20:46 -08:00
Minor pylint changes direct_api @ 9.88
This commit is contained in:
parent
ab81920b9a
commit
37803a6d67
2 changed files with 235 additions and 241 deletions
|
|
@ -4,34 +4,34 @@
|
|||
<!-- Generated by graphviz version 2.43.0 (0)
|
||||
-->
|
||||
<!-- Title: classes Pages: 1 -->
|
||||
<svg width="9258pt" height="1414pt"
|
||||
viewBox="0.00 0.00 9258.00 1414.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 1410)">
|
||||
<svg width="9270pt" height="1399pt"
|
||||
viewBox="0.00 0.00 9270.00 1399.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 1395)">
|
||||
<title>classes</title>
|
||||
<polygon fill="white" stroke="transparent" points="-4,4 -4,-1410 9254,-1410 9254,4 -4,4"/>
|
||||
<polygon fill="white" stroke="transparent" points="-4,4 -4,-1395 9266,-1395 9266,4 -4,4"/>
|
||||
<!-- build123d.direct_api.Axis -->
|
||||
<g id="node1" class="node">
|
||||
<title>build123d.direct_api.Axis</title>
|
||||
<polygon fill="none" stroke="black" points="0,-819 0,-1098 555,-1098 555,-819 0,-819"/>
|
||||
<text text-anchor="middle" x="277.5" y="-1082.8" font-family="Times,serif" font-size="14.00">Axis</text>
|
||||
<polyline fill="none" stroke="black" points="0,-1075 555,-1075 "/>
|
||||
<text text-anchor="start" x="8" y="-1059.8" font-family="Times,serif" font-size="14.00">X</text>
|
||||
<text text-anchor="start" x="8" y="-1044.8" font-family="Times,serif" font-size="14.00">Y</text>
|
||||
<text text-anchor="start" x="8" y="-1029.8" font-family="Times,serif" font-size="14.00">Z</text>
|
||||
<text text-anchor="start" x="8" y="-1014.8" font-family="Times,serif" font-size="14.00">direction</text>
|
||||
<text text-anchor="start" x="8" y="-999.8" font-family="Times,serif" font-size="14.00">position</text>
|
||||
<text text-anchor="start" x="8" y="-984.8" font-family="Times,serif" font-size="14.00">wrapped</text>
|
||||
<polyline fill="none" stroke="black" points="0,-977 555,-977 "/>
|
||||
<text text-anchor="start" x="8" y="-961.8" font-family="Times,serif" font-size="14.00">angle_between(other: Axis): float</text>
|
||||
<text text-anchor="start" x="8" y="-946.8" font-family="Times,serif" font-size="14.00">copy(): Axis</text>
|
||||
<text text-anchor="start" x="8" y="-931.8" font-family="Times,serif" font-size="14.00">from_occt(cls: gp_Ax1, axis): Axis</text>
|
||||
<text text-anchor="start" x="8" y="-916.8" font-family="Times,serif" font-size="14.00">is_coaxial(other: Axis, angular_tolerance: float, linear_tolerance: float): bool</text>
|
||||
<text text-anchor="start" x="8" y="-901.8" font-family="Times,serif" font-size="14.00">is_normal(other: Axis, angular_tolerance: float): bool</text>
|
||||
<text text-anchor="start" x="8" y="-886.8" font-family="Times,serif" font-size="14.00">is_opposite(other: Axis, angular_tolerance: float): bool</text>
|
||||
<text text-anchor="start" x="8" y="-871.8" font-family="Times,serif" font-size="14.00">is_parallel(other: Axis, angular_tolerance: float): bool</text>
|
||||
<text text-anchor="start" x="8" y="-856.8" font-family="Times,serif" font-size="14.00">reversed(): Axis</text>
|
||||
<text text-anchor="start" x="8" y="-841.8" font-family="Times,serif" font-size="14.00">to_location(): Location</text>
|
||||
<text text-anchor="start" x="8" y="-826.8" font-family="Times,serif" font-size="14.00">to_plane(): Plane</text>
|
||||
<polygon fill="none" stroke="black" points="0,-811.5 0,-1090.5 555,-1090.5 555,-811.5 0,-811.5"/>
|
||||
<text text-anchor="middle" x="277.5" y="-1075.3" font-family="Times,serif" font-size="14.00">Axis</text>
|
||||
<polyline fill="none" stroke="black" points="0,-1067.5 555,-1067.5 "/>
|
||||
<text text-anchor="start" x="8" y="-1052.3" font-family="Times,serif" font-size="14.00">X</text>
|
||||
<text text-anchor="start" x="8" y="-1037.3" font-family="Times,serif" font-size="14.00">Y</text>
|
||||
<text text-anchor="start" x="8" y="-1022.3" font-family="Times,serif" font-size="14.00">Z</text>
|
||||
<text text-anchor="start" x="8" y="-1007.3" font-family="Times,serif" font-size="14.00">direction</text>
|
||||
<text text-anchor="start" x="8" y="-992.3" font-family="Times,serif" font-size="14.00">position</text>
|
||||
<text text-anchor="start" x="8" y="-977.3" font-family="Times,serif" font-size="14.00">wrapped</text>
|
||||
<polyline fill="none" stroke="black" points="0,-969.5 555,-969.5 "/>
|
||||
<text text-anchor="start" x="8" y="-954.3" font-family="Times,serif" font-size="14.00">angle_between(other: Axis): float</text>
|
||||
<text text-anchor="start" x="8" y="-939.3" font-family="Times,serif" font-size="14.00">copy(): Axis</text>
|
||||
<text text-anchor="start" x="8" y="-924.3" font-family="Times,serif" font-size="14.00">from_occt(cls: gp_Ax1, axis): Axis</text>
|
||||
<text text-anchor="start" x="8" y="-909.3" font-family="Times,serif" font-size="14.00">is_coaxial(other: Axis, angular_tolerance: float, linear_tolerance: float): bool</text>
|
||||
<text text-anchor="start" x="8" y="-894.3" font-family="Times,serif" font-size="14.00">is_normal(other: Axis, angular_tolerance: float): bool</text>
|
||||
<text text-anchor="start" x="8" y="-879.3" font-family="Times,serif" font-size="14.00">is_opposite(other: Axis, angular_tolerance: float): bool</text>
|
||||
<text text-anchor="start" x="8" y="-864.3" font-family="Times,serif" font-size="14.00">is_parallel(other: Axis, angular_tolerance: float): bool</text>
|
||||
<text text-anchor="start" x="8" y="-849.3" font-family="Times,serif" font-size="14.00">reversed(): Axis</text>
|
||||
<text text-anchor="start" x="8" y="-834.3" font-family="Times,serif" font-size="14.00">to_location(): Location</text>
|
||||
<text text-anchor="start" x="8" y="-819.3" font-family="Times,serif" font-size="14.00">to_plane(): Plane</text>
|
||||
</g>
|
||||
<!-- build123d.direct_api.BoundBox -->
|
||||
<g id="node2" class="node">
|
||||
|
|
@ -59,52 +59,52 @@
|
|||
<!-- build123d.direct_api.Plane -->
|
||||
<g id="node10" class="node">
|
||||
<title>build123d.direct_api.Plane</title>
|
||||
<polygon fill="none" stroke="black" points="767.5,-729 767.5,-1188 1231.5,-1188 1231.5,-729 767.5,-729"/>
|
||||
<text text-anchor="middle" x="999.5" y="-1172.8" font-family="Times,serif" font-size="14.00">Plane</text>
|
||||
<polyline fill="none" stroke="black" points="767.5,-1165 1231.5,-1165 "/>
|
||||
<text text-anchor="start" x="775.5" y="-1149.8" font-family="Times,serif" font-size="14.00">XY</text>
|
||||
<text text-anchor="start" x="775.5" y="-1134.8" font-family="Times,serif" font-size="14.00">XZ</text>
|
||||
<text text-anchor="start" x="775.5" y="-1119.8" font-family="Times,serif" font-size="14.00">YX</text>
|
||||
<text text-anchor="start" x="775.5" y="-1104.8" font-family="Times,serif" font-size="14.00">YZ</text>
|
||||
<text text-anchor="start" x="775.5" y="-1089.8" font-family="Times,serif" font-size="14.00">ZX</text>
|
||||
<text text-anchor="start" x="775.5" y="-1074.8" font-family="Times,serif" font-size="14.00">ZY</text>
|
||||
<text text-anchor="start" x="775.5" y="-1059.8" font-family="Times,serif" font-size="14.00">back</text>
|
||||
<text text-anchor="start" x="775.5" y="-1044.8" font-family="Times,serif" font-size="14.00">bottom</text>
|
||||
<text text-anchor="start" x="775.5" y="-1029.8" font-family="Times,serif" font-size="14.00">forward_transform</text>
|
||||
<text text-anchor="start" x="775.5" y="-1014.8" font-family="Times,serif" font-size="14.00">front</text>
|
||||
<text text-anchor="start" x="775.5" y="-999.8" font-family="Times,serif" font-size="14.00">left</text>
|
||||
<text text-anchor="start" x="775.5" y="-984.8" font-family="Times,serif" font-size="14.00">local_coord_system</text>
|
||||
<text text-anchor="start" x="775.5" y="-969.8" font-family="Times,serif" font-size="14.00">origin</text>
|
||||
<text text-anchor="start" x="775.5" y="-954.8" font-family="Times,serif" font-size="14.00">origin</text>
|
||||
<text text-anchor="start" x="775.5" y="-939.8" font-family="Times,serif" font-size="14.00">reverse_transform</text>
|
||||
<text text-anchor="start" x="775.5" y="-924.8" font-family="Times,serif" font-size="14.00">right</text>
|
||||
<text text-anchor="start" x="775.5" y="-909.8" font-family="Times,serif" font-size="14.00">top</text>
|
||||
<text text-anchor="start" x="775.5" y="-894.8" font-family="Times,serif" font-size="14.00">wrapped</text>
|
||||
<text text-anchor="start" x="775.5" y="-879.8" font-family="Times,serif" font-size="14.00">x_dir : NoneType</text>
|
||||
<text text-anchor="start" x="775.5" y="-864.8" font-family="Times,serif" font-size="14.00">y_dir</text>
|
||||
<text text-anchor="start" x="775.5" y="-849.8" font-family="Times,serif" font-size="14.00">z_dir</text>
|
||||
<polyline fill="none" stroke="black" points="767.5,-842 1231.5,-842 "/>
|
||||
<text text-anchor="start" x="775.5" y="-826.8" font-family="Times,serif" font-size="14.00">contains(obj: Union[VectorLike, Axis], tolerance: float): bool</text>
|
||||
<text text-anchor="start" x="775.5" y="-811.8" font-family="Times,serif" font-size="14.00">from_local_coords(obj: Union[tuple, Vector, Shape, BoundBox])</text>
|
||||
<text text-anchor="start" x="775.5" y="-796.8" font-family="Times,serif" font-size="14.00">rotated(rotate: VectorLike): Plane</text>
|
||||
<text text-anchor="start" x="775.5" y="-781.8" font-family="Times,serif" font-size="14.00">set_origin2d(x, y)</text>
|
||||
<text text-anchor="start" x="775.5" y="-766.8" font-family="Times,serif" font-size="14.00">to_gp_ax2(): gp_Ax2</text>
|
||||
<text text-anchor="start" x="775.5" y="-751.8" font-family="Times,serif" font-size="14.00">to_local_coords(obj: Union[VectorLike, Shape, BoundBox])</text>
|
||||
<text text-anchor="start" x="775.5" y="-736.8" font-family="Times,serif" font-size="14.00">to_location(): Location</text>
|
||||
<polygon fill="none" stroke="black" points="767.5,-721.5 767.5,-1180.5 1231.5,-1180.5 1231.5,-721.5 767.5,-721.5"/>
|
||||
<text text-anchor="middle" x="999.5" y="-1165.3" font-family="Times,serif" font-size="14.00">Plane</text>
|
||||
<polyline fill="none" stroke="black" points="767.5,-1157.5 1231.5,-1157.5 "/>
|
||||
<text text-anchor="start" x="775.5" y="-1142.3" font-family="Times,serif" font-size="14.00">XY</text>
|
||||
<text text-anchor="start" x="775.5" y="-1127.3" font-family="Times,serif" font-size="14.00">XZ</text>
|
||||
<text text-anchor="start" x="775.5" y="-1112.3" font-family="Times,serif" font-size="14.00">YX</text>
|
||||
<text text-anchor="start" x="775.5" y="-1097.3" font-family="Times,serif" font-size="14.00">YZ</text>
|
||||
<text text-anchor="start" x="775.5" y="-1082.3" font-family="Times,serif" font-size="14.00">ZX</text>
|
||||
<text text-anchor="start" x="775.5" y="-1067.3" font-family="Times,serif" font-size="14.00">ZY</text>
|
||||
<text text-anchor="start" x="775.5" y="-1052.3" font-family="Times,serif" font-size="14.00">back</text>
|
||||
<text text-anchor="start" x="775.5" y="-1037.3" font-family="Times,serif" font-size="14.00">bottom</text>
|
||||
<text text-anchor="start" x="775.5" y="-1022.3" font-family="Times,serif" font-size="14.00">forward_transform : Optional[Matrix]</text>
|
||||
<text text-anchor="start" x="775.5" y="-1007.3" font-family="Times,serif" font-size="14.00">front</text>
|
||||
<text text-anchor="start" x="775.5" y="-992.3" font-family="Times,serif" font-size="14.00">left</text>
|
||||
<text text-anchor="start" x="775.5" y="-977.3" font-family="Times,serif" font-size="14.00">local_coord_system : Optional[gp_Ax3]</text>
|
||||
<text text-anchor="start" x="775.5" y="-962.3" font-family="Times,serif" font-size="14.00">origin</text>
|
||||
<text text-anchor="start" x="775.5" y="-947.3" font-family="Times,serif" font-size="14.00">origin</text>
|
||||
<text text-anchor="start" x="775.5" y="-932.3" font-family="Times,serif" font-size="14.00">reverse_transform : Optional[Matrix]</text>
|
||||
<text text-anchor="start" x="775.5" y="-917.3" font-family="Times,serif" font-size="14.00">right</text>
|
||||
<text text-anchor="start" x="775.5" y="-902.3" font-family="Times,serif" font-size="14.00">top</text>
|
||||
<text text-anchor="start" x="775.5" y="-887.3" font-family="Times,serif" font-size="14.00">wrapped</text>
|
||||
<text text-anchor="start" x="775.5" y="-872.3" font-family="Times,serif" font-size="14.00">x_dir : NoneType</text>
|
||||
<text text-anchor="start" x="775.5" y="-857.3" font-family="Times,serif" font-size="14.00">y_dir</text>
|
||||
<text text-anchor="start" x="775.5" y="-842.3" font-family="Times,serif" font-size="14.00">z_dir</text>
|
||||
<polyline fill="none" stroke="black" points="767.5,-834.5 1231.5,-834.5 "/>
|
||||
<text text-anchor="start" x="775.5" y="-819.3" font-family="Times,serif" font-size="14.00">contains(obj: Union[VectorLike, Axis], tolerance: float): bool</text>
|
||||
<text text-anchor="start" x="775.5" y="-804.3" font-family="Times,serif" font-size="14.00">from_local_coords(obj: Union[tuple, Vector, Shape, BoundBox])</text>
|
||||
<text text-anchor="start" x="775.5" y="-789.3" font-family="Times,serif" font-size="14.00">rotated(rotate: VectorLike): Plane</text>
|
||||
<text text-anchor="start" x="775.5" y="-774.3" font-family="Times,serif" font-size="14.00">set_origin2d(x, y)</text>
|
||||
<text text-anchor="start" x="775.5" y="-759.3" font-family="Times,serif" font-size="14.00">to_gp_ax2(): gp_Ax2</text>
|
||||
<text text-anchor="start" x="775.5" y="-744.3" font-family="Times,serif" font-size="14.00">to_local_coords(obj: Union[VectorLike, Shape, BoundBox])</text>
|
||||
<text text-anchor="start" x="775.5" y="-729.3" font-family="Times,serif" font-size="14.00">to_location(): Location</text>
|
||||
</g>
|
||||
<!-- build123d.direct_api.BoundBox->build123d.direct_api.Plane -->
|
||||
<g id="edge13" class="edge">
|
||||
<title>build123d.direct_api.BoundBox->build123d.direct_api.Plane</title>
|
||||
<path fill="none" stroke="black" d="M1297.33,-362.33C1282.09,-404.54 1264.13,-451.18 1245.5,-493 1212.34,-567.43 1172.38,-646.45 1134.41,-717.8"/>
|
||||
<polygon fill="black" stroke="black" points="1134.23,-718.14 1134.93,-725.31 1128.58,-728.72 1127.87,-721.55 1134.23,-718.14"/>
|
||||
<text text-anchor="middle" x="1277" y="-481.8" font-family="Times,serif" font-size="14.00" fill="green">_origin</text>
|
||||
<path fill="none" stroke="black" d="M1297,-362.02C1281.57,-404.33 1263.38,-451.1 1244.5,-493 1212.01,-565.12 1172.96,-641.56 1135.68,-710.87"/>
|
||||
<polygon fill="black" stroke="black" points="1135.65,-710.93 1136.32,-718.11 1129.95,-721.49 1129.28,-714.31 1135.65,-710.93"/>
|
||||
<text text-anchor="middle" x="1276" y="-481.8" font-family="Times,serif" font-size="14.00" fill="green">_origin</text>
|
||||
</g>
|
||||
<!-- build123d.direct_api.BoundBox->build123d.direct_api.Plane -->
|
||||
<g id="edge14" class="edge">
|
||||
<title>build123d.direct_api.BoundBox->build123d.direct_api.Plane</title>
|
||||
<path fill="none" stroke="black" d="M1335.02,-362.09C1329.9,-404.83 1320.97,-451.85 1305.5,-493 1276.15,-571.08 1231.77,-649.35 1185.85,-718.8"/>
|
||||
<polygon fill="black" stroke="black" points="1185.71,-718.99 1185.72,-726.2 1179.06,-728.98 1179.06,-721.76 1185.71,-718.99"/>
|
||||
<text text-anchor="middle" x="1332" y="-481.8" font-family="Times,serif" font-size="14.00" fill="green">origin</text>
|
||||
<path fill="none" stroke="black" d="M1334.58,-362.15C1329.3,-404.9 1320.18,-451.9 1304.5,-493 1275.76,-568.34 1232.75,-643.76 1188.01,-710.98"/>
|
||||
<polygon fill="black" stroke="black" points="1187.8,-711.3 1187.78,-718.52 1181.11,-721.27 1181.13,-714.06 1187.8,-711.3"/>
|
||||
<text text-anchor="middle" x="1331" y="-481.8" font-family="Times,serif" font-size="14.00" fill="green">origin</text>
|
||||
</g>
|
||||
<!-- build123d.direct_api.Compound -->
|
||||
<g id="node3" class="node">
|
||||
|
|
@ -125,7 +125,7 @@
|
|||
<!-- build123d.direct_api.Mixin3D -->
|
||||
<g id="node9" class="node">
|
||||
<title>build123d.direct_api.Mixin3D</title>
|
||||
<polygon fill="none" stroke="black" points="3089.5,-893.5 3089.5,-1023.5 4105.5,-1023.5 4105.5,-893.5 3089.5,-893.5"/>
|
||||
<polygon fill="none" stroke="black" points="3089.5,-878.5 3089.5,-1023.5 4105.5,-1023.5 4105.5,-878.5 3089.5,-878.5"/>
|
||||
<text text-anchor="middle" x="3597.5" y="-1008.3" font-family="Times,serif" font-size="14.00">Mixin3D</text>
|
||||
<polyline fill="none" stroke="black" points="3089.5,-1000.5 4105.5,-1000.5 "/>
|
||||
<polyline fill="none" stroke="black" points="3089.5,-976.5 4105.5,-976.5 "/>
|
||||
|
|
@ -133,59 +133,59 @@
|
|||
<text text-anchor="start" x="3097.5" y="-946.3" font-family="Times,serif" font-size="14.00">dprism(basis: Optional[Face], bounds: list[Union[Face, Wire]], depth: float, taper: float, up_to_face: Face, thru_all: bool, additive: bool): Solid</text>
|
||||
<text text-anchor="start" x="3097.5" y="-931.3" font-family="Times,serif" font-size="14.00">fillet(radius: float, edge_list: Iterable[Edge])</text>
|
||||
<text text-anchor="start" x="3097.5" y="-916.3" font-family="Times,serif" font-size="14.00">is_inside(point: VectorLike, tolerance: float): bool</text>
|
||||
<text text-anchor="start" x="3097.5" y="-901.3" font-family="Times,serif" font-size="14.00">shell(face_list: Optional[Iterable[Face]], thickness: float, tolerance: float, kind: Kind): Solid</text>
|
||||
<text text-anchor="start" x="3097.5" y="-901.3" font-family="Times,serif" font-size="14.00">max_fillet(edge_list: Iterable[Edge], tolerance, max_iterations: int): float</text>
|
||||
<text text-anchor="start" x="3097.5" y="-886.3" font-family="Times,serif" font-size="14.00">shell(faces: Optional[Iterable[Face]], thickness: float, tolerance: float, kind: Kind): Solid</text>
|
||||
</g>
|
||||
<!-- build123d.direct_api.Compound->build123d.direct_api.Mixin3D -->
|
||||
<g id="edge1" class="edge">
|
||||
<title>build123d.direct_api.Compound->build123d.direct_api.Mixin3D</title>
|
||||
<path fill="none" stroke="black" d="M2707.83,-317.55C2910.12,-463.07 3314.44,-753.89 3500.14,-887.47"/>
|
||||
<polygon fill="none" stroke="black" points="3498.12,-890.33 3508.28,-893.32 3502.21,-884.64 3498.12,-890.33"/>
|
||||
<path fill="none" stroke="black" d="M2709.08,-317.55C2907.63,-458.89 3298.36,-737.05 3488.46,-872.38"/>
|
||||
<polygon fill="none" stroke="black" points="3486.63,-875.37 3496.81,-878.32 3490.69,-869.67 3486.63,-875.37"/>
|
||||
</g>
|
||||
<!-- build123d.direct_api.Shape -->
|
||||
<g id="node12" class="node">
|
||||
<title>build123d.direct_api.Shape</title>
|
||||
<polygon fill="none" stroke="black" points="5289,-511.5 5289,-1405.5 6394,-1405.5 6394,-511.5 5289,-511.5"/>
|
||||
<text text-anchor="middle" x="5841.5" y="-1390.3" font-family="Times,serif" font-size="14.00">Shape</text>
|
||||
<polyline fill="none" stroke="black" points="5289,-1382.5 6394,-1382.5 "/>
|
||||
<text text-anchor="start" x="5297" y="-1367.3" font-family="Times,serif" font-size="14.00">area</text>
|
||||
<text text-anchor="start" x="5297" y="-1352.3" font-family="Times,serif" font-size="14.00">for_construction : bool</text>
|
||||
<text text-anchor="start" x="5297" y="-1337.3" font-family="Times,serif" font-size="14.00">label : str</text>
|
||||
<text text-anchor="start" x="5297" y="-1322.3" font-family="Times,serif" font-size="14.00">location</text>
|
||||
<text text-anchor="start" x="5297" y="-1307.3" font-family="Times,serif" font-size="14.00">orientation</text>
|
||||
<text text-anchor="start" x="5297" y="-1292.3" font-family="Times,serif" font-size="14.00">position</text>
|
||||
<text text-anchor="start" x="5297" y="-1277.3" font-family="Times,serif" font-size="14.00">volume</text>
|
||||
<text text-anchor="start" x="5297" y="-1262.3" font-family="Times,serif" font-size="14.00">wrapped</text>
|
||||
<polyline fill="none" stroke="black" points="5289,-1254.5 6394,-1254.5 "/>
|
||||
<text text-anchor="start" x="5297" y="-1239.3" font-family="Times,serif" font-size="14.00">bounding_box(tolerance: float): BoundBox</text>
|
||||
<text text-anchor="start" x="5297" y="-1224.3" font-family="Times,serif" font-size="14.00">cast(cls: TopoDS_Shape, obj: bool, for_construction): Shape</text>
|
||||
<text text-anchor="start" x="5297" y="-1209.3" font-family="Times,serif" font-size="14.00">clean(): Shape</text>
|
||||
<text text-anchor="start" x="5297" y="-1194.3" font-family="Times,serif" font-size="14.00">combined_center(objects: CenterOf, center_of): Vector</text>
|
||||
<text text-anchor="start" x="5297" y="-1179.3" font-family="Times,serif" font-size="14.00">compounds(): ShapeList['Compound']</text>
|
||||
<text text-anchor="start" x="5297" y="-1164.3" font-family="Times,serif" font-size="14.00">compute_mass(obj): float</text>
|
||||
<text text-anchor="start" x="5297" y="-1149.3" font-family="Times,serif" font-size="14.00">copy(): Shape</text>
|
||||
<text text-anchor="start" x="5297" y="-1134.3" font-family="Times,serif" font-size="14.00">cut(): Shape</text>
|
||||
<text text-anchor="start" x="5297" y="-1119.3" font-family="Times,serif" font-size="14.00">distance(other: Shape): float</text>
|
||||
<text text-anchor="start" x="5297" y="-1104.3" font-family="Times,serif" font-size="14.00">distances(): Iterator[float]</text>
|
||||
<text text-anchor="start" x="5297" y="-1089.3" font-family="Times,serif" font-size="14.00">edges(): ShapeList['Edge']</text>
|
||||
<text text-anchor="start" x="5297" y="-1074.3" font-family="Times,serif" font-size="14.00">export_brep(f: Union[str, BytesIO]): bool</text>
|
||||
<text text-anchor="start" x="5297" y="-1059.3" font-family="Times,serif" font-size="14.00">export_step(file_name: str): IFSelect_ReturnStatus</text>
|
||||
<text text-anchor="start" x="5297" y="-1044.3" font-family="Times,serif" font-size="14.00">export_stl(file_name: str, tolerance: float, angular_tolerance: float, ascii_format: bool): bool</text>
|
||||
<text text-anchor="start" x="5297" y="-1029.3" font-family="Times,serif" font-size="14.00">faces(): ShapeList['Face']</text>
|
||||
<text text-anchor="start" x="5297" y="-1014.3" font-family="Times,serif" font-size="14.00">faces_intersected_by_line(point: VectorLike, axis: VectorLike, tol: float, direction: Direction): ShapeList[Face]</text>
|
||||
<text text-anchor="start" x="5297" y="-999.3" font-family="Times,serif" font-size="14.00">find_intersection(point: VectorLike, direction: VectorLike): list[tuple[Vector, Vector]]</text>
|
||||
<text text-anchor="start" x="5297" y="-984.3" font-family="Times,serif" font-size="14.00">fix(): Shape</text>
|
||||
<text text-anchor="start" x="5297" y="-969.3" font-family="Times,serif" font-size="14.00">fuse(): Shape</text>
|
||||
<text text-anchor="start" x="5297" y="-954.3" font-family="Times,serif" font-size="14.00">geom_type(): Geoms</text>
|
||||
<text text-anchor="start" x="5297" y="-939.3" font-family="Times,serif" font-size="14.00">hash_code(): int</text>
|
||||
<text text-anchor="start" x="5297" y="-924.3" font-family="Times,serif" font-size="14.00">import_brep(cls: Union[str, BytesIO], f): Shape</text>
|
||||
<text text-anchor="start" x="5297" y="-909.3" font-family="Times,serif" font-size="14.00">intersect(): Shape</text>
|
||||
<text text-anchor="start" x="5297" y="-894.3" font-family="Times,serif" font-size="14.00">is_equal(other: Shape): bool</text>
|
||||
<text text-anchor="start" x="5297" y="-879.3" font-family="Times,serif" font-size="14.00">is_null(): bool</text>
|
||||
<text text-anchor="start" x="5297" y="-864.3" font-family="Times,serif" font-size="14.00">is_same(other: Shape): bool</text>
|
||||
<text text-anchor="start" x="5297" y="-849.3" font-family="Times,serif" font-size="14.00">is_valid(): bool</text>
|
||||
<text text-anchor="start" x="5297" y="-834.3" font-family="Times,serif" font-size="14.00">locate(loc: Location): Shape</text>
|
||||
<text text-anchor="start" x="5297" y="-819.3" font-family="Times,serif" font-size="14.00">located(loc: Location): Shape</text>
|
||||
<text text-anchor="start" x="5297" y="-804.3" font-family="Times,serif" font-size="14.00">max_fillet(edge_list: Iterable[Edge], tolerance, max_iterations: int): float</text>
|
||||
<polygon fill="none" stroke="black" points="5289,-511.5 5289,-1390.5 6394,-1390.5 6394,-511.5 5289,-511.5"/>
|
||||
<text text-anchor="middle" x="5841.5" y="-1375.3" font-family="Times,serif" font-size="14.00">Shape</text>
|
||||
<polyline fill="none" stroke="black" points="5289,-1367.5 6394,-1367.5 "/>
|
||||
<text text-anchor="start" x="5297" y="-1352.3" font-family="Times,serif" font-size="14.00">area</text>
|
||||
<text text-anchor="start" x="5297" y="-1337.3" font-family="Times,serif" font-size="14.00">for_construction : bool</text>
|
||||
<text text-anchor="start" x="5297" y="-1322.3" font-family="Times,serif" font-size="14.00">label : str</text>
|
||||
<text text-anchor="start" x="5297" y="-1307.3" font-family="Times,serif" font-size="14.00">location</text>
|
||||
<text text-anchor="start" x="5297" y="-1292.3" font-family="Times,serif" font-size="14.00">orientation</text>
|
||||
<text text-anchor="start" x="5297" y="-1277.3" font-family="Times,serif" font-size="14.00">position</text>
|
||||
<text text-anchor="start" x="5297" y="-1262.3" font-family="Times,serif" font-size="14.00">volume</text>
|
||||
<text text-anchor="start" x="5297" y="-1247.3" font-family="Times,serif" font-size="14.00">wrapped</text>
|
||||
<polyline fill="none" stroke="black" points="5289,-1239.5 6394,-1239.5 "/>
|
||||
<text text-anchor="start" x="5297" y="-1224.3" font-family="Times,serif" font-size="14.00">bounding_box(tolerance: float): BoundBox</text>
|
||||
<text text-anchor="start" x="5297" y="-1209.3" font-family="Times,serif" font-size="14.00">cast(cls: TopoDS_Shape, obj: bool, for_construction): Shape</text>
|
||||
<text text-anchor="start" x="5297" y="-1194.3" font-family="Times,serif" font-size="14.00">clean(): Shape</text>
|
||||
<text text-anchor="start" x="5297" y="-1179.3" font-family="Times,serif" font-size="14.00">combined_center(objects: CenterOf, center_of): Vector</text>
|
||||
<text text-anchor="start" x="5297" y="-1164.3" font-family="Times,serif" font-size="14.00">compounds(): ShapeList['Compound']</text>
|
||||
<text text-anchor="start" x="5297" y="-1149.3" font-family="Times,serif" font-size="14.00">compute_mass(obj): float</text>
|
||||
<text text-anchor="start" x="5297" y="-1134.3" font-family="Times,serif" font-size="14.00">copy(): Shape</text>
|
||||
<text text-anchor="start" x="5297" y="-1119.3" font-family="Times,serif" font-size="14.00">cut(): Shape</text>
|
||||
<text text-anchor="start" x="5297" y="-1104.3" font-family="Times,serif" font-size="14.00">distance(other: Shape): float</text>
|
||||
<text text-anchor="start" x="5297" y="-1089.3" font-family="Times,serif" font-size="14.00">distances(): Iterator[float]</text>
|
||||
<text text-anchor="start" x="5297" y="-1074.3" font-family="Times,serif" font-size="14.00">edges(): ShapeList['Edge']</text>
|
||||
<text text-anchor="start" x="5297" y="-1059.3" font-family="Times,serif" font-size="14.00">export_brep(file: Union[str, BytesIO]): bool</text>
|
||||
<text text-anchor="start" x="5297" y="-1044.3" font-family="Times,serif" font-size="14.00">export_step(file_name: str): IFSelect_ReturnStatus</text>
|
||||
<text text-anchor="start" x="5297" y="-1029.3" font-family="Times,serif" font-size="14.00">export_stl(file_name: str, tolerance: float, angular_tolerance: float, ascii_format: bool): bool</text>
|
||||
<text text-anchor="start" x="5297" y="-1014.3" font-family="Times,serif" font-size="14.00">faces(): ShapeList['Face']</text>
|
||||
<text text-anchor="start" x="5297" y="-999.3" font-family="Times,serif" font-size="14.00">faces_intersected_by_line(point: VectorLike, axis: VectorLike, tol: float, direction: Direction): ShapeList[Face]</text>
|
||||
<text text-anchor="start" x="5297" y="-984.3" font-family="Times,serif" font-size="14.00">find_intersection(point: VectorLike, direction: VectorLike): list[tuple[Vector, Vector]]</text>
|
||||
<text text-anchor="start" x="5297" y="-969.3" font-family="Times,serif" font-size="14.00">fix(): Shape</text>
|
||||
<text text-anchor="start" x="5297" y="-954.3" font-family="Times,serif" font-size="14.00">fuse(): Shape</text>
|
||||
<text text-anchor="start" x="5297" y="-939.3" font-family="Times,serif" font-size="14.00">geom_type(): Geoms</text>
|
||||
<text text-anchor="start" x="5297" y="-924.3" font-family="Times,serif" font-size="14.00">hash_code(): int</text>
|
||||
<text text-anchor="start" x="5297" y="-909.3" font-family="Times,serif" font-size="14.00">import_brep(cls: Union[str, BytesIO], file): Shape</text>
|
||||
<text text-anchor="start" x="5297" y="-894.3" font-family="Times,serif" font-size="14.00">intersect(): Shape</text>
|
||||
<text text-anchor="start" x="5297" y="-879.3" font-family="Times,serif" font-size="14.00">is_equal(other: Shape): bool</text>
|
||||
<text text-anchor="start" x="5297" y="-864.3" font-family="Times,serif" font-size="14.00">is_null(): bool</text>
|
||||
<text text-anchor="start" x="5297" y="-849.3" font-family="Times,serif" font-size="14.00">is_same(other: Shape): bool</text>
|
||||
<text text-anchor="start" x="5297" y="-834.3" font-family="Times,serif" font-size="14.00">is_valid(): bool</text>
|
||||
<text text-anchor="start" x="5297" y="-819.3" font-family="Times,serif" font-size="14.00">locate(loc: Location): Shape</text>
|
||||
<text text-anchor="start" x="5297" y="-804.3" font-family="Times,serif" font-size="14.00">located(loc: Location): Shape</text>
|
||||
<text text-anchor="start" x="5297" y="-789.3" font-family="Times,serif" font-size="14.00">mesh(tolerance: float, angular_tolerance: float)</text>
|
||||
<text text-anchor="start" x="5297" y="-774.3" font-family="Times,serif" font-size="14.00">mirror(mirror_plane: Plane): Shape</text>
|
||||
<text text-anchor="start" x="5297" y="-759.3" font-family="Times,serif" font-size="14.00">move(loc: Location): Shape</text>
|
||||
|
|
@ -209,8 +209,8 @@
|
|||
<!-- build123d.direct_api.Compound->build123d.direct_api.Shape -->
|
||||
<g id="edge2" class="edge">
|
||||
<title>build123d.direct_api.Compound->build123d.direct_api.Shape</title>
|
||||
<path fill="none" stroke="black" d="M2792.94,-317.5C2923.3,-368.31 3096.91,-428.55 3256.5,-460 3631.3,-533.86 3737.14,-451.58 4114.5,-511 4508.87,-573.1 4944,-685.89 5278.83,-782.56"/>
|
||||
<polygon fill="none" stroke="black" points="5278.13,-786 5288.71,-785.41 5280.07,-779.27 5278.13,-786"/>
|
||||
<path fill="none" stroke="black" d="M2792.94,-317.5C2923.3,-368.31 3096.91,-428.55 3256.5,-460 3631.3,-533.86 3737.02,-452.35 4114.5,-511 4508.78,-572.26 4944.14,-683.23 5279.1,-778.26"/>
|
||||
<polygon fill="none" stroke="black" points="5278.41,-781.7 5288.98,-781.07 5280.32,-774.97 5278.41,-781.7"/>
|
||||
</g>
|
||||
<!-- build123d.direct_api.Edge -->
|
||||
<g id="node4" class="node">
|
||||
|
|
@ -224,47 +224,47 @@
|
|||
<text text-anchor="start" x="6304" y="-263.3" font-family="Times,serif" font-size="14.00">distribute_locations(count: int, start: float, stop: float, positions_only: bool): list[Location]</text>
|
||||
<text text-anchor="start" x="6304" y="-248.3" font-family="Times,serif" font-size="14.00">make_circle(cls: float, radius: Plane, plane: float, start_angle: float, end_angle: AngularDirection, angular_direction): Edge</text>
|
||||
<text text-anchor="start" x="6304" y="-233.3" font-family="Times,serif" font-size="14.00">make_ellipse(cls: float, x_radius: float, y_radius: Plane, plane: float, start_angle: float, end_angle: AngularDirection, angular_direction): Edge</text>
|
||||
<text text-anchor="start" x="6304" y="-218.3" font-family="Times,serif" font-size="14.00">make_line(cls: VectorLike, v1: VectorLike, v2): Edge</text>
|
||||
<text text-anchor="start" x="6304" y="-218.3" font-family="Times,serif" font-size="14.00">make_line(cls: VectorLike, point1: VectorLike, point2): Edge</text>
|
||||
<text text-anchor="start" x="6304" y="-203.3" font-family="Times,serif" font-size="14.00">make_spline(cls: list[VectorLike], points: list[VectorLike], tangents: bool, periodic: list[float], parameters: bool, scale: float, tol): Edge</text>
|
||||
<text text-anchor="start" x="6304" y="-188.3" font-family="Times,serif" font-size="14.00">make_spline_approx(cls: list[VectorLike], points: float, tol: Tuple[float, float, float], smoothing: int, min_deg: int, max_deg): Edge</text>
|
||||
<text text-anchor="start" x="6304" y="-173.3" font-family="Times,serif" font-size="14.00">make_tangent_arc(cls: VectorLike, start: VectorLike, tangent: VectorLike, end): Edge</text>
|
||||
<text text-anchor="start" x="6304" y="-158.3" font-family="Times,serif" font-size="14.00">make_three_point_arc(cls: VectorLike, v1: VectorLike, v2: VectorLike, v3): Edge</text>
|
||||
<text text-anchor="start" x="6304" y="-158.3" font-family="Times,serif" font-size="14.00">make_three_point_arc(cls: VectorLike, point1: VectorLike, point2: VectorLike, point3): Edge</text>
|
||||
<text text-anchor="start" x="6304" y="-143.3" font-family="Times,serif" font-size="14.00">project_to_shape(target_object: Shape, direction: VectorLike, center: VectorLike): list[Edge]</text>
|
||||
<text text-anchor="start" x="6304" y="-128.3" font-family="Times,serif" font-size="14.00">to_wire(): Wire</text>
|
||||
</g>
|
||||
<!-- build123d.direct_api.Mixin1D -->
|
||||
<g id="node8" class="node">
|
||||
<title>build123d.direct_api.Mixin1D</title>
|
||||
<polygon fill="none" stroke="black" points="6937,-834 6937,-1083 7788,-1083 7788,-834 6937,-834"/>
|
||||
<text text-anchor="middle" x="7362.5" y="-1067.8" font-family="Times,serif" font-size="14.00">Mixin1D</text>
|
||||
<polyline fill="none" stroke="black" points="6937,-1060 7788,-1060 "/>
|
||||
<text text-anchor="start" x="6945" y="-1044.8" font-family="Times,serif" font-size="14.00">length</text>
|
||||
<text text-anchor="start" x="6945" y="-1029.8" font-family="Times,serif" font-size="14.00">radius</text>
|
||||
<polyline fill="none" stroke="black" points="6937,-1022 7788,-1022 "/>
|
||||
<text text-anchor="start" x="6945" y="-1006.8" font-family="Times,serif" font-size="14.00">center(center_of: CenterOf): Vector</text>
|
||||
<text text-anchor="start" x="6945" y="-991.8" font-family="Times,serif" font-size="14.00">end_point(): Vector</text>
|
||||
<text text-anchor="start" x="6945" y="-976.8" font-family="Times,serif" font-size="14.00">is_closed(): bool</text>
|
||||
<text text-anchor="start" x="6945" y="-961.8" font-family="Times,serif" font-size="14.00">location_at(distance: float, position_mode: PositionMode, frame_method: FrameMethod, planar: bool): Location</text>
|
||||
<text text-anchor="start" x="6945" y="-946.8" font-family="Times,serif" font-size="14.00">locations(ds: Iterable[float], position_mode: PositionMode, frame_method: FrameMethod, planar: bool): list[Location]</text>
|
||||
<text text-anchor="start" x="6945" y="-931.8" font-family="Times,serif" font-size="14.00">normal(): Vector</text>
|
||||
<text text-anchor="start" x="6945" y="-916.8" font-family="Times,serif" font-size="14.00">param_at(distance: float): float</text>
|
||||
<text text-anchor="start" x="6945" y="-901.8" font-family="Times,serif" font-size="14.00">position_at(d: float, position_mode: PositionMode): Vector</text>
|
||||
<text text-anchor="start" x="6945" y="-886.8" font-family="Times,serif" font-size="14.00">positions(ds: Iterable[float], position_mode: PositionMode): list[Vector]</text>
|
||||
<text text-anchor="start" x="6945" y="-871.8" font-family="Times,serif" font-size="14.00">project(face: Face, d: VectorLike, closest: bool): Union[Mixin1D, list[Mixin1D]]</text>
|
||||
<text text-anchor="start" x="6945" y="-856.8" font-family="Times,serif" font-size="14.00">start_point(): Vector</text>
|
||||
<text text-anchor="start" x="6945" y="-841.8" font-family="Times,serif" font-size="14.00">tangent_at(location_param: float, position_mode: PositionMode): Vector</text>
|
||||
<polygon fill="none" stroke="black" points="6893.5,-826.5 6893.5,-1075.5 7795.5,-1075.5 7795.5,-826.5 6893.5,-826.5"/>
|
||||
<text text-anchor="middle" x="7344.5" y="-1060.3" font-family="Times,serif" font-size="14.00">Mixin1D</text>
|
||||
<polyline fill="none" stroke="black" points="6893.5,-1052.5 7795.5,-1052.5 "/>
|
||||
<text text-anchor="start" x="6901.5" y="-1037.3" font-family="Times,serif" font-size="14.00">length</text>
|
||||
<text text-anchor="start" x="6901.5" y="-1022.3" font-family="Times,serif" font-size="14.00">radius</text>
|
||||
<polyline fill="none" stroke="black" points="6893.5,-1014.5 7795.5,-1014.5 "/>
|
||||
<text text-anchor="start" x="6901.5" y="-999.3" font-family="Times,serif" font-size="14.00">center(center_of: CenterOf): Vector</text>
|
||||
<text text-anchor="start" x="6901.5" y="-984.3" font-family="Times,serif" font-size="14.00">end_point(): Vector</text>
|
||||
<text text-anchor="start" x="6901.5" y="-969.3" font-family="Times,serif" font-size="14.00">is_closed(): bool</text>
|
||||
<text text-anchor="start" x="6901.5" y="-954.3" font-family="Times,serif" font-size="14.00">location_at(distance: float, position_mode: PositionMode, frame_method: FrameMethod, planar: bool): Location</text>
|
||||
<text text-anchor="start" x="6901.5" y="-939.3" font-family="Times,serif" font-size="14.00">locations(distances: Iterable[float], position_mode: PositionMode, frame_method: FrameMethod, planar: bool): list[Location]</text>
|
||||
<text text-anchor="start" x="6901.5" y="-924.3" font-family="Times,serif" font-size="14.00">normal(): Vector</text>
|
||||
<text text-anchor="start" x="6901.5" y="-909.3" font-family="Times,serif" font-size="14.00">param_at(distance: float): float</text>
|
||||
<text text-anchor="start" x="6901.5" y="-894.3" font-family="Times,serif" font-size="14.00">position_at(distance: float, position_mode: PositionMode): Vector</text>
|
||||
<text text-anchor="start" x="6901.5" y="-879.3" font-family="Times,serif" font-size="14.00">positions(distances: Iterable[float], position_mode: PositionMode): list[Vector]</text>
|
||||
<text text-anchor="start" x="6901.5" y="-864.3" font-family="Times,serif" font-size="14.00">project(face: Face, direction: VectorLike, closest: bool): Union[Mixin1D, list[Mixin1D]]</text>
|
||||
<text text-anchor="start" x="6901.5" y="-849.3" font-family="Times,serif" font-size="14.00">start_point(): Vector</text>
|
||||
<text text-anchor="start" x="6901.5" y="-834.3" font-family="Times,serif" font-size="14.00">tangent_at(location_param: float, position_mode: PositionMode): Vector</text>
|
||||
</g>
|
||||
<!-- build123d.direct_api.Edge->build123d.direct_api.Mixin1D -->
|
||||
<g id="edge3" class="edge">
|
||||
<title>build123d.direct_api.Edge->build123d.direct_api.Mixin1D</title>
|
||||
<path fill="none" stroke="black" d="M6888.89,-339.76C6988.42,-469.59 7154.77,-686.56 7261.5,-825.76"/>
|
||||
<polygon fill="none" stroke="black" points="7258.94,-828.18 7267.8,-833.99 7264.5,-823.92 7258.94,-828.18"/>
|
||||
<path fill="none" stroke="black" d="M6887.07,-339.81C6983.16,-467.98 7142.71,-680.82 7245.71,-818.22"/>
|
||||
<polygon fill="none" stroke="black" points="7243,-820.44 7251.8,-826.34 7248.6,-816.24 7243,-820.44"/>
|
||||
</g>
|
||||
<!-- build123d.direct_api.Edge->build123d.direct_api.Shape -->
|
||||
<g id="edge4" class="edge">
|
||||
<title>build123d.direct_api.Edge->build123d.direct_api.Shape</title>
|
||||
<path fill="none" stroke="black" d="M6661.44,-339.57C6589.81,-393.55 6498.15,-462.63 6402.21,-534.93"/>
|
||||
<polygon fill="none" stroke="black" points="6399.99,-532.22 6394.11,-541.04 6404.2,-537.81 6399.99,-532.22"/>
|
||||
<path fill="none" stroke="black" d="M6659.87,-339.61C6588.48,-392.86 6497.45,-460.76 6402.21,-531.79"/>
|
||||
<polygon fill="none" stroke="black" points="6400.09,-529.01 6394.17,-537.79 6404.28,-534.62 6400.09,-529.01"/>
|
||||
</g>
|
||||
<!-- build123d.direct_api.Face -->
|
||||
<g id="node5" class="node">
|
||||
|
|
@ -274,8 +274,8 @@
|
|||
<polyline fill="none" stroke="black" points="4655.5,-384.5 5661.5,-384.5 "/>
|
||||
<polyline fill="none" stroke="black" points="4655.5,-360.5 5661.5,-360.5 "/>
|
||||
<text text-anchor="start" x="4663.5" y="-345.3" font-family="Times,serif" font-size="14.00">center(center_of)</text>
|
||||
<text text-anchor="start" x="4663.5" y="-330.3" font-family="Times,serif" font-size="14.00">chamfer_2d(d: float, vertices: Iterable[Vertex]): Face</text>
|
||||
<text text-anchor="start" x="4663.5" y="-315.3" font-family="Times,serif" font-size="14.00">construct_on(cls: Face, f: Wire, outer): Face</text>
|
||||
<text text-anchor="start" x="4663.5" y="-330.3" font-family="Times,serif" font-size="14.00">chamfer_2d(distance: float, vertices: Iterable[Vertex]): Face</text>
|
||||
<text text-anchor="start" x="4663.5" y="-315.3" font-family="Times,serif" font-size="14.00">construct_on(cls: Face, face: Wire, outer): Face</text>
|
||||
<text text-anchor="start" x="4663.5" y="-300.3" font-family="Times,serif" font-size="14.00">fillet_2d(radius: float, vertices: Iterable[Vertex]): Face</text>
|
||||
<text text-anchor="start" x="4663.5" y="-285.3" font-family="Times,serif" font-size="14.00">inner_wires(): list[Wire]</text>
|
||||
<text text-anchor="start" x="4663.5" y="-270.3" font-family="Times,serif" font-size="14.00">is_inside(point: VectorLike, tolerance: float): bool</text>
|
||||
|
|
@ -285,11 +285,11 @@
|
|||
<text text-anchor="start" x="4663.5" y="-210.3" font-family="Times,serif" font-size="14.00">make_rect(cls: float, width: float, height: VectorLike, pnt: VectorLike, normal): Face</text>
|
||||
<text text-anchor="start" x="4663.5" y="-195.3" font-family="Times,serif" font-size="14.00">make_ruled_surface(cls: Edge, edge1: Edge, edge2): Face</text>
|
||||
<text text-anchor="start" x="4663.5" y="-180.3" font-family="Times,serif" font-size="14.00">make_surface(cls: Union[Wire, list[Edge]], exterior: list[VectorLike], surface_points: list[Wire], interior_wires): Face</text>
|
||||
<text text-anchor="start" x="4663.5" y="-165.3" font-family="Times,serif" font-size="14.00">make_surface_from_curves(cls, curve1, curve2): Face</text>
|
||||
<text text-anchor="start" x="4663.5" y="-165.3" font-family="Times,serif" font-size="14.00">make_surface_from_curves(cls: Union[Edge, Wire], curve1: Union[Edge, Wire], curve2): Face</text>
|
||||
<text text-anchor="start" x="4663.5" y="-150.3" font-family="Times,serif" font-size="14.00">make_surface_from_points(cls: list[list[VectorLike]], points: float, tol: Tuple[float, float, float], smoothing: int, min_deg: int, max_deg): Face</text>
|
||||
<text text-anchor="start" x="4663.5" y="-135.3" font-family="Times,serif" font-size="14.00">normal_at(surface_point: VectorLike): Vector</text>
|
||||
<text text-anchor="start" x="4663.5" y="-120.3" font-family="Times,serif" font-size="14.00">outer_wire(): Wire</text>
|
||||
<text text-anchor="start" x="4663.5" y="-105.3" font-family="Times,serif" font-size="14.00">project(other: Face, d: VectorLike): Face</text>
|
||||
<text text-anchor="start" x="4663.5" y="-105.3" font-family="Times,serif" font-size="14.00">project(other: Face, direction: VectorLike): Face</text>
|
||||
<text text-anchor="start" x="4663.5" y="-90.3" font-family="Times,serif" font-size="14.00">project_to_shape(target_object: Shape, direction: VectorLike, center: VectorLike, internal_face_points: list[Vector]): list[Face]</text>
|
||||
<text text-anchor="start" x="4663.5" y="-75.3" font-family="Times,serif" font-size="14.00">thicken(depth: float, direction: VectorLike): Solid</text>
|
||||
<text text-anchor="start" x="4663.5" y="-60.3" font-family="Times,serif" font-size="14.00">to_pln(): gp_Pln</text>
|
||||
|
|
@ -297,21 +297,21 @@
|
|||
<!-- build123d.direct_api.Face->build123d.direct_api.Shape -->
|
||||
<g id="edge5" class="edge">
|
||||
<title>build123d.direct_api.Face->build123d.direct_api.Shape</title>
|
||||
<path fill="none" stroke="black" d="M5324.71,-407.79C5352.97,-437.86 5383.44,-470.27 5414.93,-503.77"/>
|
||||
<polygon fill="none" stroke="black" points="5412.7,-506.5 5422.1,-511.39 5417.8,-501.7 5412.7,-506.5"/>
|
||||
<path fill="none" stroke="black" d="M5326.46,-407.81C5355.01,-437.86 5385.76,-470.24 5417.53,-503.68"/>
|
||||
<polygon fill="none" stroke="black" points="5415.33,-506.45 5424.75,-511.29 5420.4,-501.63 5415.33,-506.45"/>
|
||||
</g>
|
||||
<!-- build123d.direct_api.Location -->
|
||||
<g id="node6" class="node">
|
||||
<title>build123d.direct_api.Location</title>
|
||||
<polygon fill="none" stroke="black" points="8282.5,-901.5 8282.5,-1015.5 8756.5,-1015.5 8756.5,-901.5 8282.5,-901.5"/>
|
||||
<text text-anchor="middle" x="8519.5" y="-1000.3" font-family="Times,serif" font-size="14.00">Location</text>
|
||||
<polyline fill="none" stroke="black" points="8282.5,-992.5 8756.5,-992.5 "/>
|
||||
<text text-anchor="start" x="8290.5" y="-977.3" font-family="Times,serif" font-size="14.00">orientation</text>
|
||||
<text text-anchor="start" x="8290.5" y="-962.3" font-family="Times,serif" font-size="14.00">position</text>
|
||||
<text text-anchor="start" x="8290.5" y="-947.3" font-family="Times,serif" font-size="14.00">wrapped</text>
|
||||
<polyline fill="none" stroke="black" points="8282.5,-939.5 8756.5,-939.5 "/>
|
||||
<text text-anchor="start" x="8290.5" y="-924.3" font-family="Times,serif" font-size="14.00">inverse(): Location</text>
|
||||
<text text-anchor="start" x="8290.5" y="-909.3" font-family="Times,serif" font-size="14.00">to_tuple(): tuple[tuple[float, float, float], tuple[float, float, float]]</text>
|
||||
<polygon fill="none" stroke="black" points="8294.5,-894 8294.5,-1008 8768.5,-1008 8768.5,-894 8294.5,-894"/>
|
||||
<text text-anchor="middle" x="8531.5" y="-992.8" font-family="Times,serif" font-size="14.00">Location</text>
|
||||
<polyline fill="none" stroke="black" points="8294.5,-985 8768.5,-985 "/>
|
||||
<text text-anchor="start" x="8302.5" y="-969.8" font-family="Times,serif" font-size="14.00">orientation</text>
|
||||
<text text-anchor="start" x="8302.5" y="-954.8" font-family="Times,serif" font-size="14.00">position</text>
|
||||
<text text-anchor="start" x="8302.5" y="-939.8" font-family="Times,serif" font-size="14.00">wrapped</text>
|
||||
<polyline fill="none" stroke="black" points="8294.5,-932 8768.5,-932 "/>
|
||||
<text text-anchor="start" x="8302.5" y="-916.8" font-family="Times,serif" font-size="14.00">inverse(): Location</text>
|
||||
<text text-anchor="start" x="8302.5" y="-901.8" font-family="Times,serif" font-size="14.00">to_tuple(): tuple[tuple[float, float, float], tuple[float, float, float]]</text>
|
||||
</g>
|
||||
<!-- build123d.direct_api.Matrix -->
|
||||
<g id="node7" class="node">
|
||||
|
|
@ -331,46 +331,46 @@
|
|||
<!-- build123d.direct_api.Matrix->build123d.direct_api.Plane -->
|
||||
<g id="edge15" class="edge">
|
||||
<title>build123d.direct_api.Matrix->build123d.direct_api.Plane</title>
|
||||
<path fill="none" stroke="black" d="M1752.89,-302.09C1730.1,-352.39 1693.24,-418.1 1642.5,-460 1624.61,-474.77 1613.68,-466.56 1593.5,-478 1469.12,-548.49 1344.1,-644.71 1241.06,-732.46"/>
|
||||
<polygon fill="black" stroke="black" points="1240.91,-732.58 1238.95,-739.52 1231.79,-740.38 1233.75,-733.44 1240.91,-732.58"/>
|
||||
<path fill="none" stroke="black" d="M1752.89,-302.09C1730.1,-352.39 1693.24,-418.1 1642.5,-460 1624.61,-474.77 1613.73,-466.64 1593.5,-478 1469.34,-547.73 1344.11,-642.75 1240.86,-729.26"/>
|
||||
<polygon fill="black" stroke="black" points="1240.75,-729.34 1238.74,-736.27 1231.57,-737.06 1233.59,-730.14 1240.75,-729.34"/>
|
||||
<text text-anchor="middle" x="1660" y="-481.8" font-family="Times,serif" font-size="14.00" fill="green">reverse_transform</text>
|
||||
</g>
|
||||
<!-- build123d.direct_api.Matrix->build123d.direct_api.Plane -->
|
||||
<g id="edge16" class="edge">
|
||||
<title>build123d.direct_api.Matrix->build123d.direct_api.Plane</title>
|
||||
<path fill="none" stroke="black" d="M1780.53,-302.17C1777.3,-358.45 1765.27,-436.66 1726.5,-493 1608.63,-664.27 1404.84,-786.37 1242.96,-862.27"/>
|
||||
<polygon fill="black" stroke="black" points="1242.75,-862.37 1239,-868.53 1231.87,-867.43 1235.62,-861.28 1242.75,-862.37"/>
|
||||
<path fill="none" stroke="black" d="M1780.65,-302.25C1777.48,-358.58 1765.48,-436.81 1726.5,-493 1608.56,-663.04 1404.77,-783.04 1242.91,-857.28"/>
|
||||
<polygon fill="black" stroke="black" points="1242.75,-857.35 1238.94,-863.48 1231.82,-862.32 1235.63,-856.2 1242.75,-857.35"/>
|
||||
<text text-anchor="middle" x="1802" y="-481.8" font-family="Times,serif" font-size="14.00" fill="green">forward_transform</text>
|
||||
</g>
|
||||
<!-- build123d.direct_api.Rotation -->
|
||||
<g id="node11" class="node">
|
||||
<title>build123d.direct_api.Rotation</title>
|
||||
<polygon fill="none" stroke="black" points="8460.5,-180.5 8460.5,-279.5 8578.5,-279.5 8578.5,-180.5 8460.5,-180.5"/>
|
||||
<text text-anchor="middle" x="8519.5" y="-264.3" font-family="Times,serif" font-size="14.00">Rotation</text>
|
||||
<polyline fill="none" stroke="black" points="8460.5,-256.5 8578.5,-256.5 "/>
|
||||
<text text-anchor="start" x="8468.5" y="-241.3" font-family="Times,serif" font-size="14.00">about_x : float</text>
|
||||
<text text-anchor="start" x="8468.5" y="-226.3" font-family="Times,serif" font-size="14.00">about_y : float</text>
|
||||
<text text-anchor="start" x="8468.5" y="-211.3" font-family="Times,serif" font-size="14.00">about_z : float</text>
|
||||
<polyline fill="none" stroke="black" points="8460.5,-203.5 8578.5,-203.5 "/>
|
||||
<text text-anchor="middle" x="8519.5" y="-188.3" font-family="Times,serif" font-size="14.00"> </text>
|
||||
<polygon fill="none" stroke="black" points="8472.5,-180.5 8472.5,-279.5 8590.5,-279.5 8590.5,-180.5 8472.5,-180.5"/>
|
||||
<text text-anchor="middle" x="8531.5" y="-264.3" font-family="Times,serif" font-size="14.00">Rotation</text>
|
||||
<polyline fill="none" stroke="black" points="8472.5,-256.5 8590.5,-256.5 "/>
|
||||
<text text-anchor="start" x="8480.5" y="-241.3" font-family="Times,serif" font-size="14.00">about_x : float</text>
|
||||
<text text-anchor="start" x="8480.5" y="-226.3" font-family="Times,serif" font-size="14.00">about_y : float</text>
|
||||
<text text-anchor="start" x="8480.5" y="-211.3" font-family="Times,serif" font-size="14.00">about_z : float</text>
|
||||
<polyline fill="none" stroke="black" points="8472.5,-203.5 8590.5,-203.5 "/>
|
||||
<text text-anchor="middle" x="8531.5" y="-188.3" font-family="Times,serif" font-size="14.00"> </text>
|
||||
</g>
|
||||
<!-- build123d.direct_api.Rotation->build123d.direct_api.Location -->
|
||||
<g id="edge6" class="edge">
|
||||
<title>build123d.direct_api.Rotation->build123d.direct_api.Location</title>
|
||||
<path fill="none" stroke="black" d="M8519.5,-279.51C8519.5,-406.18 8519.5,-747.05 8519.5,-891.44"/>
|
||||
<polygon fill="none" stroke="black" points="8516,-891.49 8519.5,-901.49 8523,-891.49 8516,-891.49"/>
|
||||
<path fill="none" stroke="black" d="M8531.5,-279.57C8531.5,-405.06 8531.5,-740.25 8531.5,-883.54"/>
|
||||
<polygon fill="none" stroke="black" points="8528,-883.93 8531.5,-893.93 8535,-883.93 8528,-883.93"/>
|
||||
</g>
|
||||
<!-- build123d.direct_api.ShapeList -->
|
||||
<g id="node13" class="node">
|
||||
<title>build123d.direct_api.ShapeList</title>
|
||||
<polygon fill="none" stroke="black" points="8597,-172.5 8597,-287.5 9250,-287.5 9250,-172.5 8597,-172.5"/>
|
||||
<text text-anchor="middle" x="8923.5" y="-272.3" font-family="Times,serif" font-size="14.00">ShapeList</text>
|
||||
<polyline fill="none" stroke="black" points="8597,-264.5 9250,-264.5 "/>
|
||||
<polyline fill="none" stroke="black" points="8597,-240.5 9250,-240.5 "/>
|
||||
<text text-anchor="start" x="8605" y="-225.3" font-family="Times,serif" font-size="14.00">filter_by(filter_by: Union[Axis, GeomType], reverse: bool, tolerance: float): ShapeList</text>
|
||||
<text text-anchor="start" x="8605" y="-210.3" font-family="Times,serif" font-size="14.00">filter_by_position(axis: Axis, minimum: float, maximum: float, inclusive: tuple[bool, bool])</text>
|
||||
<text text-anchor="start" x="8605" y="-195.3" font-family="Times,serif" font-size="14.00">group_by(group_by: Union[Axis, SortBy], reverse, tol_digits)</text>
|
||||
<text text-anchor="start" x="8605" y="-180.3" font-family="Times,serif" font-size="14.00">sort_by(sort_by: Union[Axis, SortBy], reverse: bool)</text>
|
||||
<polygon fill="none" stroke="black" points="8609,-172.5 8609,-287.5 9262,-287.5 9262,-172.5 8609,-172.5"/>
|
||||
<text text-anchor="middle" x="8935.5" y="-272.3" font-family="Times,serif" font-size="14.00">ShapeList</text>
|
||||
<polyline fill="none" stroke="black" points="8609,-264.5 9262,-264.5 "/>
|
||||
<polyline fill="none" stroke="black" points="8609,-240.5 9262,-240.5 "/>
|
||||
<text text-anchor="start" x="8617" y="-225.3" font-family="Times,serif" font-size="14.00">filter_by(filter_by: Union[Axis, GeomType], reverse: bool, tolerance: float): ShapeList</text>
|
||||
<text text-anchor="start" x="8617" y="-210.3" font-family="Times,serif" font-size="14.00">filter_by_position(axis: Axis, minimum: float, maximum: float, inclusive: tuple[bool, bool])</text>
|
||||
<text text-anchor="start" x="8617" y="-195.3" font-family="Times,serif" font-size="14.00">group_by(group_by: Union[Axis, SortBy], reverse, tol_digits)</text>
|
||||
<text text-anchor="start" x="8617" y="-180.3" font-family="Times,serif" font-size="14.00">sort_by(sort_by: Union[Axis, SortBy], reverse: bool)</text>
|
||||
</g>
|
||||
<!-- build123d.direct_api.Shell -->
|
||||
<g id="node14" class="node">
|
||||
|
|
@ -384,8 +384,8 @@
|
|||
<!-- build123d.direct_api.Shell->build123d.direct_api.Shape -->
|
||||
<g id="edge7" class="edge">
|
||||
<title>build123d.direct_api.Shell->build123d.direct_api.Shape</title>
|
||||
<path fill="none" stroke="black" d="M5841.5,-265.07C5841.5,-311.78 5841.5,-401.36 5841.5,-500.98"/>
|
||||
<polygon fill="none" stroke="black" points="5838,-501.28 5841.5,-511.28 5845,-501.28 5838,-501.28"/>
|
||||
<path fill="none" stroke="black" d="M5841.5,-265.2C5841.5,-312.01 5841.5,-401.65 5841.5,-501.03"/>
|
||||
<polygon fill="none" stroke="black" points="5838,-501.3 5841.5,-511.3 5845,-501.3 5838,-501.3"/>
|
||||
</g>
|
||||
<!-- build123d.direct_api.Solid -->
|
||||
<g id="node15" class="node">
|
||||
|
|
@ -405,7 +405,7 @@
|
|||
<text text-anchor="start" x="3273.5" y="-187.8" font-family="Times,serif" font-size="14.00">make_solid(cls: Shell, shell): Solid</text>
|
||||
<text text-anchor="start" x="3273.5" y="-172.8" font-family="Times,serif" font-size="14.00">make_sphere(cls: float, radius: Plane, plane: float, angle1: float, angle2: float, angle3): Shape</text>
|
||||
<text text-anchor="start" x="3273.5" y="-157.8" font-family="Times,serif" font-size="14.00">make_torus(cls: float, major_radius: float, minor_radius: Plane, plane: float, start_angle: float, end_angle): Solid</text>
|
||||
<text text-anchor="start" x="3273.5" y="-142.8" font-family="Times,serif" font-size="14.00">make_wedge(cls: float, dx: float, dy: float, dz: float, xmin: float, zmin: float, xmax: float, zmax: Plane, plane): Solid</text>
|
||||
<text text-anchor="start" x="3273.5" y="-142.8" font-family="Times,serif" font-size="14.00">make_wedge(cls: float, delta_x: float, delta_y: float, delta_z: float, min_x: float, min_z: float, max_x: float, max_z: Plane, plane): Solid</text>
|
||||
<text text-anchor="start" x="3273.5" y="-127.8" font-family="Times,serif" font-size="14.00">revolve(cls: Union[Face, Wire], section: float, angle: Axis, axis: list[Wire], inner_wires): Solid</text>
|
||||
<text text-anchor="start" x="3273.5" y="-112.8" font-family="Times,serif" font-size="14.00">sweep(cls: Union[Face, Wire], section: Union[Wire, Edge], path: list[Wire], inner_wires: bool, make_solid: bool, is_frenet: Union[Vector, Wire, Edge, None], mode: Transition, transition): Solid</text>
|
||||
<text text-anchor="start" x="3273.5" y="-97.8" font-family="Times,serif" font-size="14.00">sweep_multi(cls: Iterable[Union[Wire, Face]], profiles: Union[Wire, Edge], path: bool, make_solid: bool, is_frenet: Union[Vector, Wire, Edge, None], mode): Solid</text>
|
||||
|
|
@ -413,14 +413,14 @@
|
|||
<!-- build123d.direct_api.Solid->build123d.direct_api.Mixin3D -->
|
||||
<g id="edge8" class="edge">
|
||||
<title>build123d.direct_api.Solid->build123d.direct_api.Mixin3D</title>
|
||||
<path fill="none" stroke="black" d="M3883.66,-370.22C3809.02,-523.41 3691.88,-763.82 3633.32,-883.98"/>
|
||||
<polygon fill="none" stroke="black" points="3630.1,-882.6 3628.87,-893.12 3636.39,-885.67 3630.1,-882.6"/>
|
||||
<path fill="none" stroke="black" d="M3883.04,-370.06C3810.07,-518.26 3697.02,-747.87 3637.41,-868.93"/>
|
||||
<polygon fill="none" stroke="black" points="3634.14,-867.65 3632.87,-878.17 3640.42,-870.74 3634.14,-867.65"/>
|
||||
</g>
|
||||
<!-- build123d.direct_api.Solid->build123d.direct_api.Shape -->
|
||||
<g id="edge9" class="edge">
|
||||
<title>build123d.direct_api.Solid->build123d.direct_api.Shape</title>
|
||||
<path fill="none" stroke="black" d="M4313.12,-370C4586.24,-474.99 4966.15,-621.02 5278.87,-741.23"/>
|
||||
<polygon fill="none" stroke="black" points="5277.98,-744.64 5288.57,-744.96 5280.49,-738.1 5277.98,-744.64"/>
|
||||
<path fill="none" stroke="black" d="M4317.03,-370.06C4589.99,-473.89 4967.99,-617.7 5279.3,-736.13"/>
|
||||
<polygon fill="none" stroke="black" points="5278.36,-739.51 5288.96,-739.8 5280.85,-732.97 5278.36,-739.51"/>
|
||||
</g>
|
||||
<!-- build123d.direct_api.Vector -->
|
||||
<g id="node16" class="node">
|
||||
|
|
@ -461,121 +461,121 @@
|
|||
<!-- build123d.direct_api.Vector->build123d.direct_api.Axis -->
|
||||
<g id="edge17" class="edge">
|
||||
<title>build123d.direct_api.Vector->build123d.direct_api.Axis</title>
|
||||
<path fill="none" stroke="black" d="M631.73,-256.23C496.52,-285.13 324.58,-346.8 237.5,-478 173.67,-574.17 190.4,-706.22 219.32,-807.39"/>
|
||||
<polygon fill="black" stroke="black" points="219.33,-807.44 224.86,-812.07 222.71,-818.95 217.18,-814.32 219.33,-807.44"/>
|
||||
<path fill="none" stroke="black" d="M631.73,-256.23C496.52,-285.13 324.58,-346.8 237.5,-478 175.22,-571.84 191.02,-700.36 219.19,-799.6"/>
|
||||
<polygon fill="black" stroke="black" points="219.23,-799.72 224.75,-804.36 222.59,-811.24 217.07,-806.61 219.23,-799.72"/>
|
||||
<text text-anchor="middle" x="266.5" y="-481.8" font-family="Times,serif" font-size="14.00" fill="green">position</text>
|
||||
</g>
|
||||
<!-- build123d.direct_api.Vector->build123d.direct_api.Axis -->
|
||||
<g id="edge18" class="edge">
|
||||
<title>build123d.direct_api.Vector->build123d.direct_api.Axis</title>
|
||||
<path fill="none" stroke="black" d="M631.99,-278.22C525.7,-314.73 401.06,-376.65 330.5,-478 264.39,-572.95 254.2,-705.04 258.82,-806.54"/>
|
||||
<polygon fill="black" stroke="black" points="258.83,-806.78 263.14,-812.57 259.45,-818.77 255.15,-812.98 258.83,-806.78"/>
|
||||
<path fill="none" stroke="black" d="M631.74,-278.38C525.54,-314.91 401.08,-376.81 330.5,-478 265.79,-570.77 255.21,-699.64 259.33,-799.29"/>
|
||||
<polygon fill="black" stroke="black" points="259.33,-799.31 263.61,-805.11 259.9,-811.29 255.62,-805.49 259.33,-799.31"/>
|
||||
<text text-anchor="middle" x="362.5" y="-481.8" font-family="Times,serif" font-size="14.00" fill="green">direction</text>
|
||||
</g>
|
||||
<!-- build123d.direct_api.Vector->build123d.direct_api.Plane -->
|
||||
<g id="edge19" class="edge">
|
||||
<title>build123d.direct_api.Vector->build123d.direct_api.Plane</title>
|
||||
<path fill="none" stroke="black" d="M631.85,-276.85C484.05,-320.99 318.39,-395.4 405.5,-493 429.03,-519.36 531.76,-495.46 563.5,-511 662.7,-559.58 752.03,-640.27 823.63,-719.8"/>
|
||||
<polygon fill="black" stroke="black" points="823.84,-720.04 830.82,-721.85 831.83,-728.99 824.85,-727.18 823.84,-720.04"/>
|
||||
<path fill="none" stroke="black" d="M631.85,-276.85C484.05,-320.99 318.39,-395.4 405.5,-493 429.03,-519.36 531.7,-495.59 563.5,-511 660.42,-557.95 748.3,-635.47 819.36,-712.4"/>
|
||||
<polygon fill="black" stroke="black" points="819.39,-712.44 826.4,-714.16 827.5,-721.29 820.49,-719.56 819.39,-712.44"/>
|
||||
<text text-anchor="middle" x="430" y="-481.8" font-family="Times,serif" font-size="14.00" fill="green">_origin</text>
|
||||
</g>
|
||||
<!-- build123d.direct_api.Vector->build123d.direct_api.Plane -->
|
||||
<g id="edge20" class="edge">
|
||||
<title>build123d.direct_api.Vector->build123d.direct_api.Plane</title>
|
||||
<path fill="none" stroke="black" d="M631.97,-293.96C519.53,-341.2 411.34,-411.56 477.5,-493 502.12,-523.31 529.26,-492.22 563.5,-511 658.39,-563.06 745.62,-642.49 816.71,-719.99"/>
|
||||
<polygon fill="black" stroke="black" points="816.78,-720.07 823.78,-721.81 824.86,-728.94 817.86,-727.19 816.78,-720.07"/>
|
||||
<path fill="none" stroke="black" d="M631.97,-293.96C519.53,-341.2 411.34,-411.56 477.5,-493 502.12,-523.31 529.18,-492.36 563.5,-511 656.02,-561.25 741.61,-637.38 812.01,-712.2"/>
|
||||
<polygon fill="black" stroke="black" points="812.33,-712.54 819.35,-714.2 820.52,-721.31 813.5,-719.66 812.33,-712.54"/>
|
||||
<text text-anchor="middle" x="502" y="-481.8" font-family="Times,serif" font-size="14.00" fill="green">_origin</text>
|
||||
</g>
|
||||
<!-- build123d.direct_api.Vector->build123d.direct_api.Plane -->
|
||||
<g id="edge21" class="edge">
|
||||
<title>build123d.direct_api.Vector->build123d.direct_api.Plane</title>
|
||||
<path fill="none" stroke="black" d="M631.7,-323.67C569.31,-367.82 522.26,-425.74 549.5,-493 552.76,-501.05 658.06,-609.9 765.97,-720.2"/>
|
||||
<polygon fill="black" stroke="black" points="766.02,-720.24 773.07,-721.74 774.41,-728.82 767.36,-727.33 766.02,-720.24"/>
|
||||
<path fill="none" stroke="black" d="M631.86,-323.48C569.21,-367.69 521.93,-425.7 549.5,-493 552.73,-500.88 655.6,-605.55 762.15,-712.72"/>
|
||||
<polygon fill="black" stroke="black" points="762.36,-712.93 769.42,-714.36 770.82,-721.44 763.75,-720 762.36,-712.93"/>
|
||||
<text text-anchor="middle" x="574" y="-481.8" font-family="Times,serif" font-size="14.00" fill="green">_origin</text>
|
||||
</g>
|
||||
<!-- build123d.direct_api.Vector->build123d.direct_api.Plane -->
|
||||
<g id="edge22" class="edge">
|
||||
<title>build123d.direct_api.Vector->build123d.direct_api.Plane</title>
|
||||
<path fill="none" stroke="black" d="M631.9,-394.34C615.56,-425.2 609.28,-458.64 621.5,-493 651.27,-576.74 703.3,-656.35 759.41,-725.24"/>
|
||||
<polygon fill="black" stroke="black" points="759.73,-725.63 766.63,-727.72 767.35,-734.89 760.45,-732.8 759.73,-725.63"/>
|
||||
<path fill="none" stroke="black" d="M631.86,-394.06C615.4,-425.01 609.1,-458.55 621.5,-493 651.31,-575.81 703.36,-654.27 759.47,-722.05"/>
|
||||
<polygon fill="black" stroke="black" points="759.71,-722.34 766.63,-724.38 767.41,-731.55 760.49,-729.51 759.71,-722.34"/>
|
||||
<text text-anchor="middle" x="646" y="-481.8" font-family="Times,serif" font-size="14.00" fill="green">_origin</text>
|
||||
</g>
|
||||
<!-- build123d.direct_api.Vector->build123d.direct_api.Plane -->
|
||||
<g id="edge23" class="edge">
|
||||
<title>build123d.direct_api.Vector->build123d.direct_api.Plane</title>
|
||||
<path fill="none" stroke="black" d="M688.14,-459.6C688.48,-470.77 690.18,-481.93 693.5,-493 717.19,-572.02 759.14,-650.02 804.53,-718.89"/>
|
||||
<polygon fill="black" stroke="black" points="804.6,-719 811.25,-721.77 811.25,-728.98 804.59,-726.21 804.6,-719"/>
|
||||
<path fill="none" stroke="black" d="M688.03,-459.63C688.41,-470.79 690.14,-481.95 693.5,-493 716.7,-569.36 757.38,-644.58 801.64,-711.25"/>
|
||||
<polygon fill="black" stroke="black" points="801.79,-711.49 808.46,-714.24 808.48,-721.45 801.82,-718.7 801.79,-711.49"/>
|
||||
<text text-anchor="middle" x="718" y="-481.8" font-family="Times,serif" font-size="14.00" fill="green">_origin</text>
|
||||
</g>
|
||||
<!-- build123d.direct_api.Vector->build123d.direct_api.Plane -->
|
||||
<g id="edge24" class="edge">
|
||||
<title>build123d.direct_api.Vector->build123d.direct_api.Plane</title>
|
||||
<path fill="none" stroke="black" d="M760.56,-459.72C761.32,-470.98 762.91,-482.12 765.5,-493 783.72,-569.67 816.71,-648.04 852.29,-718.05"/>
|
||||
<polygon fill="black" stroke="black" points="852.31,-718.09 858.6,-721.6 857.78,-728.77 851.49,-725.26 852.31,-718.09"/>
|
||||
<path fill="none" stroke="black" d="M760.48,-459.74C761.26,-471 762.88,-482.13 765.5,-493 783.38,-567.13 815.43,-642.75 850.2,-710.58"/>
|
||||
<polygon fill="black" stroke="black" points="850.29,-710.75 856.6,-714.24 855.8,-721.4 849.49,-717.91 850.29,-710.75"/>
|
||||
<text text-anchor="middle" x="783.5" y="-481.8" font-family="Times,serif" font-size="14.00" fill="green">x_dir</text>
|
||||
</g>
|
||||
<!-- build123d.direct_api.Vector->build123d.direct_api.Plane -->
|
||||
<g id="edge25" class="edge">
|
||||
<title>build123d.direct_api.Vector->build123d.direct_api.Plane</title>
|
||||
<path fill="none" stroke="black" d="M819.56,-459.72C820.88,-471.01 822.5,-482.15 824.5,-493 838.31,-568.02 863.49,-646.69 890.53,-717.52"/>
|
||||
<polygon fill="black" stroke="black" points="890.57,-717.62 896.46,-721.78 894.88,-728.82 888.99,-724.66 890.57,-717.62"/>
|
||||
<path fill="none" stroke="black" d="M819.49,-459.74C820.82,-471.02 822.47,-482.16 824.5,-493 838.05,-565.48 862.52,-641.35 888.96,-709.97"/>
|
||||
<polygon fill="black" stroke="black" points="889.04,-710.18 894.95,-714.32 893.39,-721.36 887.49,-717.22 889.04,-710.18"/>
|
||||
<text text-anchor="middle" x="842.5" y="-481.8" font-family="Times,serif" font-size="14.00" fill="green">x_dir</text>
|
||||
</g>
|
||||
<!-- build123d.direct_api.Vector->build123d.direct_api.Plane -->
|
||||
<g id="edge26" class="edge">
|
||||
<title>build123d.direct_api.Vector->build123d.direct_api.Plane</title>
|
||||
<path fill="none" stroke="black" d="M875.59,-459.69C878.25,-470.96 880.89,-482.11 883.5,-493 900.93,-565.84 920.47,-644.95 938.46,-716.9"/>
|
||||
<polygon fill="black" stroke="black" points="938.54,-717.2 943.87,-722.05 941.45,-728.84 936.11,-723.99 938.54,-717.2"/>
|
||||
<path fill="none" stroke="black" d="M875.54,-459.7C878.21,-470.97 880.87,-482.11 883.5,-493 900.48,-563.33 919.56,-639.57 937.27,-709.26"/>
|
||||
<polygon fill="black" stroke="black" points="937.37,-709.66 942.72,-714.49 940.33,-721.29 934.97,-716.46 937.37,-709.66"/>
|
||||
<text text-anchor="middle" x="901.5" y="-481.8" font-family="Times,serif" font-size="14.00" fill="green">x_dir</text>
|
||||
</g>
|
||||
<!-- build123d.direct_api.Vector->build123d.direct_api.Plane -->
|
||||
<g id="edge27" class="edge">
|
||||
<title>build123d.direct_api.Vector->build123d.direct_api.Plane</title>
|
||||
<path fill="none" stroke="black" d="M914.2,-459.55C916.05,-465.74 917.82,-471.9 919.5,-478 940.53,-554.58 956.91,-639.64 969.21,-716.6"/>
|
||||
<polygon fill="black" stroke="black" points="969.28,-717.03 974.17,-722.33 971.15,-728.88 966.26,-723.58 969.28,-717.03"/>
|
||||
<path fill="none" stroke="black" d="M914.18,-459.56C916.04,-465.75 917.82,-471.9 919.5,-478 939.99,-552.24 956.13,-634.58 968.38,-709.43"/>
|
||||
<polygon fill="black" stroke="black" points="968.4,-709.53 973.31,-714.81 970.32,-721.38 965.41,-716.09 968.4,-709.53"/>
|
||||
<text text-anchor="middle" x="941" y="-481.8" font-family="Times,serif" font-size="14.00" fill="green">z_dir</text>
|
||||
</g>
|
||||
<!-- build123d.direct_api.Vector->build123d.direct_api.Plane -->
|
||||
<g id="edge28" class="edge">
|
||||
<title>build123d.direct_api.Vector->build123d.direct_api.Plane</title>
|
||||
<path fill="none" stroke="black" d="M956.44,-459.61C958.61,-465.74 960.64,-471.88 962.5,-478 985.47,-553.65 996.51,-638.93 1001.3,-716.37"/>
|
||||
<polygon fill="black" stroke="black" points="1001.32,-716.75 1005.66,-722.51 1002.02,-728.73 997.68,-722.97 1001.32,-716.75"/>
|
||||
<path fill="none" stroke="black" d="M956.43,-459.61C958.61,-465.75 960.64,-471.88 962.5,-478 984.82,-551.34 995.78,-633.88 1000.71,-709.19"/>
|
||||
<polygon fill="black" stroke="black" points="1000.71,-709.24 1005.07,-714.98 1001.45,-721.21 997.09,-715.47 1000.71,-709.24"/>
|
||||
<text text-anchor="middle" x="984" y="-481.8" font-family="Times,serif" font-size="14.00" fill="green">z_dir</text>
|
||||
</g>
|
||||
<!-- build123d.direct_api.Vector->build123d.direct_api.Plane -->
|
||||
<g id="edge29" class="edge">
|
||||
<title>build123d.direct_api.Vector->build123d.direct_api.Plane</title>
|
||||
<path fill="none" stroke="black" d="M998.9,-459.87C1001.3,-465.88 1003.5,-471.93 1005.5,-478 1030.2,-553.17 1035.74,-638.61 1032.93,-716.34"/>
|
||||
<polygon fill="black" stroke="black" points="1032.91,-716.76 1036.66,-722.92 1032.41,-728.75 1028.66,-722.59 1032.91,-716.76"/>
|
||||
<path fill="none" stroke="black" d="M998.9,-459.87C1001.3,-465.88 1003.5,-471.93 1005.5,-478 1029.45,-550.89 1035.08,-633.58 1032.59,-709.17"/>
|
||||
<polygon fill="black" stroke="black" points="1032.59,-709.25 1036.35,-715.4 1032.12,-721.24 1028.36,-715.09 1032.59,-709.25"/>
|
||||
<text text-anchor="middle" x="1027" y="-481.8" font-family="Times,serif" font-size="14.00" fill="green">z_dir</text>
|
||||
</g>
|
||||
<!-- build123d.direct_api.Vector->build123d.direct_api.Plane -->
|
||||
<g id="edge30" class="edge">
|
||||
<title>build123d.direct_api.Vector->build123d.direct_api.Plane</title>
|
||||
<path fill="none" stroke="black" d="M1015.23,-426.26C1031.14,-446.28 1043.19,-464.27 1048.5,-478 1077.42,-552.69 1077.86,-638.55 1067.08,-716.8"/>
|
||||
<polygon fill="black" stroke="black" points="1067.07,-716.91 1070.16,-723.43 1065.34,-728.79 1062.25,-722.27 1067.07,-716.91"/>
|
||||
<path fill="none" stroke="black" d="M1015.23,-426.26C1031.14,-446.28 1043.19,-464.27 1048.5,-478 1076.49,-550.29 1077.28,-633.2 1067.09,-709.16"/>
|
||||
<polygon fill="black" stroke="black" points="1067.06,-709.41 1070.17,-715.91 1065.37,-721.29 1062.25,-714.79 1067.06,-709.41"/>
|
||||
<text text-anchor="middle" x="1071" y="-481.8" font-family="Times,serif" font-size="14.00" fill="green">z_dir</text>
|
||||
</g>
|
||||
<!-- build123d.direct_api.Vector->build123d.direct_api.Plane -->
|
||||
<g id="edge31" class="edge">
|
||||
<title>build123d.direct_api.Vector->build123d.direct_api.Plane</title>
|
||||
<path fill="none" stroke="black" d="M1015.32,-443.23C1023.27,-449.14 1031.34,-454.76 1039.5,-460 1060.43,-473.45 1078.01,-457.78 1092.5,-478 1141.86,-546.89 1138.5,-635.07 1116.07,-716.99"/>
|
||||
<polygon fill="black" stroke="black" points="1116,-717.22 1118.2,-724.09 1112.71,-728.76 1110.51,-721.89 1116,-717.22"/>
|
||||
<path fill="none" stroke="black" d="M1015.32,-443.23C1023.27,-449.14 1031.34,-454.76 1039.5,-460 1060.43,-473.45 1078.01,-457.78 1092.5,-478 1140.37,-544.81 1137.69,-630.01 1116.26,-709.58"/>
|
||||
<polygon fill="black" stroke="black" points="1116.22,-709.72 1118.44,-716.58 1112.96,-721.28 1110.74,-714.42 1116.22,-709.72"/>
|
||||
<text text-anchor="middle" x="1118.5" y="-481.8" font-family="Times,serif" font-size="14.00" fill="green">y_dir</text>
|
||||
</g>
|
||||
<!-- build123d.direct_api.Vector->build123d.direct_api.Plane -->
|
||||
<g id="edge32" class="edge">
|
||||
<title>build123d.direct_api.Vector->build123d.direct_api.Plane</title>
|
||||
<path fill="none" stroke="black" d="M1015.05,-445.32C1023.05,-450.6 1031.21,-455.52 1039.5,-460 1079.61,-481.68 1111.22,-443.04 1140.5,-478 1196.95,-545.4 1186.63,-634.57 1153.54,-717.71"/>
|
||||
<polygon fill="black" stroke="black" points="1153.52,-717.77 1154.94,-724.84 1148.95,-728.87 1147.54,-721.8 1153.52,-717.77"/>
|
||||
<text text-anchor="middle" x="1167.5" y="-481.8" font-family="Times,serif" font-size="14.00" fill="green">y_dir</text>
|
||||
<path fill="none" stroke="black" d="M1015.05,-445.32C1023.05,-450.6 1031.21,-455.52 1039.5,-460 1079.61,-481.68 1111.22,-443.04 1140.5,-478 1195.24,-543.36 1185.97,-629.39 1154.24,-710.08"/>
|
||||
<polygon fill="black" stroke="black" points="1154.14,-710.31 1155.58,-717.38 1149.62,-721.42 1148.17,-714.36 1154.14,-710.31"/>
|
||||
<text text-anchor="middle" x="1166.5" y="-481.8" font-family="Times,serif" font-size="14.00" fill="green">y_dir</text>
|
||||
</g>
|
||||
<!-- build123d.direct_api.Vector->build123d.direct_api.Plane -->
|
||||
<g id="edge33" class="edge">
|
||||
<title>build123d.direct_api.Vector->build123d.direct_api.Plane</title>
|
||||
<path fill="none" stroke="black" d="M1015.08,-446.17C1023.06,-451.18 1031.2,-455.82 1039.5,-460 1069.48,-475.12 1167.22,-452.89 1189.5,-478 1249.69,-545.85 1232.51,-635.08 1189.75,-718.14"/>
|
||||
<polygon fill="black" stroke="black" points="1189.74,-718.16 1190.47,-725.33 1184.13,-728.76 1183.4,-721.59 1189.74,-718.16"/>
|
||||
<text text-anchor="middle" x="1220" y="-481.8" font-family="Times,serif" font-size="14.00" fill="green">origin</text>
|
||||
<path fill="none" stroke="black" d="M1015.08,-446.16C1023.06,-451.17 1031.21,-455.81 1039.5,-460 1069.27,-475.03 1166.38,-453.04 1188.5,-478 1246.85,-543.82 1231.13,-629.92 1190.17,-710.53"/>
|
||||
<polygon fill="black" stroke="black" points="1190.07,-710.73 1190.84,-717.9 1184.51,-721.36 1183.75,-714.19 1190.07,-710.73"/>
|
||||
<text text-anchor="middle" x="1219" y="-481.8" font-family="Times,serif" font-size="14.00" fill="green">origin</text>
|
||||
</g>
|
||||
<!-- build123d.direct_api.Vertex -->
|
||||
<g id="node17" class="node">
|
||||
|
|
@ -595,8 +595,8 @@
|
|||
<!-- build123d.direct_api.Vertex->build123d.direct_api.Shape -->
|
||||
<g id="edge10" class="edge">
|
||||
<title>build123d.direct_api.Vertex->build123d.direct_api.Shape</title>
|
||||
<path fill="none" stroke="black" d="M6119.27,-302.31C6098.04,-352.39 6067.64,-424.09 6034.67,-501.85"/>
|
||||
<polygon fill="none" stroke="black" points="6031.32,-500.78 6030.64,-511.36 6037.77,-503.52 6031.32,-500.78"/>
|
||||
<path fill="none" stroke="black" d="M6118.98,-302.24C6097.52,-352.35 6066.78,-424.11 6033.51,-501.77"/>
|
||||
<polygon fill="none" stroke="black" points="6030.16,-500.7 6029.44,-511.27 6036.59,-503.46 6030.16,-500.7"/>
|
||||
</g>
|
||||
<!-- build123d.direct_api.Wire -->
|
||||
<g id="node18" class="node">
|
||||
|
|
@ -605,9 +605,9 @@
|
|||
<text text-anchor="middle" x="7887.5" y="-347.3" font-family="Times,serif" font-size="14.00">Wire</text>
|
||||
<polyline fill="none" stroke="black" points="7333,-339.5 8442,-339.5 "/>
|
||||
<polyline fill="none" stroke="black" points="7333,-315.5 8442,-315.5 "/>
|
||||
<text text-anchor="start" x="7341" y="-300.3" font-family="Times,serif" font-size="14.00">chamfer_2d(d: float, vertices: Iterable[Vertex]): Wire</text>
|
||||
<text text-anchor="start" x="7341" y="-300.3" font-family="Times,serif" font-size="14.00">chamfer_2d(distance: float, vertices: Iterable[Vertex]): Wire</text>
|
||||
<text text-anchor="start" x="7341" y="-285.3" font-family="Times,serif" font-size="14.00">close(): Wire</text>
|
||||
<text text-anchor="start" x="7341" y="-270.3" font-family="Times,serif" font-size="14.00">combine(cls: Iterable[Union[Wire, Edge]], list_of_wires: float, tol): list[Wire]</text>
|
||||
<text text-anchor="start" x="7341" y="-270.3" font-family="Times,serif" font-size="14.00">combine(cls: Iterable[Union[Wire, Edge]], wires: float, tol): list[Wire]</text>
|
||||
<text text-anchor="start" x="7341" y="-255.3" font-family="Times,serif" font-size="14.00">fillet_2d(radius: float, vertices: Iterable[Vertex]): Wire</text>
|
||||
<text text-anchor="start" x="7341" y="-240.3" font-family="Times,serif" font-size="14.00">make_circle(cls: float, radius: Plane, plane): Wire</text>
|
||||
<text text-anchor="start" x="7341" y="-225.3" font-family="Times,serif" font-size="14.00">make_ellipse(cls: float, x_radius: float, y_radius: Plane, plane: float, start_angle: float, end_angle: AngularDirection, angular_direction: bool, closed): Wire</text>
|
||||
|
|
@ -615,7 +615,7 @@
|
|||
<text text-anchor="start" x="7341" y="-195.3" font-family="Times,serif" font-size="14.00">make_polygon(cls: Iterable[VectorLike], vertices: bool, close): Wire</text>
|
||||
<text text-anchor="start" x="7341" y="-180.3" font-family="Times,serif" font-size="14.00">make_rect(cls: float, width: float, height: VectorLike, pnt: VectorLike, normal): Wire</text>
|
||||
<text text-anchor="start" x="7341" y="-165.3" font-family="Times,serif" font-size="14.00">make_wire(cls: Iterable[Edge], edges: bool, sequenced): Wire</text>
|
||||
<text text-anchor="start" x="7341" y="-150.3" font-family="Times,serif" font-size="14.00">offset_2d(d: float, kind: Kind): list[Wire]</text>
|
||||
<text text-anchor="start" x="7341" y="-150.3" font-family="Times,serif" font-size="14.00">offset_2d(distance: float, kind: Kind): list[Wire]</text>
|
||||
<text text-anchor="start" x="7341" y="-135.3" font-family="Times,serif" font-size="14.00">project_to_shape(target_object: Shape, direction: VectorLike, center: VectorLike): list[Wire]</text>
|
||||
<text text-anchor="start" x="7341" y="-120.3" font-family="Times,serif" font-size="14.00">stitch(other: Wire): Wire</text>
|
||||
<text text-anchor="start" x="7341" y="-105.3" font-family="Times,serif" font-size="14.00">to_wire(): Wire</text>
|
||||
|
|
@ -623,14 +623,14 @@
|
|||
<!-- build123d.direct_api.Wire->build123d.direct_api.Mixin1D -->
|
||||
<g id="edge11" class="edge">
|
||||
<title>build123d.direct_api.Wire->build123d.direct_api.Mixin1D</title>
|
||||
<path fill="none" stroke="black" d="M7792.43,-362.56C7697.57,-493.83 7552.64,-694.38 7457.73,-825.72"/>
|
||||
<polygon fill="none" stroke="black" points="7454.85,-823.73 7451.83,-833.88 7460.53,-827.83 7454.85,-823.73"/>
|
||||
<path fill="none" stroke="black" d="M7896.89,-362.54C7895.03,-406 7887.37,-453.33 7867.5,-493 7799.66,-628.41 7672.49,-740.96 7560.54,-820.49"/>
|
||||
<polygon fill="none" stroke="black" points="7558.31,-817.77 7552.16,-826.39 7562.35,-823.49 7558.31,-817.77"/>
|
||||
</g>
|
||||
<!-- build123d.direct_api.Wire->build123d.direct_api.Shape -->
|
||||
<g id="edge12" class="edge">
|
||||
<title>build123d.direct_api.Wire->build123d.direct_api.Shape</title>
|
||||
<path fill="none" stroke="black" d="M7604.36,-362.57C7516.01,-399.07 7417.15,-435.4 7323.5,-460 7151.87,-505.09 7099.03,-465.54 6927.5,-511 6752.96,-557.26 6569.19,-624.96 6403.48,-693.73"/>
|
||||
<polygon fill="none" stroke="black" points="6401.98,-690.56 6394.1,-697.63 6404.67,-697.02 6401.98,-690.56"/>
|
||||
<path fill="none" stroke="black" d="M7606.35,-362.54C7517.56,-399.33 7417.94,-435.82 7323.5,-460 7133.22,-508.72 7074.47,-461.07 6884.5,-511 6724.44,-553.07 6556.79,-614.98 6403.87,-679.13"/>
|
||||
<polygon fill="none" stroke="black" points="6402.15,-676.06 6394.29,-683.16 6404.86,-682.51 6402.15,-676.06"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 61 KiB After Width: | Height: | Size: 61 KiB |
|
|
@ -587,7 +587,7 @@ class Vector:
|
|||
Returns:
|
||||
|
||||
"""
|
||||
base = plane._origin
|
||||
base = plane.origin
|
||||
normal = plane.z_dir
|
||||
|
||||
return self - normal * (((self - base).dot(normal)) / normal.length**2)
|
||||
|
|
@ -2071,8 +2071,8 @@ class Shape:
|
|||
starting point for a range of cases. Defaults to 1e-3.
|
||||
angular_tolerance (float, optional): Angular deflection setting which limits the angle
|
||||
between subsequent segments in a polyline. Defaults to 0.1.
|
||||
ascii_format (bool, optional): Export the file as ASCII (True) or binary (False) STL format.
|
||||
Defaults to False (binary).
|
||||
ascii_format (bool, optional): Export the file as ASCII (True) or binary (False)
|
||||
STL format. Defaults to False (binary).
|
||||
|
||||
Returns:
|
||||
bool: Success
|
||||
|
|
@ -3788,7 +3788,7 @@ class Plane:
|
|||
return axis
|
||||
|
||||
def _to_from_local_coords(
|
||||
self, obj: Union[VectorLike, Shape, BoundBox], to: bool = True
|
||||
self, obj: Union[VectorLike, Shape, BoundBox], to_from: bool = True
|
||||
):
|
||||
"""_to_from_local_coords
|
||||
|
||||
|
|
@ -3796,7 +3796,7 @@ class Plane:
|
|||
|
||||
Args:
|
||||
obj (Union[VectorLike, Shape, BoundBox]): an object to reposition
|
||||
to (bool, optional): direction of transformation. Defaults to True.
|
||||
to_from (bool, optional): direction of transformation. Defaults to True (to).
|
||||
|
||||
Raises:
|
||||
ValueError: Unsupported object type
|
||||
|
|
@ -3805,7 +3805,7 @@ class Plane:
|
|||
an object of the same type, but repositioned to local coordinates
|
||||
"""
|
||||
|
||||
transform_matrix = self.forward_transform if to else self.reverse_transform
|
||||
transform_matrix = self.forward_transform if to_from else self.reverse_transform
|
||||
|
||||
if isinstance(obj, (tuple, Vector)):
|
||||
return_value = Vector(obj).transform(transform_matrix)
|
||||
|
|
@ -4358,7 +4358,7 @@ class Edge(Shape, Mixin1D):
|
|||
"""
|
||||
points = [Vector(point) for point in points]
|
||||
if tangents:
|
||||
tangents = tuple([Vector(v) for v in tangents])
|
||||
tangents = tuple(Vector(v) for v in tangents)
|
||||
pnts = TColgp_HArray1OfPnt(1, len(points))
|
||||
for i, point in enumerate(points):
|
||||
pnts.SetValue(i + 1, point.to_pnt())
|
||||
|
|
@ -5155,7 +5155,6 @@ class Face(Shape):
|
|||
|
||||
# Phase 1 - outer wire
|
||||
planar_outer_wire = self.outer_wire()
|
||||
planar_outer_wire_orientation = planar_outer_wire.wrapped.Orientation()
|
||||
projected_outer_wires = planar_outer_wire.project_to_shape(
|
||||
target_object, direction_vector, center_point
|
||||
)
|
||||
|
|
@ -5165,7 +5164,7 @@ class Face(Shape):
|
|||
# Phase 2 - inner wires
|
||||
planar_inner_wire_list = [
|
||||
w
|
||||
if w.wrapped.Orientation() != planar_outer_wire_orientation
|
||||
if w.wrapped.Orientation() != planar_outer_wire.wrapped.Orientation()
|
||||
else Wire(w.wrapped.Reversed())
|
||||
for w in self.inner_wires()
|
||||
]
|
||||
|
|
@ -5711,9 +5710,8 @@ class Solid(Shape, Mixin3D):
|
|||
|
||||
# make an auxiliary spine
|
||||
pitch = 360.0 / angle * normal.length
|
||||
radius = 1
|
||||
aux_spine_w = Wire.make_helix(
|
||||
pitch, normal.length, radius, center=center, normal=normal
|
||||
pitch, normal.length, 1, center=center, normal=normal
|
||||
).wrapped
|
||||
|
||||
# extrude the outer wire
|
||||
|
|
@ -5826,8 +5824,6 @@ class Solid(Shape, Mixin3D):
|
|||
Returns:
|
||||
Solid: the swept cross section
|
||||
"""
|
||||
path_as_wire = path.to_wire()
|
||||
|
||||
if isinstance(section, Face):
|
||||
outer_wire = section.outer_wire()
|
||||
inner_wires = section.inner_wires()
|
||||
|
|
@ -5837,9 +5833,8 @@ class Solid(Shape, Mixin3D):
|
|||
|
||||
shapes = []
|
||||
for wire in [outer_wire] + inner_wires:
|
||||
builder = BRepOffsetAPI_MakePipeShell(path_as_wire.wrapped)
|
||||
builder = BRepOffsetAPI_MakePipeShell(path.to_wire().wrapped)
|
||||
|
||||
translate = False
|
||||
rotate = False
|
||||
|
||||
# handle sweep mode
|
||||
|
|
@ -5850,7 +5845,7 @@ class Solid(Shape, Mixin3D):
|
|||
|
||||
builder.SetTransitionMode(Solid._transModeDict[transition])
|
||||
|
||||
builder.Add(wire.wrapped, translate, rotate)
|
||||
builder.Add(wire.wrapped, False, rotate)
|
||||
|
||||
builder.Build()
|
||||
if make_solid:
|
||||
|
|
@ -6284,9 +6279,8 @@ class Wire(Shape, Mixin1D):
|
|||
geom_line = Geom2d_Line(gp_Pnt2d(0.0, 0.0), gp_Dir2d(2 * pi, pitch))
|
||||
|
||||
# 3. put it together into a wire
|
||||
n_turns = height / pitch
|
||||
u_start = geom_line.Value(0.0)
|
||||
u_stop = geom_line.Value(n_turns * sqrt((2 * pi) ** 2 + pitch**2))
|
||||
u_stop = geom_line.Value((height / pitch) * sqrt((2 * pi) ** 2 + pitch**2))
|
||||
geom_seg = GCE2d_MakeSegment(u_start, u_stop).Value()
|
||||
|
||||
topo_edge = BRepBuilderAPI_MakeEdge(geom_seg, geom_surf).Edge()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue