2024-07-28 15:20:05 -07:00
|
|
|
import datetime
|
|
|
|
from typing import Any, Dict, List, Literal, Optional, Union
|
|
|
|
from uuid import UUID
|
2024-03-04 13:08:49 -08:00
|
|
|
|
2024-07-28 15:20:05 -07:00
|
|
|
from pydantic import AnyUrl, Base64Bytes, BaseModel, ConfigDict
|
|
|
|
from pydantic_extra_types.phone_numbers import PhoneNumber
|
2024-03-04 13:08:49 -08:00
|
|
|
|
|
|
|
from ..models.point3d import Point3d
|
2024-07-28 15:20:05 -07:00
|
|
|
from .base64data import Base64Data
|
2024-03-04 13:08:49 -08:00
|
|
|
|
|
|
|
|
|
|
|
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=())
|