Files
cdsl-cad/json_to_cdsl/output/151236.cdsl.json
T
2026-08-24 14:52:08 +08:00

962 lines
22 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "151236",
"geometry": {
"sketches": [
{
"id": "sk_001",
"name": "原点",
"role": "profile",
"workplane": {
"origin_mm": [
-0.0,
-0.0,
-0.0
],
"x_dir": [
1.0,
0.0,
0.0
],
"y_dir": [
1.0,
0.0,
0.0
],
"normal": [
0.0,
0.0,
1.0
]
},
"profile": {
"type": "analytic_contours",
"contours": []
}
},
{
"id": "sk_002",
"name": "草图1",
"role": "profile",
"workplane": {
"origin_mm": [
-0.0,
-0.0,
-0.0
],
"x_dir": [
1.0,
0.0,
0.0
],
"y_dir": [
1.0,
0.0,
0.0
],
"normal": [
0.0,
0.0,
1.0
]
},
"profile": {
"type": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
18.5,
-16.45
],
"end": [
19.0,
-16.95
],
"center": [
18.5,
-16.95
],
"radius_mm": 0.5,
"clockwise": true
},
{
"type": "line",
"start": [
19.0,
-16.95
],
"end": [
19.0,
-20.7
]
},
{
"type": "line",
"start": [
19.0,
-20.7
],
"end": [
8.0,
-20.7
]
},
{
"type": "line",
"start": [
8.0,
-20.7
],
"end": [
8.0,
-19.1295
]
},
{
"type": "line",
"start": [
8.0,
-19.1295
],
"end": [
8.4295,
-18.7
]
},
{
"type": "line",
"start": [
8.4295,
-18.7
],
"end": [
15.0,
-18.7
]
},
{
"type": "line",
"start": [
15.0,
-18.7
],
"end": [
15.0,
-16.45
]
},
{
"type": "line",
"start": [
15.0,
-16.45
],
"end": [
18.5,
-16.45
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
19.0,
-20.7
],
"end": [
8.0,
-20.7
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"role": "profile",
"workplane": {
"origin_mm": [
-0.0,
-0.0,
-0.0
],
"x_dir": [
0.0,
0.0,
1.0
],
"y_dir": [
0.707106781,
0.0,
-0.707106781
],
"normal": [
-0.0,
1.0,
0.0
]
},
"profile": {
"type": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-0.866025404,
-22.2
],
"end": [
0.866025404,
-22.2
]
},
{
"type": "line",
"start": [
0.866025404,
-22.2
],
"end": [
1.732050808,
-20.7
]
},
{
"type": "line",
"start": [
1.732050808,
-20.7
],
"end": [
0.866025404,
-19.2
]
},
{
"type": "line",
"start": [
0.866025404,
-19.2
],
"end": [
-0.866025404,
-19.2
]
},
{
"type": "line",
"start": [
-0.866025404,
-19.2
],
"end": [
-1.732050808,
-20.7
]
},
{
"type": "line",
"start": [
-1.732050808,
-20.7
],
"end": [
-0.866025404,
-22.2
]
}
]
}
]
}
},
{
"id": "sk_004",
"name": "IP1_GFC_SCREW",
"role": "profile",
"workplane": {
"origin_mm": [
-0.0,
-0.0,
-0.0
],
"x_dir": [
1.0,
0.0,
0.0
],
"y_dir": [
1.0,
0.0,
0.0
],
"normal": [
0.0,
0.0,
1.0
]
},
"profile": {
"type": "analytic_contours",
"contours": []
}
}
]
},
"features": [
{
"id": "f_001",
"name": "前视",
"atomic_id": "reference_plane",
"depends_on": [],
"params": {
"plane": {
"origin_mm": [
0.0,
0.0,
0.0
],
"normal": [
0.0,
1.0,
0.0
],
"x_dir": [
1.0,
0.0,
0.0
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 10
},
"execution_status": "deferred"
},
{
"id": "f_002",
"name": "上视",
"atomic_id": "reference_plane",
"depends_on": [
"f_001"
],
"params": {
"plane": {
"origin_mm": [
0.0,
0.0,
0.0
],
"normal": [
0.0,
0.0,
1.0
],
"x_dir": [
1.0,
0.0,
0.0
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 10
},
"execution_status": "deferred"
},
{
"id": "f_005",
"name": "旋转1",
"atomic_id": "revolve_add",
"depends_on": [
"f_001"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
19.0,
-20.7,
0.0
],
"direction": [
-1.0,
0.0,
0.0
]
},
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002",
"selectors": [
{
"kind": "axis",
"stable_id": "228e662545e2ad7d6ee157dd2be9feee7434817c72f1bca13b882fc53d35be8d",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.019,
-0.0207,
0.0
],
"end": [
0.008,
-0.0207,
0.0
]
}
}
]
},
{
"id": "f_003",
"name": "右视",
"atomic_id": "reference_plane",
"depends_on": [
"f_002"
],
"params": {
"plane": {
"origin_mm": [
0.0,
0.0,
0.0
],
"normal": [
1.0,
0.0,
0.0
],
"x_dir": [
0.0,
1.0,
0.0
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 10
},
"execution_status": "deferred"
},
{
"id": "f_006",
"name": "基准面2",
"atomic_id": "reference_plane",
"depends_on": [
"f_005"
],
"params": {
"plane": {
"origin_mm": [
-0.0,
-0.0,
-0.0
],
"x_dir": [
0.0,
0.0,
1.0
],
"y_dir": [
0.707106781,
0.0,
-0.707106781
],
"normal": [
-0.0,
1.0,
0.0
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": -1,
"derived_from_sketch_id": "sk_003"
},
"execution_status": "deferred"
},
{
"id": "f_004",
"name": "基准面1",
"atomic_id": "reference_plane",
"depends_on": [
"f_003"
],
"params": {
"plane": {
"origin_mm": [
19.0,
0.0,
0.0
],
"normal": [
1.0,
0.0,
0.0
],
"x_dir": [
0.0,
1.0,
0.0
]
},
"offset_mm": 19.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 5,
"references": [
{
"kind": "plane",
"stable_id": "ca9b26738aafbe5077b4fa72173b363ed58490758883745da2a3d01a70c27cd8",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_003"
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "plane",
"stable_id": "ca9b26738aafbe5077b4fa72173b363ed58490758883745da2a3d01a70c27cd8",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_003"
}
]
},
{
"id": "f_007",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_006",
"f_005"
],
"params": {
"distance_mm": 3.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_008",
"name": "IP1_GFC_SCREW XY",
"atomic_id": "reference_plane",
"depends_on": [
"f_007"
],
"params": {
"plane": {
"origin_mm": [
0.0,
0.0,
0.0
],
"normal": [
0.0,
0.0,
1.0
],
"x_dir": [
1.0,
0.0,
0.0
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": -1
},
"execution_status": "deferred"
},
{
"id": "f_009",
"name": "IP1_GFC_SCREW XZ",
"atomic_id": "reference_plane",
"depends_on": [
"f_008"
],
"params": {
"plane": {
"origin_mm": [
0.0,
0.0,
0.0
],
"normal": [
0.0,
1.0,
0.0
],
"x_dir": [
1.0,
0.0,
0.0
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": -1
},
"execution_status": "deferred"
},
{
"id": "f_010",
"name": "IP1_GFC_SCREW YZ",
"atomic_id": "reference_plane",
"depends_on": [
"f_009"
],
"params": {
"plane": {
"origin_mm": [
0.0,
0.0,
0.0
],
"normal": [
1.0,
0.0,
0.0
],
"x_dir": [
0.0,
1.0,
0.0
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": -1
},
"execution_status": "deferred"
},
{
"id": "f_011",
"name": "IP1_GFC_SCREW X",
"atomic_id": "reference_axis",
"depends_on": [
"f_008",
"f_009"
],
"params": {
"axis": {
"selector": {
"kind": "feature",
"stable_id": "ca40840b3f6718dd3598289541717a70879af0157ca9568a7cb1d621ebe0e3d0",
"source": "solidworks",
"confidence": 1.0
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "ca40840b3f6718dd3598289541717a70879af0157ca9568a7cb1d621ebe0e3d0",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "plane",
"stable_id": "ca40840b3f6718dd3598289541717a70879af0157ca9568a7cb1d621ebe0e3d0",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_008"
},
{
"kind": "plane",
"stable_id": "e42b12d2060c0f1a32aed643d78fa67a3b5c0cf1398d88aab65fd79bb3696b8b",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_009"
}
]
},
{
"id": "f_012",
"name": "IP1_GFC_SCREW Y",
"atomic_id": "reference_axis",
"depends_on": [
"f_008",
"f_010"
],
"params": {
"axis": {
"selector": {
"kind": "feature",
"stable_id": "ca40840b3f6718dd3598289541717a70879af0157ca9568a7cb1d621ebe0e3d0",
"source": "solidworks",
"confidence": 1.0
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "ca40840b3f6718dd3598289541717a70879af0157ca9568a7cb1d621ebe0e3d0",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "plane",
"stable_id": "ca40840b3f6718dd3598289541717a70879af0157ca9568a7cb1d621ebe0e3d0",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_008"
},
{
"kind": "plane",
"stable_id": "c2c75f893e092915b00a026f5457992c7e5670958f8620d75de7bcab03db84db",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_010"
}
]
},
{
"id": "f_013",
"name": "IP1_GFC_SCREW Z",
"atomic_id": "reference_axis",
"depends_on": [
"f_010",
"f_009"
],
"params": {
"axis": {
"selector": {
"kind": "feature",
"stable_id": "c2c75f893e092915b00a026f5457992c7e5670958f8620d75de7bcab03db84db",
"source": "solidworks",
"confidence": 1.0
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "c2c75f893e092915b00a026f5457992c7e5670958f8620d75de7bcab03db84db",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "plane",
"stable_id": "c2c75f893e092915b00a026f5457992c7e5670958f8620d75de7bcab03db84db",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_010"
},
{
"kind": "plane",
"stable_id": "e42b12d2060c0f1a32aed643d78fa67a3b5c0cf1398d88aab65fd79bb3696b8b",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_009"
}
]
}
],
"meta": {
"unit": "mm",
"source": "01_紧固件/0102_螺钉/010299_通用螺钉/151236.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.0008181271831338827,
"volume": 2.890908774324674e-07,
"surface_area": 0.0003302021700423641,
"center_of_mass": [
0.015309869552072104,
-0.0207,
1.4846993363238216e-19
],
"principal_moments": [
6.1381135230407296e-09,
9.816411371314404e-09,
9.816411371314404e-09
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
0.008000000000000004,
-0.024949999999999996,
-0.004249999999999997,
0.019,
-0.016450000000000003,
0.004249999999999997
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "切除-拉伸1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAIAAAB5AAAAeAAAAA==",
"persist_reference_sha256": "adcde97d82da9a4bc50b170904a7438d7f23d10ed00ab66682a1e8ab9ffb695b",
"component": null,
"geometry": {
"box": [
0.008000000000000005,
-0.024949999999999996,
-0.004249999999999997,
0.019,
-0.016450000000000003,
0.004249999999999997
],
"face_count": 14,
"edge_count": 24,
"vertex_count": 12
},
"stable_id": "adcde97d82da9a4bc50b170904a7438d7f23d10ed00ab66682a1e8ab9ffb695b"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 18,
"surface_counts": {
"cone": 2,
"cylinder": 4,
"plane": 10,
"torus": 2
},
"axis_count": 6,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
8.0,
-24.95,
-4.25,
19.0,
-16.45,
4.25
],
"volume_mm3": 289.090877432,
"surface_area_mm2": 330.202170042,
"solid_count": 1,
"face_count": 18,
"edge_count": 38,
"vertex_count": 24
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
8.0,
-24.95,
-4.25,
19.0,
-16.45,
4.25
],
"volume_mm3": 289.090877432,
"surface_area_mm2": 330.202170042,
"solid_count": 1,
"face_count": 14,
"edge_count": 24,
"vertex_count": 12
},
"comparisons": {
"volume_mm3": {
"expected": 289.090877432,
"actual": 289.090877432,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 330.202170042,
"actual": 330.202170042,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
8.0,
-24.95,
-4.25,
19.0,
-16.45,
4.25
],
"actual": [
8.0,
-24.95,
-4.25,
19.0,
-16.45,
4.25
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 14,
"actual": 18,
"matches": false
},
"edge_count": {
"expected": 24,
"actual": 38,
"matches": false
},
"vertex_count": {
"expected": 12,
"actual": 24,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}