Search found 9 matches

by Chukharev
Wed Jun 06, 2018 7:50 pm
Forum: Developers corner
Topic: Bug #2729 False 'redundant constrains' message
Replies: 26
Views: 5890

Re: Bug #2729 False 'redundant constrains' message

abdullah, thanks a lot for your kind introduction into the issue tracking system used by FreeCAD developers. It's more complicated than what I'm used to... I hope this will be helpful not only for me.
by Chukharev
Wed Jun 06, 2018 1:07 pm
Forum: Developers corner
Topic: Bug #2729 False 'redundant constrains' message
Replies: 26
Views: 5890

Re: Bug #2729 False 'redundant constrains' message

Au contraire, solver stability is well taken into account in the overall discussion. This kind of bug reports help me to have a broad view of the possible edges. The broad view has resulted in a package of improvements that has just been merged. I really hope you will find a better overall behaviou...
by Chukharev
Sun Jun 03, 2018 7:16 pm
Forum: Developers corner
Topic: Bug #2729 False 'redundant constrains' message
Replies: 26
Views: 5890

Re: Bug #2729 False 'redundant constrains' message

Thanks for fixing the most often occurrence where the bug is exhibited!

What bothers me is that neither the very bug nor unstable behaviour of the solver have not got any attention in the discussions... These definitely will continue to show up...

Sorry for my pessimism and thanks for your work.
by Chukharev
Thu Sep 28, 2017 10:18 am
Forum: Developers corner
Topic: Assignment to point.z changes point.x and point.y - a bug?
Replies: 2
Views: 665

Assignment to point.z changes point.x and point.y - a bug?

The attached Python script shows what I think is a bug in FreeCAD. The script can be run as FreeCAD path/to/file.py or as a macro, if correctly placed and named. What it does: Creates a new document. Creates a cube shape of default size 10x10x10. Makes a mesh from the shape. Iterates over the points...
by Chukharev
Wed Sep 13, 2017 2:57 pm
Forum: Python scripting and macros
Topic: z=Z(x,y)
Replies: 8
Views: 1656

Re: z=Z(x,y)

Python in FreeCAD supports the creation of a solid out of its faces. import Part myShell = Part.Shell(listOfFaces) mySolid =Part.Solid(myShell) Part.show(mySolid) In your case I would write a script that creates your top face based on the Z(x,y)-function and create the missing side faces and the gr...
by Chukharev
Mon Sep 11, 2017 11:52 am
Forum: Developers corner
Topic: Bug #2729 False 'redundant constrains' message
Replies: 26
Views: 5890

Re: Bug #2729 False 'redundant constrains' message

IMNSHO if (1) a message 'redundant constraints' is shown, (2) an edge tangent constraint is used, and (3) a coincident constraint is used, then a longer explanation can be added to the message. Something like "Edge Tangent + Coincident combination causes solver instability. When possible, use E...
by Chukharev
Mon Sep 11, 2017 9:08 am
Forum: Python scripting and macros
Topic: z=Z(x,y)
Replies: 8
Views: 1656

Re: z=Z(x,y)

chrisb: Thank you for your tip. NURBS is a good stuff. It's intended for defining surfaces in a special way, simpler in use and often fast and efficient (I did use some splines in different systems, so I know the power of the approach). But I have already a definition of a surface as a function of t...
by Chukharev
Sun Sep 10, 2017 11:28 am
Forum: Python scripting and macros
Topic: z=Z(x,y)
Replies: 8
Views: 1656

z=Z(x,y)

I need some help (pointers to docs, examples or discussions, an advice) for how to use a function Z(x, y) as a face of a 3d part. I have a function written in Python. I can build a body by defining a sketch in XY plane and padding it. Now I need to change the top face to have at each (x, y) point a ...
by Chukharev
Sun Feb 12, 2017 11:33 am
Forum: Developers corner
Topic: Bug #2729 False 'redundant constrains' message
Replies: 26
Views: 5890

Re: Bug #2729 False 'redundant constrains' message

The sketch in question contains tangent connection made by Tangent + Coincident constraint combination. This is very likely the cause of unstable behavior. Such combination is bad for solver, and should be replaced with tangent applied to endpoints (and no need for coincident). IMHO known combinati...