Hi,
Output like those under Fem/femexamples/meshes.
Use Mod/Fem/feminout/importPyMesh/export or write? How to do it?
Regards,
John
Search found 586 matches
- Tue Jan 26, 2021 10:48 am
- Forum: FEM
- Topic: How to write FemMesh into a python file
- Replies: 0
- Views: 29
- Tue Jan 26, 2021 3:59 am
- Forum: Python scripting and macros
- Topic: Help to design WB tool TaskPanel UI with python code
- Replies: 0
- Views: 49
Help to design WB tool TaskPanel UI with python code
Hi, I have a tool in a WB. I use QtDesigner to design its UI and load it with this code: class MyTaskPanel: def __init__(self): self.form = FreeCADGui.PySideUic.loadUi(path_to_ui) In stead of using QtDesigner, could I write the UI directly with Python code like some Macro do. For example, adding a L...
- Sun Jan 24, 2021 12:02 am
- Forum: Open discussion
- Topic: Air Plane Design Workbench - discussion thread
- Replies: 25
- Views: 1578
Re: Air Plane Design Workbench - discussion thread
This is a simple x-y plot Macro
Code: Select all
import matplotlib.pyplot as plt
x=[1,2,3]
Y=[2.5,3.4,6]
plt.xlabel('Month')
plt.plot(x,Y)
plt.ylabel('Count')
plt.title("x-y plot")
fig = plt.gcf()
fig.canvas.set_window_title('bjPlot')
plt.grid(True)
plt.show()
- Sat Jan 23, 2021 10:51 pm
- Forum: Python scripting and macros
- Topic: New and Improved Nose Cone Macro
- Replies: 3
- Views: 333
- Sat Jan 23, 2021 10:42 pm
- Forum: Open discussion
- Topic: [RFC] Rocketry Workbench
- Replies: 17
- Views: 1049
Re: [RFC] Rocketry Workbench
Interesting project.
- Sat Jan 23, 2021 10:25 pm
- Forum: Open discussion
- Topic: Air Plane Design Workbench - discussion thread
- Replies: 25
- Views: 1578
Re: Air Plane Design Workbench - discussion thread
You need to install the plot workbench.(https://wiki.freecadweb.org/Plot_Module) Hi Fred, My Addon Manager doesn't work. No List. Where could I download this Plot WB? Since the Plot Workbench is a layer on top of matplotlib, could you use matplotlib directly whithout rely on another WB? like: impor...
- Sat Jan 23, 2021 10:12 pm
- Forum: Users Showcase
- Topic: First step with FEM
- Replies: 10
- Views: 1065
Re: First step with FEM
What you look at then?thschrader wrote: ↑Sat Jan 23, 2021 9:05 amNice work!
BTW: when I have local peak stresses exceeding sigma-max, I run a plastic
analysis by using the additional material-nonlinear option.
nonlinear.JPG
- Sat Jan 23, 2021 10:00 pm
- Forum: Open discussion
- Topic: Air Plane Design Workbench - discussion thread
- Replies: 25
- Views: 1578
Re: Air Plane Design Workbench - discussion thread
cool. When switch to the wb, got this error: 08:52:50 No module named 'freecad.plot' 08:52:50 Traceback (most recent call last): File "<string>", line 61, in Initialize File "D:\FreeCAD_0.19.21937_x64_LP_12.1.6_PY3QT5-WinVS2015\Mod\FreeCAD_AirPlaneDesign\airPlanePanel.py", line 33, in <module> from ...
- Mon Jan 18, 2021 6:17 am
- Forum: 中文论坛 / 中文論壇(简体 / 繁體)
- Topic: FreeCAD中python脚本单步调试没有输出
- Replies: 3
- Views: 322
Re: FreeCAD中python脚本单步调试没有输出
鼠标移到Report View区域,右键点击,选Options,看看logging选没选中。
选中时,输出较多。
选中时,输出较多。
- Thu Jan 14, 2021 9:19 pm
- Forum: IFC
- Topic: [IFC Export] Problems with IFC (structural view) export/import
- Replies: 16
- Views: 988