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

709 lines
16 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "GBT901-1988_1",
"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": "line",
"start": [
0.0,
0.0
],
"end": [
-3.85,
-0.0
]
},
{
"type": "line",
"start": [
-3.85,
-0.0
],
"end": [
-3.85,
1.0
]
},
{
"type": "line",
"start": [
-3.85,
1.0
],
"end": [
0.0,
1.0
]
},
{
"type": "line",
"start": [
0.0,
1.0
],
"end": [
0.45,
0.85
]
},
{
"type": "line",
"start": [
0.45,
0.85
],
"end": [
2.075,
0.85
]
},
{
"type": "line",
"start": [
2.075,
0.85
],
"end": [
2.3,
1.0
]
},
{
"type": "line",
"start": [
2.3,
1.0
],
"end": [
6.15,
1.0
]
},
{
"type": "line",
"start": [
6.15,
1.0
],
"end": [
6.15,
0.0
]
},
{
"type": "line",
"start": [
6.15,
0.0
],
"end": [
0.0,
0.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-78.687520661,
0.0
],
"end": [
178.573470315,
0.0
]
},
{
"type": "line",
"start": [
0.0,
93.318760331
],
"end": [
0.0,
1.0
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
-91.891322314
]
},
{
"type": "line",
"start": [
-25.350209868,
22.163550437
],
"end": [
-32.42127768,
15.092482625
]
}
]
}
},
{
"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": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 1.0
}
},
{
"id": "sk_004",
"name": "草图3",
"role": "profile",
"workplane": {
"origin_mm": [
-0.146736805,
0.000902431,
-0.000146779
],
"x_dir": [
0.999715156,
-0.0,
-0.023866441
],
"y_dir": [
0.999715318,
-0.0,
0.023859647
],
"normal": [
-0.0,
-1.0,
0.0
]
},
"profile": {
"type": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
0.0675,
0.0
],
"end": [
-0.0675,
0.0
]
},
{
"type": "line",
"start": [
-0.0675,
0.0
],
"end": [
0.0,
0.15
]
},
{
"type": "line",
"start": [
0.0,
0.15
],
"end": [
0.0675,
0.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.15
],
"end": [
0.0,
0.0
]
}
]
}
}
]
},
"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_004",
"name": "旋转1",
"atomic_id": "revolve_add",
"depends_on": [
"f_001"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
-78.687520661,
0.0,
0.0
],
"direction": [
1.0,
0.0,
0.0
]
},
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002",
"selectors": [
{
"kind": "axis",
"stable_id": "e641e4bae89816ec9e453fd216fd4a8e35989ec1a5dad9e6b81b850a8d0b7351",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
-0.07868752066115701,
0.0,
0.0
],
"end": [
0.17857347031501186,
0.0,
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_005",
"name": "基准面1",
"atomic_id": "reference_plane",
"depends_on": [
"f_004"
],
"params": {
"plane": {
"origin_mm": [
-0.146736805,
0.000902431,
-0.000146779
],
"x_dir": [
0.999715156,
-0.0,
-0.023866441
],
"y_dir": [
0.999715318,
-0.0,
0.023859647
],
"normal": [
-0.0,
-1.0,
0.0
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 8,
"references": [
{
"kind": "feature",
"stable_id": "1785013f90cd1aac52690f2d4772553db6b8c951ef0afd2d82fa3b5928e92256",
"source": "solidworks",
"confidence": 1.0
}
],
"derived_from_sketch_id": "sk_004"
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "1785013f90cd1aac52690f2d4772553db6b8c951ef0afd2d82fa3b5928e92256",
"source": "solidworks",
"confidence": 1.0
}
]
}
],
"meta": {
"unit": "mm",
"source": "01_紧固件/0101_螺栓/010108_GBT901等长双头螺柱/GBT901-1988_1.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 2.6434560410739547e-05,
"volume": 2.6434560410739548e-08,
"surface_area": 0.00012282212315712807,
"center_of_mass": [
0.0011500671994278378,
-4.09747319747433e-07,
-2.2244853802078987e-07
],
"principal_moments": [
1.1273078791380247e-11,
2.3345241509356753e-10,
2.3351273400662183e-10
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.003942327953521606,
-0.0010009301025013205,
-0.0011547005383792113,
0.006242327953521596,
0.0010009301025013205,
0.0011547005383792113
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "切除-扫描1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAIAAAB+AAAAfQAAAA==",
"persist_reference_sha256": "20643ef02737dec13dc72625ebcc530d6481c6e47f8ee10811dfbe939fe2249b",
"component": null,
"geometry": {
"box": [
-0.003942327953521606,
-0.0010009301025013203,
-0.0011547005383792113,
0.006242327953521595,
0.0010009301025013205,
0.0011547005383792113
],
"face_count": 11,
"edge_count": 22,
"vertex_count": 14
},
"stable_id": "20643ef02737dec13dc72625ebcc530d6481c6e47f8ee10811dfbe939fe2249b"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 125,
"surface_counts": {
"bspline": 4,
"cone": 13,
"cylinder": 106,
"plane": 2
},
"axis_count": 119,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-3.8500001,
-1.000001398,
-1.000001398,
6.1500001,
1.000001398,
1.000001398
],
"volume_mm3": 26.676100765,
"surface_area_mm2": 123.369587878,
"solid_count": 1,
"face_count": 125,
"edge_count": 363,
"vertex_count": 240
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-3.942327954,
-1.000930103,
-1.154700538,
6.242327954,
1.000930103,
1.154700538
],
"volume_mm3": 26.434560411,
"surface_area_mm2": 122.822123157,
"solid_count": 1,
"face_count": 11,
"edge_count": 22,
"vertex_count": 14
},
"comparisons": {
"volume_mm3": {
"expected": 26.434560411,
"actual": 26.676100765,
"absolute_delta": 0.2415403540000014,
"within_tolerance": false
},
"surface_area_mm2": {
"expected": 122.822123157,
"actual": 123.369587878,
"absolute_delta": 0.5474647210000114,
"within_tolerance": false
},
"bounding_box_mm": {
"expected": [
-3.942327954,
-1.000930103,
-1.154700538,
6.242327954,
1.000930103,
1.154700538
],
"actual": [
-3.8500001,
-1.000001398,
-1.000001398,
6.1500001,
1.000001398,
1.000001398
],
"max_absolute_delta": 0.15469913999999996,
"within_tolerance": false
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 11,
"actual": 125,
"matches": false
},
"edge_count": {
"expected": 22,
"actual": 363,
"matches": false
},
"vertex_count": {
"expected": 14,
"actual": 240,
"matches": false
}
},
"numeric_geometry_match": false,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}