diff --git a/examples/mesh.jcad b/examples/mesh.jcad deleted file mode 100644 index 4f429a8d..00000000 --- a/examples/mesh.jcad +++ /dev/null @@ -1,70 +0,0 @@ -{ - "objects": [ - { - "parameters": { - "Radius": 5, - "Angle2": 90, - "Angle3": 360, - "Angle1": -90, - "Placement": { - "Axis": [ - 0, - 0, - 1 - ], - "Angle": 0, - "Position": [ - 0, - 0, - 0 - ] - } - }, - "shape": "Part::Sphere", - "visible": true, - "name": "Sphere 1", - "shapeMetadata": { - "mass": 523.598775598299, - "centerOfMass": [ - -6.831173468593155e-17, - -6.762015639822762e-17, - -1.1723955140041649e-16 - ], - "matrixOfInertia": [ - [ - 5.024868394973242e-29, - 1.0531142239564298e-30, - 5235.987755982989 - ], - [ - 5235.987755982988, - 1.2438806679850384e-13, - 5.024868394973242e-29 - ], - [ - 1.2438806679850384e-13, - 5235.987755982989, - 1.0531142239564298e-30 - ] - ] - } - }, - { - "parameters": { - "Object": "Sphere 1", - "NumberOfSegments": 5 - }, - "visible": true, - "shape": "Post::SalomeMesh", - "name": "Mesh 1" - } - ], - "options": { - "guidata": { - "Sphere 1": { - "visibility": false - } - } - }, - "metadata": {} -} \ No newline at end of file diff --git a/examples/test.jcad b/examples/test.jcad index 2db333ab..36ff56bd 100644 --- a/examples/test.jcad +++ b/examples/test.jcad @@ -2,69 +2,53 @@ "objects": [ { "name": "box", - "visible": true, "shape": "Part::Box", - "shapeMetadata": { - "mass": 1995, - "centerOfMass": [ - 3.5, - 7.5, - 9.499999999999998 - ], - "matrixOfInertia": [ - [ - 0, - -2.9103830456733704e-11, - 45552.5 - ], - [ - 97422.50000000006, - 0, - 0 - ], - [ - 0, - 68162.50000000006, - -2.9103830456733704e-11 - ] - ] - }, "parameters": { + "Height": 19.0, "Placement": { "Axis": [ - 1, - 0, - 0 + 1.0, + 0.0, + 0.0 ], "Position": [ - 0, - 0, - 0 + 0.0, + 0.0, + 0.0 ], - "Angle": 0 + "Angle": 0.0 }, - "Width": 15, - "Length": 7, - "Height": 19 - } + "Width": 15.0, + "Length": 7.0 + }, + "visible": true }, { - "name": "Mesh 1", - "shape": "Post::Operator", + "visible": true, "parameters": { - "NumberOfSegment": 5, - "Object": "box" + "Length": 10.0, + "Placement": { + "Position": [ + 0.0, + 0.0, + 0.0 + ], + "Axis": [ + 1.0, + 0.0, + 0.0 + ], + "Angle": 2.0 + }, + "Height": 9.0, + "Width": 25.0 }, - "visible": true + "shape": "Part::Box", + "name": "box2" } ], "options": { - "foo": 1, - "guidata": { - "box": { - "visibility": false - } - } + "foo": 1.0 }, "metadata": {} -} +} \ No newline at end of file