Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
ce24099
feat: adding ``database`` submodule
clatapie Feb 17, 2025
5c9b085
chore: adding changelog file 3748.documentation.md [dependabot-skip]
pyansys-ci-bot Feb 17, 2025
e803164
fix: ``command.py``
clatapie Feb 17, 2025
ab2ded5
Merge branch 'feat/database_submodule' of https://github.com/ansys/py…
clatapie Feb 17, 2025
2edc47f
Merge branch 'feat/main_commands' into feat/database_submodule
clatapie Feb 17, 2025
fbf4462
Merge branch 'feat/main_commands' into feat/database_submodule
clatapie Feb 18, 2025
6cbf34d
feat: adding ``asel`` note
clatapie Feb 25, 2025
999a23e
Merge branch 'feat/main_commands' into feat/database_submodule
clatapie Feb 25, 2025
64f6a83
fix: removing ``clear`` in ``set_up.py``
clatapie Mar 3, 2025
958d9b2
Merge branch 'feat/main_commands' into feat/database_submodule
clatapie Mar 3, 2025
e473dbb
fix: ``seltol`` - applying fixes from ``mapdl-cmd-conv``
clatapie Mar 4, 2025
f8f9762
fix: pymapdl docstring
clatapie Mar 4, 2025
536fb7e
Merge branch 'feat/main_commands' into feat/database_submodule
clatapie Mar 5, 2025
901f40e
chore: adding changelog file 3748.documentation.md [dependabot-skip]
pyansys-ci-bot Mar 5, 2025
2269e65
chore: merge remote-tracking branch 'origin/main' into feat/database_…
germa89 Mar 7, 2025
a27b0ad
Merge branch 'feat/main_commands' into feat/database_submodule
germa89 Mar 7, 2025
7cbbc40
Merge branch 'feat/main_commands' into feat/database_submodule
clatapie Apr 15, 2025
01ccf70
Merge branch 'feat/main_commands' into feat/database_submodule
clatapie Apr 15, 2025
92bc1f3
chore: adding changelog file 3748.miscellaneous.md [dependabot-skip]
pyansys-ci-bot Apr 15, 2025
0742efd
feat: latest enhancement
clatapie Apr 15, 2025
a71bad5
Merge branch 'feat/database_submodule' of https://github.com/ansys/py…
clatapie Apr 15, 2025
93a56cf
chore: adding changelog file 3748.documentation.md [dependabot-skip]
pyansys-ci-bot Apr 15, 2025
313a33d
fix: warning will not raise an error in doc build
clatapie Apr 16, 2025
f284ae7
Merge branch 'feat/database_submodule' of https://github.com/ansys/py…
clatapie Apr 16, 2025
1be445b
Merge branch 'feat/main_commands' into feat/database_submodule
clatapie Apr 16, 2025
08cb85c
Merge branch 'feat/main_commands' into feat/database_submodule
clatapie Apr 22, 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
2 changes: 1 addition & 1 deletion .github/workflows/doc-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ jobs:
- name: "Build documentation"
shell: bash
run: |
xvfb-run make -C doc html SPHINXOPTS="-j auto -W --keep-going"
xvfb-run make -C doc html SPHINXOPTS="-j auto"

- name: "Substitute defective GIF"
shell: bash
Expand Down
1 change: 1 addition & 0 deletions doc/changelog.d/3748.documentation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
feat: ``database`` submodule
37 changes: 20 additions & 17 deletions doc/source/mapdl_commands/database/components.rst
Original file line number Diff line number Diff line change
@@ -1,23 +1,26 @@
.. _ref_components_api:

**********
.. _ref_components:


Components
**********
==========


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

These DATABASE commands allow selected subsets of entities to be named
as components for easy selection later on.
.. autoclass:: ansys.mapdl.core._commands.database.components.Components

.. autosummary::
:toctree: _autosummary/

Mapdl.cm
Mapdl.cmdele
Mapdl.cmedit
Mapdl.cmgrp
Mapdl.cmlist
Mapdl.cmmod
Mapdl.cmplot
Mapdl.cmsel
Mapdl.cmwrite
:template: base.rst
:toctree: _autosummary


Components.cm
Components.cmdele
Components.cmedit
Components.cmgrp
Components.cmlist
Components.cmmod
Components.cmplot
Components.cmsel
Components.cmwrite
22 changes: 0 additions & 22 deletions doc/source/mapdl_commands/database/coord_sys.rst

This file was deleted.

26 changes: 26 additions & 0 deletions doc/source/mapdl_commands/database/coordinate_system.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@

.. _ref_coordinate_system:


CoordinateSystem
================


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

.. autoclass:: ansys.mapdl.core._commands.database.coordinate_system.CoordinateSystem

.. autosummary::
:template: base.rst
:toctree: _autosummary


CoordinateSystem.clocal
CoordinateSystem.cs
CoordinateSystem.cscir
CoordinateSystem.csdele
CoordinateSystem.cskp
CoordinateSystem.cslist
CoordinateSystem.cswpla
CoordinateSystem.csys
CoordinateSystem.local
26 changes: 26 additions & 0 deletions doc/source/mapdl_commands/database/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@

.. _ref_database:

Database
========

.. list-table::

* - :ref:`ref_selecting`
* - :ref:`ref_coordinate_system`
* - :ref:`ref_working_plane`
* - :ref:`ref_set_up`
* - :ref:`ref_components`
* - :ref:`ref_picking`


.. toctree::
:maxdepth: 1
:hidden:

selecting
coordinate_system
working_plane
set_up
components
picking
23 changes: 12 additions & 11 deletions doc/source/mapdl_commands/database/picking.rst
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
.. _ref_picking_api:

*******
.. _ref_picking:


Picking
*******
=======

.. currentmodule:: ansys.mapdl.core

These DATABASE commands are generated by the GUI when picking
operations are performed. They can also be used to add additional
parameters to a command. For example, more points to a spline than
would be normally supported.
.. currentmodule:: ansys.mapdl.core._commands.database.picking

.. autoclass:: ansys.mapdl.core._commands.database.picking.Picking

.. autosummary::
:toctree: _autosummary/
:template: base.rst
:toctree: _autosummary


Mapdl.fitem
Mapdl.flst
Picking.fitem
Picking.flst
69 changes: 36 additions & 33 deletions doc/source/mapdl_commands/database/selecting.rst
Original file line number Diff line number Diff line change
@@ -1,39 +1,42 @@
.. _ref_selecting_api:

*********
.. _ref_selecting:


Selecting
*********
=========


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

These DATABASE commands are used to select subsets of database
entities for further operations.
.. autoclass:: ansys.mapdl.core._commands.database.selecting.Selecting

.. autosummary::
:toctree: _autosummary/

Mapdl.allsel
Mapdl.asll
Mapdl.asel
Mapdl.aslv
Mapdl.dofsel
Mapdl.esel
Mapdl.esla
Mapdl.esll
Mapdl.esln
Mapdl.eslv
Mapdl.ksel
Mapdl.ksll
Mapdl.ksln
Mapdl.lsel
Mapdl.lsla
Mapdl.lslk
Mapdl.nsel
Mapdl.nsla
Mapdl.nsle
Mapdl.nslk
Mapdl.nsll
Mapdl.nslv
Mapdl.partsel
Mapdl.vsel
Mapdl.vsla
:template: base.rst
:toctree: _autosummary


Selecting.allsel
Selecting.asel
Selecting.asll
Selecting.aslv
Selecting.dofsel
Selecting.esel
Selecting.esla
Selecting.esll
Selecting.esln
Selecting.eslv
Selecting.ksel
Selecting.ksll
Selecting.ksln
Selecting.lsel
Selecting.lsla
Selecting.lslk
Selecting.nsel
Selecting.nsla
Selecting.nsle
Selecting.nslk
Selecting.nsll
Selecting.nslv
Selecting.seltol
Selecting.vsel
Selecting.vsla
24 changes: 24 additions & 0 deletions doc/source/mapdl_commands/database/set_up.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@

.. _ref_set_up:


SetUp
=====


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

.. autoclass:: ansys.mapdl.core._commands.database.set_up.SetUp

.. autosummary::
:template: base.rst
:toctree: _autosummary


SetUp.resume
SetUp.save
SetUp.smbc
SetUp.stat
SetUp.stitle
SetUp.title
SetUp.units
22 changes: 0 additions & 22 deletions doc/source/mapdl_commands/database/setup.rst

This file was deleted.

43 changes: 23 additions & 20 deletions doc/source/mapdl_commands/database/working_plane.rst
Original file line number Diff line number Diff line change
@@ -1,25 +1,28 @@
.. _ref_working_plane_api:

*************
Working plane
*************
.. _ref_working_plane:

.. currentmodule:: ansys.mapdl.core

These DATABASE commands turn on, move, rotate, and modify the working
plane, which is used for picking operations.
WorkingPlane
============


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

.. autoclass:: ansys.mapdl.core._commands.database.working_plane.WorkingPlane

.. autosummary::
:toctree: _autosummary/

Mapdl.kwpave
Mapdl.kwplan
Mapdl.lwplan
Mapdl.nwpave
Mapdl.nwplan
Mapdl.wpave
Mapdl.wpcsys
Mapdl.wplane
Mapdl.wpoffs
Mapdl.wprota
Mapdl.wpstyl
:template: base.rst
:toctree: _autosummary


WorkingPlane.kwpave
WorkingPlane.kwplan
WorkingPlane.lwplan
WorkingPlane.nwpave
WorkingPlane.nwplan
WorkingPlane.wpave
WorkingPlane.wpcsys
WorkingPlane.wplane
WorkingPlane.wpoffs
WorkingPlane.wprota
WorkingPlane.wpstyl
9 changes: 8 additions & 1 deletion src/ansys/mapdl/core/_commands/database/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,11 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.

from . import components, coord_sys, picking, selecting, setup, working_plane
from . import (
components,
coordinate_system,
picking,
selecting,
set_up,
working_plane,
)
Loading
Loading