Skip to content

Commit

Permalink
----- buld in ----- typo fixed in docs #16
Browse files Browse the repository at this point in the history
  • Loading branch information
MadScrewdriver committed Jun 2, 2024
1 parent 630b594 commit c0ec4ab
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 3,370 deletions.
2 changes: 1 addition & 1 deletion docs/_static/DXF/debug/debug_tutorial.dxf
Original file line number Diff line number Diff line change
Expand Up @@ -4917,7 +4917,7 @@ AcDbMText
71
7
1
Available variables: \P\P----- buld in -----\P\Pc: const\P?: undefined \P\Ph: chalice_height\P\P----- custom -----\P\Pchalice_foot_radius: h * 1/5\Pchalice_bowl_radius: h * 2/5\Pchalice_ornament_radius: h * 1/10\P\P
Available variables: \P\P----- build in -----\P\Pc: const\P?: undefined \P\Ph: chalice_height\P\P----- custom -----\P\Pchalice_foot_radius: h * 1/5\Pchalice_bowl_radius: h * 2/5\Pchalice_ornament_radius: h * 1/10\P\P
7
textstyle11
0
Expand Down
2 changes: 1 addition & 1 deletion docs/_static/DXF/parametric/parametric_tutorial_param.dxf
Original file line number Diff line number Diff line change
Expand Up @@ -4873,7 +4873,7 @@ AcDbMText
71
8
1
Available variables: \P\P----- buld in -----\P\Pc: const\P?: undefined \P\P ----- custom -----\P\P
Available variables: \P\P----- build in -----\P\Pc: const\P?: undefined \P\P ----- custom -----\P\P
0
VIEWPORT
5
Expand Down
2 changes: 1 addition & 1 deletion docs/_static/DXF/tutorial.dxf
Original file line number Diff line number Diff line change
Expand Up @@ -4343,7 +4343,7 @@ AcDbMText
72
1
1
Available variables: \P\P----- buld in -----\P\Pc: const\P?: undefined \P\Ph: chalice_height\P\P----- custom -----\P\Pchalice_foot_radius: h * 1/5\Pchalice_bowl_radius: h * 2/5\Pchalice_ornament_radius: h * 1/10\P\P
Available variables: \P\P----- build in -----\P\Pc: const\P?: undefined \P\Ph: chalice_height\P\P----- custom -----\P\Pchalice_foot_radius: h * 1/5\Pchalice_bowl_radius: h * 2/5\Pchalice_ornament_radius: h * 1/10\P\P
7
textstyle11
73
Expand Down
2 changes: 1 addition & 1 deletion docs/_static/DXF/visualization/visualization_tutorial.dxf
Original file line number Diff line number Diff line change
Expand Up @@ -4891,7 +4891,7 @@ AcDbMText
71
7
1
Available variables: \P\P----- buld in -----\P\Pc: const\P?: undefined \P\Ph: chalice_height\P\P----- custom -----\P\Pchalice_foot_radius: h * 1/5\Pchalice_bowl_radius: h * 2/5\Pchalice_ornament_radius: h * 1/10\P\P
Available variables: \P\P----- build in -----\P\Pc: const\P?: undefined \P\Ph: chalice_height\P\P----- custom -----\P\Pchalice_foot_radius: h * 1/5\Pchalice_bowl_radius: h * 2/5\Pchalice_ornament_radius: h * 1/10\P\P
7
textstyle11
0
Expand Down
4 changes: 2 additions & 2 deletions docs/tutorials/Parametrizing your first DXF file.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ To the text input field add the following text::

Available variables:

----- buld in -----
----- build in -----

c: const
?: undefined
Expand All @@ -45,7 +45,7 @@ To the text input field add the following text::
----- custom -----

Where:
* '----- buld in -----': are the built-in variables it servers as a documentation for the user.
* '----- build in -----': are the built-in variables it servers as a documentation for the user.
We added ``h`` variable to know what is the variable name for the chalice height.
* '----- custom -----': are the helpers variables that we will add later.

Expand Down
2 changes: 1 addition & 1 deletion qsketchmetric/semiautomatic.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ def _draw_variables(self):
Draws the MTEXT entity.
"""

text = "Available variables: \P\P----- buld in -----\P\Pc: const\P?: undefined \P\P ----- custom -----\P\P"
text = "Available variables: \P\P----- build in -----\P\Pc: const\P?: undefined \P\P ----- custom -----\P\P"
variable_text = self.input_msp.add_mtext(text, dxfattribs={"attachment_point": 8})

variable_text.dxf.char_height = 10
Expand Down
2 changes: 1 addition & 1 deletion tests/test_semiautomatic.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ def test_draw_virtual_x_y_lines(self, mock_readfile, mock_handle_output_path):
@patch.object(SemiAutomaticParameterization, "_handle_output_path")
@patch("ezdxf.readfile")
def test_draw_variables(self, mock_readfile, mock_handle_output_path):
text = "Available variables: \P\P----- buld in -----\P\Pc: const\P?: undefined \P\P ----- custom -----\P\P"
text = "Available variables: \P\P----- build in -----\P\Pc: const\P?: undefined \P\P ----- custom -----\P\P"

obj = SemiAutomaticParameterization(self.mock_input_dxf_path)
obj.input_msp = Mock()
Expand Down
Loading

0 comments on commit c0ec4ab

Please sign in to comment.