Update api spec (#246)
* YOYO NEW API SPEC! * I have generated the latest API! --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
5b4ccc2e5d
commit
afcc28e256
File diff suppressed because it is too large
Load Diff
@ -1,4 +1,4 @@
|
|||||||
from typing import Literal, Union
|
from typing import Literal, Optional, Union
|
||||||
|
|
||||||
from pydantic import BaseModel, ConfigDict, Field, RootModel
|
from pydantic import BaseModel, ConfigDict, Field, RootModel
|
||||||
from typing_extensions import Annotated
|
from typing_extensions import Annotated
|
||||||
@ -50,6 +50,8 @@ class ply(BaseModel):
|
|||||||
class sldprt(BaseModel):
|
class sldprt(BaseModel):
|
||||||
"""SolidWorks part (SLDPRT) format."""
|
"""SolidWorks part (SLDPRT) format."""
|
||||||
|
|
||||||
|
split_closed_faces: Optional[bool] = None
|
||||||
|
|
||||||
type: Literal["sldprt"] = "sldprt"
|
type: Literal["sldprt"] = "sldprt"
|
||||||
|
|
||||||
model_config = ConfigDict(protected_namespaces=())
|
model_config = ConfigDict(protected_namespaces=())
|
||||||
@ -58,6 +60,8 @@ class sldprt(BaseModel):
|
|||||||
class step(BaseModel):
|
class step(BaseModel):
|
||||||
"""ISO 10303-21 (STEP) format."""
|
"""ISO 10303-21 (STEP) format."""
|
||||||
|
|
||||||
|
split_closed_faces: Optional[bool] = None
|
||||||
|
|
||||||
type: Literal["step"] = "step"
|
type: Literal["step"] = "step"
|
||||||
|
|
||||||
model_config = ConfigDict(protected_namespaces=())
|
model_config = ConfigDict(protected_namespaces=())
|
||||||
|
10
spec.json
10
spec.json
@ -17602,6 +17602,11 @@
|
|||||||
"description": "SolidWorks part (SLDPRT) format.",
|
"description": "SolidWorks part (SLDPRT) format.",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
"split_closed_faces": {
|
||||||
|
"description": "Splits all closed faces into two open faces.\n\nDefaults to `false` but is implicitly `true` when importing into the engine.",
|
||||||
|
"default": false,
|
||||||
|
"type": "boolean"
|
||||||
|
},
|
||||||
"type": {
|
"type": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"enum": [
|
"enum": [
|
||||||
@ -17617,6 +17622,11 @@
|
|||||||
"description": "ISO 10303-21 (STEP) format.",
|
"description": "ISO 10303-21 (STEP) format.",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
"split_closed_faces": {
|
||||||
|
"description": "Splits all closed faces into two open faces.\n\nDefaults to `false` but is implicitly `true` when importing into the engine.",
|
||||||
|
"default": false,
|
||||||
|
"type": "boolean"
|
||||||
|
},
|
||||||
"type": {
|
"type": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"enum": [
|
"enum": [
|
||||||
|
Reference in New Issue
Block a user