Wiki commands pages and it not correct names

Discussions about the wiki documentation of FreeCAD and its translation.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
Evgeniy
Posts: 477
Joined: Thu Jul 15, 2021 6:10 pm

Wiki commands pages and it not correct names

Post by Evgeniy »

FreeCAD 0.20.25 not have https://wiki.freecadweb.org/Part_Attachment but have Part_EditAttachment
Page needs to renamed to Part_EditAttachment

Code: Select all

>>> Gui.runCommand("Part_Attachment")
Traceback (most recent call last):
  File "<input>", line 1, in <module>
Base.FreeCADError: No such command 'Part_Attachment'
>>> Gui.runCommand("Part_EditAttachment")
>>> 
Last edited by Evgeniy on Sat Sep 04, 2021 9:43 am, edited 2 times in total.
User avatar
Roy_043
Veteran
Posts: 8455
Joined: Thu Dec 27, 2018 12:28 pm

Re: Part_Attachment -> Part_EditAttachment

Post by Roy_043 »

Thanks for reporting this.

The page has been renamed.
Redirects were created.
The Template:Part Tools navi pages were updated.
Links in English pages were fixed.
User avatar
Evgeniy
Posts: 477
Joined: Thu Jul 15, 2021 6:10 pm

Re: Part_Attachment -> Part_EditAttachment

Post by Evgeniy »

Roy_043 wrote: Fri Sep 03, 2021 9:48 am Thanks for reporting this.

The page has been renamed.
Redirects were created.
The Template:Part Tools navi pages were updated.
Links in English pages were fixed.
Ok!
User avatar
Evgeniy
Posts: 477
Joined: Thu Jul 15, 2021 6:10 pm

Re: Part_Attachment -> Part_EditAttachment

Post by Evgeniy »

TechDraw wiki pages have many not real names...
Perhaps user hwo makes this pages not think about commands name.
The inconsistencies are listed in the same order as on this page https://wiki.freecadweb.org/TechDraw_Module

TechDraw_Dimension_Length-> TechDraw_LengthDimension
TechDraw_Dimension_Horizontal -> TechDraw_HorizontalDimension
TechDraw_Dimension_Vertical -> TechDraw_VerticalDimension
TechDraw_Dimension_Radius -> TechDraw_RadiusDimension
TechDraw_Dimension_Diameter -> TechDraw_DiameterDimension
TechDraw_Dimension_Angle -> TechDraw_AngleDimension
TechDraw_Dimension_Angle3Pt -> TechDraw_3PtAngleDimension

TechDraw_Dimension_Horizontal_Extent -> TechDraw_HorizontalExtentDimension
TechDraw_Dimension_Vertical_Extent -> TechDraw_VerticalExtentDimension
TechDraw_Dimension_Landmark -> TechDraw_LandmarkDimension

Code: Select all

Gui.runCommand("TechDraw_Dimension_Length")
Gui.runCommand("TechDraw_LengthDimension")

Gui.runCommand("TechDraw_Dimension_Horizontal")
Gui.runCommand("TechDraw_HorizontalDimension")

Gui.runCommand("TechDraw_Dimension_Vertical")
Gui.runCommand("TechDraw_VerticalDimension")

Gui.runCommand("TechDraw_Dimension_Radius")
Gui.runCommand("TechDraw_RadiusDimension")

Gui.runCommand("TechDraw_Dimension_Diameter")
Gui.runCommand("TechDraw_DiameterDimension")

Gui.runCommand("TechDraw_Dimension_Angle")
Gui.runCommand("TechDraw_AngleDimension")

Gui.runCommand("TechDraw_Dimension_Angle3Pt")
Gui.runCommand("TechDraw_3PtAngleDimension")

Gui.runCommand("TechDraw_Dimension_Horizontal_Extent")
Gui.runCommand("TechDraw_HorizontalExtentDimension")

Gui.runCommand("TechDraw_Dimension_Vertical_Extent")
Gui.runCommand("TechDraw_VerticalExtentDimension")

Gui.runCommand("TechDraw_Dimension_Landmark")
Gui.runCommand("TechDraw_LandmarkDimension")
Result:

Code: Select all

>>> Gui.runCommand("TechDraw_Dimension_Length")
Traceback (most recent call last):
  File "<input>", line 1, in <module>
Base.FreeCADError: No such command 'TechDraw_Dimension_Length'
>>> Gui.runCommand("TechDraw_LengthDimension")
>>> 
>>> Gui.runCommand("TechDraw_Dimension_Horizontal")
Traceback (most recent call last):
  File "<input>", line 1, in <module>
Base.FreeCADError: No such command 'TechDraw_Dimension_Horizontal'
>>> Gui.runCommand("TechDraw_HorizontalDimension")
>>> 
>>> Gui.runCommand("TechDraw_Dimension_Vertical")
Traceback (most recent call last):
  File "<input>", line 1, in <module>
Base.FreeCADError: No such command 'TechDraw_Dimension_Vertical'
>>> Gui.runCommand("TechDraw_VerticalDimension")
>>> 
>>> Gui.runCommand("TechDraw_Dimension_Radius")
Traceback (most recent call last):
  File "<input>", line 1, in <module>
Base.FreeCADError: No such command 'TechDraw_Dimension_Radius'
>>> Gui.runCommand("TechDraw_RadiusDimension")
>>> 
>>> Gui.runCommand("TechDraw_Dimension_Diameter")
Traceback (most recent call last):
  File "<input>", line 1, in <module>
Base.FreeCADError: No such command 'TechDraw_Dimension_Diameter'
>>> Gui.runCommand("TechDraw_DiameterDimension")
>>> 
>>> Gui.runCommand("TechDraw_Dimension_Angle")
Traceback (most recent call last):
  File "<input>", line 1, in <module>
Base.FreeCADError: No such command 'TechDraw_Dimension_Angle'
>>> Gui.runCommand("TechDraw_AngleDimension")
>>> 
>>> Gui.runCommand("TechDraw_Dimension_Angle3Pt")
Traceback (most recent call last):
  File "<input>", line 1, in <module>
Base.FreeCADError: No such command 'TechDraw_Dimension_Angle3Pt'
>>> Gui.runCommand("TechDraw_3PtAngleDimension")
>>> 
>>> Gui.runCommand("TechDraw_Dimension_Horizontal_Extent")
Traceback (most recent call last):
  File "<input>", line 1, in <module>
Base.FreeCADError: No such command 'TechDraw_Dimension_Horizontal_Extent'
>>> Gui.runCommand("TechDraw_HorizontalExtentDimension")
>>> 
>>> Gui.runCommand("TechDraw_Dimension_Vertical_Extent")
Traceback (most recent call last):
  File "<input>", line 1, in <module>
Base.FreeCADError: No such command 'TechDraw_Dimension_Vertical_Extent'
>>> Gui.runCommand("TechDraw_VerticalExtentDimension")
>>> 
>>> Gui.runCommand("TechDraw_Dimension_Landmark")
Traceback (most recent call last):
  File "<input>", line 1, in <module>
Base.FreeCADError: No such command 'TechDraw_Dimension_Landmark'
>>> Gui.runCommand("TechDraw_LandmarkDimension")
>>> 
User avatar
Roy_043
Veteran
Posts: 8455
Joined: Thu Dec 27, 2018 12:28 pm

Re: Wiki commands pages and it not correct names

Post by Roy_043 »

There is currently a discussion about the names of new TechDraw commands. This may also have an effect on existing names. I am not sure. My suggestion is to wait with the renaming of these pages for now.
User avatar
Roy_043
Veteran
Posts: 8455
Joined: Thu Dec 27, 2018 12:28 pm

Re: Wiki commands pages and it not correct names

Post by Roy_043 »

Evgeniy wrote: Sat Sep 04, 2021 9:38 am TechDraw_Dimension_Length-> TechDraw_LengthDimension
TechDraw_Dimension_Horizontal -> TechDraw_HorizontalDimension
TechDraw_Dimension_Vertical -> TechDraw_VerticalDimension
TechDraw_Dimension_Radius -> TechDraw_RadiusDimension
TechDraw_Dimension_Diameter -> TechDraw_DiameterDimension
TechDraw_Dimension_Angle -> TechDraw_AngleDimension
TechDraw_Dimension_Angle3Pt -> TechDraw_3PtAngleDimension
TechDraw_Dimension_Horizontal_Extent -> TechDraw_HorizontalExtentDimension
TechDraw_Dimension_Vertical_Extent -> TechDraw_VerticalExtentDimension
TechDraw_Dimension_Landmark -> TechDraw_LandmarkDimension
Another:
TechDraw_Dimension_Link -> TechDraw_LinkDimension

These 11 pages have now been renamed.
Redirects are in place
Links on the English pages were fixed.

https://wiki.freecadweb.org/Template:Te ... Tools_navi was updated. The 18 untranslated language versions now redirect to this navi.

The following 'navis' need to be updated by translators:
https://wiki.freecadweb.org/Template:Te ... ls_navi/de
https://wiki.freecadweb.org/Template:Te ... ls_navi/fr
https://wiki.freecadweb.org/Template:Te ... ls_navi/it
https://wiki.freecadweb.org/Template:Te ... ls_navi/pl

Note that the new "Extension Package tools" have yet to be added to the navi. These are still very new and I understand the programmer intends to add more in the near future.
User avatar
Evgeniy
Posts: 477
Joined: Thu Jul 15, 2021 6:10 pm

Re: Wiki commands pages and it not correct names

Post by Evgeniy »

Ok.
Last edited by Evgeniy on Thu Sep 16, 2021 8:45 pm, edited 1 time in total.
User avatar
Roy_043
Veteran
Posts: 8455
Joined: Thu Dec 27, 2018 12:28 pm

Re: Wiki commands pages and it not correct names

Post by Roy_043 »

Evgeniy wrote: Thu Sep 16, 2021 2:27 pm Ok. I have already translated them "Docnav".
What do you mean?
User avatar
Evgeniy
Posts: 477
Joined: Thu Jul 15, 2021 6:10 pm

Re: Wiki commands pages and it not correct names

Post by Evgeniy »

Roy_043 wrote: Thu Sep 16, 2021 3:42 pm
Evgeniy wrote: Thu Sep 16, 2021 2:27 pm Ok. I have already translated them "Docnav".
What do you mean?
This is be misprint
Post Reply