Skip to content

Pattern OS Rectangular script#186

Merged
pluAtAnsys merged 4 commits into
mainfrom
Pattern-OS-Rectangular
Mar 16, 2026
Merged

Pattern OS Rectangular script#186
pluAtAnsys merged 4 commits into
mainfrom
Pattern-OS-Rectangular

Conversation

@MarinVillalobos

Copy link
Copy Markdown
Collaborator

@pluAtAnsys this is the tool i mentioned.

fyi @StefanThoene @gmoysan

@pluAtAnsys pluAtAnsys self-assigned this Dec 8, 2025
# -----------------------------------------------------------
# UX for "Styling" + "Pillow Definition"
# -----------------------------------------------------------
class RectangularParametersForm(Form):

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please use numpy style for docstring

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

Comment thread ansys_optical_automation/application/scdm_script_tool/Pattern OS Rectangular.py Outdated
Comment thread ansys_optical_automation/application/scdm_script_tool/Pattern OS Rectangular.py Outdated
Comment thread ansys_optical_automation/application/scdm_script_tool/Pattern OS Rectangular.py Outdated
Comment thread ansys_optical_automation/application/scdm_script_tool/Pattern OS Rectangular.py Outdated

# ------------- Pillow mode handling -------------

def on_mode_changed(self, sender, event):

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing numpy style docstring

"""Update controls when Radii/Freeform selection changes."""
self.update_pillow_controls()

def update_pillow_controls(self):

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing numpy style docstring


# ------------- OK / Cancel -------------

def on_ok(self, sender, event):

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing numpy style docstring

self.DialogResult = DialogResult.OK
self.Close()

def on_cancel(self, sender, event):

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing numpy style docstring

@MarinVillalobos

Copy link
Copy Markdown
Collaborator Author

@pluAtAnsys I made some updates

@pluAtAnsys pluAtAnsys merged commit 6d96060 into main Mar 16, 2026
1 of 2 checks passed
@pluAtAnsys pluAtAnsys deleted the Pattern-OS-Rectangular branch March 16, 2026 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants