Hi Charles

Just an Idea :

Try to create a compound object containing all the "groove" objects, and
then try to call BRepAlgoAPI_Cut only once.Maybe it will help with the speed
problem.

Fotis

On Tue, Jun 22, 2010 at 12:15 AM, Dave Cowden <[email protected]> wrote:

> Hi, Charles:
>
> I have implemented a slicer here, which performs much much better than
> that:
>
> http://code.google.com/p/emcfab
>
> <http://code.google.com/p/emcfab>please feel free to steal code if it
> helps-- i have a couple of utility wraper classes for creating slices.
>
> Just looking briefly at your code, i'd guess that displaying your slices
> may be your culprit. display is very very very slow-- most of the time i
> cannot get things to run when i display lots of objects. But when i go in
> and display only a few things it is very fast.
>
> HTH
> Dave
>
> On Mon, Jun 21, 2010 at 4:39 PM, Charles McCreary <
> [email protected]> wrote:
>
>> This is cross-posted to the OpenCascade forum (
>> http://www.opencascade.org/org/forum/thread_18806/):
>>
>> The attached python script demonstrates a particularly difficult problem
>> I'm trying to solve. I've tried this in SolidWorks 2009 x64 and it
>> *eventually* creates the geometry but crashes while attempting to save as a
>> STEP or STL file. I'm looking for recommendations on how I can speed up the
>> process. The transverse cuts are completed rather quickly since the only
>> intersections are with the rectangular block. The longitudinal cuts take
>> about 20 minutes each and there are 108! The longitudinal cuts cut through
>> each of the 283 transverse cuts as well as the rectangular blocks.
>>
>>
>> --
>> Charles McCreary P.E.
>> CRM Engineering
>> 903.643.3490 - office
>> 903.224.5701 - mobile/GV
>>
>> _______________________________________________
>> Pythonocc-users mailing list
>> [email protected]
>> https://mail.gna.org/listinfo/pythonocc-users
>>
>>
>
> _______________________________________________
> Pythonocc-users mailing list
> [email protected]
> https://mail.gna.org/listinfo/pythonocc-users
>
>
_______________________________________________
Pythonocc-users mailing list
[email protected]
https://mail.gna.org/listinfo/pythonocc-users

Reply via email to