Ticket #3625 - Incomplete Wiki Pages to be completed before 0.18 release

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Post Reply
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Ticket #3625 - Incomplete Wiki Pages to be completed before 0.18 release

Post by Kunda1 »

issue #3625 Incomplete Wiki Pages to be completed before 0.18 release
Hopefully we can take a bit bite out of this task before 0.18 is here
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Ticket #3625 - Incomplete Wiki Pages to be completed before 0.18 release

Post by NormandC »

These are pages documenting non-existing commands, as they state under their description ("Currently not used by FreeCAD"). IMO they should be deleted. (I mean, the wiki pages themselves, as well as the unused icons in the source code)

These wiki pages were created because the Sketcher module has icon svg files (in /src/Mod/Sketcher/Gui/Resources/icons/) with these same names. But they've been in the source code since 2011, and were never implemented. To be honest, only one in there would be useful, PointOnMidPoint. For most of the others the capability already exists.

Besides, considering that the FEM wb also uses the term "constraint", Sketcher constraint pages should include the name of the module. It would also make the "What's this?" button work, as it only brings dead links at the moment. I've already started renaming all the Sketcher constraint pages, I have some more yet to go.
User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Ticket #3625 - Incomplete Wiki Pages to be completed before 0.18 release

Post by NormandC »

I am wondering what the following pages refer to, I'm pretty sure they are not actually commands, and could be deleted.

Std_ViewExamples
Std ViewXX
Std Workbench
Std_Workbench_Menu

Can a developer confirm? Thanks.
TheMarkster
Veteran
Posts: 5505
Joined: Thu Apr 05, 2018 1:53 am

Re: Ticket #3625 - Incomplete Wiki Pages to be completed before 0.18 release

Post by TheMarkster »

NormandC wrote: Sun Oct 07, 2018 10:21 pm I am wondering what the following pages refer to, I'm pretty sure they are not actually commands, and could be deleted.

Std_ViewExamples
Std ViewXX
Std Workbench
Std_Workbench_Menu

Can a developer confirm? Thanks.
You can try to run any command from the python console to see if they do anything:

Code: Select all

Gui.runCommand("Std_Workbench")
To get a list of available commands:

Code: Select all

Gui.listCommands()
User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Ticket #3625 - Incomplete Wiki Pages to be completed before 0.18 release

Post by NormandC »

Thanks, that will help. As you've surely figured out by now, even with my years of FreeCAD use, I'm utterly clueless where Python is concerned.

FreeCAD's Python console wrote:>>> Gui.runCommand("Std_ViewExamples")
Traceback (most recent call last):
File "<input>", line 1, in <module>
Base.FreeCADError: No such command 'Std_ViewExamples'

>>> Gui.runCommand("Std_ViewXX")
Traceback (most recent call last):
File "<input>", line 1, in <module>
Base.FreeCADError: No such command 'Std_ViewXX'

>>> Gui.runCommand("Std_Workbench")
>>> Gui.activateWorkbench("ArchWorkbench")
Now that last one was unexpected :lol:

yorik wrote:ping
Any idea why that command would load Arch? Is it simply because it's the first one listed?

TheMarkster wrote: Mon Oct 08, 2018 5:20 am

Code: Select all

Gui.listCommands()
Oh, I'm already finding little gems...
TheMarkster
Veteran
Posts: 5505
Joined: Thu Apr 05, 2018 1:53 am

Re: Ticket #3625 - Incomplete Wiki Pages to be completed before 0.18 release

Post by TheMarkster »

NormandC wrote: Mon Oct 08, 2018 6:30 pm
Any idea why that command would load Arch? Is it simply because it's the first one listed?
There is an additional parameter that can be added to Gui.runCommand(), but when it is not used the default value of 0 is used instead.

Try this:

Code: Select all

Gui.runCommand("Std_Workbench",2)
User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Ticket #3625 - Incomplete Wiki Pages to be completed before 0.18 release

Post by NormandC »

Thanks, this opens the third workbench in my list, 0 is indeed the first (Arch).
User avatar
HarryGeier
Veteran
Posts: 1231
Joined: Mon Jul 10, 2017 12:36 pm
Location: Hof Germany

Re: Ticket #3625 - Incomplete Wiki Pages to be completed before 0.18 release

Post by HarryGeier »

I worked on this :

https://www.freecadweb.org/wiki/Part_Offset

adding all i know about it. Hence, there are a few parameters i did not find out , how to create examples :

pipe and rectoverso modes.
tangent as join mode

self intersection as option..
If someone knows anything..or can connect me to programmer behind that.. i will add the informations to it...otherwise , apart from mistkaes , i think we can call it as existing now.

harry
Kaum macht man´s richtig , gehts´s
My Video Tutorials on Youtube: https://www.youtube.com/channel/UCoe3B ... p8Q/videos
My FreeCAD Stuff on Hidrive: https://my.hidrive.com/share/qr3l1yddy6#$/
GeneFC
Veteran
Posts: 5373
Joined: Sat Mar 19, 2016 3:36 pm
Location: Punta Gorda, FL

Re: Ticket #3625 - Incomplete Wiki Pages to be completed before 0.18 release

Post by GeneFC »

Harry,

Two comments.

"The Part 3D Offset tool creates coplanar copies . ." is not correct. Probably should be parallel.

Rectoverso is not a normal English expression. Probably means double-sided or similar. In any case it does not appear to be implemented in the source code. The term is included in a few cpp files, but there is no code that actually does anything.

Gene
User avatar
HarryGeier
Veteran
Posts: 1231
Joined: Mon Jul 10, 2017 12:36 pm
Location: Hof Germany

Re: Ticket #3625 - Incomplete Wiki Pages to be completed before 0.18 release

Post by HarryGeier »

GeneFC wrote: Fri Feb 15, 2019 4:00 pm
"The Part 3D Offset tool creates coplanar copies . ." is not correct. Probably should be parallel.


Gene
I will correct that and add a note to that rectoverso mode as to be implemented later
Kaum macht man´s richtig , gehts´s
My Video Tutorials on Youtube: https://www.youtube.com/channel/UCoe3B ... p8Q/videos
My FreeCAD Stuff on Hidrive: https://my.hidrive.com/share/qr3l1yddy6#$/
Post Reply