Files
cdsl-cad/json_to_cdsl/output/GBT901-1988_8.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_8",
"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": [
4.775,
0.85
]
},
{
"type": "line",
"start": [
4.775,
0.85
],
"end": [
5.0,
1.0
]
},
{
"type": "line",
"start": [
5.0,
1.0
],
"end": [
15.0,
1.0
]
},
{
"type": "line",
"start": [
15.0,
1.0
],
"end": [
15.0,
0.0
]
},
{
"type": "line",
"start": [
15.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.357894646,
0.00536842,
-0.000357997
],
"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.357894646,
0.00536842,
-0.000357997
],
"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_8.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 6.624393917577113e-05,
"volume": 6.624393917577113e-08,
"surface_area": 0.0003017774370594676,
"center_of_mass": [
0.00250477199230864,
-7.128121478474172e-08,
-1.2169495044060122e-07
],
"principal_moments": [
2.8316970609491553e-11,
3.5753240617627437e-09,
3.5753410671909933e-09
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.010128888680426034,
-0.0010214103449670297,
-0.001154852184222297,
0.015128888680427088,
0.0010466669991314654,
0.001154852184222297
],
"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.010128888680426034,
-0.0010214103449670297,
-0.001154852184222297,
0.015128888680427088,
0.0010466669991314654,
0.001154852184222297
],
"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,
15.0000001,
1.000001398,
1.000001398
],
"volume_mm3": 66.125309016,
"surface_area_mm2": 302.359557632,
"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,
15.12888868,
1.046666999,
1.154852184
],
"volume_mm3": 66.243939176,
"surface_area_mm2": 301.777437059,
"solid_count": 1,
"face_count": 11,
"edge_count": 284,
"vertex_count": 276
},
"comparisons": {
"volume_mm3": {
"expected": 66.243939176,
"actual": 66.125309016,
"absolute_delta": 0.11863015999999504,
"within_tolerance": false
},
"surface_area_mm2": {
"expected": 301.777437059,
"actual": 302.359557632,
"absolute_delta": 0.5821205729999974,
"within_tolerance": false
},
"bounding_box_mm": {
"expected": [
-10.12888868,
-1.021410345,
-1.154852184,
15.12888868,
1.046666999,
1.154852184
],
"actual": [
-10.0000001,
-1.000001398,
-1.000001398,
15.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
}
}