From 6b0ec4ed5bd2f53c0833258e12f612abf106b672 Mon Sep 17 00:00:00 2001 From: dkunhamb Date: Fri, 19 Jan 2024 15:38:50 -0600 Subject: [PATCH 1/3] update 242 from 232 --- .../pymechanical_cheat_sheet/pymechanical_script.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cheat_sheets/pymechanical_cheat_sheet/pymechanical_script.py b/cheat_sheets/pymechanical_cheat_sheet/pymechanical_script.py index c55b6c7..46f78da 100644 --- a/cheat_sheets/pymechanical_cheat_sheet/pymechanical_script.py +++ b/cheat_sheets/pymechanical_cheat_sheet/pymechanical_script.py @@ -3,7 +3,7 @@ mechanical = pymechanical.launch_mechanical() # BREAK BLOCK # Standalone Mechanical from a local or remote terminal -ansys-mechanical -r 232 --port 10000 -g +ansys-mechanical -r 241 --port 10000 -g # BREAK BLOCK import ansys.mechanical.core as pymechanical # #Note: The following code uses port 10000, but you can specify an alternative port if required. @@ -20,8 +20,8 @@ # BREAK BLOCK from ansys.mechanical.core import find_mechanical -wb_exe = find_mechanical(232)[0] -# 'Ansys Inc\\v232\\aisol\\bin\\winx64\\AnsysWBU.exe' +wb_exe = find_mechanical(241)[0] +# 'Ansys Inc\\v241\\aisol\\bin\\winx64\\AnsysWBU.exe' mechanical = launch_mechanical( exec_file=wb_exe, verbose_mechanical=True, batch=True) print(mechanical) @@ -70,7 +70,7 @@ # BREAK BLOCK from ansys.mechanical.core import App -app = App(version=232) +app = App(version=241) print(app) # BREAK BLOCK @@ -100,5 +100,5 @@ Logger) Configuration.configure(level=logging.WARNING, to_stdout=True) -app = App(version=232) +app = App(version=241) Logger.error("message") \ No newline at end of file From ba9b92d8a0be0c5d0420d1e6fd9d84f42fb97a55 Mon Sep 17 00:00:00 2001 From: dkunhamb Date: Fri, 19 Jan 2024 15:52:39 -0600 Subject: [PATCH 2/3] update license --- LICENSE | 2 +- doc/source/conf.py | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/LICENSE b/LICENSE index 94e66d5..b10f44a 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2022 PyAnsys +Copyright (c) 2024 PyAnsys Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/doc/source/conf.py b/doc/source/conf.py index 5bf4fff..2e74e9d 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -10,11 +10,7 @@ "image/svg+xml", ] -from ansys_sphinx_theme import ( - __version__, - ansys_favicon, - ansys_logo_black, -) +from ansys_sphinx_theme import __version__, ansys_favicon, ansys_logo_black # Project information project = "ansys_sphinx_theme" From b2b310fd3949ab5a25a1b8445bc4e3d8489bb924 Mon Sep 17 00:00:00 2001 From: dkunhamb Date: Sat, 20 Jan 2024 02:30:38 -0600 Subject: [PATCH 3/3] fix footer link of cheat sheet --- .../pymechanical_cheat_sheet/pymechanical_cheat_sheet.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cheat_sheets/pymechanical_cheat_sheet/pymechanical_cheat_sheet.tex b/cheat_sheets/pymechanical_cheat_sheet/pymechanical_cheat_sheet.tex index 504c7c8..f04bb84 100644 --- a/cheat_sheets/pymechanical_cheat_sheet/pymechanical_cheat_sheet.tex +++ b/cheat_sheets/pymechanical_cheat_sheet/pymechanical_cheat_sheet.tex @@ -136,6 +136,6 @@ \subsection{References from PyMechanical and Mechanical documentation} \noindent\makebox[\linewidth]{\rule{\paperwidth}{3pt}} \begin{center} Getting started with PyMechanical \includegraphics[height=\fontcharht\font`\S]{slash.png} \href{https://github.com/ansys/pymechanical}{\color{blue}{PyMechanical on GitHub}} -\includegraphics[height=\fontcharht\font`\S]{slash.png} Visit \code{\href{https://mechanical.docs.pyansys.com/}}{\color{blue}{mechanical.docs.pyansys.com}} +\includegraphics[height=\fontcharht\font`\S]{slash.png} Visit \href{https://mechanical.docs.pyansys.com/}{\color{blue}{mechanical.docs.pyansys.com}} \end{center} \end{document}