Skip to content

Commit fbce572

Browse files
dipinknairMaxJPRey
andauthored
Apply suggestions from code review
Co-authored-by: Maxime Rey <[email protected]>
1 parent 20292c1 commit fbce572

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

geometry-mechanical-dpf/01_geometry.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
direction_y=[0, 1, 0],
8585
)
8686

87-
# creat IC
87+
# create IC
8888
sketch_IC = Sketch(plane)
8989
sketch_IC.box(Point2D([62 / 2 + 7.5, 51 / 2 + 5]), 15, 10)
9090

@@ -109,7 +109,7 @@
109109
# Start by creating the Design
110110
design = modeler.create_design("pcb_design")
111111

112-
# Create a all necessary components for pcb
112+
# Create all necessary components for pcb
113113
component = design.add_component("PCB")
114114
component.extrude_sketch("substrate", sketch_substrate, distance=substrate_height)
115115
ic_1 = component.extrude_sketch("ic-1", sketch_IC, distance=4.5)

geometry-mechanical-dpf/02_mechanical.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ def display_image(image_name):
188188

189189
# -- Save files and close mechanical --
190190
#
191-
# Mechanical file (mechdb) containes results files for each analysis
191+
# Mechanical file (mechdb) contains results for each analysis
192192
app.save(os.path.join(OUTPUT_DIR, "pcb.mechdb"))
193193
project_directory = ExtAPI.DataModel.Project.ProjectDirectory
194194
app.exit()

geometry-mechanical-dpf/03_dpf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def find_files(directory, extension):
8080
# Get temperature distribution
8181
temp = my_model.results.temperature.on_last_time_freq.eval()[0]
8282

83-
# Plot the the temperature for ic-6
83+
# Plot the temperature for ic-6
8484
if GRAPHICS_BOOL:
8585
temp.plot()
8686

0 commit comments

Comments
 (0)