Search found 126 matches

Go to advanced search

by Cyril
Sat Nov 14, 2020 6:41 pm
Forum: Python scripting and macros
Topic: How to reference objects ? PropertyLink and DAG constraints
Replies: 10
Views: 622

Re: How to reference objects ? PropertyLink and DAG constraints

So I have few questions : Is there a way to make a mutual reference between objects without issues ? If Object A and Object B have a reference to Object C but not the opposite to respect DAG constraints. Is there a way to reach Object A and Object B from Object C ? The answer was actually : Yes the...
by Cyril
Sun Nov 01, 2020 8:57 pm
Forum: Open discussion
Topic: FreeCAD on the web
Replies: 669
Views: 170141

Re: FreeCAD on the web

On a french technical vulgarization channel : https://video.monsieurbidouille.fr/vide ... art=13m7s
Apparently FreeCAD is used by Babatronic, a robot maker : https://www.youtube.com/barbatronic
by Cyril
Sun Oct 25, 2020 1:24 pm
Forum: Developers corner
Topic: Simplify object properties with Python: static definitions
Replies: 16
Views: 1188

Re: Simplify object properties with Python: static definitions

@Vanuan how is this topic is evolving ? I did some experiments on my side inspired from dataclasses : https://youtu.be/2tUeXLAWJVg field metadata could be used to retrieve optional group name and doc string. A decorator could be made instead of a class inheritance. Source code :  freecad-easierfeatu...
by Cyril
Sat Oct 17, 2020 12:14 pm
Forum: Developers corner
Topic: [Fixed] Regression : Intersect do not accept plane as argument
Replies: 15
Views: 814

Re: Regression : Intersect do not accept plane as argument

wmayer wrote:
Sat Oct 17, 2020 8:13 am
git commit ce87f586e
Compile -> test -> it works. Thanks !
by Cyril
Sat Oct 10, 2020 9:56 am
Forum: Draft, Arch & BIM
Topic: Coding standards: Function name aliases: how to use?
Replies: 14
Views: 674

Re: Coding standards: Function name aliases: how to use?

Not a proof but an example. Blender is coded mainly in C, some libraries are in C++ and all the python API is PEP8 compliant. I found so much easier to get into Blender Python API than FreeCAD Python API. Of course PEP8 is not the only reason (UI is easy to modify, class inheritance etc…). It is cle...
by Cyril
Fri Oct 09, 2020 7:41 pm
Forum: Developers corner
Topic: [Fixed] Regression : Intersect do not accept plane as argument
Replies: 15
Views: 814

Re: Regression : Intersect do not accept plane as argument

<off topic> I would love it if there was an option to copy/paste from code snippets but automagically edit out the preceding >>> so I can easily paste in to Python console Can anyone tweak phpbb to do that? </off topic> This is why I added a raw code to reproduce section :lol: This is a month of di...
by Cyril
Fri Oct 09, 2020 3:07 pm
Forum: Developers corner
Topic: [Fixed] Regression : Intersect do not accept plane as argument
Replies: 15
Views: 814

Re: Regression : Intersect do not accept plane as argument

Anyone can confirm so I can open an issue on bug tracker ?
by Cyril
Wed Oct 07, 2020 4:42 pm
Forum: Open discussion
Topic: Please demonstrate using a remote text editor to substitute the Python editor in FreeCAD
Replies: 14
Views: 1359

Re: Please demonstrate using a remote text editor to substitute the Python editor in FreeCAD

I started modifying the grbl post yesterday in VS Code. I like linting and the modified file gets read each time I run it in Path. But, i definitely need to find the forum post about setting up for debugging. Would be nice to be able to checkout variables at runtime. :roll: You are in the right thr...

Go to advanced search