Generate sandbox 2 rib profile (11 pockets, validated)
This commit is contained in:
@@ -33,7 +33,10 @@ def _merge_params(geometry: Dict[str, Any], params_file: Path | None) -> Dict[st
|
||||
if not isinstance(user_params, dict):
|
||||
raise ValueError("--params must point to a JSON object")
|
||||
params.update(user_params)
|
||||
params["thickness"] = float(geometry.get("thickness", params.get("thickness", 10.0)))
|
||||
raw_thick = geometry.get("thickness")
|
||||
if raw_thick is None:
|
||||
raw_thick = params.get("thickness", 10.0)
|
||||
params["thickness"] = float(raw_thick)
|
||||
return params
|
||||
|
||||
|
||||
|
||||
1093
tools/adaptive-isogrid/tests/output/rib_profile_sandbox_2.json
Normal file
1093
tools/adaptive-isogrid/tests/output/rib_profile_sandbox_2.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -120,5 +120,6 @@
|
||||
0.0,
|
||||
1.0
|
||||
]
|
||||
}
|
||||
},
|
||||
"holes": []
|
||||
}
|
||||
Reference in New Issue
Block a user