Search found 29 matches

Go to advanced search

by johnwang
Tue Apr 09, 2019 10:15 am
Forum: 中文论坛 / 中文論壇(简体 / 繁體)
Topic: 学写工具台(Workbench)
Replies: 2
Views: 449

学写工具台(Workbench)

我是在win 10下用FreeCAD0.17。FreeCAD安装在E:\Program Files\FreeCAD 0.17目录下。FreeCAD本身带的Workbench都装在其中的Mod子目录下。比如Mod\Surface就是Surface工具台。进入Mod\Surface目录,可以看到里面有Init.py和InitGui.py两个Python源文件。 下面以一个画box的工具为例子做一个工具台。我把它叫做hpBox工具台。hp代表什么呢?hp可以是你名字的缩写。比如你叫Harry Porter,缩写正好是hp. 这样可以和别人写的box工具台区分开来。因为别人写box工具台时取名hpBo...
by johnwang
Mon Apr 01, 2019 2:01 am
Forum: Python scripting and macros
Topic: A few question about Wiki Script Object examples
Replies: 11
Views: 286

Re: A few question about Wiki Script Object examples

Here is an example I am creating. https://forum.freecadweb.org/viewtopic.php?f=24&t=34582 I want to create a tool, basically pick up 3 points on a plane to define an area and cover that area with trusses depends on different settings. So I look into Script Object to see if it is more easy. Also I am...
by johnwang
Sun Mar 31, 2019 9:43 am
Forum: Python scripting and macros
Topic: A few question about Wiki Script Object examples
Replies: 11
Views: 286

Re: A few question about Wiki Script Object examples

Happy to know the folder structure and py file. I was using FCMacro file before.

I thought the inspect attributes part maybe better talk later. I can't see the benefit I know it now.

No argument to call FreeCAD.getUserMarcoDir{) on my computer.

I am interested in making the object selectable.
by johnwang
Sun Mar 31, 2019 1:19 am
Forum: Python scripting and macros
Topic: A few question about Wiki Script Object examples
Replies: 11
Views: 286

Re: A few question about Wiki Script Object examples

Another question: For the basic example, Where I put the line: obj.supportedPropeties() Is it just after this? a=FreeCAD.ActiveDocument.addObject("Appp::FeaturePython","Box") I think I should also change to: a.supportedPropeties() But run like that, I don't know where I could see the list of availab...
by johnwang
Sun Mar 31, 2019 1:14 am
Forum: Python scripting and macros
Topic: A few question about Wiki Script Object examples
Replies: 11
Views: 286

Re: A few question about Wiki Script Object examples

The icon is colored with a blue tick.After hiting recompute, all good. I just copied that 3 part codes in one. Need to add a line for recompute to see the result. The basic example also needs a recompute, but shows the cube well without the recomputer. I noticed there is a few lines of string in ""....
by johnwang
Sat Mar 30, 2019 11:41 am
Forum: Python scripting and macros
Topic: A few question about Wiki Script Object examples
Replies: 11
Views: 286

Re: A few question about Wiki Script Object examples

The basic example, I got a red box on the right. But the complex example, I can't see anything on the right..
by johnwang
Sat Mar 30, 2019 5:46 am
Forum: Python scripting and macros
Topic: A few question about Wiki Script Object examples
Replies: 11
Views: 286

A few question about Wiki Script Object examples

Hi, I am trying out the wiki Scripted Object examples and have a few questions. See https://www.freecadweb.org/wiki/Scripted_objects The Basic example is all good, but when after running the Complex one, I can't see anything on the viewport. Regards, John OS: Windows 10 Word size of OS: 64-bit Word ...
by johnwang
Sat Mar 30, 2019 3:13 am
Forum: Users Showcase
Topic: Architecture work in FreeCAD
Replies: 108
Views: 31152

Re: Architecture work in FreeCAD

Alright here is the final output. https://www.dropbox.com/s/l2k4byuo6vz5oog/Model.FCStd?dl=0 Great work. Could I suggest adding a few more dimensions: For the horizontal, great to have lead dimension and openning dimensions. One more line for wall thickness and room size is a plus. On the elevation...
by johnwang
Thu Mar 28, 2019 1:40 am
Forum: Users Showcase
Topic: Roof trusses
Replies: 14
Views: 3845

Re: Roof trusses

Generate a Saw file to cut the timber. Still a long way to go.
by johnwang
Wed Mar 27, 2019 10:36 am
Forum: Users Showcase
Topic: Roof trusses
Replies: 14
Views: 3845

Re: Roof trusses

David_D wrote:
Sat Mar 23, 2019 10:40 pm

I'm also very interested in this work, and seeing your source code. This looks fantastic. I've been working on a timber framing workbench here. It's absolutely not ready to be called version 1.0 yet, but it's getting there.
I am interested in making a timber framing workbench.

Go to advanced search