Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
4fcccbc
feat: prep7 - 2
clatapie Oct 15, 2025
54096ca
Merge branch 'feat/main_prep7' into feat/prep7_submodule_2
clatapie Oct 15, 2025
005cb18
ci: auto fixes from pre-commit.com hooks.
pre-commit-ci[bot] Oct 15, 2025
9460cc0
chore: adding changelog file 4262.added.md [dependabot-skip]
pyansys-ci-bot Oct 15, 2025
3c5c427
ci: auto fixes from pre-commit.com hooks.
pre-commit-ci[bot] Oct 15, 2025
67c6994
Merge branch 'feat/main_prep7' into feat/prep7_submodule_2
clatapie Oct 15, 2025
d5742ac
ci: auto fixes from pre-commit.com hooks.
pre-commit-ci[bot] Oct 15, 2025
1d5359b
fix: typo in ``commands.py``
clatapie Oct 15, 2025
565ac47
fix: removing ``edasmp`` mentions as deleted
clatapie Oct 15, 2025
490c087
fix: removing ``edbound`` mentions as deleted
clatapie Oct 15, 2025
225916e
fix: removing ``edbx`` mentions as deleted
clatapie Oct 15, 2025
ac6904d
fix: pre-commit
clatapie Oct 15, 2025
8ec344d
fix: removing ``edcgen``, ``edclist``, ``edcmore``, ``edcnstr``, ``ed…
clatapie Oct 15, 2025
bfa355b
fix: removing all the deprecated ``ED*`` commands
clatapie Oct 15, 2025
a6ba3fa
revert: pre-commit change
clatapie Oct 15, 2025
291e3d5
fix: removing ``rexport`` as removed
clatapie Oct 15, 2025
beafccc
ci: auto fixes from pre-commit.com hooks.
pre-commit-ci[bot] Oct 15, 2025
d64af72
fix: pre-commit
clatapie Oct 15, 2025
01b60b7
Merge branch 'feat/main_prep7' into feat/prep7_submodule_2
clatapie Oct 16, 2025
d12707f
fix: ``tbft`` command
clatapie Oct 16, 2025
a84915b
Merge branch 'feat/main_prep7' into feat/prep7_submodule_2
clatapie Nov 5, 2025
725324d
fear: adding `ExplicitDynamics` class
clatapie Nov 18, 2025
9c8d826
Merge branch 'feat/main_prep7' into feat/prep7_submodule_2
clatapie Nov 18, 2025
bd923bc
feat: readding ``DEPRECATED_COMMANDS``
clatapie Nov 18, 2025
ef41c2d
fix: pre-commit
clatapie Nov 18, 2025
c1081c8
fix: adding missing doc
clatapie Nov 18, 2025
1fb92bc
feat: reverting changes in ``madpl_extended``
clatapie Nov 18, 2025
b34724d
fix: adding ExplicitDynamics in ``commands.py``
clatapie Nov 19, 2025
0e68903
Update src/ansys/mapdl/core/_commands/prep7/keypoints.py
germa89 Nov 19, 2025
fb2dc81
fix: image rendering
clatapie Nov 19, 2025
7a2ea81
fix: extra space
clatapie Nov 20, 2025
74e7eb8
fix: pdf error
clatapie Nov 20, 2025
557679b
fix: svg images
clatapie Nov 20, 2025
315024c
ci: auto fixes from pre-commit.com hooks.
pre-commit-ci[bot] Nov 20, 2025
4c0d19e
fix: svg images - 2
clatapie Nov 20, 2025
d04e1a2
fix: permission error
clatapie Nov 20, 2025
9e28755
fix: svg images
Revathyvenugopal162 Nov 20, 2025
0212222
test: svg images only on html
Revathyvenugopal162 Nov 20, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/doc-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,9 @@ jobs:
if: ${{ inputs.build_pdf }}
working-directory: doc
shell: bash
run: make pdf
run: |
sudo apt-get install -y inkscape
make pdf

- name: "Show latex dir"
if: ${{ inputs.build_pdf }}
Expand Down
1 change: 1 addition & 0 deletions doc/changelog.d/4262.added.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
\`\`prep7\`\` - part 2
16 changes: 14 additions & 2 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,12 @@
from plotly.io._sg_scraper import plotly_sg_scraper
import pyvista
from sphinx.application import Sphinx
from sphinx.builders.latex import LaTeXBuilder
from sphinx.util import logging
from sphinx_gallery.sorting import FileNameSortKey

pio.renderers.default = "sphinx_gallery"
LaTeXBuilder.supported_image_types = ["image/png", "image/pdf", "image/svg+xml"]

from ansys.mapdl import core as pymapdl
from ansys.mapdl.core import __version__
Expand Down Expand Up @@ -130,7 +132,6 @@
}

suppress_warnings = ["label.*", "design.fa-build", "config.cache"]
sd_fontawesome_latex = True

# Graphviz diagrams configuration
graphviz_output_format = "png"
Expand Down Expand Up @@ -376,10 +377,21 @@


# -- Options for LaTeX output ------------------------------------------------
latex_elements: dict[Any, Any] = {}
latex_elements: dict[Any, Any] = {
"preamble": r"""
\usepackage[inkscapelatex=false]{svg}
\usepackage{graphicx}
""",
# Enable shell escape for SVG conversion
"extraclassoptions": "openany",
}

latex_engine = "xelatex"

# Enable shell escape for SVG package (requires inkscape or rsvg-convert installed)
latex_use_xindy = False
latex_additional_files = []

# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title,
# author, documentclass [howto, manual, or own class]).
Expand Down
47 changes: 25 additions & 22 deletions doc/source/mapdl_commands/prep7/database.rst
Original file line number Diff line number Diff line change
@@ -1,28 +1,31 @@
.. _ref_database_commands_api:

********
.. _ref_database:


Database
********
========


.. currentmodule:: ansys.mapdl.core
.. currentmodule:: ansys.mapdl.core._commands.prep7.database

These PREP7 commands are used to read model data into the database,
list out the database, and control the numbering of entities in the
database.
.. autoclass:: ansys.mapdl.core._commands.prep7.database.Database

.. autosummary::
:toctree: _autosummary/

Mapdl.aflist
Mapdl.cdread
Mapdl.cdwrite
Mapdl.cdopt
Mapdl.cecheck
Mapdl.check
Mapdl.igesout
Mapdl.mfimport
Mapdl.nooffset
Mapdl.numcmp
Mapdl.nummrg
Mapdl.numoff
Mapdl.numstr
:template: base.rst
:toctree: _autosummary


Database.aflist
Database.cdopt
Database.cdread
Database.cdwrite
Database.cecheck
Database.check
Database.cncheck
Database.escheck
Database.igesout
Database.nooffset
Database.numcmp
Database.nummrg
Database.numoff
Database.numstr
17 changes: 0 additions & 17 deletions doc/source/mapdl_commands/prep7/digitizing.rst

This file was deleted.

37 changes: 20 additions & 17 deletions doc/source/mapdl_commands/prep7/element_type.rst
Original file line number Diff line number Diff line change
@@ -1,22 +1,25 @@
.. _ref_element_type_commands_api:

************
Element type
************
.. _ref_element_type:

.. currentmodule:: ansys.mapdl.core

These PREP7 commands define the type of elements to be used in the model.
ElementType
===========


.. currentmodule:: ansys.mapdl.core._commands.prep7.element_type

.. autoclass:: ansys.mapdl.core._commands.prep7.element_type.ElementType

.. autosummary::
:toctree: _autosummary/

Mapdl.dof
Mapdl.elbow
Mapdl.et
Mapdl.etchg
Mapdl.etcontrol
Mapdl.etdele
Mapdl.etlist
Mapdl.keyopt
Mapdl.nsvr
:template: base.rst
:toctree: _autosummary


ElementType.dof
ElementType.et
ElementType.etchg
ElementType.etcontrol
ElementType.etdele
ElementType.etlist
ElementType.keyopt
ElementType.nsvr
104 changes: 56 additions & 48 deletions doc/source/mapdl_commands/prep7/elements.rst
Original file line number Diff line number Diff line change
@@ -1,54 +1,62 @@
.. _ref_elements_commands_api:

********
.. _ref_elements:


Elements
********
========


.. currentmodule:: ansys.mapdl.core
.. currentmodule:: ansys.mapdl.core._commands.prep7.elements

These PREP7 commands are used to create, modify, list, etc., elements.
.. autoclass:: ansys.mapdl.core._commands.prep7.elements.Elements

.. autosummary::
:toctree: _autosummary/

Mapdl.afsurf
Mapdl.e
Mapdl.ecpchg
Mapdl.edele
Mapdl.eextrude
Mapdl.egen
Mapdl.einfin
Mapdl.eintf
Mapdl.elist
Mapdl.emid
Mapdl.emodif
Mapdl.emore
Mapdl.emtgen
Mapdl.en
Mapdl.endrelease
Mapdl.engen
Mapdl.enorm
Mapdl.ensym
Mapdl.eread
Mapdl.ereinf
Mapdl.errang
Mapdl.esurf
Mapdl.esym
Mapdl.ewrite
Mapdl.gcdef
Mapdl.gcgen
Mapdl.inistate
Mapdl.laylist
Mapdl.layplot
Mapdl.lfsurf
Mapdl.ndsurf
Mapdl.shsd
Mapdl.swadd
Mapdl.swdel
Mapdl.swgen
Mapdl.swlist
Mapdl.tshap
Mapdl.upgeom
Mapdl.usrdof
Mapdl.usrelem
Mapdl.wtbcreate
:template: base.rst
:toctree: _autosummary


Elements.afsurf
Elements.dflab
Elements.e
Elements.ecpchg
Elements.edele
Elements.eembed
Elements.egen
Elements.egid
Elements.einfin
Elements.eintf
Elements.elbow
Elements.elist
Elements.emid
Elements.emodif
Elements.emore
Elements.emsel
Elements.emtgen
Elements.en
Elements.endrelease
Elements.engen
Elements.enorm
Elements.ensym
Elements.eplot
Elements.eread
Elements.ereinf
Elements.errang
Elements.esurf
Elements.esym
Elements.ewrite
Elements.gcdef
Elements.gcgen
Elements.laylist
Elements.layplot
Elements.lfsurf
Elements.ndsurf
Elements.shsd
Elements.swadd
Elements.swdel
Elements.swgen
Elements.swlist
Elements.tshap
Elements.upgeom
Elements.usrdof
Elements.usrelem
Elements.wtbcreate
Loading
Loading