{ "schema": "freecad-web-draft-module-batch-runtime/v1", "taskId": "FW-P6-FPA-Y", "batchId": "f8afe90bb31da8bf7badda5f", "module": "Draft", "tier": "tier-2-pure", "family": "pure-function", "status": "pass", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "route": { "command": "draft.pythonFamilyBatch", "native": "freecad-source/src/WebAssembly/FreeCADCoreProbe/DraftRuntimeProbe.cpp:fc_web_dispatch_json", "facade": "web/src/draft-python-family-facade.ts", "worker": "web/src/draft.worker.ts" }, "input": { "cmd": "draft.pythonFamilyBatch", "args": { "tier": "tier-2-pure", "records": [ { "apiId": "py:Draft:function:precision", "name": "precision", "family": "pure-function", "kind": "function", "sourcePath": "src/Mod/Draft/DraftVecUtils.py", "disposition": "not_implemented" }, { "apiId": "py:Draft:function:toString", "name": "toString", "family": "pure-function", "kind": "function", "sourcePath": "src/Mod/Draft/DraftVecUtils.py", "disposition": "not_implemented" }, { "apiId": "py:Draft:function:tup", "name": "tup", "family": "pure-function", "kind": "function", "sourcePath": "src/Mod/Draft/DraftVecUtils.py", "disposition": "not_implemented" }, { "apiId": "py:Draft:function:neg", "name": "neg", "family": "pure-function", "kind": "function", "sourcePath": "src/Mod/Draft/DraftVecUtils.py", "disposition": "not_implemented" }, { "apiId": "py:Draft:function:equals", "name": "equals", "family": "pure-function", "kind": "function", "sourcePath": "src/Mod/Draft/DraftVecUtils.py", "disposition": "not_implemented" }, { "apiId": "py:Draft:function:scale", "name": "scale", "family": "pure-function", "kind": "function", "sourcePath": "src/Mod/Draft/DraftVecUtils.py", "disposition": "not_implemented" }, { "apiId": "py:Draft:function:scaleTo", "name": "scaleTo", "family": "pure-function", "kind": "function", "sourcePath": "src/Mod/Draft/DraftVecUtils.py", "disposition": "not_implemented" }, { "apiId": "py:Draft:function:dist", "name": "dist", "family": "pure-function", "kind": "function", "sourcePath": "src/Mod/Draft/DraftVecUtils.py", "disposition": "not_implemented" }, { "apiId": "py:Draft:function:angle", "name": "angle", "family": "pure-function", "kind": "function", "sourcePath": "src/Mod/Draft/DraftVecUtils.py", "disposition": "not_implemented" }, { "apiId": "py:Draft:function:project", "name": "project", "family": "pure-function", "kind": "function", "sourcePath": "src/Mod/Draft/DraftVecUtils.py", "disposition": "not_implemented" }, { "apiId": "py:Draft:function:rotate2D", "name": "rotate2D", "family": "pure-function", "kind": "function", "sourcePath": "src/Mod/Draft/DraftVecUtils.py", "disposition": "not_implemented" }, { "apiId": "py:Draft:function:rotate", "name": "rotate", "family": "pure-function", "kind": "function", "sourcePath": "src/Mod/Draft/DraftVecUtils.py", "disposition": "not_implemented" }, { "apiId": "py:Draft:function:getRotation", "name": "getRotation", "family": "pure-function", "kind": "function", "sourcePath": "src/Mod/Draft/DraftVecUtils.py", "disposition": "not_implemented" }, { "apiId": "py:Draft:function:isNull", "name": "isNull", "family": "pure-function", "kind": "function", "sourcePath": "src/Mod/Draft/DraftVecUtils.py", "disposition": "not_implemented" }, { "apiId": "py:Draft:function:find", "name": "find", "family": "pure-function", "kind": "function", "sourcePath": "src/Mod/Draft/DraftVecUtils.py", "disposition": "not_implemented" }, { "apiId": "py:Draft:function:closest", "name": "closest", "family": "pure-function", "kind": "function", "sourcePath": "src/Mod/Draft/DraftVecUtils.py", "disposition": "not_implemented" }, { "apiId": "py:Draft:function:isColinear", "name": "isColinear", "family": "pure-function", "kind": "function", "sourcePath": "src/Mod/Draft/DraftVecUtils.py", "disposition": "not_implemented" }, { "apiId": "py:Draft:function:rounded", "name": "rounded", "family": "pure-function", "kind": "function", "sourcePath": "src/Mod/Draft/DraftVecUtils.py", "disposition": "not_implemented" }, { "apiId": "py:Draft:function:getPlaneRotation", "name": "getPlaneRotation", "family": "pure-function", "kind": "function", "sourcePath": "src/Mod/Draft/DraftVecUtils.py", "disposition": "not_implemented" }, { "apiId": "py:Draft:function:removeDoubles", "name": "removeDoubles", "family": "pure-function", "kind": "function", "sourcePath": "src/Mod/Draft/DraftVecUtils.py", "disposition": "not_implemented" }, { "apiId": "py:Draft:function:get_spherical_coords", "name": "get_spherical_coords", "family": "pure-function", "kind": "function", "sourcePath": "src/Mod/Draft/DraftVecUtils.py", "disposition": "not_implemented" }, { "apiId": "py:Draft:function:get_cartesian_coords", "name": "get_cartesian_coords", "family": "pure-function", "kind": "function", "sourcePath": "src/Mod/Draft/DraftVecUtils.py", "disposition": "not_implemented" }, { "apiId": "py:Draft:function:get_working_plane", "name": "get_working_plane", "family": "pure-function", "kind": "function", "sourcePath": "src/Mod/Draft/WorkingPlane.py", "disposition": "not_implemented" }, { "apiId": "py:Draft:function:array", "name": "array", "family": "pure-function", "kind": "function", "sourcePath": "src/Mod/Draft/draftfunctions/array.py", "disposition": "not_implemented" } ] } }, "inputSha256": "4300d1ab3db49616240c577af9ee409835a44d4c46a4dcf65693c629db53f971", "result": { "cmd": "draft.pythonFamilyBatch", "count": 24, "module": "Draft", "ok": true, "records": [ { "apiId": "py:Draft:function:precision", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "precision", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "None", "type": "NoneType" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:toString", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "toString", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "'FreeCAD.Vector(1.0, 2.0, 3.0)'", "type": "str" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:tup", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "tup", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "(1.0, 2.0, 3.0)", "type": "tuple" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:neg", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "neg", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "Vector (-1.0, 2.0, -3.0)", "type": "Vector" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:equals", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "equals", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "True", "type": "bool" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:scale", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "scale", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "Vector (2.0, 4.0, 6.0)", "type": "Vector" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:scaleTo", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "scaleTo", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "Vector (6.0, 8.0, 0.0)", "type": "Vector" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:dist", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "dist", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "5.0", "type": "float" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:angle", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "angle", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "1.5707963267948966", "type": "float" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:project", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "project", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "Vector (2.0, 0.0, 0.0)", "type": "Vector" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:rotate2D", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "rotate2D", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "Vector (6.123233995736766e-17, -1.0, 0.0)", "type": "Vector" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:rotate", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "rotate", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "Vector (6.123233995736766e-17, 1.0, 0.0)", "type": "Vector" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:getRotation", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "getRotation", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "(0.0, 0.0, -1.0, 1.0)", "type": "tuple" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:isNull", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "isNull", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "True", "type": "bool" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:find", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "find", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "1", "type": "int" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:closest", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "closest", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "(1, 1.0)", "type": "tuple" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:isColinear", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "isColinear", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "True", "type": "bool" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:rounded", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "rounded", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "Vector (1.23, 2.35, 3.46)", "type": "Vector" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:getPlaneRotation", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "getPlaneRotation", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "Matrix ((1,0,0,0),(0,1,0,0),(0,0,1,0),(0,0,0,1))", "type": "Matrix" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:removeDoubles", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "removeDoubles", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "[Vector (1.0, 0.0, 0.0), Vector (2.0, 0.0, 0.0)]", "type": "list" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:get_spherical_coords", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "get_spherical_coords", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "(1.7320508075688772, 0.9553166181245092, 0.7853981633974484)", "type": "tuple" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:get_cartesian_coords", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "get_cartesian_coords", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "(2.0, 0.0, 1.2246467991473532e-16)", "type": "tuple" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:get_working_plane", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "get_working_plane", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "Workplane x=Vector (1.0, 0.0, 0.0) y=Vector (0.0, 1.0, 0.0) z=Vector (0.0, 0.0, 1.0) pos=Vector (0.0, 0.0, 0.0)", "type": "PlaneGui" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/WorkingPlane.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:array", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "array", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "None", "type": "NoneType" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/draftfunctions/array.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" } ], "resourcesReleased": true, "schema": "freecad-web-draft/python-family-batch/v1", "source": "freecad-source", "tier": "tier-2-pure" }, "resultSha256": "0755da78329145bb3773b5c5c9cbdbfd25b4591f46c906052053a035f6ccf985", "replay": { "equal": true, "resultSha256": "0755da78329145bb3773b5c5c9cbdbfd25b4591f46c906052053a035f6ccf985" }, "facadeWorker": { "ready": { "kind": "ready", "action": "draft.pythonFamilyBatch" }, "success": { "schema": "freecad-web-facade/v1", "version": 1, "kind": "result", "requestId": "draft-object-batch-success", "result": { "cmd": "draft.pythonFamilyBatch", "count": 24, "module": "Draft", "ok": true, "records": [ { "apiId": "py:Draft:function:precision", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "precision", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "None", "type": "NoneType" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:toString", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "toString", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "'FreeCAD.Vector(1.0, 2.0, 3.0)'", "type": "str" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:tup", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "tup", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "(1.0, 2.0, 3.0)", "type": "tuple" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:neg", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "neg", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "Vector (-1.0, 2.0, -3.0)", "type": "Vector" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:equals", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "equals", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "True", "type": "bool" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:scale", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "scale", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "Vector (2.0, 4.0, 6.0)", "type": "Vector" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:scaleTo", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "scaleTo", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "Vector (6.0, 8.0, 0.0)", "type": "Vector" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:dist", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "dist", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "5.0", "type": "float" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:angle", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "angle", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "1.5707963267948966", "type": "float" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:project", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "project", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "Vector (2.0, 0.0, 0.0)", "type": "Vector" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:rotate2D", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "rotate2D", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "Vector (6.123233995736766e-17, -1.0, 0.0)", "type": "Vector" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:rotate", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "rotate", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "Vector (6.123233995736766e-17, 1.0, 0.0)", "type": "Vector" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:getRotation", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "getRotation", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "(0.0, 0.0, -1.0, 1.0)", "type": "tuple" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:isNull", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "isNull", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "True", "type": "bool" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:find", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "find", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "1", "type": "int" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:closest", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "closest", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "(1, 1.0)", "type": "tuple" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:isColinear", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "isColinear", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "True", "type": "bool" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:rounded", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "rounded", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "Vector (1.23, 2.35, 3.46)", "type": "Vector" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:getPlaneRotation", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "getPlaneRotation", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "Matrix ((1,0,0,0),(0,1,0,0),(0,0,1,0),(0,0,0,1))", "type": "Matrix" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:removeDoubles", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "removeDoubles", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "[Vector (1.0, 0.0, 0.0), Vector (2.0, 0.0, 0.0)]", "type": "list" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:get_spherical_coords", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "get_spherical_coords", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "(1.7320508075688772, 0.9553166181245092, 0.7853981633974484)", "type": "tuple" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:get_cartesian_coords", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "get_cartesian_coords", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "(2.0, 0.0, 1.2246467991473532e-16)", "type": "tuple" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:get_working_plane", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "get_working_plane", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "Workplane x=Vector (1.0, 0.0, 0.0) y=Vector (0.0, 1.0, 0.0) z=Vector (0.0, 0.0, 1.0) pos=Vector (0.0, 0.0, 0.0)", "type": "PlaneGui" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/WorkingPlane.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:array", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "array", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "None", "type": "NoneType" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/draftfunctions/array.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" } ], "resourcesReleased": true, "schema": "freecad-web-draft/python-family-batch/v1", "source": "freecad-source", "tier": "tier-2-pure" } }, "repeat": { "schema": "freecad-web-facade/v1", "version": 1, "kind": "result", "requestId": "draft-object-batch-repeat", "result": { "cmd": "draft.pythonFamilyBatch", "count": 24, "module": "Draft", "ok": true, "records": [ { "apiId": "py:Draft:function:precision", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "precision", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "None", "type": "NoneType" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:toString", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "toString", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "'FreeCAD.Vector(1.0, 2.0, 3.0)'", "type": "str" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:tup", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "tup", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "(1.0, 2.0, 3.0)", "type": "tuple" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:neg", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "neg", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "Vector (-1.0, 2.0, -3.0)", "type": "Vector" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:equals", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "equals", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "True", "type": "bool" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:scale", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "scale", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "Vector (2.0, 4.0, 6.0)", "type": "Vector" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:scaleTo", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "scaleTo", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "Vector (6.0, 8.0, 0.0)", "type": "Vector" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:dist", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "dist", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "5.0", "type": "float" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:angle", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "angle", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "1.5707963267948966", "type": "float" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:project", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "project", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "Vector (2.0, 0.0, 0.0)", "type": "Vector" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:rotate2D", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "rotate2D", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "Vector (6.123233995736766e-17, -1.0, 0.0)", "type": "Vector" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:rotate", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "rotate", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "Vector (6.123233995736766e-17, 1.0, 0.0)", "type": "Vector" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:getRotation", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "getRotation", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "(0.0, 0.0, -1.0, 1.0)", "type": "tuple" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:isNull", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "isNull", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "True", "type": "bool" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:find", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "find", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "1", "type": "int" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:closest", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "closest", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "(1, 1.0)", "type": "tuple" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:isColinear", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "isColinear", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "True", "type": "bool" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:rounded", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "rounded", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "Vector (1.23, 2.35, 3.46)", "type": "Vector" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:getPlaneRotation", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "getPlaneRotation", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "Matrix ((1,0,0,0),(0,1,0,0),(0,0,1,0),(0,0,0,1))", "type": "Matrix" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:removeDoubles", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "removeDoubles", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "[Vector (1.0, 0.0, 0.0), Vector (2.0, 0.0, 0.0)]", "type": "list" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:get_spherical_coords", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "get_spherical_coords", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "(1.7320508075688772, 0.9553166181245092, 0.7853981633974484)", "type": "tuple" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:get_cartesian_coords", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "get_cartesian_coords", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "(2.0, 0.0, 1.2246467991473532e-16)", "type": "tuple" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:get_working_plane", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "get_working_plane", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "Workplane x=Vector (1.0, 0.0, 0.0) y=Vector (0.0, 1.0, 0.0) z=Vector (0.0, 0.0, 1.0) pos=Vector (0.0, 0.0, 0.0)", "type": "PlaneGui" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/WorkingPlane.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" }, { "apiId": "py:Draft:function:array", "code": "native_python_method", "family": "pure-function", "message": "Draft official Python source fixture executed by FreeCAD", "name": "array", "native": true, "parameterSchema": "native-fixture/v1", "replay": "native-python-typed", "resourcesReleased": true, "result": { "repr": "None", "type": "NoneType" }, "returnSchema": "{type:string,repr:string}", "sourceEntry": "src/Mod/Draft/draftfunctions/array.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "exposed" } ], "resourcesReleased": true, "schema": "freecad-web-draft/python-family-batch/v1", "source": "freecad-source", "tier": "tier-2-pure" } }, "crossModule": { "schema": "freecad-web-facade/v1", "version": 1, "kind": "result", "requestId": "draft-object-batch-cross", "result": { "cmd": "draft.pythonFamilyBatch", "count": 1, "module": "Draft", "ok": true, "records": [ { "apiId": "py:BIM:class:Binding", "code": "unmatched_source_record", "family": "pure-function", "message": "Draft API record is not part of this module-scoped adapter", "name": "precision", "native": true, "parameterSchema": "unmatched", "resourcesReleased": true, "returnSchema": "unmatched", "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "status": "not_implemented" } ], "resourcesReleased": true, "schema": "freecad-web-draft/python-family-batch/v1", "source": "freecad-source", "tier": "tier-2-pure" } }, "malformed": { "schema": "freecad-web-facade/v1", "version": 1, "kind": "error", "requestId": "invalid", "error": { "code": "invalid_request", "message": "Draft Python family envelope is invalid" } }, "cancelled": { "schema": "freecad-web-facade/v1", "version": 1, "kind": "error", "requestId": "draft-family-cancel-1", "error": { "code": "cancelled", "message": "request was cancelled" } }, "reset": { "kind": "reset", "requestId": "draft-object-batch-reset" }, "traceSha256": "47bb5c49d80fa7b882d5ed4f690bb37ba0fc20cefbfb0577f7220d4c06978b7d" }, "dispositionCounts": { "exposed": 24, "restricted": 0, "nonportable": 0, "not_implemented": 0 }, "records": [ { "apiId": "py:Draft:function:precision", "name": "precision", "family": "pure-function", "status": "exposed", "code": "native_python_method", "message": "Draft official Python source fixture executed by FreeCAD", "result": { "repr": "None", "type": "NoneType" }, "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "evidenceSha256": "b10c5b4c53189a17294edd4f4c9107e11c462f12431a5a3ab6a444a39680fecb" }, { "apiId": "py:Draft:function:toString", "name": "toString", "family": "pure-function", "status": "exposed", "code": "native_python_method", "message": "Draft official Python source fixture executed by FreeCAD", "result": { "repr": "'FreeCAD.Vector(1.0, 2.0, 3.0)'", "type": "str" }, "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "evidenceSha256": "3eb630fa285a9fbfe6f794af0bfc6c1e057852fff0fc62131910fc508e25f2db" }, { "apiId": "py:Draft:function:tup", "name": "tup", "family": "pure-function", "status": "exposed", "code": "native_python_method", "message": "Draft official Python source fixture executed by FreeCAD", "result": { "repr": "(1.0, 2.0, 3.0)", "type": "tuple" }, "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "evidenceSha256": "2cde892b6dc8d51f3a91588746b3f6803745049e97f8bf58cb8c1424e5736f00" }, { "apiId": "py:Draft:function:neg", "name": "neg", "family": "pure-function", "status": "exposed", "code": "native_python_method", "message": "Draft official Python source fixture executed by FreeCAD", "result": { "repr": "Vector (-1.0, 2.0, -3.0)", "type": "Vector" }, "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "evidenceSha256": "84581aeee274a8f52943fe46a9bf8afd9f660ba507589242eb48f70a76ac8de6" }, { "apiId": "py:Draft:function:equals", "name": "equals", "family": "pure-function", "status": "exposed", "code": "native_python_method", "message": "Draft official Python source fixture executed by FreeCAD", "result": { "repr": "True", "type": "bool" }, "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "evidenceSha256": "1bddf88a186301f8f6cac2de441aaa6e5b6add106ee5fca4e652c81d39156a63" }, { "apiId": "py:Draft:function:scale", "name": "scale", "family": "pure-function", "status": "exposed", "code": "native_python_method", "message": "Draft official Python source fixture executed by FreeCAD", "result": { "repr": "Vector (2.0, 4.0, 6.0)", "type": "Vector" }, "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "evidenceSha256": "121d0962019171c336be489a6b7bef57dfeed87bae7eba6f9555c5b37fe7343e" }, { "apiId": "py:Draft:function:scaleTo", "name": "scaleTo", "family": "pure-function", "status": "exposed", "code": "native_python_method", "message": "Draft official Python source fixture executed by FreeCAD", "result": { "repr": "Vector (6.0, 8.0, 0.0)", "type": "Vector" }, "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "evidenceSha256": "5caf1b387e8daf0236c214b24925caa1f35317c98ab61d51e6e0ccd210ccc273" }, { "apiId": "py:Draft:function:dist", "name": "dist", "family": "pure-function", "status": "exposed", "code": "native_python_method", "message": "Draft official Python source fixture executed by FreeCAD", "result": { "repr": "5.0", "type": "float" }, "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "evidenceSha256": "0cb27c2cee0cd3eb99f87c14e181f520dbcb4b03be4f5e992d393bdb4a8644cf" }, { "apiId": "py:Draft:function:angle", "name": "angle", "family": "pure-function", "status": "exposed", "code": "native_python_method", "message": "Draft official Python source fixture executed by FreeCAD", "result": { "repr": "1.5707963267948966", "type": "float" }, "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "evidenceSha256": "87bcc0829addc5b90f0625e70a4d65becb8f6489513b4997adca61933c4bc13a" }, { "apiId": "py:Draft:function:project", "name": "project", "family": "pure-function", "status": "exposed", "code": "native_python_method", "message": "Draft official Python source fixture executed by FreeCAD", "result": { "repr": "Vector (2.0, 0.0, 0.0)", "type": "Vector" }, "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "evidenceSha256": "63763a2fd4b7fedf3a8c940bf0fe32ab99aab5bc99cbb023e22df18815f20617" }, { "apiId": "py:Draft:function:rotate2D", "name": "rotate2D", "family": "pure-function", "status": "exposed", "code": "native_python_method", "message": "Draft official Python source fixture executed by FreeCAD", "result": { "repr": "Vector (6.123233995736766e-17, -1.0, 0.0)", "type": "Vector" }, "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "evidenceSha256": "431862225e8aeb8c142129d71d16857b6fe8820a91232f966b2a1db671e977e9" }, { "apiId": "py:Draft:function:rotate", "name": "rotate", "family": "pure-function", "status": "exposed", "code": "native_python_method", "message": "Draft official Python source fixture executed by FreeCAD", "result": { "repr": "Vector (6.123233995736766e-17, 1.0, 0.0)", "type": "Vector" }, "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "evidenceSha256": "9e21902568bb3d3b04e6ec1c822eb933579b41042fe6eb0a9189dd98488a72ca" }, { "apiId": "py:Draft:function:getRotation", "name": "getRotation", "family": "pure-function", "status": "exposed", "code": "native_python_method", "message": "Draft official Python source fixture executed by FreeCAD", "result": { "repr": "(0.0, 0.0, -1.0, 1.0)", "type": "tuple" }, "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "evidenceSha256": "714f133eab7b80d811d3f4b13c3a7f956bdd2650b249bc9866d0fb98d61b3d8e" }, { "apiId": "py:Draft:function:isNull", "name": "isNull", "family": "pure-function", "status": "exposed", "code": "native_python_method", "message": "Draft official Python source fixture executed by FreeCAD", "result": { "repr": "True", "type": "bool" }, "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "evidenceSha256": "422324b48160f4ea27bbc2868c6e6e4c2667498eb35ba97a2e7bda87acc7021f" }, { "apiId": "py:Draft:function:find", "name": "find", "family": "pure-function", "status": "exposed", "code": "native_python_method", "message": "Draft official Python source fixture executed by FreeCAD", "result": { "repr": "1", "type": "int" }, "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "evidenceSha256": "94c23ee89f16fc5f802a9373604f19dfc09122cabf74713449824be8ed4f17cc" }, { "apiId": "py:Draft:function:closest", "name": "closest", "family": "pure-function", "status": "exposed", "code": "native_python_method", "message": "Draft official Python source fixture executed by FreeCAD", "result": { "repr": "(1, 1.0)", "type": "tuple" }, "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "evidenceSha256": "05a5d67a4f3836a16f0a55a023ba97db8d68eb5441c2ef7000c3c1de3a9f0094" }, { "apiId": "py:Draft:function:isColinear", "name": "isColinear", "family": "pure-function", "status": "exposed", "code": "native_python_method", "message": "Draft official Python source fixture executed by FreeCAD", "result": { "repr": "True", "type": "bool" }, "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "evidenceSha256": "0bee10bb191b025388f31e86014a8d6e61a7ae738107b97876378011949d5068" }, { "apiId": "py:Draft:function:rounded", "name": "rounded", "family": "pure-function", "status": "exposed", "code": "native_python_method", "message": "Draft official Python source fixture executed by FreeCAD", "result": { "repr": "Vector (1.23, 2.35, 3.46)", "type": "Vector" }, "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "evidenceSha256": "d25daa718ddf7e8cdffa1a43ade029112bd2af5be00d0ab89d85333800e53586" }, { "apiId": "py:Draft:function:getPlaneRotation", "name": "getPlaneRotation", "family": "pure-function", "status": "exposed", "code": "native_python_method", "message": "Draft official Python source fixture executed by FreeCAD", "result": { "repr": "Matrix ((1,0,0,0),(0,1,0,0),(0,0,1,0),(0,0,0,1))", "type": "Matrix" }, "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "evidenceSha256": "a380b3162f876f68c3246d71c14bacfc344cab5a28db7c6deda8f0530bfa7d18" }, { "apiId": "py:Draft:function:removeDoubles", "name": "removeDoubles", "family": "pure-function", "status": "exposed", "code": "native_python_method", "message": "Draft official Python source fixture executed by FreeCAD", "result": { "repr": "[Vector (1.0, 0.0, 0.0), Vector (2.0, 0.0, 0.0)]", "type": "list" }, "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "evidenceSha256": "ebbc2c01b16b45923b6b957c40ee415152adae06082538ccef0282f4d398aa57" }, { "apiId": "py:Draft:function:get_spherical_coords", "name": "get_spherical_coords", "family": "pure-function", "status": "exposed", "code": "native_python_method", "message": "Draft official Python source fixture executed by FreeCAD", "result": { "repr": "(1.7320508075688772, 0.9553166181245092, 0.7853981633974484)", "type": "tuple" }, "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "evidenceSha256": "f70e14fc9f64a5efaf11e6226d279df78dd482f39c1da88add4648a307cd43a0" }, { "apiId": "py:Draft:function:get_cartesian_coords", "name": "get_cartesian_coords", "family": "pure-function", "status": "exposed", "code": "native_python_method", "message": "Draft official Python source fixture executed by FreeCAD", "result": { "repr": "(2.0, 0.0, 1.2246467991473532e-16)", "type": "tuple" }, "sourceEntry": "src/Mod/Draft/DraftVecUtils.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "evidenceSha256": "f32584bfeea56d8bc4d5ea7273ec3280ec95055fedc96e4c33b55866facf1bfa" }, { "apiId": "py:Draft:function:get_working_plane", "name": "get_working_plane", "family": "pure-function", "status": "exposed", "code": "native_python_method", "message": "Draft official Python source fixture executed by FreeCAD", "result": { "repr": "Workplane x=Vector (1.0, 0.0, 0.0) y=Vector (0.0, 1.0, 0.0) z=Vector (0.0, 0.0, 1.0) pos=Vector (0.0, 0.0, 0.0)", "type": "PlaneGui" }, "sourceEntry": "src/Mod/Draft/WorkingPlane.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "evidenceSha256": "20e8a9fa6edeeb70d4fa66f2a6470abdbf6d980f5a8840b9ba67fba771962172" }, { "apiId": "py:Draft:function:array", "name": "array", "family": "pure-function", "status": "exposed", "code": "native_python_method", "message": "Draft official Python source fixture executed by FreeCAD", "result": { "repr": "None", "type": "NoneType" }, "sourceEntry": "src/Mod/Draft/draftfunctions/array.py", "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "evidenceSha256": "04d56072197ddd1b21411df828632dfc20809fa188cda3fa08c225c20509e423" } ], "resources": { "resourcesReleased": true, "documentMutation": false }, "artifacts": { "module": "Draft", "worker": "draft.worker.ts", "revision": "515c9f5f2c606d50", "runtimeUrl": "/kernel/FreeCADWebDraftRuntimeProbe.js", "wasmUrl": "/kernel/FreeCADWebDraftRuntimeProbe.wasm", "dataUrl": null, "assetBaseUrl": "/kernel/", "buildProfile": "fast-dev", "runtimeSha256": "bbea0dbc3d4c6424a5f44a1bbf9a4a5940b42b25947b75ff14dcbd9277f24d8f", "wasmSha256": "515c9f5f2c606d506bd83b4688c7dfa8fe9e0c08da513cde74294e9df0866300" }, "boundaries": [ "Draft functions are executed from embedded official FreeCAD Python source by the native dispatcher.", "All statuses, values and hashes come from compiled FreeCAD through fc_web_dispatch_json; JavaScript only transports and validates the batch envelope." ] }