Search found 91 matches
- Tue Jul 21, 2020 1:49 pm
- Forum: IFC
- Topic: IFC test files and systematic testing
- Replies: 27
- Views: 26149
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...
- Tue Jul 21, 2020 12:24 pm
- Forum: Developers corner
- Topic: [Solved] Likely OCC bug: common of shapes outside one shape
- Replies: 4
- Views: 840
[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...
- Tue Jul 21, 2020 10:59 am
- Forum: IFC
- Topic: IFC test files and systematic testing
- Replies: 27
- Views: 26149
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...
- Mon Jul 20, 2020 3:07 pm
- Forum: IFC
- Topic: IFC test files and systematic testing
- Replies: 27
- Views: 26149
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...
- Mon Jul 20, 2020 9:41 am
- Forum: Draft, Arch & BIM
- Topic: [Merged] Minor Bug: ArchWindow 'makeWindow' function ignores name parameter.
- Replies: 29
- Views: 4446
Re: Minor Bug: ArchWindow 'makeWindow' function ignores name parameter.
Yes, looks good to me. Care to submit a PR?
- Sun Jul 19, 2020 10:12 pm
- Forum: Developers corner
- Topic: Shape.replaceShape() breaks Shape and confuses Shape.check()
- Replies: 32
- Views: 5136
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...
- Sun Jul 19, 2020 5:08 pm
- Forum: Developers corner
- Topic: Shape.replaceShape() breaks Shape and confuses Shape.check()
- Replies: 32
- Views: 5136
Re: Shape.replaceShape() breaks Shape and confuses Shape.check()
I don't have fully understood how replaceShape is supposed to work. I was for example not able to make it work with Faces or Edges, but just with Vertexes.. and this leads to strange results sometimes, as you were working on the Mesh rather than on the Shape itself! If you replace something other t...
- Fri Jul 17, 2020 6:03 pm
- Forum: Draft, Arch & BIM
- Topic: [Feature] Floor Area Calculation + Room Dimension
- Replies: 70
- Views: 13543
Re: [Feature] Floor Area Calculation + Room Dimension
This is always the same problem, SWH3D, like many BIM apps, makes a lot of assumptions such as: All walls are single-segment, all walls are straight, all walls are vertical, all floors are horizontal, all ceilings are horizontal... Many of these assumptions could easily be false in FreeCAD. This is...
- Thu Jul 16, 2020 2:24 pm
- Forum: Developers corner
- Topic: Shape.replaceShape() breaks Shape and confuses Shape.check()
- Replies: 32
- Views: 5136
Re: Shape.replaceShape() breaks Shape and confuses Shape.check()
The documentation is somewhat lacking. For your reference here is an example function, where I got it to work. def snap_by_resize_Zlength(shape, target): replacements = [] candidates = sorted(shape.OuterWire.Edges, key=lambda e: e.BoundBox.ZLength)[-2:] for e in candidates: d = get_distance_vector(e...
- Wed Jul 15, 2020 9:29 pm
- Forum: Developers corner
- Topic: Shape.replaceShape() breaks Shape and confuses Shape.check()
- Replies: 32
- Views: 5136
Re: Shape.replaceShape() breaks Shape and confuses Shape.check()
What's your intention with this? To modify general Part::Feature objects in the same way as is possible with Draft objects. Of course having a parametric object like from Draft would be preferable, but you have to work with what you have. :-) I've never seen this used; in most cases if you want to ...