Search found 75 matches

Go to advanced search

by lambda
Tue Jul 21, 2020 11:00 pm
Forum: Developers corner
Topic: [Solved] Likely OCC bug: common of shapes outside one shape
Replies: 4
Views: 182

Re: Likely OCC bug: common of shapes outside one shape

I don't think there is any bug in the boolean operation. I think you obtained your "Test" object by a replaceShape() operation, that lead to an unreasonable tolerance : o2.Shape.getTolerance(1) #>>>240.00002400000002 Indeed. :oops: Improving replaceShape() usage as described in https://forum.freeca...
by lambda
Tue Jul 21, 2020 10:57 pm
Forum: Developers corner
Topic: Shape.replaceShape() breaks Shape and confuses Shape.check()
Replies: 23
Views: 984

Re: Shape.replaceShape() breaks Shape and confuses Shape.check()

Thanks, this was very helpful. I figured, for moving an edge, I can't just replace its vertices, but also the edge itself. This helped with the "support line" problem. However the tolerance problem remains, so this probably still isn't the whole story. Also I noticed that the tolerance changes when ...
by lambda
Tue Jul 21, 2020 7:26 pm
Forum: Developers corner
Topic: Shape.replaceShape() breaks Shape and confuses Shape.check()
Replies: 23
Views: 984

Re: Shape.replaceShape() breaks Shape and confuses Shape.check()

There is no geometry recompute of the whole shape. I think this usage of replaceShape just pulls some topologies away from their supporting geometries, generating invalid shapes, or a huge tolerance print("Mod_Shape average Tolerance : {}".format(o1.Shape.getTolerance(0))) # ---> 0.0692615384615384...
by lambda
Tue Jul 21, 2020 5:03 pm
Forum: Developers corner
Topic: [Solved] Likely OCC bug: common of shapes outside one shape
Replies: 4
Views: 182

Re: Likely OCC bug: common of shapes outside one shape

Yes, it seems general fuse gets confused and everything, that relies on it. I'm sorry, I forgot the version information: OS: Debian GNU/Linux bullseye/sid Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 0.19.22040 (Git) Build type: Unknown Branch: rt-FixTransactionDynamicProp Hash: a85...
by lambda
Tue Jul 21, 2020 1:49 pm
Forum: IFC
Topic: IFC test files and systematic testing
Replies: 25
Views: 994

Re: IFC test files and systematic testing

Show what you have ... Best to put it on your github (Doyou have one?) As a start we could make PRs. If needed you could give others write access to the repo. Ah, this is the misunderstanding! I linked it in an earlier post, so I wasn't aware you missed it: https://github.com/haraldg/Test_IFC_Impor...
by lambda
Tue Jul 21, 2020 12:24 pm
Forum: Developers corner
Topic: [Solved] Likely OCC bug: common of shapes outside one shape
Replies: 4
Views: 182

[Solved] Likely OCC bug: common of shapes outside one shape

Hi! I'm trying to cut a face with a solid, but the result is not what I expect: It extends outside the original face. See the attached file. Since there is a warning about boolean operations on faces, I also tried extruding it first. However this even throws an exception: 14:14:28 <Exception> Inters...
by lambda
Tue Jul 21, 2020 10:59 am
Forum: IFC
Topic: IFC test files and systematic testing
Replies: 25
Views: 994

Re: IFC test files and systematic testing

IMHO most important is to use fixed import parameter. This has been implemented a few weeks ago. They can be parsed in latest importIFC methods. Yes, my code uses that. Actually the main point of the WB at the moment is: You can create reference files, which include the importer settings used to cr...
by lambda
Mon Jul 20, 2020 3:07 pm
Forum: IFC
Topic: IFC test files and systematic testing
Replies: 25
Views: 994

Re: IFC test files and systematic testing

... I will have a bare bones version of the Test IFC Importer WB ready by the weekend. ... Any progress here ... ? After posting https://forum.freecadweb.org/viewtopic.php?p=417640#p411933 people disagreed whether the WB approach is useful, so it went a bit down on my TODO list. I'll happily discus...
by lambda
Sun Jul 19, 2020 10:12 pm
Forum: Developers corner
Topic: Shape.replaceShape() breaks Shape and confuses Shape.check()
Replies: 23
Views: 984

Re: Shape.replaceShape() breaks Shape and confuses Shape.check()

This was a totally unexpected output to me, expecially to see that those shapes are valid. What do you think? Hm, how did you check that they are valid? Do properties like Volume, Area etc return plausible results? I guess, we will need somebody, who actually understands opencascade, to fill in the...

Go to advanced search