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!
User avatar
Kunda1
Posts: 5227
Joined: Thu Jan 05, 2017 9:03 pm

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

Postby Kunda1 » Sat Oct 06, 2018 12:35 am

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
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
User avatar
NormandC
Posts: 18534
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

Postby NormandC » Sat Oct 06, 2018 8:53 pm

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
Posts: 18534
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

Postby NormandC » 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.
TheMarkster
Posts: 1056
Joined: Thu Apr 05, 2018 1:53 am

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

Postby TheMarkster » Mon Oct 08, 2018 5:20 am

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
Posts: 18534
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

Postby NormandC » Mon Oct 08, 2018 6:30 pm

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
Posts: 1056
Joined: Thu Apr 05, 2018 1:53 am

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

Postby TheMarkster » Mon Oct 08, 2018 8:12 pm

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
Posts: 18534
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

Postby NormandC » Mon Oct 08, 2018 11:27 pm

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

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

Postby HarryGeier » Fri Feb 15, 2019 10:08 am

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
Posts: 1025
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

Postby GeneFC » Fri Feb 15, 2019 4:00 pm

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
Posts: 1138
Joined: Mon Jul 10, 2017 12:36 pm
Location: Hof Germany

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

Postby HarryGeier » Fri Feb 15, 2019 4:41 pm

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#$/