About MOOC Workbench

Info about new community or project announcements, implemented features, classes, modules or APIs. Might get technical!
PLEASE DO NOT POST HELP REQUESTS OR OTHER DISCUSSIONS HERE!
User avatar
rockn
Posts: 1578
Joined: Wed Sep 28, 2011 10:39 am
Location: Toulouse, France
Contact:

About MOOC Workbench

Postby rockn » Tue Jul 09, 2019 8:44 am

Hi everyone,

As part of the creation of an online course (MOOC) on 3D modeling, produced by the IMT and the EESAB, I am creating a FreeCAD workbench that offers interactive tutorials and exercise evaluations. This mooc is part of a series of courses on Digital Manufacturing.
MOOC workbench
Image
The MOOC workbench offers 2 tools, interactive tutorials and evaluations.
Tutorials
Image
Interactive tutorials (also called Player) are step-by-step guided exercises with objective checks. It launches directly into FreeCAD and allows you to advance step by step in the modeling of an object. The user has a text, a video and above all a check that the objectives have been achieved.
Image
Image
Evaluations
Image
Evaluations (also called Grader) consist of a small program that checks certain criteria of a FreeCAD document, for example, the presence of a part body, a sketch or the final volume.
Image

Technical

From a technical point of view, the workbench is composed of:
  • an "API" that contains the code that analyzes the document (MoocChecker.py)
  • the code that executes the tutorials in the "lessons" folder (MoocPlayer.py)
  • the code that executes the evaluations in the "exercises" folder (MoocGrader.py)
The workbench is :
  • currently only in French (and hard-coded).
  • only compatible with FreeCAD Py3 and Qt5 (PySide2)
  • LGPLv2 (or similar) code funded by Europe through IMT and EESAB.
  • modular : I made sure that the addition of tutorials and evaluations was modular, so you have to add a tutorial in the "lessons" folder or an evaluation in the "exercises" folder to show up in the respective tool..
Future improvements:
  • internationalization of the workbench
  • Integration of videos in FreeCAD (PySide2.QtWebEngineWidgets?)
  • request the integration of the workbench in the list of the addon manager
The course must start before the end of the year. I hope that this kind of workbench can serve as a basis for integrating tutorials into FreeCAD.
In addition to improving the user experience and also for the beta tester I would like to add the workbench to the addon manager.

To install and test the workbench go to this address: https://framagit.org/freecad-france/mooc-workbench

The Readme will give you more details on the installation and use of the workbench: https://framagit.org/freecad-france/moo ... -workbench

For the moment 2 tutorials are available.

See you soon:!!
Formations et tutoriels FreeCAD en Français, soutenez moi : https://www.tipeee.com/formations-freecad
User avatar
bitacovir
Posts: 710
Joined: Sat Apr 19, 2014 6:23 am
Contact:

Re: About MOOC Workbench

Postby bitacovir » Tue Jul 09, 2019 1:26 pm

Very interesting. So, can people create tutorials and run them in this workbench for online teaching?
::bitacovir::
===================================
One must be absolutely modern.
Arthur Rimbaud (A Season in Hell -1873)

My Blog
Mini Airflow Tunnel Project
User avatar
rockn
Posts: 1578
Joined: Wed Sep 28, 2011 10:39 am
Location: Toulouse, France
Contact:

Re: About MOOC Workbench

Postby rockn » Tue Jul 09, 2019 1:30 pm

bitacovir wrote:
Tue Jul 09, 2019 1:26 pm
Very interesting. So, can people create tutorials and run them in this workbench for online teaching?
Indeed ! At the moment it's work like this, you create your MyTutorials.py in the lessons folder, maybe you have to enhance MoocChecker.py to fit your need. Then you merge it in the workbench and it's accessible for people.
Formations et tutoriels FreeCAD en Français, soutenez moi : https://www.tipeee.com/formations-freecad
User avatar
yorik
Site Admin
Posts: 11565
Joined: Tue Feb 17, 2009 9:16 pm
Location: São Paulo, Brazil
Contact:

Re: About MOOC Workbench

Postby yorik » Tue Jul 09, 2019 3:13 pm

Excellent!! Also very similar to the tutorial tool i am doing for the BIM WB.... I'll have a better look at yours
This kind of tool can have a huge impact on FreeCAD leaning
User avatar
rockn
Posts: 1578
Joined: Wed Sep 28, 2011 10:39 am
Location: Toulouse, France
Contact:

Re: About MOOC Workbench

Postby rockn » Tue Jul 09, 2019 8:38 pm

Hi Yorik !
Do you have reference about your tutorial tool for BIM WB ?
Formations et tutoriels FreeCAD en Français, soutenez moi : https://www.tipeee.com/formations-freecad
User avatar
sgrogan
Posts: 5423
Joined: Wed Oct 22, 2014 5:02 pm

Re: About MOOC Workbench

Postby sgrogan » Tue Jul 09, 2019 8:54 pm

rockn wrote:
Tue Jul 09, 2019 8:44 am
To install and test the workbench
This is a great test for the custom wb installer in addons-manager
Tools>Addon manager
Click on the Configure tab
Enter

Code: Select all

https://framagit.org/freecad-france/mooc-workbench
into the Custom repositories field
Click OK, exit the dialog, and Re-start FreeCAD
The mooc-workbench appears in the list of workbenches to install :)
Install it and re-start FreeCAD
MOOC appears in the WB selector :)
User avatar
rockn
Posts: 1578
Joined: Wed Sep 28, 2011 10:39 am
Location: Toulouse, France
Contact:

Re: About MOOC Workbench

Postby rockn » Tue Jul 09, 2019 9:55 pm

OMG :shock: This is so cool !
Click OK, exit the dialog, and Re-start FreeCAD
This part is not very user friendly :P

That say, It's not going well.

Code: Select all

No module named 'git'
GitPython not found. Using standard download instead.
Downloading https://framagit.org/freecad-france/mooc-workbench/archive/master.zip
Traceback (most recent call last):
  File "/usr/share/freecad-daily/Mod/AddonManager/addonmanager_workers.py", line 588, in run
    self.download(self.repos[idx][1],clonedir)
  File "/usr/share/freecad-daily/Mod/AddonManager/addonmanager_workers.py", line 687, in download
    zfile.write(u.read())
AttributeError: 'NoneType' object has no attribute 'read'

Code: Select all

OS: Ubuntu 18.04.2 LTS (XFCE/xubuntu)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.
Build type: Release
Python version: 3.6.8
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: French/France (fr_FR)
Formations et tutoriels FreeCAD en Français, soutenez moi : https://www.tipeee.com/formations-freecad
User avatar
Kunda1
Posts: 5783
Joined: Thu Jan 05, 2017 9:03 pm

Re: About MOOC Workbench

Postby Kunda1 » Tue Jul 09, 2019 10:02 pm

That pesky missing gitpython package issue :(
https://github.com/FreeCAD/FreeCAD-addons/issues/96
https://github.com/FreeCAD/FreeCAD-addons/issues/109

@rockn if you install gitpython and try again...
it should work...
(theoretically) :?
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
sgrogan
Posts: 5423
Joined: Wed Oct 22, 2014 5:02 pm

Re: About MOOC Workbench

Postby sgrogan » Tue Jul 09, 2019 10:02 pm

rockn wrote:
Tue Jul 09, 2019 9:55 pm
That say, It's not going well.
First I think this should be added to the addons repo
Second Anti thread hijacking link https://forum.freecadweb.org/viewtopic.php?f=10&t=37394
User avatar
apeltauer
Posts: 212
Joined: Fri Aug 11, 2017 2:19 pm

Re: About MOOC Workbench

Postby apeltauer » Thu Jul 11, 2019 6:08 am

:+1:
I would love to give it a try, but i dont speak any french :) Any chance to translate your workbench?