Matweb inside FreeCAD

About the development of the FEM module/workbench.

Moderator: bernd

Post Reply
User avatar
psicofil
Posts: 154
Joined: Thu Dec 15, 2011 11:02 pm

Matweb inside FreeCAD

Post by psicofil »

Hello everyone. I wonder why when one adds a material in a FEM analysis the option to view data in MatWeb does not open directly to the Web browser FreeCAD.

Code: Select all

import WebGui
WebGui.openBrowser('http://matweb.com/')
Thank You. regards

Sorry for my bad English
Ing. Gomez Lucio
Scope Ingenieria (scopeingenieria.com)
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Matweb inside FreeCAD

Post by bernd »

psicofil wrote:Hello everyone. I wonder why when one adds a material in a FEM analysis the option to view data in MatWeb does not open directly to the Web browser FreeCAD.

Code: Select all

import WebGui
WebGui.openBrowser('http://matweb.com/')
Thank You. regards

Sorry for my bad English
For me it opens the standard browser of my operating system and in this browser the internet page http://matweb.com/

EDIT: I should have been writing:
If the MatWeb button of the material dialog is pressed it opens the standard browser of my operating system and in this browser the internet page http://matweb.com/ So it means same as Werner describes it in the next post.
Last edited by bernd on Wed Mar 18, 2015 9:45 am, edited 2 times in total.
wmayer
Founder
Posts: 20319
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: Matweb inside FreeCAD

Post by wmayer »

If I execute the code snippet it opens a web page inside FreeCAD. If I press the MatWeb button of the material dialog it opens the system browser.
User avatar
psicofil
Posts: 154
Joined: Thu Dec 15, 2011 11:02 pm

Re: Matweb inside FreeCAD

Post by psicofil »

Hello. I express clearly wrong (or was for my bad English). It is true that when pressing the button MatWeb opens in the browser from the operating system. But according to my opinion, it would be better to open in the FreeCAD web browser, in this way do not need to open another window of other program, making it easier to obtain the data for the desired material.

P / D: The page MatWeb with the FreeCAD browser works without any problem.

Greetings.
Sorry for my bad English. :oops:
Ing. Gomez Lucio
Scope Ingenieria (scopeingenieria.com)
Post Reply