Files
cdsl-cad/json_to_cdsl/output/GBT901-1988_9.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_9",
"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": [
-10.0,
-0.0
]
},
{
"type": "line",
"start": [
-10.0,
-0.0
],
"end": [
-10.0,
1.0
]
},
{
"type": "line",
"start": [
-10.0,
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": [
7.775,
0.85
]
},
{
"type": "line",
"start": [
7.775,
0.85
],
"end": [
8.0,
1.0
]
},
{
"type": "line",
"start": [
8.0,
1.0
],
"end": [
18.0,
1.0
]
},
{
"type": "line",
"start": [
18.0,
1.0
],
"end": [
18.0,
0.0
]
},
{
"type": "line",
"start": [
18.0,
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.429473576,
0.007730524,
-0.000429596
],
"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.429473576,
0.007730524,
-0.000429596
],
"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_9.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 7.305289813913521e-05,
"volume": 7.30528981391352e-08,
"surface_area": 0.0003177995592839076,
"center_of_mass": [
0.0040059835125050925,
-6.424741993357244e-08,
-1.1720287201723216e-07
],
"principal_moments": [
3.0777298966836437e-11,
5.006377791873619e-09,
5.00639614759521e-09
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.010128888680426006,
-0.001021410344967014,
-0.0011548521842223245,
0.018128888680427103,
0.0010466669991314411,
0.0011548521842223245
],
"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.010128888680426006,
-0.001021410344967014,
-0.0011548521842223245,
0.018128888680427103,
0.001046666999131441,
0.0011548521842223245
],
"face_count": 11,
"edge_count": 284,
"vertex_count": 276
},
"stable_id": "20643ef02737dec13dc72625ebcc530d6481c6e47f8ee10811dfbe939fe2249b"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 289,
"surface_counts": {
"bspline": 4,
"cone": 13,
"cylinder": 270,
"plane": 2
},
"axis_count": 283,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-10.0000001,
-1.000001398,
-1.000001398,
18.0000001,
1.000001398,
1.000001398
],
"volume_mm3": 72.902906674,
"surface_area_mm2": 318.381680166,
"solid_count": 1,
"face_count": 289,
"edge_count": 855,
"vertex_count": 568
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-10.12888868,
-1.021410345,
-1.154852184,
18.12888868,
1.046666999,
1.154852184
],
"volume_mm3": 73.052898139,
"surface_area_mm2": 317.799559284,
"solid_count": 1,
"face_count": 11,
"edge_count": 284,
"vertex_count": 276
},
"comparisons": {
"volume_mm3": {
"expected": 73.052898139,
"actual": 72.902906674,
"absolute_delta": 0.1499914650000136,
"within_tolerance": false
},
"surface_area_mm2": {
"expected": 317.799559284,
"actual": 318.381680166,
"absolute_delta": 0.5821208820000265,
"within_tolerance": false
},
"bounding_box_mm": {
"expected": [
-10.12888868,
-1.021410345,
-1.154852184,
18.12888868,
1.046666999,
1.154852184
],
"actual": [
-10.0000001,
-1.000001398,
-1.000001398,
18.0000001,
1.000001398,
1.000001398
],
"max_absolute_delta": 0.1548507859999999,
"within_tolerance": false
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 11,
"actual": 289,
"matches": false
},
"edge_count": {
"expected": 284,
"actual": 855,
"matches": false
},
"vertex_count": {
"expected": 276,
"actual": 568,
"matches": false
}
},
"numeric_geometry_match": false,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}