-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* YOYO NEW API SPEC! * I have generated the latest API! --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
f0599f6
commit f040c64
Showing
8 changed files
with
727 additions
and
372 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
|
||
from pydantic import BaseModel, ConfigDict | ||
|
||
from ..models.point3d import Point3d | ||
|
||
|
||
class FaceGetGradient(BaseModel): | ||
"""The gradient (dFdu, dFdv) + normal vector on a brep face""" | ||
|
||
df_du: Point3d | ||
|
||
df_dv: Point3d | ||
|
||
normal: Point3d | ||
|
||
model_config = ConfigDict(protected_namespaces=()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
|
||
from pydantic import BaseModel, ConfigDict | ||
|
||
from ..models.point3d import Point3d | ||
|
||
|
||
class FaceGetPosition(BaseModel): | ||
"""The 3D position on the surface that was evaluated""" | ||
|
||
pos: Point3d | ||
|
||
model_config = ConfigDict(protected_namespaces=()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
from typing import Optional | ||
|
||
from pydantic import BaseModel, ConfigDict | ||
|
||
from ..models.point3d import Point3d | ||
|
||
|
||
class FaceIsPlanar(BaseModel): | ||
"""Surface-local planar axes (if available)""" | ||
|
||
origin: Optional[Point3d] = None | ||
|
||
x_axis: Optional[Point3d] = None | ||
|
||
y_axis: Optional[Point3d] = None | ||
|
||
z_axis: Optional[Point3d] = None | ||
|
||
model_config = ConfigDict(protected_namespaces=()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.