@@ -19,17 +19,20 @@ PyGeometry basic overview
19
19
=========================
20
20
21
21
PyGeometry is a Python wrapper for the Ansys Geometry Service. The key features of PyGeometry are:
22
- * Ability to use the library along side other Python libraries
22
+
23
+ * Ability to use the library alongside other Python libraries
23
24
* Fluent based API for clean and easy coding experience
24
25
* Built-in examples
25
26
26
27
Simple interactive example
27
28
==========================
28
29
29
- #. Start the geometry instance
30
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30
+ <!-- vale off -->
31
+ 1. Start the Geometry Service instance
32
+ --------------------------------------
33
+ <!-- vale on -->
31
34
32
- The :class: `Modeler() <ansys.geometry.core.modelar > ` class
35
+ The :class: `Modeler() <ansys.geometry.core.modeler() > ` class
33
36
within the ``ansys-geometry-core `` library creates an instance of
34
37
the Geometry Service. By default ``Modeler `` connects to ``127.0.0.1 ``
35
38
(``'localhost' ``) at the port 50051. You can change this by modifying
@@ -38,12 +41,14 @@ have to also modify this in your ``docker run`` command by changing ``<HOST-PORT
38
41
Now, you can start the service with:
39
42
40
43
.. code :: python
41
-
44
+
42
45
>> > from ansys.geometry.core import Modeler
43
46
>> > modeler = Modeler()
44
47
45
- #. Create Geometry models
46
- ~~~~~~~~~~~~~~~~~~~~~~~~~
48
+ <!-- vale off -->
49
+ 2. Create Geometry models
50
+ -------------------------
51
+ <!-- vale on -->
47
52
48
53
The Geometry Service is now active and you can start creating the geometry model
49
54
by initializing the :ref: `Sketch <ref_sketch >` and :ref: `Primitives <ref_primitives >`.
0 commit comments