Skip to content

Commit

Permalink
fix ref in segmir
Browse files Browse the repository at this point in the history
  • Loading branch information
relleums committed Jun 6, 2024
1 parent c6e7860 commit 4befe52
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ def add_to_frame(

# facet
# -----
pp = posixpath
assert facet_id_start >= 0
facet_outer_radius = facet_inner_hex_radius * (2.0 / np.sqrt(3.0))
facet_curvature_radius = 2.0 * focal_length
Expand All @@ -157,9 +158,9 @@ def add_to_frame(
ref="facet",
)
facet_mtl_to_boundary_layers_map = {
"facet/front": boundary_layer_facet_front,
"facet/back": boundary_layer_facet_body,
"facet/side": boundary_layer_facet_body,
pp.join("facet", "front"): pp.join(ref, boundary_layer_facet_front),
pp.join("facet", "back"): pp.join(ref, boundary_layer_facet_body),
pp.join("facet", "side"): pp.join(ref, boundary_layer_facet_body),
}

objs = {}
Expand Down
2 changes: 1 addition & 1 deletion computer_aided_design_for_optical_instruments/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.0.2"
__version__ = "0.0.3"

0 comments on commit 4befe52

Please sign in to comment.