Search found 133 matches

by Cyril
Fri Mar 11, 2022 10:41 am
Forum: Users Showcase
Topic: Reverse engineering of a turbine blade
Replies: 2
Views: 2424

Re: Reverse engineering of a turbine blade

Très intéressant. Merci pour le partage !
by Cyril
Sat Jan 02, 2021 11:11 am
Forum: Developers corner
Topic: Anyone here using IronPython?
Replies: 7
Views: 1751

Re: Anyone here using IronPython?

IronPython last release is still python 2 which will give you some hard time as many new features from python 3 are not available. Only pure python libraries will work in ironpython (forget many popular libraries like numpy… and well FreeCAD). If you really need to work in .NET you should take a loo...
by Cyril
Wed Dec 16, 2020 4:07 am
Forum: Python scripting and macros
Topic: merge faces (again)
Replies: 7
Views: 3333

Re: merge faces (again)

Not a script but I tried drawing two touching triangles in Draft, selecting both and upgrading, applying Part/create a copy/refine shape on the result and that removed the seam. Maybe this can help? Interesting. I don't understand how it does this in source code yet but yes resulting shape contain ...
by Cyril
Tue Dec 15, 2020 9:20 am
Forum: Python scripting and macros
Topic: merge faces (again)
Replies: 7
Views: 3333

Re: merge faces (again)

mario52 wrote: Mon Dec 14, 2020 4:58 pm hi

like this ?

mario
Thanks for suggesting but as I said. Compound is just a container. It does not merge 2 faces into 1 face. Goal is to start with 2 Part.Face and to end with 1 Part.Face (sum of areas). Why ? To simplify geometry as much as possible.
by Cyril
Sun Dec 13, 2020 11:27 pm
Forum: Python scripting and macros
Topic: merge faces (again)
Replies: 7
Views: 3333

Re: merge faces (again)

openBrain wrote: Sun Dec 13, 2020 6:59 pm Did you try

Code: Select all

s1.fuse(s2)
Yes. As describe above in the UnifySameDomain process. According to my observations fuse only create a container shape (shell, compound or else) containing fused shapes but do not actually merge 2 shapes into 1.
by Cyril
Thu Dec 10, 2020 11:44 pm
Forum: Python scripting and macros
Topic: merge faces (again)
Replies: 7
Views: 3333

merge faces (again)

Hi, I found many related topic but I cannot find the right way merges faces. My cases are simple. I would like to merge faces with a common edge (partial or full). https://forum.freecadweb.org/download/file.php?id=100869 Unsuccessful try I found this old topic : face union . I made some tries using ...
by Cyril
Thu Dec 10, 2020 2:46 pm
Forum: Python scripting and macros
Topic: Removing Faces, edges and vertexes
Replies: 5
Views: 2455

Re: Removing Faces, edges and vertexes

I do not understand why it doesn't work for you. Following code works for me : >>> b.Shape.SubShapes [<Face object at 0x55c23039f4e0>, <Wire object at 0x55c22f3b15d0>] >>> b.Shape = b.Shape.removeShape([b.Shape.SubShapes[1]]) >>> b.Shape.SubShapes [<Face object at 0x55c230391120>] Note : b.Shape is ...
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: 2440

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: 825
Views: 427544

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: 3434

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...