29 lines
878 B
Python
29 lines
878 B
Python
|
|
"""
|
||
|
|
NXOpen script — Build Interface Model (Model A) for Assembly FEM.
|
||
|
|
|
||
|
|
ONE-TIME: Creates spider elements (RBE2/RBE3) at each hole + edge BC nodes.
|
||
|
|
Exports interface_nodes.json for the iteration script.
|
||
|
|
|
||
|
|
NOTE: Skeleton — requires NX environment for development.
|
||
|
|
See docs/technical-spec.md Section 4.2 for full pseudocode.
|
||
|
|
"""
|
||
|
|
|
||
|
|
|
||
|
|
def build_interface_model(geometry_json_path, fem_part):
|
||
|
|
"""
|
||
|
|
Build Model A: spider elements at each hole + edge BC nodes.
|
||
|
|
|
||
|
|
For each hole:
|
||
|
|
- Center node (master)
|
||
|
|
- N circumference nodes (~1 per 2mm of circumference)
|
||
|
|
- RBE2 (rigid) or RBE3 (distributing) spider
|
||
|
|
|
||
|
|
For plate boundary:
|
||
|
|
- Edge nodes at ~3mm spacing
|
||
|
|
|
||
|
|
Exports interface_nodes.json with all node IDs and coordinates.
|
||
|
|
"""
|
||
|
|
raise NotImplementedError(
|
||
|
|
"Develop inside NX Simcenter. See docs/technical-spec.md Section 4.2."
|
||
|
|
)
|