Search found 1963 matches

Go to advanced search

by realthunder
Sat Mar 20, 2021 8:49 am
Forum: 中文论坛 / 中文論壇(简体 / 繁體)
Topic: Assembly 3错误(已解决)
Replies: 6
Views: 701

Re: Assembly 3错误

UncleLike wrote: Fri Mar 19, 2021 8:28 am 开新档后,执行Create assembly,Report view就出现讯息如图,然后无法执行任何组立。请问有人遇过相同问题吗?如何解决?
最新FreeCAD似乎改动了啥导致打包在里面的asm3没法用了。你可以手动安装最新的asm3,git clone下面的repo到c:\Users\<你的用户名>\AppData\Roaming\FreeCAD\Mod,重启FreeCAD就可以了

Code: Select all

https://github.com/realthunder/FreeCAD_assembly3.git
by realthunder
Fri Mar 19, 2021 3:43 am
Forum: Open discussion
Topic: Making projects resistant to breaking changes
Replies: 10
Views: 1127

Re: Making projects resistant to breaking changes

Does it make sense to create a long-term export format in addition to or as a replacement for this project, e.g. the bodies are exported as a step and the complete sketches are also written into the file? this would mean that most of the working hours would have to be protected for years. But STEP ...
by realthunder
Fri Mar 19, 2021 3:38 am
Forum: Developers corner
Topic: Version Control Support in FreeCAD
Replies: 41
Views: 5635

Re: Version Control Support in FreeCAD

Hi Guys, any news on this one? I was checking some of the options as well, also had a brief chat with saso about this. So I wonder where I could find the specific code for this feature? It's still in my branch. I'll submit PR for this sure. But probably have to wait after my topo naming PR. You can...
by realthunder
Wed Mar 17, 2021 11:29 pm
Forum: Open discussion
Topic: About funding and all that
Replies: 192
Views: 30529

Re: About funding and all that

3D solver and open cascade solving topological naming issues, make the FreeCAD file format git friendly for distributed development (we might have to share something with OSEG here), associated & explicit modelling allow 3D visualization of differences between designs, a "native" asse...
by realthunder
Wed Mar 17, 2021 11:22 pm
Forum: Python scripting and macros
Topic: FeaturePython and Link
Replies: 19
Views: 994

Re: FeaturePython and Link

I was bitten by the .buildShape() in Draft_Array (you cannot make an array of an empty Body that you plan to modify later), and it's also very slow if the source object is large and complex. I fear that if you do an array of a sub-assembly this could cause serious problems. In the example below, Dr...
by realthunder
Wed Mar 17, 2021 11:10 pm
Forum: Open discussion
Topic: Making projects resistant to breaking changes
Replies: 10
Views: 1127

Re: Making projects resistant to breaking changes

Yes, we need to have something that checks for model breakage on FreeCAD source code changes. But we have to keep our expectation realistic here. I don't think it is possible or even necessary to demand that FreeCAD should be able to repeat user's steps of modeling to reproduce the model. It will pu...
by realthunder
Wed Mar 17, 2021 2:33 am
Forum: Python scripting and macros
Topic: FeaturePython and Link
Replies: 19
Views: 994

Re: FeaturePython and Link

So my idea is to create several classes (like PolarArray, LinearArray, PathArray ...) that would set-up the array, and add execute() functions to it. I guess the code should look something like: Draft array used to do that, I mean using separate class for each type of array, but it has since merged...
by realthunder
Tue Mar 16, 2021 7:08 am
Forum: Python scripting and macros
Topic: FeaturePython and Link
Replies: 19
Views: 994

Re: FeaturePython and Link

Thank-you, I might try it eventually. Currently, I made a wrapper around the whole Draft_Array thing, and it sort-of works: the property panel is ugly and incomprehensible (How do you change "Count" ? you have to change NumberPolar !), and you can't have a list of base objects that would ...
by realthunder
Tue Mar 16, 2021 6:29 am
Forum: Python scripting and macros
Topic: FeaturePython and Link
Replies: 19
Views: 994

Re: FeaturePython and Link

I tried, but draft_array code is split over 5 files in 5 directories, it's incomprehensible You don't really need to copy their code. Just derive your class from draft array like this from draftobjects import array from draftviewproviders import view_draftlink class MyDraftArray(array.Array): def _...
by realthunder
Mon Mar 15, 2021 1:52 pm
Forum: Python scripting and macros
Topic: FeaturePython and Link
Replies: 19
Views: 994

Re: FeaturePython and Link

Zolko wrote: Mon Mar 15, 2021 1:23 pm What is the way to create a link to an object directly inside a Part::FeaturePython (or equivalent) object ?
Oh you want similar behavior like the draft array? It will be easier to just reuse draft array's code. I'll whip up some code for you tomorrow morning.

Go to advanced search