Mechatronic 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
Aleks
Posts: 85
Joined: Sun Mar 08, 2020 5:27 pm
Location: Sankt Augustin, Germany
Contact:

Re: Mechatronic WorkBench

Post by Aleks » Sat Mar 28, 2020 10:54 am

openBrain wrote:
Thu Mar 26, 2020 11:13 am
Not directly related, but the "mechatronic" term seems totally overused here. This is just pure "electromechanic". :)
"Mechatronic" is not overused here. It suits the topic perfectly.
triplus
Posts: 9475
Joined: Mon Dec 12, 2011 4:45 pm

Re: Mechatronic WorkBench

Post by triplus » Sat Mar 28, 2020 5:02 pm

Hi @davidmubernal and welcome.

Thanks for creating and sharing the Mechatronic WorkBench.
renatorivo
Posts: 2611
Joined: Tue Feb 21, 2012 8:07 pm
Location: Torino - Italy

Re: Mechatronic WorkBench

Post by renatorivo » Sat Mar 28, 2020 9:01 pm

Hi davidmubernal, Thanks.

For Windows, if Mechatronic WorkBench is installed in C:\Users\User\AppData\Roaming\FreeCAD it is also available for the development versions.
davidmubernal
Posts: 10
Joined: Fri Mar 20, 2020 12:45 pm
Contact:

Re: Mechatronic WorkBench

Post by davidmubernal » Tue Mar 31, 2020 10:36 am

vocx wrote:
Tue Mar 24, 2020 4:45 pm
davidmubernal wrote:
Tue Mar 24, 2020 1:02 pm
We provide a library of functions to ease the development of these parameterizable scripted models. More details
It seems most functions use proper Python PEP8 style, except for the first ones.

Code: Select all

NutHole(nut_r, nut_h, hole_h, name[, extra, …])
add2CylsHole(r1, h1, r2, h2, thick[, …])
add3CylsHole(r1, h1, r2, h2, rring, hring, thick)
addBolt(r_shank, l_bolt, r_head, l_head[, …])
addBoltNut_hole(r_shank, l_bolt, r_head, …)
addBox(x, y, z, name[, cx, cy])
addBox_cen(x, y, z, name[, cx, cy, cz])
addCyl(r, h, name)
addCylHole(r_ext, r_int, h, name[, axis, h_disp])
addCylHolePos(r_out, r_in, h, name[, …])
addCylPos(r, h, name[, normal, pos])
addCyl_pos(r, h, name[, axis, h_disp])
You should consider renaming these to proper snake_casing.
Thanks for your comment. I add the issue to "Issues to solve"
David Muñoz
Developer of Mechatronic Workbench
Industrial engineering student at the Rey Juan Carlos University, Spain.
davidmubernal
Posts: 10
Joined: Fri Mar 20, 2020 12:45 pm
Contact:

Re: Mechatronic WorkBench

Post by davidmubernal » Tue Jun 30, 2020 6:11 pm

Hello everyone!

I have update the workbench with a new GUI desin and better interaction between models.

Also I upload two tutorial to YouTube in Spanish.

I' m not forgetting the bugs that have already been reported, I' m working on them.
David Muñoz
Developer of Mechatronic Workbench
Industrial engineering student at the Rey Juan Carlos University, Spain.
TomB19
Posts: 161
Joined: Wed May 01, 2019 4:58 am

Re: Mechatronic WorkBench

Post by TomB19 » Fri Jul 03, 2020 7:05 pm

I love this idea and look forward to trying it. 8-)
davidmubernal
Posts: 10
Joined: Fri Mar 20, 2020 12:45 pm
Contact:

Re: Mechatronic WorkBench

Post by davidmubernal » Tue Jul 14, 2020 8:08 am

Hello, everybody!

In view of some bugs in the installation I leave you a little guide for debian and ubuntu.
It would be analogous to other distributions.
Also, for Windows or macOS you should download the same zip file.

Download Mechatronic-master from https://github.com/davidmubernal/Mechatronic
Unzip the downloaded file Mechatronic-master.zip to the directory of your choice.
Unzip the file Mechatronic from Mechatronic-master to .FreeCAD/Mod/
(which is usually located at /home/user/.Free . . . if you're using AppImage copies of 0.19-xxxxx )
Use chown and chgrp to change the owner and group values for .FreeCAD/Mod/Mechatronic to user
Restart FreeCAD
The Mechtornic WB should now be available in your list of workbenches.

In a few weeks I will facilitate the installation through the addon manager to simplify the installation
Last edited by davidmubernal on Wed Jul 15, 2020 8:17 am, edited 1 time in total.
David Muñoz
Developer of Mechatronic Workbench
Industrial engineering student at the Rey Juan Carlos University, Spain.
vocx
Posts: 5206
Joined: Thu Oct 18, 2018 9:18 pm

Re: Mechatronic WorkBench

Post by vocx » Tue Jul 14, 2020 11:05 pm

davidmubernal wrote:
Tue Jul 14, 2020 8:08 am
...
The following needs to be done using root on debian or sudo if you're on Ubuntu.
...
Unzip the file Mechatronic from Mechatronic-master to .FreeCAD/Mod/
Please do not suggest using sudo or root without a justifiable reason.

There is absolutely no need to use sudo in this case. The workbench should be placed in the user owned directory, so there is not need for higher privileges.

Code: Select all

/home/vocx/.FreeCAD/Mod
Always add the important information to your posts if you need help. Also see Tutorials and Video tutorials.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
davidmubernal
Posts: 10
Joined: Fri Mar 20, 2020 12:45 pm
Contact:

Re: Mechatronic WorkBench

Post by davidmubernal » Wed Jul 15, 2020 8:16 am

Ok, I'm not a Linux User.
Thank you for the correction
David Muñoz
Developer of Mechatronic Workbench
Industrial engineering student at the Rey Juan Carlos University, Spain.
vocx
Posts: 5206
Joined: Thu Oct 18, 2018 9:18 pm

Re: Mechatronic WorkBench

Post by vocx » Wed Jul 15, 2020 2:16 pm

davidmubernal wrote:
Wed Jul 15, 2020 8:16 am
Ok, I'm not a Linux User.
The same advice applies to Windows and MacOS. You do not need to have administrator privileges, you just need to place the workbench in the user directory where FreeCAD reads modules.

Installing_more_workbenches

I remember a story of a user that was trying to install FreeCAD, and he used Administrator privileges to place it inside system32 or something crazy like that. It is completely unnecessary, and that may cause problems in the future if you don't know what you are doing.
Always add the important information to your posts if you need help. Also see Tutorials and Video tutorials.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest