|
21767 | 21767 | "description": "The response from the `Extrude` endpoint.",
|
21768 | 21768 | "type": "object"
|
21769 | 21769 | },
|
| 21770 | + "ExtrudeMethod": { |
| 21771 | + "description": "Extrusion method determining if the extrusion will be part of the existing object or an entirely new object.", |
| 21772 | + "oneOf": [ |
| 21773 | + { |
| 21774 | + "description": "Create a new object that is not connected to the object it is extruded from. This will result in two objects after the operation.", |
| 21775 | + "type": "string", |
| 21776 | + "enum": [ |
| 21777 | + "new" |
| 21778 | + ] |
| 21779 | + }, |
| 21780 | + { |
| 21781 | + "description": "This extrusion will be part of object it is extruded from. This will result in one object after the operation.", |
| 21782 | + "type": "string", |
| 21783 | + "enum": [ |
| 21784 | + "merge" |
| 21785 | + ] |
| 21786 | + } |
| 21787 | + ] |
| 21788 | + }, |
21770 | 21789 | "ExtrudedFaceInfo": {
|
21771 | 21790 | "description": "IDs for the extruded faces.",
|
21772 | 21791 | "type": "object",
|
|
24574 | 24593 | }
|
24575 | 24594 | ]
|
24576 | 24595 | },
|
| 24596 | + "extrude_method": { |
| 24597 | + "description": "Should the extrusion create a new object or be part of the existing object. If a new object is created, the command id will be the id of the newly created object.", |
| 24598 | + "default": "merge", |
| 24599 | + "allOf": [ |
| 24600 | + { |
| 24601 | + "$ref": "#/components/schemas/ExtrudeMethod" |
| 24602 | + } |
| 24603 | + ] |
| 24604 | + }, |
24577 | 24605 | "faces": {
|
24578 | 24606 | "nullable": true,
|
24579 | 24607 | "description": "Which IDs should the new faces have? If this isn't given, the engine will generate IDs.",
|
|
26688 | 26716 | ]
|
26689 | 26717 | },
|
26690 | 26718 | "uv": {
|
26691 |
| - "description": "The 2D paramter-space u,v position to evaluate the surface at", |
| 26719 | + "description": "The 2D parameter-space u,v position to evaluate the surface at", |
26692 | 26720 | "allOf": [
|
26693 | 26721 | {
|
26694 | 26722 | "$ref": "#/components/schemas/Point2d"
|
|
26739 | 26767 | ]
|
26740 | 26768 | },
|
26741 | 26769 | "uv": {
|
26742 |
| - "description": "The 2D paramter-space u,v position to evaluate the surface at", |
| 26770 | + "description": "The 2D parameter-space u,v position to evaluate the surface at", |
26743 | 26771 | "allOf": [
|
26744 | 26772 | {
|
26745 | 26773 | "$ref": "#/components/schemas/Point2d"
|
|
26812 | 26840 | "properties": {
|
26813 | 26841 | "duration_seconds": {
|
26814 | 26842 | "description": "How many seconds the animation should take.",
|
26815 |
| - "default": 0.4000000059604645, |
| 26843 | + "default": 0.4, |
26816 | 26844 | "type": "number",
|
26817 |
| - "format": "float" |
| 26845 | + "format": "double" |
26818 | 26846 | },
|
26819 | 26847 | "entity_id": {
|
26820 | 26848 | "description": "Which entity is being changed.",
|
@@ -32537,6 +32565,122 @@
|
32537 | 32565 | "start_radius",
|
32538 | 32566 | "type"
|
32539 | 32567 | ]
|
| 32568 | + }, |
| 32569 | + { |
| 32570 | + "description": "Adds an elliptical arc segment.", |
| 32571 | + "type": "object", |
| 32572 | + "properties": { |
| 32573 | + "center": { |
| 32574 | + "description": "The center point of the ellipse.", |
| 32575 | + "allOf": [ |
| 32576 | + { |
| 32577 | + "$ref": "#/components/schemas/Point2d" |
| 32578 | + } |
| 32579 | + ] |
| 32580 | + }, |
| 32581 | + "end_angle": { |
| 32582 | + "description": "End of the path along the perimeter of the ellipse.", |
| 32583 | + "allOf": [ |
| 32584 | + { |
| 32585 | + "$ref": "#/components/schemas/Angle" |
| 32586 | + } |
| 32587 | + ] |
| 32588 | + }, |
| 32589 | + "major_radius": { |
| 32590 | + "description": "Major radius of the ellipse (along the x axis).", |
| 32591 | + "allOf": [ |
| 32592 | + { |
| 32593 | + "$ref": "#/components/schemas/LengthUnit" |
| 32594 | + } |
| 32595 | + ] |
| 32596 | + }, |
| 32597 | + "minor_radius": { |
| 32598 | + "description": "Minor radius of the ellipse (along the y axis).", |
| 32599 | + "allOf": [ |
| 32600 | + { |
| 32601 | + "$ref": "#/components/schemas/LengthUnit" |
| 32602 | + } |
| 32603 | + ] |
| 32604 | + }, |
| 32605 | + "start_angle": { |
| 32606 | + "description": "Start of the path along the perimeter of the ellipse.", |
| 32607 | + "allOf": [ |
| 32608 | + { |
| 32609 | + "$ref": "#/components/schemas/Angle" |
| 32610 | + } |
| 32611 | + ] |
| 32612 | + }, |
| 32613 | + "type": { |
| 32614 | + "type": "string", |
| 32615 | + "enum": [ |
| 32616 | + "ellipse" |
| 32617 | + ] |
| 32618 | + } |
| 32619 | + }, |
| 32620 | + "required": [ |
| 32621 | + "center", |
| 32622 | + "end_angle", |
| 32623 | + "major_radius", |
| 32624 | + "minor_radius", |
| 32625 | + "start_angle", |
| 32626 | + "type" |
| 32627 | + ] |
| 32628 | + }, |
| 32629 | + { |
| 32630 | + "description": "Adds a generic conic section specified by the end point, interior point and tangents at the start and end of the section.", |
| 32631 | + "type": "object", |
| 32632 | + "properties": { |
| 32633 | + "end": { |
| 32634 | + "description": "End point of the conic.", |
| 32635 | + "allOf": [ |
| 32636 | + { |
| 32637 | + "$ref": "#/components/schemas/Point2d" |
| 32638 | + } |
| 32639 | + ] |
| 32640 | + }, |
| 32641 | + "end_tangent": { |
| 32642 | + "description": "Tangent at the end of the conic.", |
| 32643 | + "allOf": [ |
| 32644 | + { |
| 32645 | + "$ref": "#/components/schemas/Point2d" |
| 32646 | + } |
| 32647 | + ] |
| 32648 | + }, |
| 32649 | + "interior": { |
| 32650 | + "description": "Interior point that lies on the conic.", |
| 32651 | + "allOf": [ |
| 32652 | + { |
| 32653 | + "$ref": "#/components/schemas/Point2d" |
| 32654 | + } |
| 32655 | + ] |
| 32656 | + }, |
| 32657 | + "relative": { |
| 32658 | + "description": "Whether or not the interior and end points are relative to the previous path position.", |
| 32659 | + "type": "boolean" |
| 32660 | + }, |
| 32661 | + "start_tangent": { |
| 32662 | + "description": "Tangent at the start of the conic.", |
| 32663 | + "allOf": [ |
| 32664 | + { |
| 32665 | + "$ref": "#/components/schemas/Point2d" |
| 32666 | + } |
| 32667 | + ] |
| 32668 | + }, |
| 32669 | + "type": { |
| 32670 | + "type": "string", |
| 32671 | + "enum": [ |
| 32672 | + "conic_to" |
| 32673 | + ] |
| 32674 | + } |
| 32675 | + }, |
| 32676 | + "required": [ |
| 32677 | + "end", |
| 32678 | + "end_tangent", |
| 32679 | + "interior", |
| 32680 | + "relative", |
| 32681 | + "start_tangent", |
| 32682 | + "type" |
| 32683 | + ] |
32540 | 32684 | }
|
32541 | 32685 | ]
|
32542 | 32686 | },
|
|
0 commit comments