Search found 1480 matches

Go to advanced search

by tanderson69
Thu Aug 16, 2018 12:16 pm
Forum: Archived Pull Requests
Topic: checkgeometry->bopcheck in background thread
Replies: 33
Views: 1317

Re: checkgeometry->bopcheck in background thread

The BOP prefix stands for B oolean Op erations and is only supposed to be used for the result of boolean operations. Norm said the same thing and I think this statement is misleading. When a boolean operation fails they use it on the INPUTS to the failed boolean operation. Think, "boolean simulator...
by tanderson69
Sun Aug 12, 2018 11:28 pm
Forum: Archived Pull Requests
Topic: checkgeometry->bopcheck in background thread
Replies: 33
Views: 1317

Re: checkgeometry->bopcheck in background thread

I'd really like to see progress indicators with cancel options used more in freecad The problem with OCCT is that there are only a few algorithms where a progress indicator can be set. BopAlgo_Options will take a progress indicator and the BopAlgo_ArgumentAnalyzer is a subclass. So it looks like th...
by tanderson69
Sun Aug 12, 2018 12:49 pm
Forum: Archived Pull Requests
Topic: checkgeometry->bopcheck in background thread
Replies: 33
Views: 1317

Re: checkgeometry->bopcheck in background thread

wmayer wrote:
Sun Aug 12, 2018 8:36 am
from 443 seconds down to 151 secoonds.
On how many cores? Probably 4?
Yes, 4. AMD A10-7850K Radeon R7
by tanderson69
Sun Aug 12, 2018 1:21 am
Forum: Archived Pull Requests
Topic: checkgeometry->bopcheck in background thread
Replies: 33
Views: 1317

Re: checkgeometry->bopcheck in background thread

Thanks for the feedback. I'm not sure I understand those numbers, but the This is great! part, I assume, means you got better performance with it enabled. from 443 seconds down to 151 secoonds. :D You suggest removing the line BOPCheck.SetParallelMode(true)? Any harm in leaving it as is? What is th...
by tanderson69
Sat Aug 11, 2018 9:47 pm
Forum: Archived Pull Requests
Topic: checkgeometry->bopcheck in background thread
Replies: 33
Views: 1317

Re: checkgeometry->bopcheck in background thread

I removed the multi-threading stuff and just added the runparallel mode option. It looks like a background thread option for runbopcheck is going to be a no-go anyway, at least for the time being. The 'BOPCheck.SetParallelMode(true)' call is not needed. That was me probably in a desperate act to sp...
by tanderson69
Sat Aug 04, 2018 6:05 pm
Forum: Developers corner
Topic: Shape sharing and save-restore
Replies: 10
Views: 439

Re: Shape sharing and save-restore

Did an experiment this morning. If you look at the code for 'BRepTools::Write' it isn't really doing anything other using BRepTools::ShapeSet https://git.dev.opencascade.org/gitweb/?p=occt.git;a=blob;f=src/BRepTools/BRepTools.cxx;h=7572bdc0e82e95562413bd032f3c670f9f1adb1c;hb=HEAD#l689 BRepTools::Sha...
by tanderson69
Sat Aug 04, 2018 2:00 pm
Forum: Developers corner
Topic: Shape sharing and save-restore
Replies: 10
Views: 439

Re: Merging of my Link branch

This is because PropertyTopoShape performs a copy before saving, which seems to be a deep copy and destroys the shape sharing. I have just submitted a PR In regards to the pull request: The link you posted is for writing binary tools. Doesn't FreeCAD saves in the ascii format? Seems like 'BRepTools...
by tanderson69
Sat Aug 04, 2018 3:54 am
Forum: Developers corner
Topic: Shape sharing and save-restore
Replies: 10
Views: 439

Re: Shape sharing and save-restore

Any ideas on what the difference might be? No. I was thinking about doing some more experiments, but haven't fit it in yet. Does it write a binary brep, or an ascii one? Those are ascii. you have to get into the occt bintools for binary. https://dev.opencascade.org/doc/refman/html/class_bin_tools.h...
by tanderson69
Fri Aug 03, 2018 1:07 pm
Forum: Developers corner
Topic: Shape sharing and save-restore
Replies: 10
Views: 439

Re: Merging of my Link branch

Although changing OCC to store shape sharing is a better way in the long run.. and maybe it even does so already... I experimented with it quite long ago, things may have changed. the occt shape sharing works great as long as all the shapes are wrote to the same brep file. Think... 'aggregate TopoD...
by tanderson69
Sun Jul 29, 2018 8:35 pm
Forum: Help on using FreeCAD
Topic: Unable to connect to SpaceNavigator with FreeCAD 0.17 on Fedora 28
Replies: 62
Views: 2285

Re: Unable to connect to SpaceNavigator with FreeCAD 0.17 on Fedora 28

I think it's not that easy. I did the swap - doesn't work. Maybe we could use spnav_poll_event instead of spnav_x11_event? They are not 1 to 1 replacements. Reference link [1, page 7]. [1] https://media.readthedocs.org/pdf/spnav/latest/spnav.pdf You're right. I forgot about the whole 'x11EventFilte...

Go to advanced search